:root {
  --ink: #0b0d0c;
  --ink-2: #141816;
  --ink-3: #1c211e;
  --paper: #f3efe6;
  --paper-2: #faf8f3;
  --paper-3: #e8e2d4;
  --cream: #f3efe6;
  --muted-on-ink: #c6c0b4;
  --muted-on-paper: #4a4d48;
  --muted-2: #6a6d67;
  --line-on-ink: rgba(243, 239, 230, 0.16);
  --line-on-paper: rgba(11, 13, 12, 0.14);
  --brand: #0b4a2f;
  --brand-mid: #0e6a43;
  --brand-bright: #6bc48a;
  --gold: #d4af3a;
  --gold-soft: #c9a227;
  --focus-dark: rgba(212, 175, 58, 0.45);
  --focus-light: rgba(11, 74, 47, 0.28);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1240px;
  --header-h: 76px;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink);
  background: var(--ink);
  line-height: 1.55;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

p {
  text-wrap: pretty;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100%, calc(var(--container) + 64px));
  padding: 0 32px;
  margin: 0 auto;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--paper-2);
  border: 1px solid var(--line-on-paper);
  color: var(--ink);
  padding: 10px 14px;
  z-index: 1000;
  outline: none;
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
  box-shadow: 0 0 0 4px var(--focus-light);
}

/* Header / masthead */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  color: var(--ink);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line-on-paper);
}

.masthead-rule {
  height: 4px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat;
  opacity: 0.7;
}

.masthead-rule-bottom {
  height: 1px;
  background: var(--ink);
  opacity: 0.22;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: min(100%, 340px);
  flex-shrink: 1;
}

.brand-wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-llc {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  top: -0.15em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  position: relative;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(11, 13, 12, 0.72);
  padding: 10px 14px;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-cta {
  margin-left: 8px;
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
  font-weight: 600;
}

.nav-cta:hover {
  color: var(--ink);
  background: #e2c25a;
  border-color: #e2c25a;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-on-paper);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle:focus-visible,
.nav-link:focus-visible,
.button:focus-visible,
.brand:focus-visible,
.link:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-dark);
}

.site-header .nav-toggle:focus-visible,
.site-header .nav-link:focus-visible,
.site-header .brand:focus-visible,
.site-footer .link:focus-visible,
.site-footer .footer-logo:focus-visible,
.section-paper .button:focus-visible,
.section-paper .link:focus-visible,
.section-paper input:focus-visible,
.section-paper textarea:focus-visible,
.section-ink .panel .link:focus-visible,
.skip-link:focus-visible {
  box-shadow: 0 0 0 3px var(--focus-light);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 999px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

/* Hero */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 48px;
  overflow: hidden;
}

.hero-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 239, 230, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 230, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 92%);
}

.hero .container {
  position: relative;
}

.hero-copy {
  max-width: 56rem;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.eyebrow-rule {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  max-width: 72px;
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(2.75rem, 7.2vw, 6.35rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: none;
}

.hero-line {
  display: block;
}

.hero-subtitle {
  margin: 0 0 28px;
  color: var(--muted-on-ink);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

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

.button.primary {
  background: var(--brand-mid);
  border-color: var(--brand-mid);
  color: #fff;
}

.button.primary:hover {
  background: #0f7a4c;
  border-color: #0f7a4c;
}

.button.secondary {
  background: transparent;
  border-color: rgba(243, 239, 230, 0.45);
  color: var(--cream);
}

.button.secondary:hover {
  border-color: var(--cream);
  background: rgba(243, 239, 230, 0.06);
}

.hero-statements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line-on-ink);
}

.statement-kicker {
  margin-bottom: 10px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
}

.statement p {
  margin: 0;
  max-width: 36ch;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.3;
  color: var(--cream);
  font-weight: 500;
}

/* Live ticker */

.live-strip {
  background: var(--ink-2);
  color: var(--cream);
  border-top: 1px solid var(--line-on-ink);
  border-bottom: 1px solid rgba(107, 196, 138, 0.25);
}

.live-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 56px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 4px rgba(107, 196, 138, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(107, 196, 138, 0.0);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 5px rgba(107, 196, 138, 0.2);
    opacity: 0.85;
  }
}

.live-label-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sample-badge,
.sample-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker {
  min-width: 0;
}

.ticker-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

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

