:root {
  --ink: #142232;
  --ink-soft: #3e4c5a;
  --navy: #07111f;
  --navy-2: #0d1b2e;
  --ivory: #f7f4ee;
  --ivory-2: #efeae0;
  --paper: #fffdf8;
  --gold: #a6843d;
  --gold-2: #e4c98a;
  --line: rgba(20, 34, 50, 0.1);
  --line-light: rgba(247, 244, 238, 0.14);
  --header: 5.5rem;
  --shadow: 0 22px 50px rgba(7, 17, 31, 0.16);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.6rem);
}

body {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
.pull,
.mark,
.footer-brand,
.step-num,
.service .num {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.15rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  margin-bottom: 0.85rem;
}

h3 {
  margin-bottom: 0.45rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

::selection {
  background: #e4c98a;
  color: var(--navy);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ivory);
  color: var(--navy);
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.7rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.2rem, 8vw, 7.2rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 1px;
  background: currentColor;
}

.eyebrow span {
  color: var(--gold);
}

.on-dark .eyebrow,
.on-dark .eyebrow span {
  color: var(--gold-2);
}

.lede {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.on-dark {
  color: #f6f1e7;
}

.on-dark .lede,
.hero-note,
.contact-list p {
  color: #d9d0c2;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  background: rgba(7, 17, 31, 0.94);
  color: #f6f1e7;
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(16px);
}

.site-header.has-banner {
  min-height: 0;
  padding: 0;
  background: #041018;
  backdrop-filter: none;
}

.header-banner-link {
  display: block;
  line-height: 0;
}

.site-header.has-banner .header-banner {
  display: block;
  width: 100%;
  height: clamp(11rem, 34vw, 19rem);
  object-fit: cover;
  object-position: center;
}

.site-header.has-banner .nav-bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0.7rem 0.85rem 0;
  justify-content: flex-end;
}

.nav-bar {
  position: relative;
  min-height: var(--header);
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand .logo {
  display: block;
  height: 4.35rem;
  width: auto;
  max-width: min(46vw, 11.5rem);
  object-fit: contain;
}

.brand strong {
  display: block;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  margin-top: 0.1rem;
  color: #d9d0c2;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-end {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.live-off {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 6;
  margin: 0;
  padding: 0.4rem 0.65rem;
  background: #111;
  color: #f4f1ea;
  font-size: 0.85rem;
  line-height: 1.3;
  white-space: nowrap;
  border: 1px solid #c81e1e;
}

.live-off[hidden] {
  display: none;
}

.nav-end .live-share {
  min-height: 2.4rem;
  padding: 0.35rem 0.9rem;
  background: transparent;
  color: #f4f1ea;
  border-color: rgba(246, 241, 231, 0.45);
}

.nav-end .live-share:hover,
.nav-end .live-share[aria-expanded="true"] {
  background: rgba(246, 241, 231, 0.08);
  color: #f4f1ea;
  border-color: #f4f1ea;
}

.nav-end .live-share[hidden] {
  display: none;
}

.nav-end .share-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  flex: none;
}

.btn-live,
.btn-live:disabled,
.btn-live.is-on {
  min-height: 2.4rem;
  padding: 0.35rem 0.9rem;
  background: #c81e1e;
  color: #f4f1ea;
  border: 2px solid #111;
  opacity: 1;
}

.btn-live:hover {
  background: #a81818;
  color: #f4f1ea;
  border-color: #111;
}

.btn-live .live-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: #f4f1ea;
}

.btn-live.is-playing {
  background: #111;
  color: #f4f1ea;
  border-color: #c81e1e;
}

.btn-live.is-on .live-dot,
.btn-live.is-playing .live-dot {
  background: #f4f1ea;
  animation: live-pulse 1.4s ease-out infinite;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-light);
  background: transparent;
  color: #f6f1e7;
  cursor: pointer;
}

.bars {
  width: 1.05rem;
  display: grid;
  gap: 0.28rem;
}

.bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .bars i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open .bars i:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .bars i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.view.is-in {
  animation: view-rise 0.45s ease;
}

@keyframes view-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.menu > a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-size: 0.96rem;
}

.menu > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15rem;
  width: 1.35rem;
  height: 2px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: left center;
}

.menu > a.is-active::after,
.menu > a.is-tap::after {
  transform: scaleX(1);
}

.menu > a.is-tap {
  animation: nav-pop 0.35s ease;
}

