/* Silvana Azurdia Staging
   Sister brand to silvanaazurdia.ca: her black, white and rose gold, warmed
   into walnut, plaster and rose gold. Fraunces (soft) for headings, Jost for
   text, the same body face as her real estate site.
   ------------------------------------------------------------------------ */

@font-face {
  font-family: "Fraunces SA";
  src: url("../fonts/fraunces-soft-var.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost SA";
  src: url("../fonts/jost-var.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --plaster: #F3EBE4;
  --linen: #FAF6F2;
  --blush: #EBD9CF;
  --rose: #C9967F;
  --rosewood: #8A5743;
  --walnut: #2A201B;
  --walnut-2: #3A2C25;
  --ink-2: #66564D;
  --line: rgba(42, 32, 27, .14);
  --line-strong: rgba(42, 32, 27, .24);
  --error: #A23B2C;

  --serif: "Fraunces SA", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Jost SA", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.6rem, 1.55rem + 4.3vw, 5.25rem);
  --fs-h1: clamp(2.4rem, 1.6rem + 3.2vw, 4.25rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.1vw, 3.2rem);
  --fs-h3: clamp(1.4rem, 1.27rem + .5vw, 1.7rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --fs-small: .9375rem;
  --fs-xs: .8125rem;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(76px, 9vw, 144px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--plaster);
  color: var(--walnut);
  font-family: var(--sans);
  font-weight: 380;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}

img, picture, svg { display: block; max-width: 100%; }
main { overflow-x: clip; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 340;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 380; line-height: 1.2; }

p { margin: 0 0 1.1em; max-width: 64ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--rosewood); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--walnut); }

::selection { background: var(--blush); color: var(--walnut); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--rosewood);
  outline-offset: 3px;
  border-radius: 4px;
}

.reg { font-size: .5em; line-height: 0; vertical-align: .9em; margin-left: .04em; font-family: var(--sans); font-weight: 400; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--walnut);
  color: var(--plaster);
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--fs-small);
}
.skip-link:focus { top: 12px; color: var(--plaster); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--walnut);
}
.muted { color: var(--ink-2); }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid var(--walnut);
  border-radius: 999px;
  background: var(--walnut);
  color: var(--plaster);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--rosewood); border-color: var(--rosewood); color: var(--linen); }

.btn--quiet {
  background: transparent;
  color: var(--walnut);
  border-color: var(--line-strong);
}
.btn--quiet:hover { background: var(--linen); border-color: var(--walnut); color: var(--walnut); }

.btn--light {
  background: var(--plaster);
  border-color: var(--plaster);
  color: var(--walnut);
}
.btn--light:hover { background: var(--rose); border-color: var(--rose); color: var(--walnut); }

.btn--outline-light {
  background: transparent;
  border-color: rgba(243, 235, 228, .45);
  color: var(--plaster);
}
.btn--outline-light:hover { background: rgba(243, 235, 228, .08); border-color: var(--plaster); color: var(--plaster); }

