/* Closets in the Sky — site styles */
:root {
  --ink: #1d2340;
  --ink-soft: #4a5070;
  --muted: #6d7390;
  --sky: #dfe9f7;
  --sky-deep: #b8cdeb;
  --cloud: #f7f9fd;
  --paper: #ffffff;
  --blush: #e8687f;
  --blush-deep: #c94c64;
  --blush-soft: #fbe3e7;
  --line: #e3e7f1;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(29, 35, 64, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blush-deep); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--blush-deep); margin-bottom: 1rem;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px;
  font: 600 .98rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blush); color: #fff; }
.btn-primary:hover { background: var(--blush-deep); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { font: 500 1.3rem/1 var(--serif); letter-spacing: -.01em; }
.brand-name em { font-style: italic; color: var(--blush-deep); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blush); }
.nav .btn { color: #fff; padding: .7em 1.2em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 16px 1.25rem; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--blush-deep); }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
}

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.bg-sky { background: linear-gradient(180deg, var(--sky) 0%, var(--cloud) 100%); }
.bg-cloud { background: var(--cloud); }
.bg-ink { background: var(--ink); color: #e8ebf6; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .lede { color: #b9bfd8; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(56px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--blush-deep); }
.hero-art { position: relative; aspect-ratio: 4 / 4.4; }
.hero-art .frame {
  position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper);
}
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .f1 { inset: 0 22% 14% 0; }
.hero-art .f2 { width: 48%; aspect-ratio: 1; right: 0; bottom: 0; border: 6px solid var(--paper); }
.hero-art .cloud { position: absolute; color: #fff; filter: drop-shadow(0 8px 16px rgba(29,35,64,.12)); }
.hero-art .c1 { width: 36%; top: -6%; right: 2%; }
.hero-badge {
  position: absolute; left: -4%; bottom: 6%; background: var(--paper); border-radius: 14px; padding: .8rem 1rem;
  box-shadow: var(--shadow); font-size: .88rem; line-height: 1.35; max-width: 210px;
}
.hero-badge strong { display: block; font: 600 1.5rem/1.1 var(--serif); color: var(--blush-deep); }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero-badge { left: 0; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.stat b { display: block; font: 500 2.4rem/1 var(--serif); color: var(--blush-deep); margin-bottom: .5rem; }
.stat span { color: var(--ink-soft); font-size: .95rem; line-height: 1.45; display: block; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--blush-soft); color: var(--blush-deep);
  display: grid; place-items: center; margin-bottom: 1.25rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.step { position: relative; padding-top: 3.5rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font: 500 2.2rem/1 var(--serif); color: var(--blush);
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.bg-ink .step p { color: #b9bfd8; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--blush-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c94c64' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.bg-ink .checks li { color: #d3d7ea; }

/* Use cases */
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.use { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 1.4rem; }
.use h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.use p { margin: 0; color: #b9bfd8; font-size: .95rem; }

/* Pricing */
.price-card {
  max-width: 880px; margin: 3rem auto 0; background: var(--paper); border-radius: 24px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; border: 1px solid var(--line);
}
.price-head { background: var(--ink); color: #fff; padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.price-head .tag {
  align-self: flex-start; background: var(--blush); color: #fff; font: 600 .72rem/1 var(--sans);
  letter-spacing: .12em; text-transform: uppercase; padding: .5em .9em; border-radius: 999px; margin-bottom: 1.25rem;
}
.price { font: 500 3.6rem/1 var(--serif); }
.price sup { font-size: .45em; vertical-align: top; position: relative; top: .35em; margin-right: .08em; }
.price small { font: 400 1rem/1 var(--sans); color: #b9bfd8; }
.price-head p { color: #b9bfd8; margin: 1rem 0 1.5rem; font-size: .95rem; }
.price-head .btn { align-self: flex-start; }
.price-body { padding: 2.5rem; }
.price-body .checks { margin: 0; }
@media (max-width: 760px) { .price-card { grid-template-columns: 1fr; } .price-head, .price-body { padding: 2rem; } }

/* Page header */
.page-head { background: linear-gradient(180deg, var(--sky) 0%, var(--cloud) 100%); padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.page-head .lede { margin-bottom: 0; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.member { text-align: left; }
.member .photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sky); margin-bottom: 1rem; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.member .photo.mono { display: grid; place-items: center; color: var(--ink-soft); background: linear-gradient(160deg, var(--sky), var(--blush-soft)); }
.member .photo.mono svg { width: 42%; }
.member h3 { font-size: 1.25rem; margin-bottom: .1rem; }
.member .role { color: var(--blush-deep); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .6rem; }
.member p { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-nav { position: sticky; top: 100px; display: grid; gap: .25rem; }
.faq-nav a { text-decoration: none; color: var(--ink-soft); padding: .55rem .9rem; border-radius: 10px; font-weight: 500; }
.faq-nav a:hover { background: var(--cloud); color: var(--ink); }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: 1.6rem; scroll-margin-top: 100px; }
details { border-bottom: 1px solid var(--line); }
details summary {
  list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font-weight: 600; font-size: 1.05rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--blush-deep); border-bottom: 2px solid var(--blush-deep); transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details .answer { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 70ch; }
@media (max-width: 820px) { .faq-layout { grid-template-columns: 1fr; } .faq-nav { position: static; display: flex; flex-wrap: wrap; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-list { display: grid; gap: 1rem; }
.info { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.info .icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--blush-soft); color: var(--blush-deep); display: grid; place-items: center; }
.info .icon svg { width: 22px; height: 22px; }
.info h3 { font: 600 .8rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: .15rem 0 .3rem; }
.info p { margin: 0; }
.info a { color: var(--ink); text-decoration: none; font-weight: 500; }
.info a:hover { color: var(--blush-deep); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .1rem 1rem; }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--cloud); color: var(--ink); width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blush); background: var(--paper); }
.form-note { font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; gap: 0; } }

/* CTA band */
.cta {
  background: linear-gradient(120deg, var(--blush-soft), var(--sky)); border-radius: 28px; padding: clamp(2.5rem, 6vw, 4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta h2 { margin: 0 0 .3rem; }
.cta p { margin: 0; color: var(--ink-soft); }

/* Legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ol, .legal ul { padding-left: 1.4rem; }
.legal li { margin-bottom: .6rem; }

/* Footer */
.site-footer { background: var(--ink); color: #b9bfd8; padding: 64px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: .5rem 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #b9bfd8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.social a:hover { background: var(--blush); border-color: var(--blush); }
.social svg { width: 17px; height: 17px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
