/* ESIENA — V2 "Dusk": the evening room */

:root {
  --ink: #26101C;
  --ink-deep: #1D0B15;
  --aubergine: #3A1628;
  --aubergine-soft: #4A2236;
  --brass: #C89A5B;
  --brass-bright: #DDB377;
  --rose: #D9A79A;
  --cream: #F3E7DA;
  --cream-muted: #D3BFB2;
  --line: rgba(200, 154, 91, 0.38);

  --display: "Marcellus", "Trajan Pro", Georgia, serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.95rem;
  --step-0: 1.15rem;           /* ~18.4px body */
  --step-1: 1.375rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.15rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.5rem + 4.6vw, 5.25rem);

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --max: 82rem;
  --arch: 100vmax 100vmax 0 0;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--brass); }

:focus-visible { outline: 2px solid var(--brass-bright); outline-offset: 4px; border-radius: 2px; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.005em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--brass); color: var(--ink); padding: 0.6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

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

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

.site-header { position: relative; z-index: 20; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem; padding-bottom: 1.5rem; gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.brand svg { width: 2.6rem; height: auto; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 1.55rem; letter-spacing: 0.16em; }
.brand-tag { font-size: 0.82rem; color: var(--cream-muted); margin-top: 0.3rem; letter-spacing: 0.02em; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: none; border: 1px solid var(--line); color: var(--cream);
  font: inherit; font-size: 1rem; padding: 0.5rem 0.95rem; border-radius: 999px; cursor: pointer;
}
.nav-toggle-bars { width: 1.1rem; height: 0.6rem; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform 0.3s ease, top 0.3s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 100%; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 50%; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 50%; transform: rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink-deep);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter) 2rem;
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: 0.85rem 0; text-decoration: none;
  font-family: var(--display); font-size: 1.5rem;
}
.site-nav .nav-cta { margin-top: 1rem; }

@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex !important; align-items: center; gap: 2.25rem;
    background: none; border: 0; padding: 0;
  }
  .site-nav ul { display: flex; gap: 2rem; }
  .site-nav li a { font-family: var(--body); font-size: 1rem; padding: 0.3rem 0; color: var(--cream-muted); }
  .site-nav li a:hover, .site-nav li a[aria-current="page"] { color: var(--cream); }
  .site-nav .nav-cta { margin-top: 0; }
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: 0.7rem 1.6rem;
  border-radius: 999px; border: 1px solid var(--brass);
  background: var(--brass); color: var(--ink);
  font-family: var(--body); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--brass-bright); border-color: var(--brass-bright); }
.btn-quiet { background: transparent; color: var(--cream); border-color: var(--line); font-weight: 500; }
.btn-quiet:hover { background: transparent; border-color: var(--brass); color: var(--cream); }
.btn-small { min-height: 2.6rem; padding: 0.45rem 1.2rem; font-size: 0.95rem; }

/* ---------- Arch windows ---------- */

.arch {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--aubergine);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

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

.hero { position: relative; padding: 1.5rem 0 5rem; }
.hero .wrap { display: grid; gap: 3rem; }

.hero-window {
  position: relative;
  width: min(calc(100% - 1.5rem), 26rem);
  justify-self: center;
  margin-top: 1rem;
}
.hero-window .arch {
  aspect-ratio: 5 / 7;
  box-shadow: 0 0 0 rgba(221, 179, 119, 0);
  animation: lamp 3.2s cubic-bezier(.3,.1,.2,1) 0.2s forwards;
}
.hero-window .arch img {
  object-position: 46% 30%;
  filter: brightness(0.18) saturate(0.4) sepia(0.2);
  transform: scale(1.04);
  animation: warm 3.2s cubic-bezier(.3,.1,.2,1) 0.2s forwards;
}
/* single thin brass arch line, offset from the window */
.hero-window .arch-line {
  position: absolute; inset: -1rem -1rem 2.5rem -1rem;
  border: 1px solid var(--brass);
  border-bottom: 0;
  border-radius: var(--arch);
  pointer-events: none;
  clip-path: inset(100% 0 0 0);
  animation: rise 2.2s cubic-bezier(.5,0,.2,1) 1.6s forwards;
}

