:root {
  --bg: #f8f4ed;
  --bg-alt: #f2ecdf;
  --surface: #ffffff;
  --surface-2: #fbf8f2;
  --line: rgba(64, 48, 32, 0.1);
  --line-strong: rgba(64, 48, 32, 0.18);
  --text: #362c21;
  --text-dim: #6f6254;
  --text-faint: #9d9081;
  --accent: #c9642f;
  --accent-2: #e09045;
  --accent-soft: rgba(201, 100, 47, 0.1);
  --radius: 16px;
  --radius-lg: 24px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --container: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }

::selection {
  background: rgba(201, 100, 47, 0.2);
}

/* paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- scroll progress ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(248, 244, 237, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff7ee;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(201, 100, 47, 0.28);
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
}

.nav-links a {
  color: var(--text-dim);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: var(--accent); }

.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(96, 74, 52, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 38%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 38%, #000 15%, transparent 72%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: drift 16s ease-in-out infinite alternate;
}

.orb-a {
  width: 460px; height: 460px;
  top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(240, 178, 120, 0.55), transparent 65%);
}

.orb-b {
  width: 420px; height: 420px;
  bottom: -16%; right: -6%;
  background: radial-gradient(circle, rgba(150, 205, 190, 0.45), transparent 65%);
  animation-delay: -6s;
}

.orb-c {
  width: 300px; height: 300px;
  top: 28%; right: 20%;
  background: radial-gradient(circle, rgba(186, 172, 226, 0.4), transparent 65%);
  animation-delay: -11s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, -36px, 0) scale(1.08); }
}

.hero-inner {
  position: relative;
  padding: 120px 0 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-copy { min-width: 0; }

.hero-visual {
  position: relative;
  will-change: transform;
}

.hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(120, 80, 45, 0.22), 0 6px 18px rgba(120, 80, 45, 0.1);
  background: var(--surface);
  transform: rotate(1.2deg);
  animation: float 7s ease-in-out infinite alternate;
}

.hero-card img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

@keyframes float {
  from { transform: rotate(1.2deg) translateY(0); }
  to   { transform: rotate(0.4deg) translateY(-14px); }
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 22px;
  animation: rise 0.8s ease both;
}

.hero-title {
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
  background: linear-gradient(118deg, #3d3123 30%, #b45a2c 78%, #d9903f 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: rise 0.8s ease 0.08s both;
}

.hero-sub {
  margin-top: 26px;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-dim);
  animation: rise 0.8s ease 0.16s both;
}

.hero-now {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--text-faint);
  min-height: 1.8em;
  animation: rise 0.8s ease 0.32s both;
}

.hero-now .arrow { color: var(--accent); }

.typed { color: var(--text); }

.caret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: var(--accent);
  animation: blink 1.05s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap;
  animation: rise 0.8s ease 0.24s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff8f0;
  box-shadow: 0 8px 24px rgba(201, 100, 47, 0.26);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 100, 47, 0.36);
}

.btn.ghost {
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.5);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-hint span {
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
  animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--text-dim);
  white-space: nowrap;
}

.marquee-track i {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
  opacity: 0.75;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

.section {
  padding: 110px 0;
  position: relative;
}

.section.alt { background: var(--bg-alt); }

.section.tint {
  background: linear-gradient(180deg, #f6e7d3 0%, #f8f4ed 100%);
}

.section-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

.lead {
  max-width: 640px;
  color: var(--text-dim);
  font-size: 17px;
}

/* ---------- studio banner ---------- */

.studio {
  margin: 56px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(120, 80, 45, 0.16);
  position: relative;
}

.studio img {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
}

/* ---------- about points ---------- */

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.point {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(120, 90, 60, 0.05);
}

.point-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.point h3 {
  font-size: 18px;
  margin: 14px 0 8px;
}

.point p {
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.stat {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(120, 90, 60, 0.05);
}

.stat b {
  display: block;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(120, 90, 60, 0.05);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 100, 47, 0.35);
  box-shadow: 0 16px 38px rgba(120, 90, 60, 0.14);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 {
  font-size: 19px;
  margin: 20px 0 10px;
}

.card p {
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- works ---------- */

.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.work {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(120, 90, 60, 0.05);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.work-thumb {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 6px;
}

.work-thumb img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

a.work:hover .work-thumb img,
.work:hover .work-thumb img {
  transform: scale(1.045);
}

.work-top,
.work p,
.work-link { padding: 0 10px; }

/* ---------- ecom grid ---------- */

.ecom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

/* ---------- scenes ---------- */

.scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.scene {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(120, 90, 60, 0.05);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.scene:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 100, 47, 0.35);
  box-shadow: 0 16px 38px rgba(120, 90, 60, 0.14);
}

.scene-thumb {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 4px;
}

.scene-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.scene:hover .scene-thumb img { transform: scale(1.045); }

.scene-kicker,
.scene h3,
.scene-story,
.scene-result { padding: 0 10px; }

.scene-kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.scene h3 { font-size: 19px; }

.scene-story {
  color: var(--text-dim);
  font-size: 15px;
  flex: 1;
}

.scene-result {
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- stories ---------- */

.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}

.story {
  padding-top: 26px;
  border-top: 2px solid var(--accent);
}

.story-kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}

.story h3 {
  font-size: 20px;
  margin: 14px 0 12px;
}

.story p:last-child {
  color: var(--text-dim);
  font-size: 15.5px;
}

a.work:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 100, 47, 0.4);
  box-shadow: 0 16px 38px rgba(120, 90, 60, 0.14);
}

