/* ==========================================================
   Jukucha Interior Design · landing page
   ========================================================== */

:root {
  /* warm cream base, espresso for weight, ochre/gold as the single accent */
  --cream: oklch(95.5% 0.018 80);
  --cream-2: oklch(92.5% 0.024 78);
  --sand: oklch(87% 0.03 75);
  --butter-soft: oklch(95% 0.045 98);
  --butter: oklch(96.5% 0.06 102);
  --gold: oklch(82% 0.13 86);
  --ochre: oklch(62% 0.125 70);
  --ochre-deep: oklch(54% 0.12 66);
  --ink: oklch(31% 0.03 45);
  --ink-2: oklch(46% 0.03 45);
  --ink-3: oklch(60% 0.025 50);
  --espresso: oklch(25% 0.022 40);
  --espresso-2: oklch(30% 0.022 40);
  --cream-on-dark: oklch(93% 0.02 75);
  --line: oklch(85% 0.02 60);
  --line-dark: oklch(38% 0.02 40);

  --display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section: clamp(5rem, 10vw, 9rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pill: 999px;
  --nav-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--ochre); }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: var(--pill);
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: var(--pill);
  font: inherit; font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1.1;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease),
              transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn-lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn-primary { background: var(--espresso); color: var(--cream); }
.btn-primary:hover { background: var(--ochre-deep); color: var(--cream); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--cream); color: var(--ink); transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn:disabled { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .9rem 0; font-weight: 600; text-decoration: none; color: inherit;
}
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateY(3px); }
.link-arrow:hover { color: var(--gold); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  min-height: var(--nav-h); padding: .75rem var(--gutter);
  color: var(--cream-on-dark);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, color .3s;
}
.nav.is-scrolled, .nav.menu-open { background: var(--cream); border-bottom-color: var(--line); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.brand img { height: 42px; width: auto; }
.wordmark { font-family: var(--display); font-size: 1.6rem; font-weight: 500; letter-spacing: -.01em; line-height: 1; }
.nav-links { margin-left: auto; display: flex; gap: 1.75rem; }
.nav-links a { position: relative; text-decoration: none; font-size: .95rem; font-weight: 500; color: inherit; opacity: .85; padding: .25rem 0; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav:not(.is-scrolled):not(.menu-open) .nav-cta { background: var(--gold); color: var(--ink); }
.nav:not(.is-scrolled):not(.menu-open) .nav-cta:hover { background: var(--cream); }
.burger { display: none; }

/* ---------- hero: full-bleed photo ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; margin-top: calc(-1 * var(--nav-h));
  display: grid; align-items: end;
  color: var(--cream-on-dark);
}
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-shade {
  background:
    linear-gradient(to top, oklch(18% 0.02 40 / .9) 0%, oklch(18% 0.02 40 / .62) 40%, oklch(18% 0.02 40 / .2) 72%, oklch(18% 0.02 40 / .32) 100%),
    linear-gradient(to right, oklch(18% 0.02 40 / .62) 0%, oklch(18% 0.02 40 / .25) 45%, oklch(18% 0.02 40 / 0) 72%);
}
.hero-inner { padding-block: calc(var(--nav-h) + 3rem) clamp(2.5rem, 7vh, 5rem); }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.9rem); line-height: .98; max-width: 16ch; color: var(--cream-on-dark); text-shadow: 0 2px 28px oklch(15% 0.02 40 / .45); }
.hero h1 em { color: var(--gold); }
.lead { margin-top: 1.5rem; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; color: oklch(89% 0.015 75); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }

/* ---------- ticker ---------- */
.ticker {
  background: var(--espresso); color: var(--cream-on-dark);
  overflow: hidden; padding: .9rem 0;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.ticker-track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 2.75rem; padding-right: 2.75rem; }
.ticker-group span { white-space: nowrap; }
.ticker-group i { flex: none; width: 9px; height: 12px; border-radius: 5px 5px 0 0; background: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head h2, .for-head h2, .get-copy h2, .about-copy h2, .faq h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.02; }
.section-head p { margin-top: 1rem; font-size: 1.15rem; color: var(--ink-2); }

/* ---------- who it's for ---------- */
.for { padding-block: var(--section); }
.for-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.for-head p { font-size: 1.15rem; color: var(--ink-2); max-width: 42ch; justify-self: end; }
.for-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.for-list li {
  display: grid; grid-template-columns: 4rem 1fr 150px; gap: 2rem; align-items: center;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
}
.for-list .num { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--ochre); }
.for-text { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2rem; align-items: center; }
.for-list h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); transition: transform .6s var(--ease); }
.for-list li:hover h3 { transform: translateX(.3em); }
.for-list p { color: var(--ink-2); max-width: 40ch; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-photo { position: relative; margin: 0; width: 100%; height: 100%; }
.arch-thumb { width: 120px; aspect-ratio: 4 / 5; margin: 0; justify-self: end; transition: transform .7s var(--ease); }
.for-list li:hover .arch-thumb { transform: translateY(-5px); }

/* ---------- how it works ---------- */
.how { padding-block: var(--section); background: var(--cream-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.steps li { border-top: 1.5px solid var(--ink); padding-top: 1.5rem; }
.step-num { display: block; font-family: var(--display); font-style: italic; font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; color: var(--ochre); margin-bottom: 1.25rem; }
.steps h3 { font-size: 1.55rem; margin-bottom: .75rem; }
.steps p { color: var(--ink-2); font-size: 1rem; }
.section-cta { margin-top: clamp(3rem, 5vw, 4.5rem); }

/* ---------- what you get ---------- */
.get { padding-block: var(--section); background: var(--butter-soft); }
.get-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.get-art { position: sticky; top: calc(var(--nav-h) + 2rem); height: min(72vh, 660px); }
.sheet { position: absolute; width: 60%; box-shadow: 0 30px 50px -28px oklch(31% 0.03 45 / .5); }
.sheet::before {
  content: ""; position: absolute; top: -11px; left: 50%; width: 88px; height: 26px;
  background: oklch(97% 0.01 90 / .82); transform: translateX(-50%) rotate(-2deg);
  box-shadow: 0 1px 2px oklch(31% 0.03 45 / .15);
}
.sheet-a { left: 0; top: 0; transform: rotate(-3deg); }
.sheet-b { right: 0; bottom: 0; transform: rotate(2.5deg); }
.get-copy > p { margin-top: 1.25rem; font-size: 1.15rem; color: var(--ink-2); max-width: 50ch; }
.deliverables { margin: 2.5rem 0 0; border-top: 1px solid oklch(31% 0.03 45 / .2); }
.deliverables div { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid oklch(31% 0.03 45 / .2); }
.deliverables dt { font-weight: 600; }
.deliverables dd { margin: 0; color: var(--ink-2); }

/* ---------- work ---------- */
.work { padding-block: var(--section); background: var(--espresso); color: var(--cream-on-dark); }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
.section-head-split p { justify-self: end; max-width: 42ch; color: oklch(76% 0.02 60); line-height: 1.65; margin: 0; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); }
.work-col { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); align-content: start; }
.work-col:nth-child(2) { padding-top: clamp(3rem, 8vw, 7rem); }
.work-item { margin: 0; }
.work-item .ph { overflow: hidden; background: var(--espresso-2); }
.work-item img { transition: transform 1.4s var(--ease); }
.work-item:hover img { transform: scale(1.035); }
.work-item figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .75rem; font-size: .9rem; color: oklch(72% 0.02 60); }
.work-item figcaption b { font-weight: 500; color: var(--cream-on-dark); }