@keyframes warm {
  to { filter: brightness(1) saturate(1) sepia(0); transform: scale(1); }
}
@keyframes lamp {
  to { box-shadow: 0 0 140px 10px rgba(221, 179, 119, 0.16); }
}
@keyframes rise {
  to { clip-path: inset(0 0 0 0); }
}

.hero-copy { align-self: end; max-width: 40rem; }
.hero h1 { font-size: var(--step-4); line-height: 1.04; margin-bottom: 1.75rem; text-wrap: balance; }
.hero-sub { color: var(--cream-muted); max-width: 33rem; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.25rem; margin-top: 2.25rem; align-items: center; }
.hero-note { margin-top: 2.5rem; font-size: 1rem; color: var(--cream-muted); }

@media (min-width: 60rem) {
  .hero { padding: 2rem 0 8rem; }
  .hero .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: end; }
  .hero-copy { order: -1; padding-bottom: 3rem; }
  .hero-window { width: min(100%, 28rem); justify-self: end; margin-right: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-window .arch, .hero-window .arch img, .hero-window .arch-line { animation: none; }
  .hero-window .arch img { filter: none; transform: none; }
  .hero-window .arch { box-shadow: 0 0 140px 10px rgba(221, 179, 119, 0.16); }
  .hero-window .arch-line { clip-path: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

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

.section { padding: 5.5rem 0; }
.section-alt { background: var(--aubergine); }
@media (min-width: 60rem) { .section { padding: 8.5rem 0; } }

.section h2 { font-size: var(--step-3); margin-bottom: 1.5rem; text-wrap: balance; }
.lede { font-size: 1.25rem; color: var(--cream-muted); max-width: 36rem; }

/* Who we are */
.about .wrap { display: grid; gap: 2rem; }
.about-statement { font-family: var(--display); font-size: var(--step-2); line-height: 1.4; max-width: 46rem; }
.about-statement + p { color: var(--cream-muted); max-width: 36rem; }
@media (min-width: 60rem) {
  .about .wrap { grid-template-columns: 4fr 8fr; gap: 4rem; }
  .about .about-body { grid-column: 2; }
}
.about-label { font-family: var(--display); font-size: 1.35rem; color: var(--rose); margin: 0; }

/* Services list */
.svc-head { display: grid; gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 60rem) {
  .svc-head { grid-template-columns: 7fr 5fr; align-items: end; gap: 4rem; margin-bottom: 4rem; }
  .svc-head .lede { justify-self: end; }
}

.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list > li { border-bottom: 1px solid var(--line); }

.svc summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1.5rem; align-items: center;
  padding: 1.75rem 0;
  position: relative;
}
.svc summary::-webkit-details-marker { display: none; }
.svc-name { font-family: var(--display); font-size: var(--step-2); line-height: 1.2; transition: color 0.3s ease; }
.svc-short { grid-column: 1; color: var(--cream-muted); max-width: 40rem; font-size: 1.125rem; }
.svc-mark {
  grid-column: 2; grid-row: 1 / span 2;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--line); position: relative; transition: border-color 0.3s ease, transform 0.4s ease;
}
.svc-mark::before, .svc-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 0.9rem; height: 1px;
  background: var(--brass); transform: translate(-50%, -50%);
}
.svc-mark::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s ease; }
.svc[open] .svc-mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc summary:hover .svc-name, .svc[open] .svc-name { color: var(--brass-bright); }
.svc summary:hover .svc-mark { border-color: var(--brass); }

