:root {
  --linen: #d4c3b3;
  --linen-deep: #c4b09a;
  --paper: #f4eee7;
  --paper-2: #ebe3d8;
  --ink: #1e293b;
  --ink-soft: #334155;
  --muted: #5e574e;
  --olive: #3d4a3f;
  --line: rgba(30, 41, 59, 0.12);
  --header: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image:
    url("../images/linen.jpg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  background-size: 420px, 180px;
  mix-blend-mode: multiply;
}

.header-row {
  position: relative;
}

.header.is-scrolled {
  box-shadow: 0 12px 28px rgba(30, 41, 59, 0.06);
}

.apply-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: start;
}

.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.photo-duo img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.after-photos {
  margin: 48px auto 0;
}

.contact-aside a {
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(244, 238, 231, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  margin-right: auto;
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  font-family: "Cormorant Garamond", serif;
  color: var(--ink);
  line-height: 1;
}

.brand-main {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--olive);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--olive);
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--linen);
}

.menu {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.menu span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.menu span:first-child {
  top: 17px;
}

.menu span:last-child {
  top: 25px;
}

.menu[aria-label="Close menu"] span:first-child {
  top: 21px;
  transform: rotate(40deg);
}

.menu[aria-label="Close menu"] span:last-child {
  top: 21px;
  transform: rotate(-40deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
}

.hero-bg,
.page-hero-bg,
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after,
.page-hero::after,
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.42) 0%, rgba(30, 41, 59, 0.78) 100%),
    linear-gradient(90deg, rgba(30, 41, 59, 0.7) 0%, rgba(30, 41, 59, 0.28) 70%);
}

.hero-copy,
.page-hero-copy,
.cta-copy {
  position: relative;
  z-index: 1;
  padding: 88px 0 84px;
}

.hero-copy {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto 0 max(24px, calc((100% - 1120px) / 2));
}

.hero h1,
.page-hero h1,
.cta h2,
.hero-lead,
.page-hero p,
.cta p {
  text-shadow: 0 10px 36px rgba(15, 23, 42, 0.45);
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
}

.eyebrow.light,
.hero .eyebrow,
.page-hero .eyebrow,
.cta .eyebrow {
  color: var(--linen);
}

h1,
h2,
h3,
.brand {
  font-family: "Cormorant Garamond", serif;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.1rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}

.hero-lead,
.page-hero p,
.cta p {
  max-width: 36rem;
  margin: 22px 0 32px;
  font-size: 1.08rem;
  color: rgba(244, 238, 231, 0.88);
}

.block {
  padding: 96px 0;
}

.block.tint {
  background: var(--linen);
}

.block.ink {
  background: var(--ink);
  color: var(--paper);
}

.center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.text {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.ink .text,
.ink .eyebrow {
  color: var(--linen);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-photo {
  overflow: hidden;
  min-height: 420px;
}

.split-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.benefit-grid,
.highlight-grid,
.quote-grid,
.detail-grid {
  display: grid;
  gap: 22px;
}

.highlight-grid,
.benefit-grid {
  grid-template-columns: repeat(2, 1fr);
}

.quote-grid,
.detail-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.quote,
.role-card,
.detail-grid article {
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid var(--line);
  padding: 32px 28px;
}

.tint .card,
.tint .quote {
  background: rgba(244, 238, 231, 0.58);
}

.card h3,
.detail-grid h3 {
  margin-bottom: 10px;
}

.card p,
.detail-grid p,
.quote p {
  color: var(--muted);
}

.ticks {
  margin: 22px 0 28px;
  display: grid;
  gap: 10px;
}

.ticks li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1px;
  background: var(--ink);
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
}

.role-card {
  padding: 0;
  overflow: hidden;
}

.role-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.role-card > div {
  padding: 36px 32px 40px;
}

.role-card .label {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 10px;
}

.role-card ul {
  margin: 18px 0 28px;
  display: grid;
  gap: 8px;
}

.role-card li {
  list-style: none;
  color: var(--muted);
  padding-left: 14px;
  border-left: 1px solid var(--linen-deep);
}

.quote img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 22px;
}

.quote p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 22px;
}

.quote span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted);
}

.cta {
  position: relative;
  overflow: hidden;
  color: var(--paper);
}

.cta-copy {
  width: min(680px, calc(100% - 48px));
}

.cta ul {
  margin: 0 0 28px;
  display: grid;
  gap: 8px;
}

.cta li {
  list-style: none;
  color: rgba(244, 238, 231, 0.86);
}

.form-shell {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 18px;
}

.form-shell iframe {
  width: 100%;
  min-height: 760px;
  border: 0;
  background: #fff;
}

.contact-aside {
  display: grid;
  gap: 22px;
}

.contact-aside a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(212, 195, 179, 0.18);
}

.footer .brand {
  color: var(--paper);
  margin-bottom: 16px;
}

.footer .brand-sub {
  color: var(--linen);
}

.footer p,
.footer a {
  color: rgba(244, 238, 231, 0.72);
}

.footer h4 {
  font-family: "Outfit", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--linen);
  margin: 0 0 10px;
}

.footer nav {
  display: grid;
  gap: 8px;
}

.footer-copy {
  padding-top: 22px;
  font-size: 0.84rem;
  color: rgba(244, 238, 231, 0.5);
}

@media (max-width: 900px) {
  :root {
    --header: 72px;
  }

  .hero {
    min-height: 0;
    min-height: 52vh;
  }

  .hero-bg {
    object-position: center 88%;
  }

  .page-hero {
    min-height: 220px;
  }

  .page-hero-bg {
    object-position: center 35%;
  }

  .page-hero-bg.is-horizon {
    object-position: center 88%;
  }

  .menu {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .header-row .btn {
    display: none;
  }

  .split,
  .split.reverse,
  .highlight-grid,
  .benefit-grid,
  .quote-grid,
  .detail-grid,
  .footer-grid,
  .apply-grid,
  .photo-duo {
    grid-template-columns: 1fr;
  }

  .split-photo,
  .split-photo img {
    min-height: 280px;
  }

  .hero-copy,
  .page-hero-copy,
  .cta-copy {
    padding: 28px 0 28px;
  }

  .block {
    padding: 72px 0;
  }
}
