/* ==========  Kean Studio  ========== */
:root {
  --cream: #f7f4ef;
  --cream-2: #efe9e0;
  --sand: #e3d9cb;
  --taupe: #a89a86;
  --taupe-dark: #7d705f;
  --ink: #3e3830;
  --ink-soft: #6b6257;
  --white: #fffdf9;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(94, 80, 62, .08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h1 em { font-style: italic; color: var(--taupe-dark); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
code { font-size: .85em; background: var(--cream-2); padding: .1em .4em; border-radius: 6px; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .95em 2em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: var(--taupe-dark); border-color: var(--taupe-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-small { padding: .7em 1.4em; font-size: .75rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 239, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--sand); box-shadow: 0 4px 20px rgba(94,80,62,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand img, .footer-inner img { mix-blend-mode: multiply; clip-path: inset(0 0 0 4px); }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) {
  text-decoration: none; font-size: .88rem; letter-spacing: .08em; color: var(--ink-soft);
  position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--taupe);
  transition: width .3s;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.arch {
  width: min(400px, 100%);
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, var(--white), var(--cream-2));
  border: 1px solid var(--sand);
  border-radius: 999px 999px var(--radius) var(--radius);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.hero-shape { width: 78%; animation: float 7s ease-in-out infinite; }
.floating-tag {
  position: absolute; bottom: 12%; left: 0;
  background: var(--white); border: 1px solid var(--sand);
  padding: .6em 1.2em; border-radius: 999px;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--taupe-dark);
  box-shadow: var(--shadow);
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Strip */
.strip { border-block: 1px solid var(--sand); background: var(--white); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.strip-inner div { padding: 1.6rem .5rem; display: flex; flex-direction: column; }
.strip-inner div + div { border-left: 1px solid var(--sand); }
.strip strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.strip span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--cream-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-sub { color: var(--ink-soft); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 3 / 2; display: grid; place-items: center; }
.card-media svg { width: 55%; fill: none; stroke: var(--taupe-dark); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.card-body { padding: 1.5rem 1.6rem 1.7rem; }
.card-body p { color: var(--ink-soft); font-size: .96rem; }
.price { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-dark); }

.tone-1 { background: linear-gradient(135deg, #f1ebe2, #e4d9c9); }
.tone-2 { background: linear-gradient(135deg, #f3e9e5, #e5d3cb); }
.tone-3 { background: linear-gradient(135deg, #ecebe3, #d9d6c8); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: s; }
.steps li { position: relative; padding-top: 1.4rem; border-top: 1px solid var(--taupe); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--taupe); line-height: 1; display: block; margin-bottom: .6rem; }
.steps p { color: var(--ink-soft); font-size: .96rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.g-item {
  margin: 0; border-radius: var(--radius); position: relative; overflow: hidden;
  border: 1px solid var(--sand);
  background-size: cover; background-position: center;
}
.g-item::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(168,154,134,.13) 9px 10px);
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255,253,249,.92); padding: .4em 1em; border-radius: 999px;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
}

/* Order */
.order { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.order-intro p { color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--sand); }
.contact-list span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-dark); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--taupe-dark); }

.order-form {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow);
  display: grid; gap: 1.1rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.order-form label { display: grid; gap: .4rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.order-form input:not([type="radio"]), .order-form select, .order-form textarea {
  font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--ink);
  background: var(--cream); border: 1px solid var(--sand); border-radius: 10px;
  padding: .75em .9em; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.order-form :is(input, select, textarea):focus { outline: none; border-color: var(--taupe); box-shadow: 0 0 0 3px rgba(168,154,134,.2); }
.order-form .invalid { border-color: #c2877b !important; }
.colors { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.colors legend { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .6rem; padding: 0; }
.order-form .swatch { display: flex; align-items: center; gap: .5rem; text-transform: none; letter-spacing: 0; font-size: .95rem; cursor: pointer; color: var(--ink); }
.swatch input { position: absolute; opacity: 0; }
.swatch span {
  width: 24px; height: 24px; border-radius: 50%; background: var(--c);
  border: 1px solid var(--sand); box-shadow: 0 0 0 3px var(--white), 0 0 0 4px transparent;
  transition: box-shadow .2s;
}
.swatch span.multi { background: conic-gradient(#e9c6c3, #d8c9b3, #b8c4b0, #b9c3d3, #e9c6c3); }
.swatch input:checked + span { box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--taupe-dark); }
.swatch input:focus-visible + span { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--taupe); }
.form-note { margin: 0; font-size: .9rem; color: var(--taupe-dark); text-align: center; min-height: 1.2em; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--taupe-dark); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-right: 2.5rem; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--sand); padding: 3.5rem 0 2rem; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.footer-inner img { height: 80px; width: auto; mix-blend-mode: multiply; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--taupe-dark); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.8rem; margin: .5rem 0 1.2rem; }
.footer-nav a { text-decoration: none; font-size: .85rem; letter-spacing: .08em; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--ink); }
.copy { font-size: .78rem; letter-spacing: .12em; color: var(--taupe); margin: 0; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(62,56,48,.25); transition: transform .25s, background .25s;
}
.wa-float:hover { transform: scale(1.07); background: var(--taupe-dark); }
.wa-float svg { width: 26px; fill: var(--cream); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-shape { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .order { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; gap: 1.2rem; padding: 1.5rem 16px 2rem;
    background: var(--cream); border-bottom: 1px solid var(--sand);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .arch { width: min(280px, 80%); }
  .floating-tag { left: 50%; transform: translateX(-50%); bottom: -14px; white-space: nowrap; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-inner div:nth-child(3) { border-left: 0; }
  .strip-inner div:nth-child(n+3) { border-top: 1px solid var(--sand); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .g-wide { grid-column: span 2; }
}
@media (max-width: 540px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .g-tall { grid-row: span 1; }
  .g-wide { grid-column: span 1; }
}