.svc-detail {
  padding: 0 0 2.25rem; max-width: 44rem;
  color: var(--cream);
}
.svc-detail ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--cream-muted); }
.svc-detail li { margin-bottom: 0.35rem; }
.svc-detail li::marker { color: var(--brass); }
@media (min-width: 60rem) {
  .svc summary { grid-template-columns: 5fr 6fr auto; padding: 2.25rem 0; }
  .svc-short { grid-column: 2; grid-row: 1; }
  .svc-mark { grid-column: 3; grid-row: 1; }
  .svc-detail { margin-left: calc((100% - 3.25rem) * 5 / 11 + 1.5rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .svc[open] .svc-detail { animation: open 0.45s ease; }
  @keyframes open { from { opacity: 0; transform: translateY(-0.4rem); } }
}

.svc-more { margin-top: 2.5rem; }

/* What people come for */
.concerns .wrap { display: grid; gap: 2.5rem; }
.concern-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.2rem 3rem;
  font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); line-height: 1.5;
}
.concern-list li { padding: 0.55rem 0; color: var(--cream); }
.concern-list li:nth-child(odd) { color: var(--rose); }
.concerns-note { color: var(--cream-muted); max-width: 30rem; }
@media (min-width: 40rem) { .concern-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) {
  .concerns .wrap { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
}

/* Approach */
.approach .wrap { display: grid; gap: 3.5rem; }
.approach-window { width: min(100%, 22rem); }
.approach-window .arch { aspect-ratio: 3 / 4; }
.approach-window img { object-position: 50% 40%; }
.values { display: grid; gap: 2.5rem 3.5rem; margin-top: 2.5rem; }
.value h3 { font-size: var(--step-1); color: var(--brass-bright); margin-bottom: 0.6rem; line-height: 1.3; }
.value p { color: var(--cream-muted); }
@media (min-width: 40rem) { .values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) {
  .approach .wrap { grid-template-columns: 4fr 8fr; gap: 6rem; align-items: start; }
  .approach-window { position: sticky; top: 3rem; margin-top: 0.5rem; }
}

/* Steps */
.steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 2.5rem; counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 1.25rem; }
.step::before {
  content: counter(step);
  font-family: var(--display); font-size: 2.75rem; line-height: 1; color: var(--brass);
  grid-row: 1 / span 2;
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; line-height: 1.3; }
.step p { color: var(--cream-muted); }
@media (min-width: 60rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; border-top: 1px solid var(--line); padding-top: 2.75rem; }
  .step { grid-template-columns: 1fr; }
  .step::before { grid-row: auto; margin-bottom: 1.25rem; font-size: 3.5rem; }
}

/* Closing */
.closing .wrap { display: grid; gap: 3rem; align-items: center; }
.closing-window { width: min(100%, 24rem); }
.closing-window .arch { aspect-ratio: 4 / 5; }
.closing-window img { object-position: 50% 60%; filter: brightness(0.82) saturate(0.9); }
.closing h2 { font-size: var(--step-4); line-height: 1.05; margin-bottom: 1.5rem; }
.closing p { color: var(--cream-muted); max-width: 30rem; font-size: 1.2rem; }
.closing .hero-actions { margin-top: 2rem; }
@media (min-width: 60rem) {
  .closing .wrap { grid-template-columns: 5fr 7fr; gap: 6rem; }
  .closing-window { justify-self: start; margin-left: 2rem; }
}

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

.site-footer { background: var(--ink-deep); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; gap: 2.75rem; }
.footer-grid h2 { font-family: var(--body); font-size: 1rem; font-weight: 700; color: var(--cream); margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a { color: var(--cream-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--cream); text-decoration: underline; }
.footer-brand p { color: var(--cream-muted); max-width: 22rem; margin-top: 1.25rem; font-size: 1.05rem; }
.crisis {
  border-left: 1px solid var(--brass);
  padding-left: 1.25rem;
  color: var(--cream);
  max-width: 26rem;
  font-size: 1.05rem;
}
.crisis strong { font-weight: 700; color: var(--brass-bright); }
.crisis a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--line); }
.legal {
  margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(200, 154, 91, 0.2);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem;
  font-size: 0.9rem; color: var(--cream-muted);
}
.legal a { color: var(--cream-muted); text-decoration: none; }
.legal a:hover { color: var(--cream); }
.legal .credit { margin-left: auto; opacity: 0.85; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; gap: 3rem; } }
@media (max-width: 47.99rem) { .legal .credit { margin-left: 0; width: 100%; } }

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