.btn--small { min-height: 44px; padding: 10px 22px; font-size: .9375rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.text-link {
  display: inline-block;
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--walnut);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rose);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.text-link:hover { color: var(--rosewood); border-color: var(--rosewood); }

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 235, 228, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 246, 242, .94);
  border-bottom-color: var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background: rgba(250, 246, 242, .82);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    backdrop-filter: blur(12px) saturate(1.1);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--walnut);
  text-decoration: none;
}
.brand:hover { color: var(--walnut); }
.brand-mark { width: 22px; height: 30px; color: var(--rose); flex: none; }
.brand-mark svg, .cta-mark svg { width: 100%; height: 100%; }
.brand-text { display: grid; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 360;
  font-size: 1.4rem;
  letter-spacing: -.005em;
}
.brand-sub {
  margin-top: 6px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .66rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--rosewood);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 4px 8px 14px;
  border: 0;
  background: none;
  color: var(--walnut);
  font: 500 .9375rem/1 var(--sans);
  cursor: pointer;
}
.nav-toggle-lines { position: relative; width: 22px; height: 12px; }
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle-lines::before { top: 1px; }
.nav-toggle-lines::after { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 5px; transform: rotate(-45deg); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu a:not(.btn) {
  color: var(--walnut);
  text-decoration: none;
  font-weight: 450;
  font-size: .9688rem;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav-menu a:not(.btn):hover { border-bottom-color: var(--rose); }
.nav-menu a[aria-current="page"] { border-bottom-color: var(--rose); }
.nav-phone a { font-variant-numeric: lining-nums tabular-nums; }

@media (max-width: 979px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 2; }
  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 110px var(--gutter) 48px;
    background: var(--plaster);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .nav-open .nav-menu {
    opacity: 1;
    visibility: visible;
    transition: opacity .3s var(--ease), visibility 0s;
  }
  .nav-menu a:not(.btn) {
    font-family: var(--serif);
    font-weight: 340;
    font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem);
    line-height: 1.25;
    letter-spacing: -.01em;
  }
  .nav-menu .nav-phone { margin-top: 28px; }
  .nav-menu .nav-phone a {
    font-family: var(--sans);
    font-size: 1.125rem;
    font-weight: 450;
  }
  .nav-menu .nav-cta { margin-top: 18px; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--plaster); }
  .brand { position: relative; z-index: 2; }
}
@media (min-width: 980px) and (max-width: 1100px) {
  .nav-phone { display: none; }
}

/* Sections --------------------------------------------------------------- */

.section { padding-block: var(--section); }
.section--tight-top { padding-top: calc(var(--section) * .5); }
.band--blush { background: var(--blush); }
.band--linen { background: var(--linen); }
.band--walnut { background: var(--walnut); color: var(--plaster); }
.band--walnut a:not(.btn) { color: var(--rose); }
.band--walnut a:not(.btn):hover { color: var(--plaster); }

.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head p { color: var(--ink-2); }
.band--walnut .section-head p { color: rgba(243, 235, 228, .74); }
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: end;
    column-gap: clamp(40px, 6vw, 96px);
  }
}

/* The arch: the site's one signature shape, an arched doorway. ----------- */

.arch {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
}
.arch--45 { aspect-ratio: 4 / 5; }
.arch picture,
.arch img {
  width: 100%;
  height: 100%;
}
.arch img {
  object-fit: cover;
  border-radius: 999px 999px 0 0;
  background: var(--blush);
}
.arch--framed::before {
  content: "";
  position: absolute;
  inset: -16px -16px 0 -16px;
  border: 1px solid var(--rose);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.arch--framed::after {
  content: "";
  position: absolute;
  left: -24px; right: -24px; bottom: 0;
  height: 1px;
  background: var(--rose);
  pointer-events: none;
}

@media (min-width: 900px) {
  .arch--framed::after { left: -40px; right: -40px; }
}

/* Hero ------------------------------------------------------------------- */

.hero { padding-block: clamp(32px, 5vw, 72px) clamp(80px, 9vw, 136px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(56px, 7vw, 104px); align-items: center; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
}

.hero-kicker {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--rosewood);
  font-weight: 450;
  font-size: var(--fs-small);
  line-height: 1.4;
}
.hero-kicker svg { width: 14px; height: 18px; margin-top: .06em; color: var(--rose); flex: none; }

.display {
  font-size: var(--fs-display);
  font-weight: 310;
  line-height: 1.02;
  letter-spacing: -.022em;
  margin: 0 0 30px;
  max-width: 11.5ch;
}
.hero .lead { max-width: 34em; margin-bottom: 36px; color: var(--walnut-2); }
.hero-note {
  margin: 30px 0 0;
  font-size: var(--fs-small);
  color: var(--ink-2);
}

.hero-figure {
  width: min(100%, 500px);
  justify-self: center;
  padding: 18px 16px 0;
}
@media (min-width: 900px) {
  .hero-figure { justify-self: end; margin-right: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * {
    opacity: 0;
    transform: translateY(14px);
    animation: sa-up .9s var(--ease) forwards;
  }
  .js .hero-copy > :nth-child(2) { animation-delay: .07s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .21s; }
  .js .hero-copy > :nth-child(5) { animation-delay: .28s; }
  .js .hero-figure .arch--framed::before {
    clip-path: inset(100% 0 0 0);
    animation: sa-rise 1.5s var(--ease) .2s forwards;
  }
  .js .hero-figure .arch--framed::after {
    transform: scaleX(0);
    animation: sa-floor 1.1s var(--ease) forwards;
  }
  .js .hero-figure img {
    opacity: 0;
    transform: scale(1.04);
    transform-origin: 50% 100%;
    animation: sa-settle 1.6s var(--ease) .45s forwards;
  }
}
@keyframes sa-up { to { opacity: 1; transform: none; } }
@keyframes sa-rise { to { clip-path: inset(0 0 0 0); } }
@keyframes sa-floor { to { transform: none; } }
@keyframes sa-settle { to { opacity: 1; transform: none; } }

/* Page intro (inner pages) ---------------------------------------------- */

.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.page-hero h1 { font-size: var(--fs-h1); font-weight: 320; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 26px; max-width: 15ch; }
.page-hero .lead { max-width: 36em; color: var(--walnut-2); }
.page-hero-grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .page-hero-grid .arch { width: min(100%, 380px); justify-self: end; margin-right: 16px; }
}
.page-hero-grid .arch { width: min(100%, 380px); justify-self: center; margin-top: 16px; }

/* Intro block ------------------------------------------------------------ */

.intro-grid { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; column-gap: clamp(48px, 6vw, 96px); }
  .intro-grid > div { padding-top: .6em; }
}
.intro-grid h2 { max-width: 17ch; }
.intro-grid p { color: var(--walnut-2); }