@keyframes nav-pop {
  0% { transform: translateY(0) scale(0.94); }
  55% { transform: translateY(-2px) scale(1.04); }
  100% { transform: none; }
}

.menu a.is-active {
  color: var(--gold-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-light {
  background: #f3efe6;
  color: var(--navy);
}

.btn-light:hover {
  background: #fff;
}

.btn-line {
  background: transparent;
  color: #f6f1e7;
  border-color: rgba(246, 241, 231, 0.35);
}

.btn-line:hover {
  border-color: #f6f1e7;
}

.btn-navy {
  background: var(--navy);
  color: #f6f1e7;
}

.btn-navy:hover {
  background: #17304d;
}

.hero {
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(28, 74, 184, 0.38), transparent 58%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(166, 132, 61, 0.16), transparent 55%),
    var(--navy);
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 400px);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
  padding-top: clamp(2.4rem, 6vw, 4.5rem);
  padding-bottom: 1.4rem;
}

.hero h2 {
  font-size: clamp(2.6rem, 6vw, 5.15rem);
  margin-bottom: 1rem;
}

.hero-copy h2 em {
  font-style: italic;
  font-weight: 520;
  color: var(--gold-2);
}

.hero .lede {
  max-width: 36rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-note {
  margin-top: 1.15rem;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.portrait {
  position: relative;
  margin: 0;
  width: min(100%, 400px);
  justify-self: start;
  padding: 12px 16px 16px 12px;
}

.portrait img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 18%;
  background: #17304d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  outline: 1px solid rgba(196, 161, 90, 0.78);
  outline-offset: 10px;
}

.badge {
  position: absolute;
  z-index: 2;
  left: 0.4rem;
  bottom: 2rem;
  min-width: 11.5rem;
  padding: 0.8rem 0.95rem;
  background: var(--ivory);
  color: var(--ink);
}

.badge span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge strong {
  font-weight: 560;
  font-size: 0.98rem;
}

.strip-wrap {
  padding-bottom: 1.3rem;
}

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line-light);
  color: #d9d0c2;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.strip li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.strip li::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--gold-2);
}

.about {
  background: var(--ivory);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #ddd6c8;
}

