/* אטלייה אגוז, v2.2 (black and white): modern luxury. One family (Heebo), straight lines only: radius 0
   everywhere, 1px hairlines for structure, near-black and grey stone grounds, and pure white as the only
   accent (used on dark grounds only). Previous versions: _photos/styles_v1_classic.css,
   _photos/styles_v2_warm.css */

:root {
  --canvas: #0a0a0a;
  --surface: #111111;
  --walnut: #141414;
  --stone: #e8e8e6;
  --ink: #f2f2f0;
  --ink-soft: #a3a3a0;
  --ink-dark: #111111;
  --ink-dark-soft: #555553;
  --accent: #ffffff;
  --accent-hover: #d6d6d3;
  --line: rgba(242, 242, 240, 0.12);
  --line-strong: rgba(242, 242, 240, 0.3);
  --line-dark: rgba(17, 17, 17, 0.14);
  --error: #f28b82;

  --sans: "Heebo", "Assistant", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(20px, 4.4vw, 72px);
  --nav-h: 76px;
}

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

/* author display values (inline-flex buttons) must not resurrect hidden elements */
[hidden] { display: none !important; }

html {
  background: var(--canvas);
  color-scheme: dark;
  scrollbar-color: #444444 var(--canvas);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--accent); color: var(--ink-dark); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink-dark);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip:focus { transform: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--canvas);
}
html:not(.motion) .loader { display: none; }
.loader__line {
  display: block;
  width: 1px;
  height: 84px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: 50% 100%;
}
.loader__word {
  font-size: 2rem;
  font-weight: 200;
  letter-spacing: 0.12em;
  opacity: 0;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  background: rgba(10, 10, 10, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  text-decoration: none;
}
.brand__mark { display: block; width: 2px; height: 22px; background: var(--accent); }
.brand__name { font-size: 1.3rem; font-weight: 600; letter-spacing: 0.04em; }
.brand__sub {
  padding-inline-start: 14px;
  border-inline-start: 1px solid var(--line-strong);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a {
  position: relative;
  padding-block: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.18s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.3s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s, color 0.18s;
}
.nav__cta i { font-size: 1.05rem; }
.nav__cta:hover { background: var(--accent); color: var(--ink-dark); }

.menu-btn {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  background: none;
  font-size: 0.95rem;
  cursor: pointer;
}
.menu-btn__lines { position: relative; display: block; width: 26px; height: 9px; }
.menu-btn__lines i {
  position: absolute;
  inset-inline: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.menu-btn__lines i:first-child { top: 0; }
.menu-btn__lines i:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:first-child { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:last-child { top: 4px; transform: rotate(-45deg); }

/* ---------- Menu (phones and tablets) ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  align-content: end;
  gap: 6vh;
  padding: calc(var(--nav-h) + 6vh) var(--gutter) 8vh;
  background: var(--walnut);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu li { border-bottom: 1px solid var(--line); }
.menu__nav a {
  display: block;
  padding-block: 0.32em;
  font-size: clamp(1.9rem, 8vw, 3rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), color 0.18s;
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open li:nth-child(2) a { transition-delay: 0.04s, 0.04s, 0s; }
.menu.is-open li:nth-child(3) a { transition-delay: 0.08s, 0.08s, 0s; }
.menu.is-open li:nth-child(4) a { transition-delay: 0.12s, 0.12s, 0s; }
.menu.is-open li:nth-child(5) a { transition-delay: 0.16s, 0.16s, 0s; }
.menu__nav a:hover,
.menu__nav a:focus-visible { color: var(--accent); }
.menu__aside { color: var(--ink-soft); font-size: 0.95rem; }
.menu__aside p { margin: 0 0 6px; }
.menu__aside a { text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.14s var(--ease-out);
}
.btn i { font-size: 1.15rem; }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: var(--ink-dark); }
.btn--solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--line { border-color: rgba(242, 242, 240, 0.55); color: var(--ink); background: rgba(10, 10, 10, 0.25); }
.btn--line:hover { background: var(--ink); color: var(--ink-dark); border-color: var(--ink); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- 1. The door ---------- */
.door { position: relative; height: 100vh; height: 100dvh; }
html.motion .door { height: 260vh; }
.door__stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--canvas);
  perspective: 1800px;
}
html.motion .door__stage { position: sticky; top: 0; }
.door__room { position: absolute; inset: 0; }
.door__room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform-origin: 50% 55%;
}
.door__room::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.86) 0%, rgba(8, 8, 8, 0.45) 30%, rgba(8, 8, 8, 0) 56%);
}
.door__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 8, 8, 0.9);
  opacity: 0;
}
html.motion .door__shade { opacity: 1; }
.door__copy {
  position: absolute;
  z-index: 2;
  inset-inline: var(--gutter);
  bottom: clamp(40px, 9vh, 110px);
  display: grid;
  justify-items: start;
  gap: 20px;
  max-width: 62rem;
}
.door__copy h1 {
  margin: 0;
  font-size: clamp(3rem, 7.6vw, 7.2rem);
  font-weight: 200;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.door__copy p { margin: 0; max-width: 44ch; font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: #d6d6d3; }
.door__glow {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 16vw;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(255, 220, 170, 0), rgba(255, 220, 170, 0.5), rgba(255, 220, 170, 0));
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
}
.door__leaves {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  transform-style: preserve-3d;
}
html:not(.motion) .door__leaves,
html:not(.motion) .door__glow,
html:not(.motion) .door__knock { display: none; }
.door__leaf {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
  backface-visibility: hidden;
  background: #0d0d0d;
}
.door__leaf img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; filter: grayscale(1) brightness(0.52) contrast(1.18); }
.door__leaf--r { transform-origin: 100% 50%; box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.6); }
.door__leaf--r img { transform: scaleX(-1); }
.door__leaf--l { transform-origin: 0% 50%; box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.6); }
/* Straight white metal pull bars, one per leaf, read as a pair across the seam */
.door__pull {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 40vh;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #9c9c99 0%, #e6e6e3 28%, #ffffff 48%, #dfdfdc 64%, #8f8f8c 100%);
  box-shadow: 8px 10px 14px -6px rgba(0, 0, 0, 0.65);
}
.door__leaf--r .door__pull { left: 3.6vw; }
.door__leaf--l .door__pull { right: 3.6vw; }
.door__knock {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: clamp(22px, 6vh, 64px);
  transform: translateX(-50%);
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 10, 10, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
.door__knock:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 2 + 3. Journey ---------- */
.journey { background: var(--stone); color: var(--ink-dark); }
.journey ::selection { background: var(--ink-dark); color: var(--stone); }
.journey__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5vh 5vw;
  align-items: center;
  padding: clamp(96px, 16vh, 170px) var(--gutter) clamp(72px, 12vh, 140px);
}
.journey__intro { border-top: 1px solid var(--line-dark); padding-top: 28px; }
.journey__intro h2 {
  margin: 0 0 0.5em;
  max-width: 15ch;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.journey__intro p { margin: 0; max-width: 36ch; font-size: 1.08rem; color: var(--ink-dark-soft); }
.strips { display: flex; gap: 0.6vw; height: min(64vh, 660px); margin: 0; padding: 0; list-style: none; }
.strip { position: relative; flex: 1; overflow: hidden; background: #d0d0ce; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.slides { grid-column: 1 / -1; display: grid; gap: 4vw; }
.slide { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #141414; }
.slide__media { position: absolute; inset: 0; overflow: hidden; }
.slide__img,
.slide__detail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__detail { display: none; }
.slide:nth-child(2) .slide__img { object-position: 50% 55%; }
.slide:nth-child(5) .slide__img { object-position: 50% 62%; }
.slide__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.4) 30%, rgba(8, 8, 8, 0) 56%);
}
.slide__cap {
  position: absolute;
  inset-inline: var(--gutter);
  bottom: clamp(28px, 7vh, 88px);
  max-width: 64rem;
  color: var(--ink);
}
.slide__place {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #d8d8d5;
}
.slide__place::before {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin-bottom: 14px;
  background: var(--accent);
}
.slide__name {
  margin: 0 0 0.18em;
  font-size: clamp(2.8rem, 8vw, 7.2rem);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.slide__line { margin: 0; max-width: 46ch; font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: #e2e2df; }

html.motion .journey__stage {
  height: 100vh;
  height: 100dvh;
  padding-block: calc(var(--nav-h) + 2vh) 4vh;
  overflow: hidden;
}
/* grid-column must be auto: an abspos grid child with a placement uses the grid area,
   not the padding box, as its containing block */
html.motion .slides { position: absolute; inset: 0; z-index: 3; display: block; grid-column: auto; pointer-events: none; }
html.motion .slide { position: absolute; inset: 0; aspect-ratio: auto; clip-path: inset(100% 0% 0% 0%); }
html.motion .slide__detail { display: block; }
html.motion .strip:first-child img { visibility: hidden; }

/* ---------- 4. Details ---------- */
.details {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2vw;
  row-gap: 4vh;
  padding: clamp(40px, 8vh, 96px) var(--gutter) clamp(90px, 14vh, 170px);
  overflow-x: clip;
  background: var(--stone);
  color: var(--ink-dark);
}
.details__title {
  grid-column: 1 / -1;
  margin: 0 0 2vh;
  padding-bottom: 3vh;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(3.6rem, 11vw, 10rem);
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.detail { margin: 0; }
.detail--a { grid-column: 1 / span 6; }
.detail--b { grid-column: 8 / span 5; align-self: end; }
.detail__frame { overflow: hidden; aspect-ratio: 4 / 5; background: #d4d4d2; }
.detail--b .detail__frame { aspect-ratio: 4 / 3; }
.detail__frame img { width: 100%; height: 112%; object-fit: cover; }
.detail figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.95rem;
}
.detail figcaption strong { font-weight: 500; }
.detail figcaption span { color: var(--ink-dark-soft); }
.details__note { grid-column: 1 / span 6; margin: 2vh 0 0; max-width: 46ch; font-size: 1.08rem; color: var(--ink-dark-soft); }

/* ---------- 5. Method ---------- */
.method { background: var(--walnut); color: var(--ink); }
.method__pin {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  grid-template-rows: 1fr auto;
  column-gap: 5vw;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 5vh) var(--gutter) 7vh;
}
.method__steps { grid-column: 1; grid-row: 1 / span 2; display: grid; gap: 7vh; }
.step h3 {
  margin: 0 0 0.3em;
  font-size: clamp(3rem, 6.4vw, 6rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.035em;
}
.step__lead { margin: 0 0 0.5em; font-size: clamp(1.2rem, 1.7vw, 1.5rem); font-weight: 300; line-height: 1.4; }
.step p:last-child { margin: 0; max-width: 36ch; color: var(--ink-soft); }
.method__frame { grid-column: 2; grid-row: 1; position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #1c1c1c; }
.m-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-img--render { filter: saturate(0.5) brightness(0.8) contrast(1.06); }
.method__tabs {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.method__tabs button {
  min-height: 48px;
  padding: 14px 0 6px;
  border: 0;
  background: none;
  font-size: 0.92rem;
  text-align: start;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.18s;
}
.method__tabs button + button { padding-inline-start: 14px; border-inline-start: 1px solid var(--line); }
.method__tabs button[aria-current="step"] { color: var(--accent); }
.method__tabs button:hover { color: var(--ink); }
.method__bar { position: absolute; top: -1px; inset-inline: 0; height: 1px; }
.method__bar i { display: block; height: 1px; background: var(--accent); transform-origin: 100% 50%; transform: scaleX(var(--p, 1)); }
html.motion .method__steps { position: relative; display: block; min-height: 24rem; }
html.motion .step {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  transform: translateY(calc(-50% + 18px));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out), visibility 0s linear 0.4s;
}
html.motion .step.is-active { opacity: 1; visibility: visible; transform: translateY(-50%); transition-delay: 0.08s, 0.08s, 0s; }
html.motion .m-img:not(:first-child) { clip-path: inset(0% 0% 0% 100%); }
html.motion .method__bar i { --p: 0.25; }

/* ---------- 6. About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 6vw;
  align-items: center;
  padding: clamp(96px, 16vh, 190px) var(--gutter);
  background: var(--canvas);
}
.about__text { border-top: 1px solid var(--line); padding-top: 28px; }
.about__text h2 {
  margin: 0 0 0.6em;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.about__text p { margin: 0 0 1em; max-width: 46ch; font-size: 1.08rem; color: var(--ink-soft); }
.about__text p:nth-of-type(3) { color: var(--ink); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 0.6em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: color 0.16s, border-color 0.16s;
}
.text-link:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.about__media { overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 114%; object-fit: cover; }

/* ---------- 7. Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 6vh 6vw;
  align-items: start;
  padding: clamp(90px, 14vh, 170px) var(--gutter);
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.contact__head h2 {
  margin: 0 0 0.45em;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.contact__head p { margin: 0 0 2em; max-width: 40ch; font-size: 1.08rem; color: var(--ink-soft); }
.contact__facts { margin: 0 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact__facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.contact__facts span { font-size: 0.86rem; font-weight: 500; letter-spacing: 0.06em; color: var(--ink-soft); }
.contact__facts strong { font-weight: 400; }
.contact__wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--accent);
  background: none;
  color: var(--accent);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s;
}
.contact__wa i { font-size: 1.3rem; }
.contact__wa:hover { color: var(--accent-hover); border-color: var(--accent-hover); }

.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px 26px;
  align-content: start;
  padding: clamp(24px, 3.2vw, 46px);
  border: 1px solid var(--line);
  background: var(--canvas);
}
.form__title {
  grid-column: 1 / -1;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label,
.choice legend { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.07em; color: var(--ink-soft); }
.field input {
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font: inherit;
  font-size: 1.06rem;
  color: var(--ink);
  caret-color: var(--accent);
  transition: border-color 0.16s;
}
.field input:hover { border-bottom-color: rgba(242, 242, 240, 0.55); }
.field input:focus-visible { outline: none; border-bottom-color: var(--accent); }
.field input[aria-invalid="true"] { border-bottom-color: var(--error); }
.field__error { margin: 0; font-size: 0.9rem; color: var(--error); }

.choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: border-color 0.16s, color 0.16s, background-color 0.16s;
}
.chip:hover span { border-color: rgba(242, 242, 240, 0.55); color: var(--ink); }
.chip input:checked + span { border-color: var(--accent); background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.chip input:focus-visible + span { outline: 1px solid var(--accent); outline-offset: 3px; }

.form .btn { grid-column: 1 / -1; justify-self: stretch; margin-top: 4px; }
.form__fine { grid-column: 1 / -1; margin: -12px 0 0; font-size: 0.86rem; color: var(--ink-soft); }
.form__done { grid-column: 1 / -1; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 1.08rem; color: var(--accent); }

/* ---------- Footer ---------- */
.footer { padding: clamp(80px, 12vh, 140px) var(--gutter) 4vh; background: var(--canvas); border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 6vh 6vw; align-items: end; }
.footer__word {
  margin: 0;
  font-size: clamp(6rem, 19vw, 17rem);
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer__col { display: flex; flex-direction: column; gap: 8px; padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
.footer__col p { margin: 0; color: var(--ink-soft); }
.footer__col a { min-height: 30px; color: var(--ink); text-decoration: none; transition: color 0.16s; }
.footer__col a:hover { color: var(--accent); }
.footer__head { margin-bottom: 8px !important; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; color: var(--accent) !important; }
.footer__legal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 4vw;
  margin-top: 8vh;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.footer__legal p { margin: 0; }
.footer__links { justify-self: end; }
.footer__links a { margin-inline-start: 22px; text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
.footer__demo { grid-column: 1 / -1; color: #8c8c89; }

/* ---------- Accessibility control ---------- */
.a11y {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 10, 10, 0.9);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  transition: border-color 0.16s, color 0.16s;
}
.a11y:hover { border-color: var(--accent); color: var(--accent); }
.a11y-panel {
  position: fixed;
  left: 18px;
  bottom: 74px;
  z-index: 45;
  display: grid;
  gap: 6px;
  min-width: 210px;
  padding: 14px;
  background: var(--walnut);
  border: 1px solid var(--line);
}
.a11y-panel__title { margin: 0 0 4px; font-weight: 500; }
.a11y-panel button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: transparent;
  text-align: start;
  cursor: pointer;
}
.a11y-panel button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
html.a11y-text { font-size: 115%; }
html.a11y-contrast { --ink-soft: #f2f2f0; --ink-dark-soft: #111111; --line: rgba(242, 242, 240, 0.4); --line-dark: rgba(17, 17, 17, 0.45); }
html.a11y-contrast .slide__scrim,
html.a11y-contrast .door__room::after { background: rgba(8, 8, 8, 0.66); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  max-width: min(92vw, 460px);
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  background: var(--walnut);
  color: var(--ink);
  font-size: 0.98rem;
  transform: translateX(-50%);
}

/* ---------- Tablets ---------- */
@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .menu-btn { display: flex; }
}

/* ---------- Phones ---------- */
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  body { font-size: 1rem; }
  .brand__sub { display: none; }

  .door__copy h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .door__copy { bottom: clamp(84px, 13vh, 130px); gap: 14px; }
  .door__pull { width: 6px; height: 30vh; }
  .door__leaf--r .door__pull { left: 6vw; }
  .door__leaf--l .door__pull { right: 6vw; }

  .journey__stage { grid-template-columns: 1fr; }
  .strips { height: 46vh; gap: 4px; }
  .slide { aspect-ratio: 4 / 5; }
  html.motion .journey__stage { grid-template-rows: auto 1fr; align-items: start; gap: 3vh; padding-block: calc(var(--nav-h) + 3vh) 5vh; }
  html.motion .strips { height: 100%; max-height: 52vh; }
  .slide__name { font-size: clamp(2.7rem, 13vw, 4.2rem); }

  .details { grid-template-columns: 1fr; row-gap: 6vh; }
  .detail--a,
  .detail--b,
  .details__note { grid-column: 1; }

  .method__pin { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 3vh; align-content: center; }
  .method__steps { grid-column: 1; grid-row: 1; }
  .method__frame { grid-column: 1; grid-row: 2; }
  .method__tabs { grid-column: 1; grid-row: 3; margin-top: 0; }
  .method__tabs button { font-size: 0.86rem; }
  .method__tabs button + button { padding-inline-start: 8px; }
  html.motion .method__steps { min-height: 15.5rem; }
  .step h3 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .step__lead { font-size: 1.15rem; }

  .about,
  .contact { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer__col:nth-child(3) { grid-column: 1 / -1; }
  .footer__legal { grid-template-columns: 1fr; }
  .footer__links { justify-self: start; }
  .footer__links a { margin-inline: 0 22px; }
}

/* ==========================================================================
   Lead page (contact.html): three short steps beside one tall image
   ========================================================================== */
.lead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--nav-h);
}
.lead__main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 740px;
  padding: clamp(40px, 8vh, 96px) var(--gutter) clamp(48px, 8vh, 96px);
}
.lead__intro h1 {
  margin: 0 0 0.4em;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.035em;
}
.lead__intro p { margin: 0; max-width: 44ch; font-size: 1.1rem; color: var(--ink-soft); }

.wizard { display: grid; gap: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
/* Scrolling to the form, the thank-you or a field stops below the fixed nav, never under it */
.wizard,
.wizard-done,
.wizard input,
.wizard textarea { scroll-margin-top: calc(var(--nav-h) + 24px); }
.wizard input[dir="ltr"] { text-align: right; }
.wizard__progress ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wizard__progress li {
  position: relative;
  padding-top: 14px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease-out);
}
.wizard__progress li::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--line);
  transition: background-color 0.4s var(--ease-out);
}
.wizard__progress li.is-current { color: var(--ink); }
.wizard__progress li.is-current::before,
.wizard__progress li.is-done::before { background: var(--accent); }
.wizard__status { margin: -14px 0 0; font-size: 0.85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.wstep {
  display: grid;
  gap: 28px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  transition: opacity 0.32s var(--ease-out), transform 0.45s var(--ease-out);
}
.wstep.is-from-next { opacity: 0; transform: translateX(-16px); transition: none; }
.wstep.is-from-prev { opacity: 0; transform: translateX(16px); transition: none; }
.wstep__title {
  padding: 0;
  margin-bottom: 4px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.wgroup { display: grid; gap: 12px; }
.wgroup__label { margin: 0; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.07em; color: var(--ink-soft); }
.wgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; }
.field--short { max-width: 260px; }
.field__help { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.field__opt { margin-inline-start: 6px; font-weight: 400; letter-spacing: 0; color: #7f7f7c; }
.field textarea {
  min-height: 96px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font: inherit;
  font-size: 1.04rem;
  color: var(--ink);
  caret-color: var(--accent);
  resize: none;
  field-sizing: content;
  max-height: 240px;
  transition: border-color 0.16s;
}
.field textarea:hover { border-bottom-color: rgba(242, 242, 240, 0.55); }
.field textarea:focus-visible { outline: none; border-bottom-color: var(--accent); }

.wizard__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.wizard__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 0.98rem;
  cursor: pointer;
  transition: color 0.16s;
}
.wizard__back:hover { color: var(--ink); }
.wizard__next { min-width: 220px; margin-inline-start: auto; }
.wizard__fine { margin: -10px 0 0; font-size: 0.86rem; color: var(--ink-soft); }

.wizard-done { display: grid; gap: 18px; padding-top: 32px; border-top: 1px solid var(--line); outline: none; }
.wizard-done__mark { display: block; width: 44px; height: 1px; background: var(--accent); }
.wizard-done h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 200; line-height: 1.05; letter-spacing: -0.03em; }
.wizard-done p { margin: 0; max-width: 46ch; font-size: 1.08rem; color: var(--ink-soft); }
.wizard-done__summary { margin: 8px 0; border-top: 1px solid var(--line); }
.wizard-done__summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wizard-done__summary dt { font-size: 0.9rem; color: var(--ink-soft); }
.wizard-done__summary dd { margin: 0; }
.wizard-done .text-link { justify-self: start; }

.lead__alt {
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.lead__alt a,
.lead__alt button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.16s;
}
.lead__alt i { font-size: 1.3rem; color: var(--accent); }
.lead__alt a:hover,
.lead__alt button:hover { color: var(--ink); }

.lead__media {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  margin: 0;
  overflow: hidden;
}
.lead__media img { width: 100%; height: 100%; object-fit: cover; }
.lead__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0) 34%);
  pointer-events: none;
}
.lead__media figcaption {
  position: absolute;
  z-index: 1;
  inset-inline: 28px 92px; /* the left end stays clear of the fixed accessibility button */
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(242, 242, 240, 0.4);
  font-size: 0.9rem;
  color: #f2f2f0;
}
.lead__media figcaption strong { font-weight: 500; }