/* ---------- packages ---------- */
.packages { padding-block: var(--section); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.75rem); border: 1px solid var(--line); background: var(--cream);
}
.tier + .tier { border-left: 0; }
.tier h3 { font-size: clamp(2rem, 3vw, 2.6rem); }
.tier-for { color: var(--ink-2); min-height: 3.2em; }
.tier ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); flex: 1; }
.tier li { display: flex; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.tier li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ochre); margin-top: .6em; }
.tier .btn { align-self: flex-start; margin-top: .5rem; }
.tiers .tier-featured { background: var(--butter-soft); border: 1px solid var(--sand); margin-block: -1.25rem; padding-block: calc(clamp(1.75rem, 3vw, 2.75rem) + 1.25rem); z-index: 1; }
.tag {
  position: absolute; top: 0; right: clamp(1.75rem, 3vw, 2.75rem); transform: translateY(-50%);
  background: var(--espresso); color: var(--cream);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .45rem .85rem; border-radius: var(--pill);
}

/* ---------- about ---------- */
.about { padding-block: var(--section); background: var(--cream-2); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about-art { width: min(100%, 420px); aspect-ratio: 900 / 1327; justify-self: center; }
.about-copy > p { margin-top: 1.25rem; font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; }
.about-points { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.about-points li { display: grid; grid-template-columns: minmax(0, 16rem) 1fr; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.about-points h3 { font-style: italic; font-weight: 400; font-size: 1.45rem; }
.about-points p { font-size: .98rem; color: var(--ink-2); }

/* ---------- faq ---------- */
.faq { padding-block: var(--section); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq h2 { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0; font-family: var(--display); font-size: 1.4rem; font-weight: 500; line-height: 1.25;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background: linear-gradient(var(--ochre), var(--ochre)) center / 100% 1.5px no-repeat,
              linear-gradient(var(--ochre), var(--ochre)) center / 1.5px 100% no-repeat;
  transition: transform .45s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details .body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
details[open] .body { grid-template-rows: 1fr; }
details .body > div { overflow: hidden; }
details p { padding: 0 0 1.5rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- start ---------- */
.start {
  position: relative; isolation: isolate;
  padding-block: var(--section);
  background: var(--espresso); color: var(--cream-on-dark);
}
.start::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, oklch(22% 0.022 40 / .94) 0%, oklch(22% 0.022 40 / .78) 55%, oklch(22% 0.022 40 / .62) 100%),
    url("assets/img/work-living-top.jpg") center / cover no-repeat;
}
.start-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.start h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.02; }
.start h2 em { color: var(--gold); }
.start-copy > p { margin-top: 1.25rem; font-size: 1.1rem; max-width: 40ch; color: oklch(85% 0.02 70); }
.start-copy > h2 + p { margin-top: 1.5rem; font-size: 1.15rem; }
.start-alt { margin-top: 2.5rem; }
.start-alt a { font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.start-alt a:hover { color: var(--gold); }
.panel {
  background: var(--cream); color: var(--ink); padding: clamp(1rem, 2vw, 1.5rem); border-radius: 4px;
  box-shadow: 0 40px 70px -40px oklch(10% 0.02 40 / .8);
}
.booking { display: block; width: 100%; height: 720px; border: 0; border-radius: 3px; background: oklch(99% 0.005 80); }
.pane-note { margin-top: .85rem; padding-inline: .25rem; font-size: .85rem; color: var(--ink-3); }

/* ---------- footer ---------- */
.footer { padding: 3rem 0 2.5rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: center; }
.footer .brand img { height: 36px; }
.footer .wordmark { font-size: 1.4rem; }
.footer p { color: var(--ink-2); }
.footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer nav a { text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.footer nav a:hover { color: var(--ochre); }
.footer small { grid-column: 1 / -1; color: var(--ink-3); font-size: .85rem; }

/* ---------- motion ---------- */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .work-item img, .for-list h3, .arch-thumb, .link-arrow svg { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .for-text { grid-template-columns: 1fr; gap: .5rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .get-grid, .about-grid, .faq-grid, .start-grid { grid-template-columns: 1fr; }
  .get-art { position: relative; height: auto; aspect-ratio: 1.15; width: min(100%, 520px); }
  .faq h2 { position: static; }
  .section-head-split { grid-template-columns: 1fr; }
  .section-head-split p { justify-self: start; }
  .tiers { grid-template-columns: 1fr; max-width: 560px; }
  .tier + .tier { border-left: 1px solid var(--line); border-top: 0; }
  .tiers .tier-featured { margin-block: 0; padding-block: clamp(1.75rem, 3vw, 2.75rem); }
  .tiers .tier-featured + .tier { border-top: 0; }
  .about-art { justify-self: start; width: min(100%, 360px); }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .nav { gap: 1rem; }
  .brand img { height: 36px; }
  .nav .wordmark { display: none; }
  .nav-cta { margin-left: auto; padding: .7rem 1.1rem; font-size: .85rem; }
  .burger {
    display: inline-flex; align-items: center; font: inherit; font-size: .85rem; font-weight: 600; line-height: 1.1;
    padding: .65rem 1rem; border-radius: var(--pill); border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer;
  }
  .nav-links { display: none; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem;
  }
  .nav.menu-open .nav-links a { font-size: 1.25rem; font-family: var(--display); padding: .8rem 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav.menu-open .nav-links a::after { display: none; }

  .hero-media img { object-position: 62% 50%; }
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .hero-inner { padding-bottom: 2.5rem; }
  .for-head { grid-template-columns: 1fr; }
  .for-head p { justify-self: start; }
  .for-list li { grid-template-columns: 2.25rem 1fr 84px; gap: 1rem; }
  .arch-thumb { width: 84px; }
  .steps { grid-template-columns: 1fr; }
  .deliverables div, .about-points li { grid-template-columns: 1fr; gap: .25rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-col:nth-child(2) { padding-top: 0; }
  .booking { height: 780px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
}
