/* Pinewood Sauna — CV. Sony Sentral Industri
   Direction: charcoal cabin + pine amber heat glow */

:root {
  --ink: #0e0c0a;
  --charcoal: #1a1612;
  --smoke: #2a241e;
  --ash: #b8aea0;
  --linen: #e8e2d6;
  --linen-dim: #cfc6b6;
  --pine: #c4a574;
  --pine-deep: #9a7b4f;
  --ember: #c56a3a;
  --glass: rgba(232, 226, 214, 0.06);
  --line: rgba(232, 226, 214, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--linen);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

.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: 1rem;
  top: -3rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--pine);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(14, 12, 10, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(14, 12, 10, 0.92);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-text strong {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--pine);
  font-weight: 400;
}

.nav {
  display: none;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--linen-dim);
  transition: color 0.25s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--linen);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--linen);
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem) 1.75rem;
  background: rgba(14, 12, 10, 0.96);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  padding: 0.85rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 1rem;
  border-bottom: 0;
  justify-content: center;
}

.site-header .btn-wa { display: none; }

@media (min-width: 860px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .site-header .btn-wa { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s, transform 0.3s;
}

.btn:hover { transform: translateY(-1px); }

.btn:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--pine);
  color: var(--ink);
  border-color: var(--pine);
}

.btn-primary:hover {
  background: var(--linen);
  border-color: var(--linen);
}

.btn-ghost {
  background: transparent;
  color: var(--linen);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--pine);
  color: var(--pine);
}

.btn-wa {
  background: transparent;
  color: var(--pine);
  border-color: rgba(196, 165, 116, 0.45);
  padding: 0.55rem 1rem;
}

.btn-wa:hover {
  background: rgba(196, 165, 116, 0.12);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.48) saturate(0.9);
}

.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 12, 10, 0.5) 0%, rgba(14, 12, 10, 0.2) 38%, rgba(14, 12, 10, 0.94) 100%),
    linear-gradient(90deg, rgba(14, 12, 10, 0.72) 0%, transparent 58%);
}

.hero-glow {
  position: absolute;
  z-index: 1;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  left: -8%;
  bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 106, 58, 0.28) 0%, rgba(196, 165, 116, 0.12) 40%, transparent 70%);
  filter: blur(40px);
  animation: ember-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ember-pulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  animation: rise 1.1s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 1rem;
}

.hero-brand {
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
  color: var(--linen);
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--linen-dim);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Material */
.material {
  padding: 1.35rem clamp(1.25rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
  background: var(--charcoal);
}

.material p {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ash);
}

/* Sections */
.section-head {
  max-width: 36rem;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 0.85rem;
}

.section-lead {
  color: var(--linen-dim);
  font-size: 1.05rem;
}

.collection {
  padding: 5.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
}

.collection > .section-head {
  margin-inline: auto;
  text-align: center;
}

/* Products */
.product {
  display: grid;
  gap: 2.5rem;
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
  max-width: 1180px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .product {
    grid-template-columns: 0.95fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
    padding: 5.5rem 0;
  }

  .product-alt { direction: rtl; }
  .product-alt > * { direction: ltr; }
}

.product-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.product h3 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin-bottom: 0.35rem;
}

.product-capacity {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--pine);
  margin-bottom: 1.15rem;
}

.product-desc {
  color: var(--linen-dim);
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  margin: 0;
}

.specs div {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}

.specs dt {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 0.2rem;
}

.specs dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--linen);
}

.product-media {
  display: grid;
  gap: 1.5rem;
}

.product-still {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--smoke);
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}

.product-still img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.product-still-cutout {
  background: transparent;
  border-color: transparent;
}

.product-still-cutout img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center bottom;
}

.product-still-wide {
  max-width: none;
}

.product-still-wide img {
  aspect-ratio: 4 / 3;
}

.video-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 0.75rem;
  text-align: center;
}

.video-frame {
  position: relative;
  background: var(--smoke);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: min(68vh, 560px);
  margin-inline: auto;
  width: 100%;
  max-width: 320px;
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 60px rgba(0, 0, 0, 0.45);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
  justify-content: center;
  max-width: 360px;
  margin-inline: auto;
}

/* Compare */
.compare {
  padding: 4rem clamp(1.25rem, 4vw, 3rem) 5rem;
  background: var(--charcoal);
  border-block: 1px solid var(--line);
}

.compare .section-head {
  margin-inline: auto;
  text-align: center;
}

.compare-table-wrap {
  overflow-x: auto;
  max-width: 900px;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--pine);
  border-bottom-color: rgba(196, 165, 116, 0.35);
}

.compare-table tbody th {
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  width: 22%;
}

.compare-table td {
  color: var(--linen-dim);
}

.compare-table a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Heater */
.heater {
  padding: 5.5rem clamp(1.25rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(197, 106, 58, 0.12), transparent 60%),
    var(--ink);
}

.heater-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.heater-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .heater-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.heater-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--glass);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .heater-card:hover {
    border-color: rgba(196, 165, 116, 0.35);
    transform: translateY(-3px);
  }
}

.heater-media {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 70%, rgba(197, 106, 58, 0.14), transparent 65%),
    linear-gradient(180deg, #1f1a15 0%, #14110e 100%);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 1.5rem 1.25rem 1.25rem;
}

.heater-media img {
  width: 100%;
  height: 100%;
  max-height: 22rem;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.heater-body {
  padding: 1.75rem 1.65rem 1.9rem;
}

.heater-card h3 {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.heater-size {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 1.25rem;
}

.heater-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.heater-card li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--linen-dim);
  font-size: 0.95rem;
}

.heater-card li:last-child {
  padding-bottom: 0;
}

/* Contact */
.contact {
  padding: 5.5rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--ink) 100%);
}

.contact-inner {
  max-width: 900px;
  margin: 0 auto;
}

.contact .section-head {
  text-align: center;
  margin-inline: auto;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: center;
}

.contact-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.contact-brand h3 {
  font-size: 1.65rem;
  margin-bottom: 0.25rem;
}

.contact-brand p {
  color: var(--ash);
  font-size: 0.9rem;
}

.contact-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  max-width: 480px;
  width: 100%;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.contact-list a {
  font-size: 1.15rem;
  color: var(--linen);
  transition: color 0.25s;
}

.contact-list a:hover {
  color: var(--pine);
}

.contact-list em {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--linen-dim);
  line-height: 1.5;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ash);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