.page-hero { padding: 2.5rem 0 4.5rem; }
.page-hero .wrap { display: grid; gap: 2.5rem; align-items: end; }
.page-hero h1 { font-size: var(--step-4); line-height: 1.04; margin-bottom: 1.5rem; max-width: 14ch; }
.page-hero .lede { font-size: 1.2rem; }
.page-hero-window { width: min(100%, 17rem); }
.page-hero-window .arch { aspect-ratio: 3 / 4; }

@media (min-width: 60rem) {
  .page-hero { padding: 3rem 0 6rem; }
  .page-hero .wrap { grid-template-columns: 8fr 4fr; gap: 4rem; }
  .page-hero-window { justify-self: end; margin-right: 2rem; }
}

.service-block { display: grid; gap: 1rem 4rem; padding: 3rem 0; border-top: 1px solid var(--line); }
.service-block:last-child { border-bottom: 1px solid var(--line); }
.service-block h2 { font-size: var(--step-3); margin: 0; }
.service-block .for { color: var(--rose); font-family: var(--display); font-size: 1.25rem; line-height: 1.45; margin-top: 0.75rem; }
.service-block .body { max-width: 40rem; }
.service-block .body p { color: var(--cream-muted); }
.service-block .body p:first-child { color: var(--cream); }
.service-block ul { margin: 1.25rem 0 0; padding-left: 1.1rem; color: var(--cream-muted); }
.service-block li { margin-bottom: 0.35rem; }
.service-block li::marker { color: var(--brass); }
@media (min-width: 60rem) {
  .service-block { grid-template-columns: 5fr 7fr; padding: 4rem 0; }
}

/* FAQ */
.faq .wrap { display: grid; gap: 2.5rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--display); font-size: var(--step-1); line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--brass-bright); }
.faq-list summary .svc-mark { width: 2.25rem; height: 2.25rem; flex: none; }
.faq-list details[open] .svc-mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list .answer { padding: 0 0 1.75rem; color: var(--cream-muted); max-width: 42rem; }
@media (min-width: 60rem) { .faq .wrap { grid-template-columns: 4fr 8fr; gap: 6rem; } }

/* Booking form */
.book .wrap { display: grid; gap: 3rem; }
.book-aside p { color: var(--cream-muted); max-width: 28rem; }
.book-aside .email { font-family: var(--display); font-size: var(--step-1); color: var(--cream); overflow-wrap: anywhere; }
@media (min-width: 60rem) { .book .wrap { grid-template-columns: 5fr 7fr; gap: 6rem; } }

.form { display: grid; gap: 1.6rem; max-width: 40rem; }
.field label, .field legend { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; color: var(--cream); }
.field .hint { display: block; font-weight: 400; color: var(--cream-muted); font-size: 0.95rem; margin-top: 0.15rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--cream);
  background: var(--ink); border: 1px solid rgba(200, 154, 91, 0.45);
  border-radius: 0.5rem; padding: 0.85rem 1rem;
  transition: border-color 0.2s ease;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { border-color: var(--brass-bright); outline: none; box-shadow: 0 0 0 1px var(--brass-bright); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: 0.6rem 1.25rem; border: 1px solid rgba(200, 154, 91, 0.45);
  border-radius: 999px; color: var(--cream-muted); transition: all 0.2s ease;
}
.choice input:checked + span { background: var(--brass); border-color: var(--brass); color: var(--ink); font-weight: 700; }
.choice input:focus-visible + span { outline: 2px solid var(--brass-bright); outline-offset: 3px; }
.form-thanks {
  font-family: var(--display); font-size: var(--step-1); color: var(--brass-bright);
  margin: 0; min-height: 1px;
}
.form-thanks:empty { display: none; }

.services-detail { padding-top: 0; }
.page-hero-window img { object-position: 22% 50%; }
.field legend { padding: 0; }
