/* ═══════════════════════════════════════════════════════════
   ODD SPECIAL — brand intro site
   1. Tokens  2. Base  3. Layout  4. Header  5. Hero
   6. Sections  7. Components  8. Footer  9. Motion  10. Responsive
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Tokens ─────────────────────────────────────────── */
:root {
  --bg:            #f5f3ee;
  --bg-alt:        #ece8e0;
  --surface:       #ffffff;
  --line:          #ddd7cc;
  --text:          #17171a;
  --text-soft:     #5c5a56;
  --text-faint:    #8d8a84;
  --accent:        #c8452a;
  --accent-soft:   #f0d9d2;
  --shadow:        0 1px 2px rgba(23,23,26,.05), 0 12px 32px -16px rgba(23,23,26,.22);

  --shell:         1180px;
  --gap:           clamp(1rem, 3vw, 2rem);
  --pad-y:         clamp(5rem, 11vw, 9.5rem);
  --radius:        14px;
  --radius-lg:     26px;
  --ease:          cubic-bezier(.22, 1, .36, 1);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, monospace;
}

[data-theme="dark"] {
  --bg:          #0d0d0f;
  --bg-alt:      #141417;
  --surface:     #191a1d;
  --line:        #2b2c31;
  --text:        #f0ede6;
  --text-soft:   #a5a29b;
  --text-faint:  #6f6d68;
  --accent:      #ff6a45;
  --accent-soft: #3a1d15;
  --shadow:      0 1px 2px rgba(0,0,0,.4), 0 18px 44px -20px rgba(0,0,0,.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0d0d0f;
    --bg-alt:      #141417;
    --surface:     #191a1d;
    --line:        #2b2c31;
    --text:        #f0ede6;
    --text-soft:   #a5a29b;
    --text-faint:  #6f6d68;
    --accent:      #ff6a45;
    --accent-soft: #3a1d15;
    --shadow:      0 1px 2px rgba(0,0,0,.4), 0 18px 44px -20px rgba(0,0,0,.7);
  }
}

/* ── 2. Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1rem, .95rem + .2vw, 1.075rem);
  line-height: 1.75;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

h1, h2, h3 { line-height: 1.22; letter-spacing: -.035em; font-weight: 700; }
p  { text-wrap: pretty; }
a  { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--accent); color: #fff;
  padding: .7rem 1.4rem; border-radius: 0 0 10px 10px; font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

/* ── 3. Layout ─────────────────────────────────────────── */
.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.section { padding-block: var(--pad-y); }
.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-label {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.35rem);
  margin-bottom: 1.4rem;
}

.section-desc, .lead { color: var(--text-soft); max-width: 46ch; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.28rem); margin-bottom: 1.4rem; }

