/* =========================================================
   Azalai Studio — main stylesheet
   Mobile-first. Tokens first, then base, layout, components,
   sections. To restyle the site, start with the :root block.
   ========================================================= */

:root {
  /* colour */
  --bg: #0d0d0c;
  --bg-raise: #151513;
  --surface: #1c1b19;
  --line: rgba(241, 235, 228, 0.14);
  --line-strong: rgba(241, 235, 228, 0.3);
  --text: #f1ebe4;
  --muted: #a8a498;
  --accent: #c47a57; /* burnt orange */
  --accent-hover: #d28c6a;
  --accent-press: #b06a49;
  --ink: #0d0d0c; /* text on the accent colour */
  --ink-soft: #1c110b; /* secondary text on the accent colour */
  --danger: #ff8a7a;

  /* type */
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;

  /* layout */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1280px;
  --radius: 4px;
  --header-h: 4.25rem;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  color-scheme: dark;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg,
iframe {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

/* ---------- type ---------- */
/* Two voices: Inter Display for statements, Lora italic for the human aside. */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}
.display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: inherit;
}
.h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.25rem);
}
.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: 36rem;
  text-wrap: pretty;
}
/* small plain label (used on the 404 and privacy pages) */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.eyebrow b {
  font-weight: 500;
  color: var(--accent);
}

