/* ---------- Tokens ---------- */
:root {
  --brown: #200700;
  --brown-deep: #1e0700;
  --pink: #ffebf4;
  --pink-soft: #ffe3f0;

--font-accent: "Syne", system-ui, sans-serif;
--font-body: "Archivo Variable", "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space: clamp(1.25rem, 4vw, 3rem);
  --measure: 62ch;
}

@font-face {
  font-family: "Syne";
  src: url("/fonts/syne-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("/fonts/syne-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Variable";
  src: url("/fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}



/* ---------- Base (mobile first) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--brown);
  color: var(--pink);
  font: 1rem/1.65 var(--font-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--pink); outline-offset: 3px;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--pink); color: var(--brown); padding: .5rem 1rem; z-index: 10; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
h2.display, h1.display { font-size: clamp(2.6rem, 9vw, 4.5rem); }

/* ---------- Header / nav ---------- */
.site-header { padding: 1rem var(--space); }
.site-header ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; justify-content: center;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem;
}
.site-header a { text-decoration: none; padding: .4rem 0; display: inline-block; }
.site-header a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
@media (min-width: 48em) {
  .site-header ul { justify-content: space-between; max-width: 90rem; margin: 0 auto; }
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding: clamp(3rem, 10vw, 7rem) var(--space); }
.hero .display { font-size: clamp(3.2rem, 14vw, 8rem); margin-bottom: .5rem; }
.hero-sub { font-weight: 700; font-size: 1.25rem; margin: 0; color: #ffffff}
.hero-area { margin: .25rem 0 2rem; font-size: .9rem; color: #ffffff }

/* ---------- Arch hero (homepage) ---------- */
.arch-hero {
  text-align: center;
  width: min(100% - 2 * var(--space), 50rem, calc((100svh - 9rem) * .75));
  margin: 0 auto calc(var(--space) * 1.5);
}
.arch-hero__frame { position: relative; isolation: isolate; }
.arch-hero__img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 999px 999px 0 0;            /* the arch */
  background: var(--brown-deep);
}

/* Even tint over the whole photo, no gradient.
   Lower the .3 for a lighter tint, or delete this block for none. */
/* .arch-hero__frame::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 999px 999px 0 0; pointer-events: none; z-index: 1;
  background: rgb(43 10 0 / .3);
} */
.arch-hero__text {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 0 1rem 2.5rem;
  text-shadow: 0 1px 12px rgb(43 10 0 / .6);
}
.arch-hero .logo {
  width: 100%; margin: 0 auto .5rem;
  filter: drop-shadow(0 2px 8px rgb(43 10 0 / .5));
}
.arch-hero .hero-area { margin-bottom: 0; }
.arch-hero .arch-hero__cta {
  display: block; width: fit-content;
  margin: -1.75rem auto 0; position: relative; z-index: 2;
}

@media (min-width: 48em) {
  .arch-hero { width: min(100% - 2 * var(--space), 34rem, calc((100svh - 9rem) * .8)); }
  .arch-hero__img { aspect-ratio: 4 / 5; }
  .arch-hero__text { padding-bottom: 3rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--pink); color: var(--brown);
  font: 700 .95rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--pink); padding: .9rem 1.4rem; cursor: pointer;
}
.btn:hover { background: var(--pink-soft); }
.btn--ghost { background: transparent; color: var(--pink); }
.btn--ghost:hover { background: var(--brown-deep); }

/* ---------- Split section: image + text ---------- */
.split {
  display: grid; gap: var(--space);
  padding: var(--space);
  background: var(--brown);
  border-top: 1.25rem solid var(--pink);     /* the pink bands from the wireframe */
}
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-text { max-width: var(--measure); align-self: center; }

@media (min-width: 48em) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: calc(var(--space) * 1.5) var(--space);
    padding-inline: max(var(--space), calc((100% - 80rem) / 2));
  }

  .split--reverse img { order: 2; }
}

/* ---------- Text pages ---------- */
.prose { max-width: var(--measure); margin: 0 auto; padding: var(--space); }
.prose h1:not(.display) { font-size: 2rem; line-height: 1.2; }
.meta { opacity: .8; font-size: .9rem; margin-top: -.5rem; }
.post-item { margin-bottom: 2rem; }
.post-item h2 { font-size: 1.4rem; margin-bottom: .25rem; }
.testimonial { margin: 2rem 0; }
.testimonial blockquote { margin: 0; font-size: 1.2rem; }
.testimonial figcaption { margin-top: .5rem; font-weight: 700; }

/* ---------- Gallery ---------- */
.gallery { max-width: 80rem; margin: 0 auto; padding: 0 var(--space) var(--space); }
.gallery__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  background: var(--brown-deep);
}
.gallery figcaption { margin-top: .5rem; font: 700 .8rem/1.4 var(--font-accent); }
.gallery__credit { display: block; margin-top: .15rem; font: 400 .75rem/1.4 var(--font-body); opacity: .8; }

@media (min-width: 56em) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

/* ---------- Form ---------- */
.form { display: grid; gap: 1rem; margin-top: 2rem; }
.form label { display: grid; gap: .35rem; font-weight: 700; }
.form input:not([type="checkbox"]), .form textarea {
  font: inherit; color: var(--brown); background: var(--pink-soft);
  border: 2px solid var(--pink); padding: .75rem; width: 100%; border-radius: 0;
}
.form .check { display: flex; gap: .6rem; align-items: start; font-weight: 400; }
.form .check input { margin-top: .35rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Legal pages ---------- */
.legal h2 { font: 800 1.15rem/1.3 var(--font-accent); margin: 2rem 0 .5rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
.legal table { border-collapse: collapse; min-width: 40rem; font-size: .9rem; }
.legal th, .legal td { border: 1px solid var(--pink); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.legal th { font-family: var(--font-accent); }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center; padding: var(--space);
  border-top: 1.25rem solid var(--pink); font-size: .9rem;
}
.site-footer p { margin: .25rem 0; }

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