.window {
  max-width: 920px;
  margin: clamp(48px, 6vw, 88px) 0 0 auto;
}
.window img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 50% 50% 0 0 / 22% 22% 0 0;
  background: var(--blush);
}
@media (max-width: 640px) {
  .window img { aspect-ratio: 4 / 3; border-radius: 50% 50% 0 0 / 24% 24% 0 0; }
}

/* Services trio ---------------------------------------------------------- */

.trio { display: grid; gap: 64px clamp(28px, 3.4vw, 52px); margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .trio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trio-item { display: flex; flex-direction: column; }
.trio-item .arch { margin-bottom: 30px; }
.trio-item h3 { margin-bottom: 12px; }
.trio-item p { color: var(--walnut-2); margin-bottom: 20px; }
.trio-item .text-link { align-self: flex-start; margin-top: auto; }

/* Staging facts ---------------------------------------------------------- */

.facts-grid { display: grid; gap: 40px clamp(48px, 6vw, 96px); }
@media (min-width: 900px) { .facts-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.facts-grid h2 { max-width: 13ch; margin-bottom: 22px; }
.source { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.6; max-width: 40ch; }
.source a { color: var(--ink-2); }

.stats { margin: 0; padding: 0; list-style: none; }
.stat {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7.5rem) minmax(0, 1fr);
  gap: 8px 28px;
  align-items: baseline;
  padding: 26px 0 28px;
  border-top: 1px solid rgba(42, 32, 27, .18);
}
.stat:last-child { border-bottom: 1px solid rgba(42, 32, 27, .18); }
.stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 2.2rem + 2vw, 4.1rem);
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--rosewood);
  font-variant-numeric: lining-nums;
}
.stat-text { font-size: var(--fs-lead); line-height: 1.5; color: var(--walnut); max-width: 32ch; }

/* Process ---------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; } }
.step { position: relative; padding-top: 30px; border-top: 1px solid rgba(201, 150, 127, .5); }
.step::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose);
}
.step-num {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--rose);
  margin-bottom: 18px;
  font-variant-numeric: lining-nums;
}
.step h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--plaster); }
.step p { font-size: 1rem; line-height: 1.65; color: rgba(243, 235, 228, .78); }

/* About teaser and facts -------------------------------------------------- */

.about-grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); } }
.about-grid .arch { width: min(calc(100% - 32px), 340px); margin: 18px 16px 0; }
@media (min-width: 900px) { .about-grid .arch { justify-self: center; } }
.about-grid h2 { margin-bottom: 24px; }
.about-grid p { color: var(--walnut-2); }