/* ---------- buttons + links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.975rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--accent-hover);
}
.btn--primary:active {
  background: var(--accent-press);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--text);
}
.btn--sm {
  min-height: 2.5rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.9rem;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  text-decoration-color: var(--line-strong);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ---------- wordmark ---------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wordmark__glyph {
  /* the Azalai mark (traced from the logo): assets/img/logo-mark.svg */
  width: 1.5rem;
  aspect-ratio: 508.5 / 432.2;
  background: url("/assets/img/logo-mark.svg") center / contain no-repeat;
  flex: none;
}
.wordmark span {
  font-weight: 400;
  color: var(--muted);
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(13, 13, 12, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled,
.site-header[data-open="true"] {
  border-bottom-color: var(--line);
  background: var(--bg);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}
.nav-toggle:hover {
  border-color: var(--text);
}
.nav-toggle .icon--close {
  display: none;
}
.site-header[data-open="true"] .nav-toggle .icon--menu {
  display: none;
}
.site-header[data-open="true"] .nav-toggle .icon--close {
  display: block;
}
.nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  padding: 1.5rem var(--gutter) 3rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
}
.site-header[data-open="true"] .nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.nav__list a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 10vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.nav__list a[aria-current] {
  color: var(--accent);
}

@media (min-width: 62rem) {
  .nav-toggle {
    display: none;
  }
  .nav {
    position: static;
    inset: auto;
    padding: 0;
    background: transparent;
    flex-direction: row;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
    .nav__list {
    display: flex;
    gap: 2.25rem;
  }
  .nav__list a {
    display: inline-block;
    padding: 0.4rem 0;
    border: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0;
    line-height: 1.6;
    color: var(--muted);
    background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat;
    transition: color 0.2s var(--ease), background-size 0.3s var(--ease);
  }
  .nav__list a:hover,
  .nav__list a[aria-current] {
    color: var(--text);
    background-size: 100% 1px;
  }
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  scroll-margin-top: var(--header-h);
}
/* ---------- hero (home): type only ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 11vw, 9.5rem) clamp(4rem, 9vw, 8rem);
  border-bottom: 1px solid var(--line);
}
.hero .hero__mark {
  right: clamp(1.5rem, 7vw, 7rem);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: min(30rem, 36vw);
  background: #1b1a18;
}
@media (max-width: 47.99rem) {
  .hero .hero__mark { display: none; }
}
.hero .container {
  position: relative;
}
.hero__title {
  font-size: clamp(3.3rem, 10.6vw, 9.75rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
}
.hero__title span {
  display: block;
}
.hero__title em {
  display: block;
  font-size: 1.03em;
  line-height: 1;
  margin-top: 0.04em;
}
.hero__lede {
  max-width: 33rem;
  margin-top: clamp(2rem, 4.5vw, 3.5rem);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.5;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* ---------- inner page heading ---------- */
.page-head {
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4rem);
}
.page-head h1 {
  font-size: clamp(2.9rem, 7.4vw, 6.5rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
}
.page-head h1 em {
  display: block;
}
.page-head .lede {
  max-width: 38rem;
  margin-top: 1.75rem;
}

/* ---------- our work: three consistent cards ---------- */
.work-list {
  display: grid;
  gap: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.project {
  display: grid;
  gap: 1.75rem;
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-strong);
}
.project__shots {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: end;
}
.project__shot,
.project__phone {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 0.2s var(--ease);
}
.project__shot:hover,
.project__phone:hover {
  border-color: var(--accent);
}
.project__phone {
  border-radius: 14px;
}
.project__shot img,
.project__phone img {
  display: block;
  width: 100%;
  height: auto;
}
.stamp {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
}
.project__title {
  margin-top: 1rem;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  letter-spacing: -0.045em;
  line-height: 1;
}
.project__kind {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
}
.project__desc {
  margin-top: 1.25rem;
  max-width: 28rem;
  color: var(--text);
}
.project .btn {
  margin-top: 1.75rem;
}
@media (min-width: 62rem) {
  .project {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: end;
  }
}
.work-note {
  max-width: 40rem;
  padding-bottom: clamp(4rem, 8vw, 6rem);
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- closing call to action (home) ---------- */
.cta-band {
  padding-block: clamp(4rem, 9vw, 7.5rem);
  background: var(--accent);
  color: var(--ink);
}
.cta-band :focus-visible {
  outline-color: var(--ink);
}
.cta-band__title {
  max-width: 14em;
  font-size: clamp(2.4rem, 5.6vw, 4.75rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}
.cta-band .btn {
  margin-top: 2.25rem;
  background: var(--ink);
  color: var(--text);
}
.cta-band .btn:hover {
  background: #000;
}

/* ---------- shared section heading ---------- */
.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
}
.section-head .h2 {
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
}
.section-head .lede {
  margin-top: 1.25rem;
}

/* ---------- services: an even grid of equal cards ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px; /* the gap shows the background, drawing one-pixel dividers */
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  background: var(--bg);
}
.card__icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}
.card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.card p {
  max-width: 24rem;
  color: var(--muted);
}
.card--cta {
  justify-content: flex-end;
  background: var(--bg-raise);
}
.card--cta h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
}
.card--cta .link {
  margin-top: auto;
  padding-top: 0.75rem;
  min-height: 0;
  color: var(--text);
}
@media (min-width: 40rem) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 62rem) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- process: three equal steps in one straight row ---------- */
.process {
  background: var(--bg-raise);
  border-block: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.step .step__num {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3.25rem, 6vw, 4.75rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.step h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.step p:last-child {
  margin-top: 0.6rem;
  max-width: 24rem;
  color: var(--muted);
}
@media (min-width: 52rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* ---------- about: the logo mark, large and quiet ---------- */
.about {
  overflow: hidden;
}
.about__mark,
.hero__mark {
  position: absolute;
  right: -8vw;
  top: 50%;
  width: min(54rem, 78vw);
  aspect-ratio: 508.5 / 432.2;
  transform: translateY(-50%);
  background: #1b1a18;
  -webkit-mask: url("/assets/img/logo-mark.svg") center / contain no-repeat;
  mask: url("/assets/img/logo-mark.svg") center / contain no-repeat;
  pointer-events: none;
}
.about__grid {
  position: relative;
  display: grid;
  gap: 3rem;
}
.about__statement {
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  line-height: 1.06;
  max-width: 20em;
}
.about__statement em {
  display: block;
  margin-top: 0.3em;
  font-size: 1.04em;
}
.about__copy {
  display: grid;
  gap: 1.25rem;
  max-width: 33rem;
  color: var(--muted);
}
@media (min-width: 62rem) {
  .about__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 5rem;
    align-items: end;
  }
}

/* ---------- contact: the one loud section ---------- */
.contact {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--accent);
  color: var(--ink);
  scroll-margin-top: var(--header-h);
}
.contact :focus-visible {
  outline-color: var(--ink);
}
.contact__grid {
  display: grid;
  gap: 3rem;
}
.contact__title {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
}
.contact__lede {
  max-width: 28rem;
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-soft);
}
.contact__alt {
  margin-top: 2rem;
  color: var(--ink-soft);
}
.contact__alt a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.contact__alt a:hover {
  text-decoration-thickness: 2px;
}