.section-head {
  display: flex; flex-wrap: wrap; gap: var(--gap);
  align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ── 4. Header ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark {
  color: var(--accent); font-size: 1.05rem;
  animation: spin 9s linear infinite;
}
.brand-type {
  font-family: var(--mono);
  font-weight: 700; font-size: .95rem; letter-spacing: .14em;
}
.brand-type em { font-style: normal; color: var(--accent); }

.nav { display: flex; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav a {
  position: relative; font-size: .93rem; font-weight: 500;
  color: var(--text-soft); padding-block: .35rem;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .32s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: .55rem; }

.theme-toggle, .nav-toggle {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--accent); background: var(--surface); }

.theme-icon {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--text);
  box-shadow: inset -4px -4px 0 0 var(--bg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
[data-theme="dark"] .theme-icon { transform: rotate(-135deg); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span {
  display: block; width: 17px; height: 1.6px; background: var(--text);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.3px) rotate(-45deg); }

.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px;
  width: 100%; transform: scaleX(0); transform-origin: left;
  background: var(--accent);
}

/* ── 5. Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(92svh, 900px);
  display: flex; align-items: center;
  padding-block: clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5;
}
.orb-a {
  width: 44vmax; height: 44vmax; top: -18vmax; right: -12vmax;
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%);
  opacity: .22;
  animation: drift 22s ease-in-out infinite alternate;
}
.orb-b {
  width: 34vmax; height: 34vmax; bottom: -16vmax; left: -10vmax;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: .13;
  animation: drift 27s ease-in-out infinite alternate-reverse;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: .32;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 20%, transparent 78%);
}

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--mono); font-size: .78rem;
  letter-spacing: .28em; color: var(--text-faint);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.7rem, 1.3rem + 6.4vw, 6.2rem);
  letter-spacing: -.05em;
  margin-bottom: 1.7rem;
}
.hero-title .accent {
  color: var(--accent);
  font-style: italic;
}

.hero-lead {
  max-width: 50ch; color: var(--text-soft);
  font-size: clamp(1.02rem, .97rem + .4vw, 1.22rem);
  margin-bottom: 2.4rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: clamp(3rem, 7vw, 5rem); }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 5vw, 4.5rem);
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-size: .82rem; color: var(--text-faint);
  letter-spacing: .04em; margin-bottom: .3rem;
}
.hero-stats dd {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  letter-spacing: -.02em;
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .3em;
  color: var(--text-faint); z-index: 1;
}
.scroll-hint span {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, transparent, var(--text-faint));
  animation: pulse-line 2.2s ease-in-out infinite;
}

/* ── 6. Marquee ────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  padding-block: .95rem;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track span {
  font-family: var(--mono); font-size: .88rem;
  letter-spacing: .2em; color: var(--text-faint);
  white-space: nowrap; padding-right: 1rem;
}

/* ── 7. Components ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .82rem 1.7rem;
  border-radius: 100px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 600; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: var(--surface); }
.btn-block { width: 100%; }

/* split — about */
.split {
  display: grid; gap: clamp(2.2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: start;
}
.split-sticky { position: sticky; top: 110px; }

.fact-list {
  margin-top: 2.4rem; border-top: 1px solid var(--line);
}
.fact-list li {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between;
  padding-block: .95rem;
  border-bottom: 1px solid var(--line);
}
.fact-list strong { font-size: .88rem; letter-spacing: .04em; }
.fact-list span { color: var(--text-soft); font-size: .93rem; }

/* cards — values */
.card-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
}
.card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: var(--shadow);
}
.card-num {
  font-family: var(--mono); font-size: .78rem;
  letter-spacing: .2em; color: var(--accent);
}
.card h3 { font-size: 1.3rem; margin: .9rem 0 .7rem; }
.card p { color: var(--text-soft); font-size: .96rem; }

/* collection */
.collection-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.product { display: flex; flex-direction: column; gap: 1rem; }
.product-visual {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s var(--ease);
}
.product-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, transparent 42%, color-mix(in srgb, var(--accent) 20%, transparent));
  opacity: 0; transition: opacity .45s var(--ease);
}
.product-visual span {
  font-family: var(--mono); font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700; color: var(--text-faint); letter-spacing: -.04em;
  transition: color .4s var(--ease), transform .5s var(--ease);
}
.product:hover .product-visual { transform: translateY(-6px); border-color: var(--accent); }
.product:hover .product-visual::after { opacity: 1; }
.product:hover .product-visual span { color: var(--accent); transform: scale(1.08); }

.product-visual[data-tone="a"] { background: linear-gradient(160deg, var(--bg-alt), var(--surface)); }
.product-visual[data-tone="b"] { background: linear-gradient(160deg, var(--surface), var(--accent-soft)); }
.product-visual[data-tone="c"] { background: linear-gradient(200deg, var(--bg-alt), var(--surface)); }
.product-visual[data-tone="d"] { background: linear-gradient(200deg, var(--accent-soft), var(--surface)); }

