/* ==========================================================================
   saltedcaramel.ai — design tokens
   ========================================================================== */
:root {
  --bg: #14100c;
  --bg-alt: #1c1712;
  --bg-panel: rgba(255, 244, 232, 0.04);
  --border: rgba(255, 244, 232, 0.10);
  --border-strong: rgba(255, 244, 232, 0.18);

  --text: #f7f0e8;
  --text-muted: #c7b3a0;
  --text-dim: #9a8874;

  /* Caramel ramp: deep caramel → caramel → golden top note.
     --brand-ink is the dark text colour used on caramel surfaces, which are
     too light to carry white text at an accessible contrast ratio. */
  --brand: #e2a052;
  --brand-2: #f6cd80;
  --brand-3: #c87e37;
  --brand-ink: #1e1409;
  --brand-grad: linear-gradient(135deg, #c87e37 0%, #e2a052 52%, #f6cd80 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow: 0 24px 60px -24px rgba(8, 5, 2, 0.9);
  --container: 1180px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", Roboto, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0 0 .6rem; line-height: 1.25; letter-spacing: -0.03em; font-weight: 700; }
h1 { font-size: clamp(2.15rem, 5.2vw, 3.65rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1rem; }

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--brand); color: var(--brand-ink);
  padding: .6rem 1.1rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}
.container.narrow { max-width: 800px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-py: .85rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--btn-py) 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand-grad);
  background-size: 160% 160%;
  color: var(--brand-ink);
  box-shadow: 0 12px 30px -12px rgba(226, 160, 82, .7);
}
.btn-primary:hover { box-shadow: 0 18px 38px -12px rgba(226, 160, 82, .85); background-position: 100% 50%; }

.btn-ghost {
  background: rgba(255, 244, 232, .04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 244, 232, .08); border-color: rgba(255, 244, 232, .3); }