.form {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--ink);
  color: var(--text);
  border-radius: 6px;
}
.form :focus-visible {
  outline-color: var(--accent);
}
.form__grid {
  display: grid;
  gap: 1.35rem;
}
.field {
  display: grid;
  gap: 0.5rem;
}
.field label,
.field legend {
  font-size: 0.9rem;
  font-weight: 500;
}
.field .opt {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.5;
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8a498' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.field select option {
  background: #1c1b19;
  color: var(--text);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #85827a;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(241, 235, 228, 0.55);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 122, 87, 0.35);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}
.field__error {
  display: none;
  font-size: 0.85rem;
  color: var(--danger);
}
.field.has-error .field__error {
  display: block;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__foot {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}
.form__fine {
  font-size: 0.85rem;
  color: var(--muted);
}
.form__fine a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form__status {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.form__status[hidden] {
  display: none;
}
.form__status strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.form__status--success {
  border-color: var(--accent);
  background: rgba(196, 122, 87, 0.12);
}
.form__status--error {
  border-color: var(--danger);
  background: rgba(255, 138, 122, 0.08);
}
.form__status a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 48rem) {
  .form__grid {
    grid-template-columns: 1fr 1fr;
  }
  .field--wide {
    grid-column: 1 / -1;
  }
  .form__foot {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.5rem;
  }
}
@media (min-width: 62rem) {
  .contact__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 5rem;
    align-items: start;
  }
}

/* ---------- footer ---------- */
.site-footer {
  padding-block: 4.5rem 2.5rem;
  background: var(--bg);
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
}
.footer__about p {
  margin-top: 1.1rem;
  max-width: 24rem;
  color: var(--muted);
  font-size: 0.975rem;
}
.footer__col h2 {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.footer__col li + li {
  margin-top: 0.55rem;
}
.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.footer__col a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
@media (min-width: 48rem) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ---------- 404 / legal ---------- */
.page-center {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-content: center;
  padding-block: 4rem;
}
.page-center h1 {
  font-size: clamp(5rem, 22vw, 15rem);
  color: var(--accent);
  line-height: 0.85;
}
.page-center p {
  margin-top: 1.5rem;
}
.page-center .hero__cta {
  margin-top: 2rem;
}
.prose {
  max-width: 46rem;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.prose h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  margin-bottom: 1.5rem;
}
.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose p + p {
  margin-top: 0.9rem;
}
.prose ul {
  margin-top: 0.75rem;
  padding-left: 1.2rem;
  list-style: disc;
}
.prose li + li {
  margin-top: 0.4rem;
}
.prose a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .notice {
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 600px) {
  .site-header__actions .btn--ghost { display: none; }
}

@media (max-width: 30rem) {
  .site-header__actions:has(.nav-toggle) > .btn--primary { display: none; }
}

.prose ul + p { margin-top: 1rem; }

/* ---------- pricing page ---------- */
.price-block {
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem);
}
.price-block__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.price-block__note {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.25rem;
}
.price-block .cards {
  margin-top: 1.25rem;
}
.cards--three {
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) {
  .cards--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.card .price {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
}
.card .price span {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.terms {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.terms > div {
  display: grid;
  gap: 0.35rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.terms dt {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.terms dd {
  color: var(--muted);
  max-width: 40rem;
}
@media (min-width: 48rem) {
  .terms > div {
    grid-template-columns: 16rem 1fr;
    gap: 2rem;
  }
}

/* ---------- homepage showcase ---------- */
.showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (min-width: 48rem) {
  .showcase__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.showcase__item {
  display: grid;
  gap: 0.35rem;
}
.showcase__item img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 0.2s var(--ease);
}
.showcase__item:hover img,
.showcase__item:focus-visible img { border-color: var(--accent); }
.showcase__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.showcase__kind {
  font-size: 0.9rem;
  color: var(--muted);
}

/* the header already has a Get a Quote button; the menu copy is for small screens only */
@media (min-width: 30.0625rem) {
  .nav__cta { display: none; }
}