.product-meta h3 { font-family: var(--mono); font-size: 1rem; letter-spacing: .1em; }
.product-meta p { color: var(--text-soft); font-size: .92rem; margin: .45rem 0 .7rem; }
.tag {
  display: inline-block; font-family: var(--mono);
  font-size: .68rem; letter-spacing: .16em;
  padding: .28rem .65rem; border-radius: 100px;
  border: 1px solid var(--line); color: var(--text-faint);
}

/* timeline */
.timeline {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  counter-reset: step;
}
.timeline li {
  position: relative;
  padding-top: 2rem;
  border-top: 2px solid var(--line);
  transition: border-color .4s var(--ease);
}
.timeline li::before {
  content: ""; position: absolute; top: -6px; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  transform: scale(.55); opacity: .35;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.timeline li:hover { border-top-color: var(--accent); }
.timeline li:hover::before { transform: scale(1); opacity: 1; }
.timeline .step {
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .2em; color: var(--accent);
}
.timeline h3 { font-size: 1.2rem; margin: .6rem 0 .55rem; }
.timeline p { color: var(--text-soft); font-size: .94rem; }

/* quote */
.quote-section {
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background: var(--text); color: var(--bg);
  text-align: center;
}
.quote-section blockquote p {
  font-size: clamp(1.35rem, .95rem + 2.1vw, 2.5rem);
  font-weight: 600; letter-spacing: -.035em; line-height: 1.42;
  margin-bottom: 1.5rem;
}
.quote-section cite {
  font-family: var(--mono); font-style: normal;
  font-size: .82rem; letter-spacing: .16em; opacity: .62;
}

/* contact */
.contact-grid {
  display: grid; gap: clamp(2.4rem, 5vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}
.contact-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.contact-list li {
  display: flex; flex-wrap: wrap; gap: .4rem 1.5rem;
  justify-content: space-between; align-items: baseline;
  padding-block: .95rem; border-bottom: 1px solid var(--line);
}
.contact-list span { font-size: .82rem; color: var(--text-faint); letter-spacing: .06em; }
.contact-list a { font-size: .96rem; border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.contact-list a:hover { border-bottom-color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  display: grid; gap: 1.05rem;
  box-shadow: var(--shadow);
}
.field { display: grid; gap: .45rem; }
.field label { font-size: .84rem; color: var(--text-soft); letter-spacing: .03em; }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .78rem .95rem;
  font-size: .96rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field .invalid { border-color: var(--accent); }

.form-status {
  min-height: 1.3em; font-size: .88rem; color: var(--text-soft);
  text-align: center;
}
.form-status.ok { color: var(--accent); font-weight: 600; }

/* ── 8. Footer ─────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding-block: clamp(2.6rem, 6vw, 4rem);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  align-items: center; justify-content: space-between;
}
.footer-brand p { color: var(--text-faint); font-size: .9rem; margin-top: .4rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { font-size: .9rem; color: var(--text-soft); transition: color .25s var(--ease); }
.footer-nav a:hover { color: var(--accent); }
.copyright {
  font-family: var(--mono); font-size: .76rem;
  color: var(--text-faint); letter-spacing: .04em;
  width: 100%; padding-top: 1.6rem; border-top: 1px solid var(--line);
}

/* ── 9. Motion ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes marquee  { to { transform: translateX(-50%); } }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-4vw, 4vh, 0) scale(1.14); }
}
@keyframes pulse-line {
  0%, 100% { opacity: .3; transform: scaleY(.6); transform-origin: top; }
  50%      { opacity: 1;  transform: scaleY(1);  transform-origin: top; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── 10. Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-sticky { position: static; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    clip-path: inset(0 0 100% 0);
    opacity: 0; pointer-events: none;
    transition: clip-path .4s var(--ease), opacity .3s var(--ease);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav a { padding-block: .85rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }

  .hero { min-height: auto; }
  .scroll-hint { display: none; }
  .hero-stats { gap: 1.4rem 2.2rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