.ticker-set {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticker-set li {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 28px 0 8px;
  white-space: nowrap;
  font-size: 0.92rem;
  color: var(--muted-on-ink);
}

.ticker-set li::after {
  content: "";
  width: 3px;
  height: 3px;
  margin-left: 28px;
  border-radius: 50%;
  background: rgba(243, 239, 230, 0.35);
}

.ticker-source {
  color: var(--cream);
  font-weight: 600;
}

.ticker-sep {
  color: rgba(243, 239, 230, 0.35);
  padding: 0 0.4em;
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-paper {
  background: var(--paper);
  color: var(--ink);
}

.section-ink {
  background: var(--ink);
  color: var(--cream);
}

.section-contact {
  border-top: 1px solid var(--line-on-paper);
  background: var(--paper-2);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 42rem;
}

.section-head .eyebrow {
  margin: 0;
}

.section-paper .eyebrow {
  color: var(--brand);
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-head p {
  margin: 0;
  font-size: 1.05rem;
}

.section-paper .section-head p {
  color: var(--muted-on-paper);
}

.section-ink .section-head p {
  color: var(--muted-on-ink);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-newsrooms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-tools-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-group + .product-group {
  margin-top: 56px;
}

.group-label {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-on-paper);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Cards */

.panel {
  background: var(--paper-2);
  border: 1px solid var(--line-on-paper);
  border-left: 3px solid var(--brand);
  padding: 24px 24px 22px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.section-paper .panel:hover,
.section-ink .panel:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: rgba(11, 74, 47, 0.35);
  border-left-color: var(--gold-soft);
  box-shadow: 0 16px 40px rgba(11, 13, 12, 0.08);
}

/* Tool cards in the dark section sit on paper so logos never rest on ink */
.section-ink .panel {
  color: var(--ink);
}

.section-ink .panel p {
  color: var(--muted-on-paper);
}

.panel-on-ink {
  background: var(--ink-3);
  border-color: var(--line-on-ink);
  border-left-color: var(--gold);
  color: var(--cream);
}

.panel-on-ink:hover {
  transform: translateY(-3px);
  background: #222824;
  border-color: rgba(212, 175, 58, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.panel-tall {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
}

.panel-tall h3,
.panel h3 {
  margin: 0;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.panel-tall p,
.pub-card p {
  margin: 0;
}

.panel-on-ink p {
  color: var(--muted-on-ink);
}

.pub-card p {
  color: var(--muted-on-paper);
  margin: 0 0 18px;
  min-height: 3em;
}

.pub-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pub-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pub-title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pub-link {
  margin-top: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--line-on-paper);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
  white-space: nowrap;
  flex-shrink: 0;
}

.panel-on-ink .pill,
.section-ink .pill {
  border-color: var(--line-on-ink);
  color: var(--muted-on-ink);
}

.pub-pill {
  color: var(--brand);
  border-color: rgba(11, 74, 47, 0.3);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.list li {
  padding-left: 16px;
  border-left: 2px solid var(--brand);
  color: var(--muted-on-paper);
}

.list strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.link {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(11, 74, 47, 0.4);
}

.link:hover {
  color: var(--ink);
  text-decoration-color: var(--brand);
}

.section-ink .callout .link {
  color: var(--gold);
  text-decoration-color: rgba(212, 175, 58, 0.45);
}

.section-ink .callout .link:hover {
  color: #efd078;
  text-decoration-color: #efd078;
}

/* Callout */

.callout {
  margin-top: 28px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line-on-ink);
  border-left: 3px solid var(--gold);
  background: var(--ink-2);
}

.callout-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.callout-body {
  color: var(--muted-on-ink);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line-on-paper);
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--line-on-paper);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  border-radius: 0;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(11, 13, 12, 0.28);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.form .button {
  justify-self: start;
  min-width: 8.5rem;
}

.contact-panel h3 {
  margin-bottom: 8px;
}

.contact-panel p {
  margin: 0 0 22px;
  color: var(--muted-on-paper);
}

.contact-items {
  display: grid;
  gap: 16px;
}

.contact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}

/* Footer */

.site-footer {
  background: var(--paper);
  color: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 32px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-on-paper);
  font-size: 0.9rem;
}

.footer-dot {
  opacity: 0.5;
}

.footer-right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-right .link {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-right .link:hover {
  text-decoration: underline;
}


/* Brand logos sit directly on paper. Never invert, recolor, plate, or redraw. */

.brand-logo,
.footer-logo img,
.pub-logo {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-logo {
  max-height: 40px;
}

.footer-logo {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 10px;
}

.footer-logo img {
  max-height: 36px;
}

.pub-logo {
  align-self: start;
  justify-self: start;
  max-height: 48px;
  margin: 0 0 16px;
}

/* Slightly taller on the large tools-section cards so taglines stay readable */
.section-ink .pub-logo {
  max-height: 56px;
}

/* Petuaries file is 213×41 — never upscale past native size */
.pub-logo--native {
  max-height: 41px;
  max-width: min(100%, 213px);
}

/* KCL Media Library is a white-background JPG: multiply blends the white into paper */
.pub-logo--multiply {
  mix-blend-mode: multiply;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

@media (max-width: 640px) {
  .header-inner {
    gap: 12px;
  }

  .brand-logo {
    max-height: 36px;
  }

  .footer-logo img {
    max-height: 32px;
  }

  .pub-logo:not(.pub-logo--native) {
    max-height: 40px;
  }

  .section-ink .pub-logo:not(.pub-logo--native) {
    max-height: 44px;
  }

  .pub-logo--native {
    max-height: 41px;
  }
}



/* KCL Media Library card copy */
.library-card > p,
.library-card .lib-group p,
.pub-card.library-card > p,
.pub-card.library-card .lib-group p {
  min-height: 0;
}

.library-card > p {
  margin: 0 0 16px;
}

.lib-groups {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}

.lib-group-label {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.lib-group p {
  margin: 0;
  color: var(--muted-on-paper);
}

.pubbins-card > p {
  margin: 0 0 16px;
  min-height: 0;
}

.coming-line {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.coming-tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 2px 7px;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coming-line p {
  margin: 0;
  color: var(--muted-on-paper);
}

.pubbins-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-top: auto;
}



/* Screenshots in browser / display frames */

.browser-frame,
.display-frame,
.shot-placeholder {
  margin: 0 0 16px;
  border: 1px solid var(--line-on-paper);
  background: var(--paper);
  overflow: hidden;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line-on-paper);
  background: var(--paper-3);
}

.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.browser-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(11, 13, 12, 0.28);
  font-style: normal;
}

.browser-url {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-on-paper);
}

.browser-frame > img,
.display-frame > img {
  display: block;
  width: 100%;
  height: auto;
}

.browser-frame > img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}

.display-frame {
  background: var(--ink);
}

.display-frame figcaption {
  padding: 8px 10px;
  background: var(--paper);
  color: var(--muted-on-paper);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 160px;
  padding: 24px 16px;
  background: var(--paper-3);
  text-align: center;
}

.shot-placeholder span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
}

.shot-placeholder-note {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  max-width: 16rem;
}

/* Family & mission band */

.section-mission {
  padding-top: 72px;
  padding-bottom: 72px;
}

.mission-copy {
  margin: 0 0 36px;
  max-width: 42rem;
}

.mission-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
  align-items: start;
  margin-bottom: 48px;
}

.mission-photo {
  margin: 0;
}

.mission-photo-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
}