.work-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.work h3 { font-size: 19px; }

.work p {
  color: var(--text-dim);
  font-size: 15px;
  flex: 1;
}

.tag {
  flex-shrink: 0;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-faint);
  background: var(--surface-2);
}

.tag.live {
  color: var(--accent);
  border-color: rgba(201, 100, 47, 0.32);
  background: var(--accent-soft);
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.work-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
a.work:hover .work-link svg { transform: translate(2px, -2px); }

/* ---------- idea wall ---------- */

.ideas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.idea {
  position: relative;
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transform: rotate(var(--tilt, 0deg));
  box-shadow: 0 3px 12px rgba(120, 90, 60, 0.07);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.idea:nth-child(3n + 1) { --tilt: -1.1deg; }
.idea:nth-child(3n + 2) { --tilt: 0.9deg; }
.idea:nth-child(3n)     { --tilt: -0.4deg; }

.idea.idea-done    { background: #fdf1de; border-color: #f1ddba; }
.idea.idea-brewing { background: #e9f5f1; border-color: #cfe8df; }
.idea.idea-wild    { background: #f1eefa; border-color: #ded7f0; }

.idea:hover {
  transform: rotate(0deg) translateY(-5px);
  border-color: rgba(201, 100, 47, 0.35);
  box-shadow: 0 16px 36px rgba(120, 90, 60, 0.16);
}

.idea-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
}

.idea-tag.done {
  color: #fff8f0;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.idea-tag.brewing {
  color: #2f7a6d;
  border: 1px solid rgba(47, 122, 109, 0.3);
  background: rgba(47, 122, 109, 0.08);
}

.idea-tag.wild {
  color: #6b5bb5;
  border: 1px solid rgba(107, 91, 181, 0.28);
  background: rgba(107, 91, 181, 0.08);
}

.idea-text {
  font-size: 16.5px;
  font-weight: 600;
  padding-right: 66px;
  line-height: 1.5;
}

.idea-note {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-dim);
  opacity: 0.85;
}

/* ---------- log ---------- */

.log {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  position: relative;
}

.log::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.45;
}

.log li {
  position: relative;
  padding: 0 0 30px 38px;
}

.log li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.log time {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.log p {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 15px;
}

.mono { font-family: var(--mono); color: var(--text); }

/* ---------- rules ---------- */

.rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.rule {
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(120, 90, 60, 0.05);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.rule:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 100, 47, 0.35);
  box-shadow: 0 16px 38px rgba(120, 90, 60, 0.12);
}

.rule-num {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: rgba(201, 100, 47, 0.3);
}

.rule h3 { font-size: 19px; margin: 14px 0 8px; }

.rule p { color: var(--text-dim); font-size: 15px; }

.pull-quote {
  margin: 56px 0 0;
  padding-left: 26px;
  border-left: 3px solid var(--accent);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step { position: relative; padding-right: 8px; }

.step::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 56px;
  right: 8px;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(201, 100, 47, 0.38) 0 6px, transparent 6px 12px);
  background-size: 12px 2px;
}

.step:last-child::after { display: none; }

.step-dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff8f0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 8px 20px rgba(201, 100, 47, 0.25);
}

.step h3 { font-size: 18px; margin: 18px 0 8px; }

.step p { color: var(--text-dim); font-size: 15px; }

/* ---------- faq ---------- */

.faq {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 52px 22px 0;
  font-size: 17.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 14px no-repeat;
  transition: transform 0.28s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq summary:hover { color: var(--accent); }

.faq details p {
  padding: 0 0 24px;
  max-width: 720px;
  color: var(--text-dim);
  font-size: 15.5px;
}

/* ---------- chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.chip {
  font-size: 14px;
  padding: 7px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.5);
}

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 108px 0 72px; }
  .hero-visual { max-width: 560px; }
}

.contact-card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(120, 90, 60, 0.08);
}

.contact-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.contact-mail {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  background: linear-gradient(118deg, #3d3123, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  word-break: break-all;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: var(--bg-alt);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-tag {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}

.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 14.5px;
}

.footer-nav a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--text-faint);
  font-size: 13.5px;
}

.icp:empty { display: none; }

.icp a { color: var(--text-faint); }
.icp a:hover { color: var(--text-dim); }

/* ---------- to top ---------- */

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 55;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-dim);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 10px 26px rgba(120, 90, 60, 0.16);
}

.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.to-top svg { width: 20px; height: 20px; }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .scroll-hint span, .hero-kicker, .hero-title, .hero-sub, .hero-actions, .hero-now, .caret {
    animation: none;
  }
  .hero-card, .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .points, .cards, .works { grid-template-columns: 1fr; }
  .ecom-grid { grid-template-columns: 1fr; }
  .scenes-grid { grid-template-columns: 1fr; }
  .stories { grid-template-columns: 1fr; gap: 32px; }
  .rules { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ideas { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 84px 0; }
}

@media (max-width: 640px) {
  .ideas { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    background: rgba(248, 244, 237, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav-links a:last-child { border-bottom: 0; }

  .nav-toggle { display: flex; }
}