/* Entrance: one moment, the image opens and the copy rises */
html.motion .lead [data-rise] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out);
}
html.motion .lead .wizard[data-rise] { transition-delay: 0.08s; }
html.motion body.is-in .lead [data-rise] { opacity: 1; transform: none; }
html.motion .lead__media img { clip-path: inset(100% 0% 0% 0%); transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1); }
html.motion body.is-in .lead__media img { clip-path: inset(0% 0% 0% 0%); }

.next { padding: clamp(90px, 14vh, 160px) var(--gutter); border-top: 1px solid var(--line); }
.next h2,
.ask h2 {
  margin: 0 0 6vh;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.next__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.next__steps li { padding: 28px 0 0; padding-inline-end: 28px; }
.next__steps li + li { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.next__num { display: block; margin-bottom: 22px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; color: var(--accent); font-variant-numeric: tabular-nums; }
.next__steps h3 { margin: 0 0 0.5em; font-size: 1.6rem; font-weight: 300; letter-spacing: -0.015em; }
.next__steps p { margin: 0; max-width: 34ch; color: var(--ink-soft); }

.ask {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 6vw;
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.ask h2 { margin: 0; }
.ask__list { margin: 0; border-top: 1px solid var(--line); }
.ask__list div {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.ask__list dt { font-size: 1.1rem; }
.ask__list dd { margin: 0; color: var(--ink-soft); }

/* Index contact band now sends people to the lead page */
.contact__go {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: clamp(24px, 3.2vw, 46px);
  border: 1px solid var(--line);
  background: var(--canvas);
}
.contact__go h3 { margin: 0; font-size: 1.5rem; font-weight: 300; letter-spacing: -0.01em; }
.contact__go ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact__go li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.contact__go li span { color: var(--accent); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.contact__go .btn { justify-self: stretch; }

@media (max-width: 860px) {
  .lead { grid-template-columns: 1fr; }
  .lead__media { order: -1; position: relative; top: auto; height: 34vh; }
  .lead__media figcaption { inset-inline: var(--gutter); bottom: 18px; }
  .lead__main { padding-top: 34px; gap: 32px; }
  .wgrid { grid-template-columns: 1fr; }
  .wizard__next { min-width: 0; flex: 1; }
  .lead__alt { flex-direction: column; }
  .next__steps { grid-template-columns: 1fr; }
  .next__steps li { padding-inline-end: 0; }
  .next__steps li + li { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); margin-top: 28px; }
  .ask { grid-template-columns: 1fr; }
  .ask__list div { grid-template-columns: 1fr; gap: 6px; }
}
