@import url("/fonts/fonts.css");

/* ---------------------------------------------------------------- tokens -- */

:root {
  --ink: #2c2b29;
  --ink-soft: #6a6763;
  --ink-faint: #94908a;
  --paper: #ffffff;
  --panel: #f5f4f2;
  --panel-strong: #e0dfdc;
  --line: #e6e3df;
  --button: #333333;
  --button-hover: #1c1c1c;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --measure: 68ch;
  --page-max: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-gap: clamp(3rem, 8vw, 5.5rem);
  --radius: 4px;

  --header-height: 4.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--ink-faint);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.1rem);
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
}
h4 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ---------------------------------------------------------------- layout -- */

.shell {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow {
  max-width: 780px;
}

.shell--wide {
  max-width: 1440px;
}

main {
  display: block;
  min-height: 50vh;
}

.section {
  padding-block: var(--section-gap);
}

.section--tight {
  padding-block: clamp(2rem, 5vw, 3rem);
}

/* For a section that continues directly from the one above it on the same
   background, rather than starting a new visual block. */
.section--tight-top {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

/* For a section that continues directly into the one below it, rather than
   ending a visual block. */
.section--tight-bottom {
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section--panel {
  background: var(--panel);
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.lede {
  color: var(--ink-soft);
  max-width: var(--measure);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1rem;
}

.center {
  text-align: center;
}

.stack-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.site-header__logo {
  display: inline-block;
  text-decoration: none;
}

.site-header__logo img {
  width: 200px;
  height: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-toggle__close {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.75rem);
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.5rem;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

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

.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .nav a {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    padding-block: 0.95rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a[aria-current="page"] {
    border-bottom-color: var(--line);
  }

  body.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  body.nav-open .nav-toggle__open {
    display: none;
  }

  body.nav-open .nav-toggle__close {
    display: block;
  }
}

/* ---------------------------------------------------------------- footer -- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  background: var(--panel);
}

.site-footer__logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer__logo img {
  width: 190px;
}

.site-footer__meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.site-footer__meta a {
  text-decoration: none;
}

.site-footer__meta a:hover {
  text-decoration: underline;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.site-footer__nav a:hover {
  color: var(--ink);
}

.site-footer__legal {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------- buttons -- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 2rem;
  background: var(--button);
  color: #fff;
  border: 1px solid var(--button);
  border-radius: var(--radius);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.button--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ------------------------------------------------------------------ hero -- */

.hero {
  position: relative;
  background: var(--panel);
}

.hero__image {
  width: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/*
 * Banners get taller on narrow screens (so a face still reads) and flatten into a
 * wide band on desktop. The ratios below are the natural progression — 4/3, 16/7,
 * 10/3 — divided down so each banner loses a set share of its height:
 * the home hero 15%, the price list 10%. `--hero-height-scale` (set inline per page,
 * from the admin tool's Height slider) then scales that result further — 1 is the
 * default above, >1 taller, <1 shorter — the same way at every breakpoint.
 */
.hero__image--home {
  aspect-ratio: calc(1.57 / var(--hero-height-scale, 1));
}

.hero__image--price-list {
  aspect-ratio: calc(1.48 / var(--hero-height-scale, 1));
}

@media (min-width: 640px) {
  .hero__image--home {
    aspect-ratio: calc(2.69 / var(--hero-height-scale, 1));
  }

  .hero__image--price-list {
    aspect-ratio: calc(2.54 / var(--hero-height-scale, 1));
  }
}

@media (min-width: 1100px) {
  .hero__image--home {
    aspect-ratio: calc(3.92 / var(--hero-height-scale, 1));
  }

  .hero__image--price-list {
    aspect-ratio: calc(3.7 / var(--hero-height-scale, 1));
  }
}

.hero__caption {
  /* Tighter underneath: on the home page the caption and the teaser gallery share
     one continuous panel, so a full gap on both sides reads as a hole. */
  padding-block: clamp(1.75rem, 4vw, 2.75rem) clamp(1rem, 2.5vw, 1.5rem);
  text-align: center;
}

.hero__caption h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  margin-bottom: 0.35rem;
}

.hero__caption p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------- gallery -- */

.gallery {
  display: grid;
  gap: clamp(0.4rem, 1.2vw, 0.85rem);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 560px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1300px) {
  .gallery--wide {
    grid-template-columns: repeat(5, 1fr);
  }
}

.gallery__item {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  /* Every tile is the same shape, so the grid stays perfectly aligned. */
  aspect-ratio: 3 / 4;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1), opacity 0.3s ease;
}

@media (hover: hover) {
  .gallery__item:hover img {
    transform: scale(1.035);
  }
}

.gallery--teaser {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 480px) {
  .gallery--teaser {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery--teaser {
    grid-template-columns: repeat(8, 1fr);
  }
}

.gallery-empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--ink-faint);
  background: var(--panel);
  border-radius: var(--radius);
}

/* -------------------------------------------------------------- lightbox -- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  background: rgba(20, 19, 18, 0.94);
  color: #fff;
  touch-action: none;
}

/* Flex column with min-height:0 on the stage — the one layout that reliably lets
   the image shrink to the space left over, rather than pushing the bars off-screen. */
.lightbox.is-open {
  display: flex;
  flex-direction: column;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox__bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(0.75rem, 3vw, 1.5rem);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
}

.lightbox__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(0.5rem, 3vw, 4.5rem);
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.lightbox__img.is-loading {
  opacity: 0.35;
}

.lightbox__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.lightbox__control:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__control svg {
  width: 22px;
  height: 22px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.lightbox__nav--prev {
  left: clamp(0.35rem, 2vw, 1.25rem);
}

.lightbox__nav--next {
  right: clamp(0.35rem, 2vw, 1.25rem);
}

.lightbox__footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
}

/* On a phone the arrows overlay the image edges — swiping is the main gesture,
   so they stay available without stealing width from the photo. */
@media (max-width: 640px) {
  .lightbox__stage {
    padding-inline: 0.25rem;
  }

  .lightbox__control {
    width: 2.5rem;
    height: 2.5rem;
  }

  .lightbox__nav {
    background: rgba(20, 19, 18, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------- prices -- */

.price-grid {
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-card__title {
  margin: 0;
  padding: 0.85rem 1.25rem;
  background: var(--panel-strong);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3e3e3e;
  text-align: center;
}

.price-card__rows {
  margin: 0;
  padding: 0.5rem 1.25rem 1rem;
  list-style: none;
}

.price-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
  font-size: 0.95rem;
}

.price-card__row + .price-card__row {
  border-top: 1px dashed var(--line);
}

.price-card__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  white-space: nowrap;
}

.included {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.included li::before {
  content: "— ";
  color: var(--ink-faint);
}

/* ---------------------------------------------------------- testimonials -- */

.testimonials {
  columns: 1;
  column-gap: clamp(1rem, 3vw, 2rem);
}

@media (min-width: 800px) {
  .testimonials {
    columns: 2;
  }
}

.testimonial {
  break-inside: avoid;
  margin: 0 0 clamp(1rem, 3vw, 1.75rem);
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.testimonial__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
}

.testimonial__quote p:last-child {
  margin-bottom: 0;
}

.testimonial__attribution {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: normal;
}

.testimonial__name {
  display: block;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--ink);
}

/* ------------------------------------------------------------------ prose -- */

.prose {
  max-width: var(--measure);
}

.prose h2,
.prose h3 {
  margin-top: 2em;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.terms__section + .terms__section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.terms__section h3 {
  font-size: 1.5rem;
}

.terms__section h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 1.75rem 0 0.4rem;
}

.terms__section h4:first-of-type {
  margin-top: 0;
}

/* ------------------------------------------------------------------ about -- */

.about {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 860px) {
  .about {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.about__portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

.badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  justify-items: center;
}

@media (min-width: 700px) {
  .badges {
    grid-template-columns: repeat(4, 1fr);
  }
}

.badges img {
  max-height: 110px;
  width: auto;
  object-fit: contain;
}

/* ---------------------------------------------------------------- contact -- */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 760px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.contact-list dt {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.15rem;
}

.contact-list dd {
  margin: 0;
  font-size: 1.15rem;
}

.contact-list a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact-list a:hover {
  border-bottom-color: var(--ink);
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.socials a:hover {
  background: var(--ink);
  color: #fff;
}

.socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-card {
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card img {
  width: 84px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

/* ------------------------------------------------------------------- form -- */

.form {
  display: grid;
  gap: 1.35rem;
  max-width: 620px;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field .hint {
  font-size: 0.85rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink-faint);
  line-height: 1.5;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem; /* keeps iOS from zooming the viewport on focus */
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.field .required {
  color: var(--ink-faint);
}

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

.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.notice--success {
  border-color: #b9cdb3;
  background: #f1f6ef;
}

.notice--error {
  border-color: #d9bcbc;
  background: #fbf1f1;
}

.notice p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- utility -- */

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