.about-photo figcaption {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pull {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.25;
  margin-bottom: 1.15rem;
}

.about-copy p + p {
  margin-top: 0.9rem;
}

.services {
  background: var(--ivory-2);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.4rem 1.35rem 1.2rem;
  min-height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service:hover {
  border-color: rgba(166, 132, 61, 0.7);
  transform: translateY(-3px);
}

.service .num {
  color: var(--gold);
  font-size: 1.05rem;
}

.service h3 {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  margin: 0.35rem 0 0.75rem;
}

.service ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.service li {
  padding: 0.42rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.method {
  background: var(--ivory);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  border-top: 1px solid rgba(20, 34, 50, 0.22);
  padding-top: 0.95rem;
}

.step-num {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-size: 1.7rem;
}

.step h3 {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  font-size: 1.08rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.work {
  background: var(--ivory-2);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.video-card {
  background: var(--navy-2);
  color: #f6f1e7;
  overflow: hidden;
}

.video-card.is-feature {
  grid-column: 1 / -1;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050d18;
  object-fit: contain;
}

.video-meta,
.card-body {
  padding: 1rem 1.05rem 1.15rem;
}

.video-card h3 {
  font-size: 1.35rem;
  color: #f6f1e7;
}

.video-card p {
  margin: 0;
  color: #d9d0c2;
  font-size: 0.92rem;
}

.video-card .file-id {
  margin-top: 0.55rem;
  color: #b7c0c9;
  font-size: 0.78rem;
  word-break: break-all;
}

.empty-work {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px dashed rgba(20, 34, 50, 0.28);
  background: rgba(255, 253, 248, 0.55);
}

.empty-work p {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.home-feed {
  background: var(--ivory);
}

.home-feed h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}

.story-cover {
  margin: 0.35rem 0 1rem;
}

.story-cover img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
}

.story-read {
  margin-top: 0.35rem;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.35rem;
}

.story-actions .story-read,
.story-actions .share-open {
  margin-top: 0;
}

.feed-body > .share-open {
  margin-top: 0.85rem;
}

.story-react {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.75rem;
}

.like-open,
.comment-open {
  background: transparent;
  color: var(--navy);
  border-color: rgba(7, 17, 31, 0.22);
}

.like-open.is-on {
  background: var(--navy);
  color: #f6f1e7;
  border-color: var(--navy);
}

.like-count,
.comment-count,
.read-total,
.comment-like-count {
  min-width: 1.2rem;
  font-variant-numeric: tabular-nums;
}

.read-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid rgba(7, 17, 31, 0.22);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1;
}

.comment-panel {
  flex: 1 0 100%;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list li {
  margin-bottom: 0.75rem;
}

.comment-list strong {
  color: var(--navy);
  font-size: 0.92rem;
}

.comment-list p,
.comment-empty,
.comment-status {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
}

.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.comment-like,
.comment-reply {
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(7, 17, 31, 0.22);
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.2;
  cursor: pointer;
}

.comment-like.is-on {
  background: var(--navy);
  color: #f6f1e7;
  border-color: var(--navy);
}

.comment-replies {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0 0 0 0.85rem;
  border-left: 2px solid var(--line);
}

.comment-replies:empty {
  display: none;
}

.comment-reply-form textarea {
  min-height: 4rem;
}

.comment-form label {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.7rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(20, 34, 50, 0.16);
  background: #fff;
  font: inherit;
}

.comment-form textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.comment-form .btn {
  margin-top: 0.75rem;
}

.share-open {
  background: transparent;
  color: var(--navy);
  border-color: rgba(7, 17, 31, 0.22);
}

.share-open:hover,
.share-open[aria-expanded="true"] {
  border-color: var(--navy);
  background: rgba(7, 17, 31, 0.04);
}

.share-menu {
  position: relative;
  z-index: 5;
  display: grid;
  flex: 1 0 100%;
  gap: 0.15rem;
  width: min(16.5rem, 100%);
  margin-top: 0.35rem;
  padding: 0.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.share-menu[hidden] {
  display: none;
}

.share-menu a,
.share-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.4rem;
  padding: 0.4rem 0.7rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.share-menu a:hover,
.share-menu button:hover {
  background: var(--ivory-2);
}

.share-menu .share-native {
  color: var(--navy);
  font-weight: 600;
}

.story-full,
.story-full.is-open {
  margin-top: 1.15rem;
  opacity: 1;
  animation: none;
}

.story-card.is-reading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  width: auto;
  height: auto;
  max-height: none;
  margin: 0;
  overflow: auto;
  transform: none;
  animation: none;
  border-radius: 0;
  background: var(--ivory);
}

.view.is-in .feed-card.was-read {
  animation: none;
}

.story-card.is-reading:hover {
  transform: none;
  box-shadow: none;
}

.story-card.is-reading .feed-body {
  width: min(46rem, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: 1.4rem;
  padding-bottom: 2.6rem;
}

.story-card.is-reading .story-actions {
  margin-top: 1.6rem;
}

body.is-shared .story-card.is-reading .story-cover img,
body.is-shared .story-card.is-reading:hover .story-cover img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  transform: none;
}

body.is-reading {
  overflow: hidden;
}

.view.is-in .feed-card {
  animation: news-fade 0.75s ease backwards;
}

.view.is-in .feed-card:nth-child(2) { animation-delay: 0.1s; }
.view.is-in .feed-card:nth-child(3) { animation-delay: 0.18s; }
.view.is-in .feed-card:nth-child(4) { animation-delay: 0.26s; }
.view.is-in .feed-card:nth-child(n + 5) { animation-delay: 0.34s; }

.view.is-in .story-card .feed-body > *:not(.story-full) {
  animation: story-line 0.7s ease both;
}

.view.is-in .story-card .feed-body > *:nth-child(2) { animation-delay: 0.12s; }
.view.is-in .story-card .feed-body > *:nth-child(3) { animation-delay: 0.22s; }
.view.is-in .story-card .feed-body > *:nth-child(4) { animation-delay: 0.32s; }

@keyframes story-in {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes story-line {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feed-text,
.feed-video {
  grid-column: 1 / -1;
}

.feed-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feed-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(7, 17, 31, 0.14);
}

.feed-card .story-cover,
.feed-photo {
  overflow: hidden;
}

.feed-card .story-cover img,
.feed-photo > img {
  transition: transform 0.55s ease;
}

.feed-card:hover .story-cover img,
.feed-photo:hover > img {
  transform: scale(1.08);
}

.breaking {
  display: flex;
  align-items: stretch;
  margin: 0 0 1.15rem;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.breaking-tag {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  background: #b42318;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: breaking-blink 1.1s steps(1) infinite;
}

.breaking-viewport {
  overflow: hidden;
  display: flex;
  align-items: center;
  min-width: 0;
}

.breaking-track {
  margin: 0;
  white-space: nowrap;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  animation: breaking-slide 28s linear infinite;
}

.breaking:hover .breaking-track {
  animation-play-state: paused;
}

@keyframes news-fade {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes breaking-blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0.35; }
}

@keyframes breaking-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.feed-card img,
.feed-card video {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #122033;
}

.feed-body {
  padding: 1rem 1.15rem 1.2rem;
}

.feed-card h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin-bottom: 0.55rem;
}

.feed-video > .video-title {
  margin: 0;
  padding: 0.95rem 1.15rem 0.7rem;
}

.feed-copy,
.feed-body p {
  margin: 0;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.feed-text .feed-copy {
  max-width: 40rem;
}

.article-figure {
  margin: 1.2rem 0;
}

.feed-text .feed-body .article-figure,
.note-card .article-figure {
  width: min(100%, 34rem);
  margin: 1.15rem auto;
}

.feed-text .article-figure figcaption,
.note-card .article-figure figcaption {
  padding: 0.45rem 0.2rem 0;
  text-align: center;
}

.article-figure img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #122033;
}

.article-figure figcaption {
  margin: 0;
  padding: 0.5rem 1.15rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 400;
}

.feed-kind,
.feed-body .feed-kind,
.note-card .feed-kind {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-card .feed-kind {
  color: var(--gold-2);
}

.live-audio {
  background:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgba(166, 132, 61, 0.16), transparent 60%),
    var(--ivory-2);
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.live-state {
  min-height: 3.2rem;
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
}

.live-card {
  display: grid;
  justify-items: start;
  gap: 0.7rem;
  padding: 1.4rem 1.3rem;
  background: var(--navy);
  color: #f6f1e7;
}

.live-card p {
  margin: 0;
  color: #d9d0c2;
  font-size: 0.95rem;
}

.live-card code {
  color: var(--gold-2);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
}

.live-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #8b93a0;
}

.live-audio.is-on .live-dot {
  background: #e15b55;
  animation: live-pulse 1.4s ease-out infinite;
}

#live-audio {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

button:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 91, 85, 0.55); }
  100% { box-shadow: 0 0 0 0.7rem rgba(225, 91, 85, 0); }
}

.contact {
  background:
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(28, 74, 184, 0.28), transparent 60%),
    var(--navy);
}