.mission-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mission-photo figcaption {
  margin: 10px 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted-on-paper);
}

.mission-photo--team img {
  object-fit: contain;
  object-position: center center;
}

.mission-copy .eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
}

.mission-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.mission-copy p {
  margin: 0;
  max-width: 36rem;
  font-size: 1.08rem;
  color: var(--muted-on-paper);
}


/* Our story timeline */

.section-story {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line-on-paper);
}

.story-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 42rem;
  border-left: 1px solid rgba(11, 74, 47, 0.35);
}

.story-event {
  position: relative;
  padding: 0 0 32px 28px;
}

.story-event:last-child {
  padding-bottom: 0;
}

.story-event::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--paper);
}

.story-when {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.story-event p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--ink);
}

/* Numbers strip */

.numbers-strip {
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid var(--line-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
  padding: 36px 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.numbers-source {
  margin: 22px 0 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted-on-ink);
}

.stat-value {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--cream);
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}

.grid-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Ticker headline links */
.ticker-set a {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(243, 239, 230, 0.35);
}

.ticker-set a:hover,
.ticker-set a:focus-visible {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

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

.live-strip.is-hidden {
  display: none;
}

/* Contact form extras */

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form {
  position: relative;
}

.form-status {
  margin: 0;
  min-height: 1.3em;
  font-size: 0.92rem;
  color: var(--muted-on-paper);
}

.form-status.is-error {
  color: #8a1f1f;
}

.form-status.is-success {
  color: var(--brand);
}

/* Mobile */

@media (max-width: 960px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-title {
    max-width: none;
  }

  .hero-statements {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .grid-newsrooms,
  .grid-tools-preview,
  .grid-tools,
  .grid-2,
  .contact-grid,
  .mission-photos {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    position: absolute;
    right: 0;
    top: 56px;
    width: min(360px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line-on-paper);
    background: var(--paper-2);
    box-shadow: 0 16px 40px rgba(11, 13, 12, 0.12);
  }

  .nav-panel[data-open="true"] {
    display: flex;
  }

  .nav-link {
    padding: 12px 14px;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .live-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .ticker-viewport {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }

  .ticker-track {
    animation: none;
    width: auto;
  }

  .ticker-set[aria-hidden="true"] {
    display: none;
  }

  .ticker-set {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .ticker-set li {
    display: block;
    white-space: normal;
    padding: 0 16px 0 0;
    font-size: 0.8rem;
    width: 100%;
    line-height: 1.45;
  }

  .ticker-source,
  .ticker-sep,
  .ticker-set a {
    display: inline;
  }

  .ticker-set li::after {
    display: none;
  }

  /* Keep the strip compact on small screens: first three complete headlines. */
  .ticker-set li:nth-child(n+4) {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .pub-card p {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .section-mission {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .mission-copy {
    margin-bottom: 28px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8.2vw, 2.35rem);
  }

  .brand-wordmark {
    font-size: 1.45rem;
  }

  .hero .eyebrow-rule {
    max-width: none;
  }
}

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

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

  .ticker-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .ticker-track {
    width: auto;
    transform: none;
  }

  .ticker-set[aria-hidden="true"] {
    display: none;
  }

  .ticker-set {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .ticker-set li {
    white-space: normal;
    padding: 0 16px 0 0;
  }

  .ticker-set li::after {
    display: none;
  }

  .button:hover,
  .panel:hover,
  .panel-on-ink:hover,
  .section-paper .panel:hover {
    transform: none;
  }
}