.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px 32px;
  margin: 36px 0 34px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.credentials strong {
  display: block;
  font-family: var(--serif);
  font-weight: 340;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--walnut);
  margin-bottom: 6px;
  font-variant-numeric: lining-nums;
}
.credentials li > span { display: block; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.45; }

/* Areas ------------------------------------------------------------------ */

.areas-grid { display: grid; gap: 24px clamp(48px, 6vw, 96px); }
@media (min-width: 900px) { .areas-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: baseline; } }
.areas-list {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -.01em;
  margin: 0 0 18px;
  max-width: 30ch;
}
.areas-grid .muted { max-width: 46ch; }

/* Closing call to action -------------------------------------------------- */

.cta { text-align: center; }
.cta h2 { font-size: var(--fs-h1); font-weight: 320; letter-spacing: -.02em; margin: 0 auto 24px; max-width: 14ch; }
.cta p { margin: 0 auto 36px; color: var(--walnut-2); max-width: 40ch; }
.cta .btn-row { justify-content: center; }
.cta-mark { width: 26px; height: 34px; margin: 0 auto 28px; color: var(--rose); }

/* Services page ---------------------------------------------------------- */

.service {
  display: grid;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .service { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .service--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .service--flip .service-media { order: 2; }
}
.service-media .arch { width: min(100%, 400px); margin: 16px auto 0; }
.service-body h2 { margin-bottom: 22px; }
.service-body > p { color: var(--walnut-2); }
.service-lists { display: grid; gap: 28px 40px; margin-top: 32px; }
@media (min-width: 640px) { .service-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service-lists h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 12px;
}
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li {
  position: relative;
  padding: 0 0 10px 26px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--walnut-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: .5em;
  width: 9px; height: 11px;
  border: 1px solid var(--rose);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.audiences { display: grid; gap: 40px clamp(32px, 4vw, 64px); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .audiences { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.audiences li { padding-top: 26px; border-top: 1px solid rgba(201, 150, 127, .5); }
.audiences h3 { color: var(--plaster); margin-bottom: 12px; }
.audiences p { font-size: 1rem; color: rgba(243, 235, 228, .78); }

/* FAQ -------------------------------------------------------------------- */

.faq-grid { display: grid; gap: 40px clamp(48px, 6vw, 96px); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); } }
.faq-grid h2 { max-width: 12ch; margin-bottom: 18px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  position: relative;
  display: block;
  padding: 24px 52px 24px 0;
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--rosewood), var(--rosewood)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--rosewood), var(--rosewood)) center / 1.5px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--rosewood); }
.faq-answer { padding: 0 52px 26px 0; color: var(--walnut-2); }

.about-hero .credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .about-hero .credentials { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

/* About page ------------------------------------------------------------- */

.about-hero .arch { width: min(100%, 360px); }
.pillars { display: grid; gap: 40px clamp(32px, 4vw, 64px); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillars li { padding-top: 26px; border-top: 1px solid var(--line-strong); }
.pillars h3 { margin-bottom: 12px; }
.pillars p { font-size: 1rem; color: var(--walnut-2); }

.two-col { display: grid; gap: 32px clamp(48px, 6vw, 96px); }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.two-col h2 { max-width: 15ch; }
.two-col p { color: var(--walnut-2); }

/* Contact page and form -------------------------------------------------- */

.contact-grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); } }
.contact-aside h1 { font-size: var(--fs-h1); font-weight: 320; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 26px; max-width: 12ch; }
.contact-aside .lead { color: var(--walnut-2); margin-bottom: 36px; }
.direct { margin: 0 0 40px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.direct li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.direct li > span { display: block; font-size: var(--fs-xs); color: var(--ink-2); margin-bottom: 4px; }
.direct a {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem);
  line-height: 1.25;
  color: var(--walnut);
  text-decoration: none;
  font-variant-numeric: lining-nums;
  overflow-wrap: anywhere;
}
.direct a:hover { color: var(--rosewood); }
.next-steps { margin: 0; padding: 0; list-style: none; counter-reset: next; }
.next-steps li {
  counter-increment: next;
  position: relative;
  padding: 0 0 16px 40px;
  font-size: 1rem;
  color: var(--walnut-2);
}
.next-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0; top: -2px;
  font-family: var(--serif);
  font-weight: 340;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--rosewood);
}
.next-steps-title { font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: 0; margin-bottom: 14px; }

