:root {
  --bg: #0b0f12;
  --bg2: #12181d;
  --text: #f1f4f5;
  --muted: #8f9ca4;
  --ice: #7fd4ff;
  --fire: #ff6a2b;
  --line: rgba(241, 244, 245, 0.12);
  --r: 18px;
  --max: 1180px;
}

body { --accent: var(--ice); }
body[data-temp="warm"] { --accent: var(--fire); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0;
}
h1 { font-size: clamp(3.4rem, 8.6vw, 7.4rem); }
h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h3 { font-size: 1.9rem; }
h1 em, h2 em { font-style: italic; color: var(--accent); transition: color 0.4s ease; }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { padding: 104px 0; }
.alt { background: var(--bg2); }
.muted { color: var(--muted); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--accent); transition: background 0.4s ease; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 30px;
  border-radius: 6px;
  border: 2px solid var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #0b0f12; }
.btn-accent:hover { background: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(11, 15, 18, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.wordmark { font-family: 'Barlow Condensed', sans-serif; font-size: 1.7rem; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.03em; }
.wordmark span { color: var(--accent); transition: color 0.4s ease; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-family: 'Barlow Condensed', sans-serif; font-size: 1.02rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: color 0.2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav .nav-cta { background: var(--accent); color: #0b0f12; padding: 10px 20px; border-radius: 6px; transition: background 0.4s ease, color 0.2s ease; }
.main-nav .nav-cta:hover { color: #0b0f12; background: var(--text); }
.menu-btn { display: none; background: none; border: 2px solid var(--text); color: var(--text); border-radius: 6px; padding: 8px 16px; font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }

/* Hero */
.hero { padding: 150px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.hero .lead { margin: 26px 0 30px; max-width: 42ch; font-size: 1.15rem; color: var(--muted); }
.switch { display: inline-flex; padding: 4px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line); margin-bottom: 14px; }
.switch button { border: 0; background: transparent; color: var(--muted); padding: 10px 26px; border-radius: 5px; font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background 0.3s ease, color 0.3s ease; }
.switch button[aria-pressed="true"] { background: var(--accent); color: #0b0f12; }
.temp-text { min-height: 3.3em; max-width: 44ch; margin-bottom: 28px; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 15, 18, 0.6), transparent 45%); }
.hero-photo .tag { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-photo .tag::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 10px; }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--bg2); }
.ticker-track { display: flex; width: max-content; gap: 48px; animation: slide 32s linear infinite; font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 0.06em; }
.ticker-track span::after { content: "/"; margin-left: 48px; color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Statement */
.statement { max-width: 880px; }
.statement h2 { margin-bottom: 28px; }
.statement p { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.three > div { border-top: 3px solid var(--accent); padding-top: 20px; transition: border-color 0.4s ease; }
.three h3 { margin-bottom: 8px; }
.three p { margin: 0; color: var(--muted); }

/* Bento */
.head { max-width: 700px; margin-bottom: 52px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 16px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--bg2); border: 1px solid var(--line); }
.tile h3 { margin-bottom: 6px; }
.tile p { margin: 0; max-width: 34ch; font-size: 0.98rem; color: var(--muted); }
.tile.photo p { color: rgba(241, 244, 245, 0.85); }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tile.photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(8, 12, 14, 0.88), rgba(8, 12, 14, 0.05) 65%); }
.tile.photo > * { position: relative; z-index: 2; }
.t-wide { grid-column: span 2; }
.t-cold { background: var(--ice); border-color: var(--ice); color: #0b0f12; }
.t-cold p { color: rgba(11, 15, 18, 0.75); }
.t-cold .big { position: absolute; top: 18px; right: 24px; font-family: 'Barlow Condensed', sans-serif; font-size: 6.4rem; font-weight: 800; font-style: italic; line-height: 1; opacity: 0.22; }
.t-contrast { background: linear-gradient(100deg, var(--ice) 50%, var(--fire) 50%); border: 0; color: #0b0f12; justify-content: space-between; }
.t-contrast .halves { display: flex; justify-content: space-between; font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.t-contrast p { color: #0b0f12; max-width: 46ch; }

/* Feature */
.feature { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 72px; align-items: center; }
.feature .shot { border-radius: var(--r); overflow: hidden; max-width: 360px; aspect-ratio: 9 / 14; }
.feature .shot img { width: 100%; height: 100%; object-fit: cover; }
.feature p { color: var(--muted); max-width: 54ch; }
.feature .btn { margin-top: 14px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; display: flex; flex-direction: column; }
.alt .price-card { background: var(--bg); }
.price-card h3 { font-size: 1.7rem; }
.amount { font-family: 'Barlow Condensed', sans-serif; font-size: 4.2rem; font-weight: 800; font-style: italic; line-height: 1; margin: 16px 0 18px; color: var(--accent); transition: color 0.4s ease; }
.price-card ul { list-style: none; margin: 0 0 20px; padding: 0; color: var(--muted); }
.price-card li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.duration { margin-top: auto; display: inline-block; align-self: flex-start; padding: 6px 14px; border: 1px solid var(--line); border-radius: 6px; font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.price-card.duo { grid-column: 1 / -1; background: var(--accent); border-color: var(--accent); color: #0b0f12; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 56px; align-items: start; transition: background 0.4s ease; }
.price-card.duo .amount { color: #0b0f12; margin-bottom: 10px; }
.price-card.duo ul { color: rgba(11, 15, 18, 0.8); }
.price-card.duo li { border-color: rgba(11, 15, 18, 0.2); }
.price-card.duo .duration { border-color: rgba(11, 15, 18, 0.35); }
.price-note { margin-top: 26px; }
.link-line { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* Rail */
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: 28px; padding: 4px 28px 8px; margin: 0 -28px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail figure { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.rail img { height: 440px; width: auto; max-width: none; border-radius: var(--r); }
.rail figcaption { display: flex; justify-content: space-between; padding-top: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.rail figcaption span:last-child { color: var(--muted); }

/* Contact */
.panel { background: var(--accent); color: #0b0f12; border-radius: 24px; padding: 76px 56px; transition: background 0.4s ease; }
.panel h2 { font-size: clamp(3rem, 7vw, 6rem); }
.panel h2 em { color: #0b0f12; text-decoration: underline; text-decoration-thickness: 6px; text-underline-offset: 8px; }
.panel p { max-width: 46ch; margin: 22px 0 30px; font-size: 1.1rem; color: rgba(11, 15, 18, 0.8); }
.panel .kicker { color: rgba(11, 15, 18, 0.7); }
.panel .kicker::before { background: #0b0f12; }
.panel .btn { background: #0b0f12; border-color: #0b0f12; color: var(--text); }
.panel .btn:hover { background: transparent; color: #0b0f12; }

/* Sub page */
.page-head { padding: 160px 0 56px; }
.page-head p { margin: 20px 0 0; max-width: 42ch; font-size: 1.15rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 40px; font-size: 0.92rem; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 44px; }
  .three { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.duo { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding: 72px 0; }
  .menu-btn { display: block; }
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 22px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .main-nav .nav-cta { text-align: center; margin-top: 8px; }
  .hero { padding: 116px 0 64px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .rail img { height: 380px; }
  .t-wide { grid-column: auto; }
  .panel { padding: 52px 26px; }
}

/* Rail controls */
.rail-nav { display: flex; gap: 10px; margin-top: 18px; }
.rail-nav button { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--text); border-radius: 6px; background: transparent; color: var(--text); cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease; }
.rail-nav button:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #0b0f12; }
.rail-nav button:disabled { opacity: 0.3; cursor: default; }
.rail-nav svg { width: 22px; height: 22px; }