.btn-sm { --btn-py: .55rem; padding: var(--btn-py) 1.1rem; font-size: .875rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(20, 16, 12, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header-inner { display: flex; align-items: center; gap: 1.25rem; }

.brand { display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-name {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.035em;
  color: var(--text); white-space: nowrap;
}
.brand-tld {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.nav {
  display: flex; align-items: center; gap: .35rem;
  margin-inline: auto;
}
.nav a {
  position: relative;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .925rem; font-weight: 500;
  color: var(--text-muted);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 244, 232, .06); }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }

.lang-switch {
  display: inline-flex; align-items: center;
  padding: 3px;
  background: rgba(255, 244, 232, .05);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-btn {
  border: 0; background: transparent; cursor: pointer;
  color: var(--text-dim);
  font: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  padding: .28rem .6rem;
  border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn[aria-pressed="true"] { background: rgba(255, 244, 232, .12); color: var(--text); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: rgba(255, 244, 232, .05);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 244, 232, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 244, 232, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: -32%; left: 50%; transform: translateX(-50%);
  width: min(1100px, 130%); aspect-ratio: 1.6 / 1;
  background:
    radial-gradient(closest-side, rgba(226, 160, 82, .34), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(200, 126, 55, .26), transparent 70%),
    radial-gradient(closest-side at 25% 65%, rgba(246, 205, 128, .18), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .35rem .85rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 244, 232, .04);
  font-size: .8rem; font-weight: 600; letter-spacing: .01em;
  color: var(--brand-2);
}

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em {
  font-style: normal;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.lede { color: var(--text-muted); font-size: clamp(1rem, 1.6vw, 1.115rem); max-width: 56ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.9rem 0 1.6rem; }

.hero-points {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .55rem 1.35rem;
  color: var(--text-dim); font-size: .9rem;
}
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-2); box-shadow: 0 0 0 4px rgba(246, 205, 128, .16);
  flex-shrink: 0;
}

/* Hero panel */
.hero-panel {
  background: linear-gradient(160deg, rgba(255, 244, 232, .075), rgba(255, 244, 232, .022));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.15rem;
}
.panel-head {
  display: flex; align-items: center; gap: .4rem;
  padding: .2rem .35rem 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.panel-head .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 244, 232, .18); }
.panel-title { margin-left: .6rem; font-size: .8rem; font-weight: 600; color: var(--text-dim); letter-spacing: .02em; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; counter-reset: flow; }
.flow-step {
  display: flex; align-items: center; gap: .9rem;
  padding: .8rem .9rem;
  background: rgba(255, 244, 232, .035);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.flow-step:hover { transform: translateX(4px); border-color: rgba(226, 160, 82, .5); background: rgba(226, 160, 82, .08); }
.flow-index {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--brand-grad);
  color: var(--brand-ink); font-size: .78rem; font-weight: 700;
}
.flow-step strong { display: block; font-size: .93rem; font-weight: 600; }
.flow-step span:not(.flow-index) { display: block; font-size: .82rem; color: var(--text-dim); }

/* ==========================================================================
   Value band
   ========================================================================== */
.band { border-block: 1px solid var(--border); background: var(--bg-alt); }
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.band-item {
  padding: 1.85rem clamp(1rem, 2.4vw, 1.75rem);
  text-align: center;
  border-left: 1px solid var(--border);
}
.band-item:first-child { border-left: 0; }
.band-item strong {
  display: block;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -0.03em;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.band-item span { display: block; margin-top: .3rem; font-size: .87rem; color: var(--text-dim); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head .lede { margin: 0 auto; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.35rem); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* Cards */
.card {
  position: relative;
  padding: 1.75rem 1.6rem;
  background: linear-gradient(170deg, rgba(255, 244, 232, .055), rgba(255, 244, 232, .018));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card::after {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--brand-grad);
  opacity: 0; transition: opacity .35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }

.card-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: rgba(226, 160, 82, .14);
  border: 1px solid rgba(226, 160, 82, .3);
  color: var(--brand-2);
}
.card-icon svg { width: 22px; height: 22px; }
.card p { color: var(--text-muted); font-size: .94rem; margin-bottom: 1.1rem; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.tags li {
  padding: .28rem .7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 244, 232, .035);
  font-size: .78rem; color: var(--text-dim);
}

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.6rem 1.4rem;
  background: rgba(255, 244, 232, .03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: rgba(226, 160, 82, .45); }
.step-num {
  display: block; margin-bottom: .8rem;
  font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
}
.step-week { margin: 0 0 .6rem; font-size: .78rem; font-weight: 600; color: var(--brand-2); letter-spacing: .02em; }
.step p:last-child { margin: 0; color: var(--text-muted); font-size: .92rem; }

/* Mini cards */
.mini {
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 244, 232, .028);
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.mini:hover { transform: translateY(-4px); background: rgba(255, 244, 232, .055); border-color: var(--border-strong); }
.mini h3 { margin-bottom: .35rem; }
.mini p { margin: 0; color: var(--text-muted); font-size: .9rem; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.why-copy { position: sticky; top: calc(var(--header-h) + 2rem); }
.why-copy .lede { margin-bottom: 1.75rem; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.why-list li {
  padding: 1.35rem 1.4rem 1.35rem 3.1rem;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 244, 232, .028);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.why-list li:hover { border-color: var(--border-strong); background: rgba(255, 244, 232, .05); }
.why-list li::before {
  content: "";
  position: absolute; left: 1.35rem; top: 1.72rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand-grad);
  box-shadow: 0 0 0 4px rgba(226, 160, 82, .16);
}
.why-list h3 { margin-bottom: .3rem; }
.why-list p { margin: 0; color: var(--text-muted); font-size: .93rem; }

/* FAQ */
.faq { display: grid; gap: .7rem; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 244, 232, .028);
  padding: 0 1.3rem;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.faq details[open] { border-color: rgba(226, 160, 82, .4); background: rgba(226, 160, 82, .05); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2rem 1.15rem 0;
  position: relative;
  font-weight: 600; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: .25rem; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform .3s var(--ease), border-color .3s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--brand-2); }
.faq details p { margin: 0; padding: 0 0 1.25rem; color: var(--text-muted); font-size: .94rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.section-contact {
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(226, 160, 82, .16), transparent 70%),
    radial-gradient(ellipse 60% 70% at 90% 100%, rgba(200, 126, 55, .14), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-copy .lede { margin-bottom: 2rem; }

.contact-list { margin: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.contact-list dt { font-size: .78rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .07em; }
.contact-list dd { margin: .2rem 0 0; font-size: .96rem; color: var(--text); }
.contact-list a { border-bottom: 1px solid rgba(255, 244, 232, .2); transition: border-color .2s, color .2s; }
.contact-list a:hover { color: var(--brand-2); border-color: var(--brand-2); }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  background: rgba(22, 17, 12, .74);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--text-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  background: rgba(255, 244, 232, .04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit; font-size: .94rem;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23c7b3a0' stroke-width='1.8' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}
.field select option { background: #1c1712; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255, 244, 232, .06);
  box-shadow: 0 0 0 3px rgba(226, 160, 82, .18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff7a63; }
.field.has-error input:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(255, 122, 99, .18); }

.consent { flex-direction: row; align-items: flex-start; gap: .6rem; }
.consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: .22rem; accent-color: var(--brand); padding: 0; }
.consent label { font-size: .85rem; color: var(--text-dim); font-weight: 400; line-height: 1.5; }

.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form .btn { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: .88rem; min-height: 1.3em; }
.form-status.is-error { color: #ff9d85; }
.form-status.is-success { color: var(--brand-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem; }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 1.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: .8rem; }
.footer-brand p { margin: 0; color: var(--text-dim); font-size: .9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; }
.footer-nav a { color: var(--text-muted); font-size: .9rem; transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  padding-top: 1.5rem;
  color: var(--text-dim); font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--brand-2); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
/* Content is only hidden when JavaScript is available to reveal it again,
   so the page stays fully readable if scripts fail or are blocked. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-copy { position: static; }
  .band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-item:nth-child(odd) { border-left: 0; }
  .band-item:nth-child(n + 3) { border-top: 1px solid var(--border); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 1rem clamp(1.15rem, 4vw, 2rem) 1.6rem;
    background: rgba(20, 16, 12, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: .85rem .5rem; border-radius: var(--radius-sm); font-size: 1rem; }
}

@media (max-width: 560px) {
  .band-grid { grid-template-columns: 1fr; }
  .band-item { border-left: 0; border-top: 1px solid var(--border); }
  .band-item:first-child { border-top: 0; }
  .contact-form { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
