:root {
  color-scheme: light;
  --cream: #faf7f2;
  --paper: #f2ede4;
  --ink: #1c1a17;
  --ink-mid: #5a5650;
  --ink-light: #9a9590;
  --gold: #b8952a;
  --gold-light: #d4b05a;
  --gold-pale: rgba(184, 149, 42, 0.12);
  --rule: rgba(28, 26, 23, 0.12);
  --surface: rgba(250, 247, 242, 0.86);
  --shadow: 0 24px 80px rgba(28, 26, 23, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.44;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

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

/* Editorial homepage */

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 64px;
  border-bottom: 1px solid var(--rule);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-right {
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav .nav-enquire {
  color: var(--ink);
}

.nav-enquire {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-logo img {
  display: block;
  width: 198px;
  height: auto;
}

.editorial-hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 96px 64px 58px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.hero-ornament,
.section-overline,
.ai-overline {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-ornament,
.section-overline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-ornament::before,
.hero-ornament::after {
  content: "";
  display: block;
  width: 58px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  margin: 28px 0 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 6.2vw, 5.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.hero-title span,
.section-title em,
.ai-title em,
.industries h2 em,
.contact-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-divider {
  width: 1px;
  height: 42px;
  margin-bottom: 26px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.hero-desc {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--ink-mid);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.btn-gold,
.btn-outline,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border: 1px solid var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn-gold,
.button {
  background: var(--gold);
  color: var(--cream);
}

.btn-gold:hover,
.button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.btn-outline,
.button.secondary {
  border-color: var(--rule);
  background: transparent;
  color: var(--ink-mid);
}

.btn-outline:hover,
.button.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.38;
}

.corner-tl {
  top: 100px;
  left: 40px;
  border-width: 1px 0 0 1px;
}

.corner-tr {
  top: 100px;
  right: 40px;
  border-width: 1px 1px 0 0;
}

.corner-bl {
  bottom: 40px;
  left: 40px;
  border-width: 0 0 1px 1px;
}

.corner-br {
  right: 40px;
  bottom: 40px;
  border-width: 0 1px 1px 0;
}

.hero-bg-text {
  position: absolute;
  bottom: -2vw;
  left: 50%;
  color: rgba(28, 26, 23, 0.035);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22vw;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  pointer-events: none;
  transform: translateX(-50%);
  white-space: nowrap;
}

.about-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--rule);
}

.about-cell {
  padding: 38px 42px;
  border-right: 1px solid var(--rule);
  text-align: center;
}

.about-cell:last-child {
  border-right: 0;
}

.about-cell strong {
  display: block;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 10px;
}

.about-cell span {
  color: var(--ink-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section {
  padding: 96px 64px;
  border-bottom: 1px solid var(--rule);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 68px;
  text-align: center;
}

.section-overline {
  margin-bottom: 20px;
}

.section-overline::before,
.section-overline::after {
  content: "*";
  color: var(--gold-light);
  font-size: 0.65rem;
}

.section-overline.align-left {
  justify-content: flex-start;
}

.section-overline.align-left::before {
  display: none;
}

.section-title,
.ai-title,
.contact-title,
.industries h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.16;
}

.section-title {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--ink-mid);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.82;
}

.services-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
  padding: 36px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.service-row:nth-child(2n) {
  border-right: 0;
}

.service-row:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service-row:hover {
  background: var(--gold-pale);
}

.service-num-editorial {
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  opacity: 0.7;
}

.service-row h3 {
  margin-bottom: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
}

.service-row p {
  margin-bottom: 0;
  color: var(--ink-mid);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.75;
}

.ai-section {
  padding: 100px 64px;
  background: var(--ink);
  color: var(--cream);
}

.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.ai-overline {
  margin-bottom: 24px;
}

.ai-title {
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.ai-desc {
  color: rgba(250, 247, 242, 0.66);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
}

.ai-section .btn-gold {
  margin-top: 10px;
}

.ai-pillars-editorial {
  display: grid;
}

.pillar-editorial {
  padding: 24px 0;
  border-bottom: 1px solid rgba(250, 247, 242, 0.12);
}

.pillar-editorial:last-child {
  border-bottom: 0;
}

.pillar-editorial h3 {
  margin-bottom: 6px;
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.04rem;
  font-weight: 600;
}

.pillar-editorial p {
  margin-bottom: 0;
  color: rgba(250, 247, 242, 0.58);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.65;
}

.industries {
  padding: 80px 64px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.industries-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 76px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.industries h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-list span {
  border: 1px solid var(--rule);
  color: var(--ink-mid);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 8px 20px;
  text-transform: uppercase;
}

.industry-list span:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--gold);
}

.process-editorial {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--rule);
}

.process-card {
  position: relative;
  padding: 46px 34px;
  border-right: 1px solid var(--rule);
  text-align: center;
}

.process-card:last-child {
  border-right: 0;
}

.process-letter {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.25;
}

.process-card h3 {
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.process-card p {
  margin-bottom: 0;
  color: var(--ink-mid);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  gap: 90px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 64px;
}

.contact-title {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.contact-desc {
  color: var(--ink-mid);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
}

.contact-card {
  border: 1px solid var(--rule);
  background: rgba(250, 247, 242, 0.58);
  box-shadow: var(--shadow);
  padding: 34px;
}

.contact-detail {
  margin-bottom: 22px;
}

.contact-detail span {
  display: block;
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-detail p,
.contact-detail a {
  margin: 4px 0 0;
  color: var(--ink-mid);
  font-size: 0.95rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 44px 64px;
  background: var(--ink);
  color: rgba(250, 247, 242, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  display: block;
  width: 176px;
  height: auto;
  filter: brightness(0) invert(1) sepia(9%) saturate(312%) hue-rotate(333deg) brightness(104%);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.footer-links a {
  color: rgba(250, 247, 242, 0.55);
}

.footer-links a:hover {
  color: var(--gold);
}

/* Editorial subpages */

.subpage {
  min-height: 100vh;
}

.subpage-nav {
  position: sticky;
}

.subpage-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 118px 40px 72px;
  text-align: center;
}

.subpage-hero h1 {
  max-width: 860px;
  margin: 26px auto 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.subpage-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink-mid);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
}

.last-updated {
  display: inline-flex;
  margin-top: 28px;
  border-top: 1px solid var(--rule);
  color: var(--ink-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding-top: 14px;
  text-transform: uppercase;
}

.support-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 64px 86px;
}

.support-card {
  min-height: 250px;
  padding: 34px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.support-card:nth-child(3n) {
  border-right: 0;
}

.support-primary {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  min-height: 0;
  border-top: 1px solid var(--rule);
}

.support-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.support-card h2,
.support-card h3,
.policy-content h2 {
  margin-bottom: 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}

.support-card h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.support-card p,
.support-card li {
  color: var(--ink-mid);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.78;
}

.support-card p {
  max-width: 620px;
}

.subpage-note {
  max-width: 972px;
  margin: 0 auto 96px;
  padding: 34px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.subpage-note p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-mid);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
}

.policy-content {
  max-width: 920px;
  margin: 0 auto 100px;
  padding: 0 40px;
}

.policy-content section {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 48px;
  padding: 34px 0;
  border-top: 1px solid var(--rule);
}

.policy-content section:last-child {
  border-bottom: 1px solid var(--rule);
}

.policy-content h2 {
  color: var(--gold);
  font-size: 1.35rem;
}

.policy-content p {
  margin-bottom: 0;
  color: var(--ink-mid);
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.86;
}

/* Shared pages */

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 58px;
}

.brand {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.brand span {
  color: var(--ink-mid);
  font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
  align-items: center;
  gap: 44px;
  margin-bottom: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page h1,
.legal h1 {
  max-width: 800px;
  margin-bottom: 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 5.4vw, 64px);
  font-weight: 400;
  line-height: 1.04;
}

.page h2,
.legal h2 {
  margin-bottom: 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.1;
}

.page h3 {
  margin-bottom: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.intro {
  max-width: 690px;
  color: var(--ink-mid);
  font-size: 20px;
  font-weight: 300;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.panel,
.card {
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 28px;
}

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

.card p,
.card li,
.muted {
  color: var(--ink-mid);
}

.wide {
  grid-column: 1 / -1;
}

.note {
  border-left: 4px solid var(--gold);
  background: var(--gold-pale);
}

.legal {
  max-width: 840px;
}

.legal h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: 28px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}

footer:not(.site-footer) {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--rule);
  color: var(--ink-mid);
  padding-top: 28px;
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-nav {
    position: static;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    padding: 18px 24px;
  }

  .nav-left,
  .nav-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .nav-logo img {
    width: 190px;
  }

  .editorial-hero {
    min-height: auto;
    padding: 76px 28px 64px;
  }

  .about-strip,
  .services-editorial,
  .ai-inner,
  .industries-inner,
  .process-editorial,
  .contact-section,
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .about-cell,
  .service-row,
  .process-card {
    border-right: 0;
  }

  .service-row:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }

  .service-row:last-child,
  .process-card:last-child {
    border-bottom: 0;
  }

  .process-card {
    border-bottom: 1px solid var(--rule);
  }

  .section,
  .ai-section,
  .industries,
  .contact-section {
    padding: 72px 28px;
  }

  .subpage-hero {
    padding: 78px 28px 54px;
  }

  .support-layout {
    grid-template-columns: 1fr;
    padding: 0 28px 68px;
  }

  .support-card,
  .support-primary,
  .support-card:nth-child(3n) {
    grid-column: auto;
    grid-template-columns: 1fr;
    border-right: 0;
  }

  .policy-content {
    padding: 0 28px;
  }

  .policy-content section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 38px 24px;
  }

  .footer-links {
    justify-content: center;
  }

  .page {
    width: min(100% - 28px, 1120px);
    padding-top: 28px;
  }

  .nav,
  footer:not(.site-footer) {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero-ornament {
    display: block;
  }

  .hero-ornament::before,
  .hero-ornament::after,
  .corner {
    display: none;
  }

  .hero-actions,
  .btn-gold,
  .btn-outline,
  .button,
  .actions {
    width: 100%;
  }

  .service-row {
    grid-template-columns: 1fr;
    padding: 30px 4px;
  }

  .contact-card {
    padding: 26px;
  }
}