.form-panel {
  background: var(--linen);
  border: 1px solid var(--line);
  border-radius: 999px 999px 18px 18px / 220px 220px 18px 18px;
  padding: clamp(96px, 10vw, 128px) clamp(22px, 4vw, 56px) clamp(32px, 4vw, 52px);
}
@media (max-width: 640px) {
  .form-panel { border-radius: 999px 999px 14px 14px / 140px 140px 14px 14px; padding-top: 84px; }
}
.form-panel-title {
  text-align: center;
  font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem);
  margin: 0 auto 8px;
  max-width: 18ch;
}
.form-panel-sub { text-align: center; margin: 0 auto 36px; color: var(--ink-2); font-size: 1rem; }

.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 8px; align-content: start; }
.field > label,
.field > .label {
  font-weight: 500;
  font-size: .9375rem;
  line-height: 1.35;
  color: var(--walnut);
}
.optional { font-weight: 400; color: var(--ink-2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(42, 32, 27, .24);
  border-radius: 10px;
  background: #fff;
  color: var(--walnut);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238A5743' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.field input::placeholder,
.field textarea::placeholder { color: #9A8A80; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(42, 32, 27, .42); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rosewood);
  box-shadow: 0 0 0 3px rgba(201, 150, 127, .35);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 0; font-size: .875rem; line-height: 1.4; color: var(--error); }
.field-error:empty { display: none; }
.hint { margin: 0; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }

.choice-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 10px; font-weight: 500; font-size: .9375rem; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(42, 32, 27, .24);
  border-radius: 999px;
  background: #fff;
  font-size: .9375rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.choice span:hover { border-color: rgba(42, 32, 27, .45); }
.choice input:checked + span { background: var(--walnut); border-color: var(--walnut); color: var(--plaster); }
.choice input:focus-visible + span { outline: 2px solid var(--rosewood); outline-offset: 3px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.captcha-wrap { min-height: 0; }
.captcha-wrap:not(:empty) { min-height: 78px; }

.form-foot { display: grid; gap: 18px; justify-items: start; margin-top: 6px; }
.form-foot .btn { min-width: 220px; }
.form-foot .btn[disabled] { opacity: .6; cursor: progress; }
.privacy-note { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--ink-2); max-width: 52ch; }

.form-status {
  margin: 0;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: .9688rem;
  line-height: 1.5;
}
.form-status:empty { display: none; }
.form-status.is-error { background: #F6E3DE; color: #7E2A1E; border: 1px solid rgba(162, 59, 44, .3); }

.form-done { text-align: center; padding: 12px 0 8px; }
.form-done h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); margin-bottom: 16px; }
.form-done p { margin-inline: auto; color: var(--walnut-2); }

/* Simple pages (privacy, thanks, 404) ----------------------------------- */

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin: 2.2em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose p, .prose li { color: var(--walnut-2); }

.notice-grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .notice-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.notice-grid .arch { width: min(100%, 400px); justify-self: center; margin-top: 16px; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--walnut);
  color: rgba(243, 235, 228, .78);
  padding: clamp(64px, 7vw, 104px) 0 36px;
  font-size: 1rem;
}
.site-footer a { color: var(--plaster); text-decoration: none; }
.site-footer a:hover { color: var(--rose); }
.footer-grid { display: grid; gap: 44px 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(201, 150, 127, .3); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.site-footer .brand { color: var(--plaster); margin-bottom: 22px; }
.site-footer .brand-sub { color: var(--rose); }
.footer-brand p { max-width: 30ch; }
.footer-h {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .9375rem;
  letter-spacing: 0;
  color: var(--rose);
  margin-bottom: 16px;
}
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li { margin-bottom: 10px; line-height: 1.45; }
.footer-legal {
  display: grid;
  gap: 10px;
  padding-top: 30px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: rgba(243, 235, 228, .6);
}
.footer-legal p { max-width: 100ch; margin: 0; }
.footer-legal a { color: rgba(243, 235, 228, .85); text-decoration: underline; text-decoration-color: rgba(201, 150, 127, .6); }

/* Print ------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .btn-row, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