.contact-grid {
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-light);
}

.contact-list span {
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-list a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.form-card {
  background: var(--ivory);
  color: var(--ink);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.form-card label {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.95rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-card input,
.form-card textarea,
.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(20, 34, 50, 0.16);
  border-radius: 2px;
  background: #fff;
}

.form-card textarea,
.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-card .btn {
  width: 100%;
  margin-top: 1rem;
}

.form-note {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.site-footer {
  background: #050d18;
  color: #d9d0c2;
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand {
  margin-bottom: 0.4rem;
  color: #f6f1e7;
  font-size: 2rem;
}

.footer-label {
  margin-bottom: 0.55rem;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin-bottom: 0.35rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-grid a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-base {
  border-top: 1px solid var(--line-light);
  padding-block: 1rem 1.3rem;
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 0.8s ease both;
  }

  .service-grid .reveal:nth-child(2),
  .steps .reveal:nth-child(2) {
    animation-delay: 0.08s;
  }

  .service-grid .reveal:nth-child(3),
  .steps .reveal:nth-child(3) {
    animation-delay: 0.14s;
  }

  .service-grid .reveal:nth-child(4),
  .steps .reveal:nth-child(4) {
    animation-delay: 0.2s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.page-admin {
  background: var(--ivory-2);
  min-height: 100svh;
}

.login-screen {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(28, 74, 184, 0.35), transparent 55%),
    var(--navy);
}

.login-card {
  width: min(440px, 100%);
  background: var(--ivory);
  color: var(--ink);
  padding: 1.7rem 1.4rem 1.4rem;
  box-shadow: var(--shadow);
}

.login-card .avatar {
  width: 5.4rem;
  height: 5.4rem;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
}

.login-card h1,
.admin-head h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.login-card .lede,
.admin-head .lede {
  margin-bottom: 0.4rem;
}

.login-card .btn {
  width: 100%;
  margin-top: 0.4rem;
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.admin-main {
  padding-block: 2.2rem 3rem;
}

.admin-head {
  margin-bottom: 1.4rem;
}

.admin-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-links form {
  margin: 0;
}

.admin-links a {
  text-decoration: none;
}

.alert {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-ok {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin: 0;
  padding: 2rem;
  border: 0;
  background: #e7f0e4;
  color: #1d4a30;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.35;
}

.alert-ok p {
  max-width: 18em;
  margin: 0;
}

.alert-error {
  background: #f8e8e4;
  color: #7a2e24;
  border-color: #e4b6ae;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.panel h2 {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.9rem;
}

.panel-note {
  max-width: 40rem;
  margin: -0.2rem 0 1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.obs-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
}

.obs-steps li {
  margin: 0.35rem 0;
}

.obs-steps code,
.panel code {
  color: var(--navy);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.95em;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
  font-weight: 500;
}

.cover-remove {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.95rem;
  font-weight: 500;
}

.cover-remove input {
  width: auto;
}

.dropzone {
  padding: 1.1rem;
  border: 1px dashed rgba(20, 34, 50, 0.28);
  background: var(--ivory);
}

.dropzone p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 400;
}

.btn-danger {
  margin-top: 0.85rem;
  background: transparent;
  color: #ffd7d2;
  border-color: rgba(255, 190, 184, 0.45);
}

.btn-danger:hover {
  background: #8c3a32;
  color: #fff;
  border-color: #8c3a32;
}

.empty-admin {
  padding: 1.4rem 0.4rem;
  color: var(--ink-soft);
  text-align: center;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.note-card {
  grid-column: 1 / -1;
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 1rem 1.05rem 1.15rem;
}

.note-card h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.note-card p {
  margin: 0;
  color: var(--ink-soft);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.admin-actions .btn,
.admin-actions .btn-danger {
  margin-top: 0;
}

.edit-box summary {
  list-style: none;
  cursor: pointer;
}

.edit-box summary::-webkit-details-marker {
  display: none;
}

.edit-caption {
  min-width: min(100%, 18rem);
  margin-top: 0.65rem;
}

.edit-cancel {
  display: inline-block;
  margin-left: 0.8rem;
  color: var(--ink-soft);
}

.account-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.account-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.account-list .btn-danger {
  margin-top: 0;
  color: #8c3a32;
  border-color: rgba(140, 58, 50, 0.45);
}

.activity-block {
  margin-top: 1.5rem;
}

.activity-block h3 {
  font-size: 1.25rem;
}

.activity-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}

.activity-list li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.activity-list p {
  margin: 0.2rem 0 0;
}

.activity-meta {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.story-stats {
  margin-top: 0.9rem;
}

.story-stat + .story-stat {
  margin-top: 0.85rem;
}

.story-stat-title {
  margin: 0;
  font-weight: 600;
}

.note-card .story-stat-title {
  color: var(--navy);
}

.story-stat .activity-list {
  margin-top: 0.25rem;
}

.story-stat .activity-list li {
  padding: 0.45rem 0;
}

.story-stat .empty-admin {
  padding: 0.25rem 0 0;
  text-align: left;
}

.video-card .story-stat .activity-meta,
.video-card .story-stat .empty-admin {
  color: rgba(246, 241, 231, 0.72);
}

.note-card .btn-danger {
  color: #8c3a32;
  border-color: rgba(140, 58, 50, 0.45);
}

.note-card .btn-danger:hover {
  background: #8c3a32;
  color: #fff;
  border-color: #8c3a32;
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #050d18;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.85rem 0.7rem 1rem;
    background: #07111f;
    border: 1px solid var(--line-light);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .menu.is-open {
    display: flex;
  }

  .menu > a:not(.btn) {
    padding: 0.75rem 0.6rem;
  }

  .menu > a:not(.btn)::after {
    left: 0.6rem;
    bottom: 0.45rem;
  }

  .menu .btn {
    width: 100%;
    margin-top: 0.35rem;
  }
}

@media (max-width: 860px) {
  .hero-layout,
  .live-layout,
  .about-grid,
  .contact-grid,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    min-height: 0;
    align-items: start;
  }

  .portrait {
    max-width: 460px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .video-grid,
  .feed,
  .admin-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .video-card.is-feature {
    grid-column: auto;
  }

  .admin-links .btn {
    padding-inline: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}

.word-app {
  background: #f3f2f1;
  border: 1px solid #d2d0ce;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.word-tab {
  margin: 0;
  padding: 0.35rem 0.9rem 0;
  color: #201f1e;
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.word-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.7rem 0.6rem;
  background: #f3f2f1;
  border-bottom: 1px solid #d2d0ce;
}

.word-tools select,
.word-tools button,
.word-swatch {
  height: 2rem;
  border: 1px solid transparent;
  background: transparent;
  color: #201f1e;
  font-family: "Segoe UI", Calibri, sans-serif;
}

.word-tools select {
  padding: 0 0.35rem;
  background: #fff;
  border-color: #c8c6c4;
}

#word-font {
  min-width: 9rem;
}

#word-size {
  width: 4.2rem;
}

.word-tools button {
  min-width: 2rem;
  padding: 0 0.45rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.word-tools button svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.word-tools button:hover,
.word-swatch:hover,
.word-tools select:hover {
  background: #fff;
  border-color: #c8c6c4;
}

.word-gap {
  width: 1px;
  height: 1.4rem;
  margin: 0 0.2rem;
  background: #c8c6c4;
}

.word-swatch {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.15rem;
  padding: 0.15rem 0.3rem 0.1rem;
  font-weight: 700;
  cursor: pointer;
}

.word-swatch input {
  width: 1.5rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.word-mark {
  width: 1.7rem;
  background: linear-gradient(#fff3a0, #fff3a0) center bottom 0.35rem / 1.15rem 0.45rem no-repeat;
}

.word-mark input {
  opacity: 0;
}

.word-page {
  width: min(100%, 46rem);
  min-height: calc(34rem * 4);
  margin: 1rem auto;
  padding: 2.2rem 2.4rem 2.6rem;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.word-title,
.word-sheet,
.word-photo input[type="text"] {
  width: 100%;
  border: 0;
  background: transparent;
  color: #222;
  font-family: Calibri, "Segoe UI", sans-serif;
}

.word-title {
  margin-bottom: 0.8rem;
  padding: 0;
  font-size: 1.7rem;
  font-weight: 700;
}

.word-title:focus,
.word-sheet:focus,
.word-photo input[type="text"]:focus {
  outline: none;
}

.word-sheet {
  min-height: 7.5rem;
  font-size: 16px;
  line-height: 1.45;
}

.word-sheet.is-empty::before {
  content: attr(data-placeholder);
  color: #8a8886;
  pointer-events: none;
}

.word-photo-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.word-sheet .article-figure {
  margin: 0.9rem auto;
  max-width: 100%;
  text-align: center;
}

.word-sheet .article-figure,
.word-sheet img {
  position: relative;
  z-index: 1;
  background: transparent !important;
  background-color: transparent !important;
}

.word-sheet img {
  display: block !important;
  visibility: visible !important;
  width: min(100%, 28rem);
  max-width: 100%;
  height: auto !important;
  max-height: 22rem;
  margin: 0.8rem auto;
  object-fit: contain;
}

.word-sheet figcaption {
  min-height: 1.4rem;
  margin-top: 0.35rem;
  color: #605e5c;
  font-size: 0.92rem;
  font-style: italic;
  text-align: center;
}

.word-sheet figcaption:empty::before {
  content: attr(data-placeholder);
  color: #8a8886;
}

.word-photo {
  margin: 0.8rem 0;
  padding: 0.7rem 0.75rem;
  background: #faf9f8;
  border: 1px dashed #c8c6c4;
}

.word-photo label {
  display: grid;
  gap: 0.35rem;
  color: #605e5c;
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
}

.word-photo input[type="file"] {
  font-weight: 400;
}

.word-photo input[type="text"] {
  margin-top: 0.45rem;
  padding: 0.2rem 0;
  font-size: 0.95rem;
}

.word-status {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.8rem;
  background: #f3f2f1;
  border-top: 1px solid #d2d0ce;
  color: #605e5c;
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: 0.78rem;
}

.word-warn {
  margin: 0.8rem 0 0;
  color: #7a2e24;
}

.word-app + .btn,
.word-warn + .btn {
  margin-top: 0.9rem;
}

.feed-rich img,
.feed-copy img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  margin: 1.15rem auto;
  object-fit: contain;
}

.feed-rich p,
.note-card .feed-rich p {
  margin: 0 0 0.75rem;
}

.feed-rich h2,
.feed-rich h3 {
  margin: 0.8rem 0 0.35rem;
  color: var(--ink);
  font-family: Calibri, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.feed-rich ul,
.feed-rich ol {
  margin: 0.35rem 0 0.8rem;
  padding-left: 1.3rem;
}

.feed-rich li {
  margin: 0.15rem 0;
}

.feed-rich blockquote {
  margin: 0.8rem 0;
  padding-left: 0.8rem;
  border-left: 3px solid var(--gold);
}
