/* ==========================================================================
   Raventron — design system
   Dual-tone agency layout: charcoal stages, warm paper, gold signal.
   Inspired by contemporary product-studio sites; not a clone.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  --bg: #161616;
  --bg-2: #1c1c1c;
  --bg-3: #242424;
  --paper: #f4f4f2;
  --paper-2: #ecece8;
  --paper-3: #fafaf8;

  --ink: #161616;
  --ink-2: #4f4f4a;
  --ink-3: #6f6f69;
  --paper-ink: #fafaf8;
  --paper-ink-2: rgba(250, 250, 248, 0.74);
  --paper-ink-3: rgba(250, 250, 248, 0.52);

  --gold: #f3c114;
  --gold-2: #ffd24a;
  --gold-ink: #161616;

  --line: rgba(22, 22, 22, 0.1);
  --line-2: rgba(22, 22, 22, 0.16);
  --line-on-dark: rgba(250, 250, 248, 0.12);
  --line-on-dark-2: rgba(250, 250, 248, 0.22);

  --font-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --shell-w: 1180px;
  --header-h: 5.5rem;
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --radius: 1.25rem;
  --radius-sm: 0.85rem;
  --pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-device:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.2);

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html.i18n-pending body {
  visibility: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--gold-ink);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

* {
  scrollbar-color: #c8c8c2 var(--paper);
  scrollbar-width: thin;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
  border-radius: var(--pill);
  transition: top 0.2s var(--ease);
}

.skip-link:focus-visible {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.shell {
  width: min(var(--shell-w), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--paper);
  color: var(--ink);
}

.section--sunk {
  background: var(--paper-2);
}

.section--dark {
  background: var(--bg);
  color: var(--paper-ink);
}

.section--flush {
  padding-block: 0;
}

.stack-top {
  margin-top: 2.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.lattice {
  display: grid;
  gap: 1.25rem;
}

.lattice--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lattice--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.section--dark .tag,
.hero .tag,
.page-hero .tag {
  color: var(--paper-ink-3);
}

.tag::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.mono {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.idx {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 42ch;
}

.section--dark .lead,
.hero .lead,
.page-hero .lead {
  color: var(--paper-ink-2);
}

.accent {
  color: var(--gold);
  font-style: normal;
}

.mark {
  display: inline;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 100% 0.36em;
  background-position: 0 86%;
  color: inherit;
  font-style: inherit;
  box-decoration-break: clone;
}

.sec-head {
  display: grid;
  gap: 1.15rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.sec-head h2 {
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  max-width: 16ch;
  letter-spacing: -0.035em;
}

.sec-head .lead {
  max-width: 46ch;
}

@media (min-width: 900px) {
  .sec-head--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    align-items: end;
    column-gap: 4rem;
  }

  .sec-head--split .tag,
  .sec-head--split h2 {
    grid-column: 1;
  }

  .sec-head--split .lead {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    padding-bottom: 0.35rem;
  }
}

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.35rem;
  padding: 0.9rem 1.85rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 0;
  border-radius: var(--pill);
  cursor: pointer;
  transition:
    background 0.28s var(--ease),
    color 0.28s var(--ease),
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.btn .ico {
  transition: transform 0.35s var(--ease);
}

.btn:hover .ico {
  transform: translateX(3px);
}

.btn--solid,
.btn--gold {
  background: var(--gold);
  color: var(--gold-ink);
}

.btn--solid:hover,
.btn--gold:hover {
  background: var(--gold-2);
}

.btn--gold:focus-visible {
  outline-color: var(--ink);
}

.btn--line,
.btn--ghost {
  background: transparent;
  color: var(--paper-ink);
  box-shadow: inset 0 0 0 1.5px var(--line-on-dark-2);
}

.btn--line:hover,
.btn--ghost:hover {
  background: rgba(250, 250, 248, 0.08);
}

.section:not(.section--dark) .btn--line,
.section:not(.section--dark) .btn--ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}

.section:not(.section--dark) .btn--line:hover,
.section:not(.section--dark) .btn--ghost:hover {
  background: rgba(22, 22, 22, 0.05);
}

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--gold);
}

.tlink .ico {
  transition: transform 0.35s var(--ease);
}

.tlink:hover .ico {
  transform: translateX(3px);
}

.ico {
  width: 1rem;
  height: 1rem;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  color: var(--paper-ink);
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.is-stuck,
.site-header--solid {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line-on-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper-ink);
}

.site-nav {
  margin-left: auto;
  margin-right: 0.5rem;
}

.brand-logo {
  display: block;
  width: 2.15rem;
  height: auto;
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand:hover {
  color: #fff;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.2rem;
}

.site-nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-ink-2);
  padding-block: 0.35rem;
  transition: color 0.25s var(--ease);
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible,
.site-nav a:not(.btn)[aria-current="page"] {
  color: var(--paper-ink);
}

.lang-switch {
  display: inline-flex;
  flex: none;
  gap: 0.15rem;
}

.lang-switch button {
  appearance: none;
  margin: 0;
  padding: 0.45rem 0.55rem;
  border: 0;
  background: transparent;
  color: var(--paper-ink-3);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0.4rem;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--gold);
  background: transparent;
}

.header-cta,
.nav-cta {
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.8125rem;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--paper-ink);
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.nav-toggle-bars::before {
  transform: translateY(-6px);
}

.nav-toggle-bars::after {
  transform: translateY(6px);
}

.nav-open .nav-toggle-bars {
  background: transparent;
}

.nav-open .nav-toggle-bars::before {
  transform: rotate(45deg);
}

.nav-open .nav-toggle-bars::after {
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Home hero
   -------------------------------------------------------------------------- */

.hero,
.coming {
  position: relative;
  min-height: min(100svh, 58rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  background-color: var(--bg);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  color: var(--paper-ink);
}

/* Swap with data-hero-bg="1" | "2" | "3" on .hero */
.hero[data-hero-bg="1"] {
  background-image: url("../assets/hero/bg-1.jpg");
}

.hero[data-hero-bg="2"] {
  background-image: url("../assets/hero/bg-2.jpg");
}

.hero[data-hero-bg="3"] {
  background-image: url("../assets/hero/bg-3.jpg");
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(22, 22, 22, 0.88) 0%,
      rgba(22, 22, 22, 0.62) 36%,
      rgba(22, 22, 22, 0.28) 68%,
      rgba(22, 22, 22, 0.4) 100%
    ),
    linear-gradient(
      180deg,
      rgba(22, 22, 22, 0.5) 0%,
      transparent 32%,
      rgba(22, 22, 22, 0.55) 100%
    );
}

.hero-grid,
.coming-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid,
  .coming-content {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
    gap: 4rem;
  }
}

.hero h1,
.coming h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.65rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 18ch;
}

.hero .lead,
.coming .lead {
  margin-top: 1.5rem;
}

.hero .actions,
.coming .actions {
  margin-top: 2rem;
}

.device {
  justify-self: center;
  width: min(100%, 17.5rem);
  padding: 0.7rem;
  background: #0c0c0c;
  border-radius: 2rem;
  box-shadow: var(--shadow-device);
}

.hero .device {
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(243, 193, 20, 0.22),
    0 0 48px rgba(243, 193, 20, 0.1);
}

.device img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.4rem;
}

.coming-grid,
.coming-mark,
.coming-veil {
  display: none;
}

.coming-spec {
  display: none;
}

.coming-rail {
  display: none;
}

/* --------------------------------------------------------------------------
   8. Stats strip
   -------------------------------------------------------------------------- */

.stats {
  background: var(--bg-2);
  color: var(--paper-ink);
  border-top: 1px solid var(--line-on-dark);
}

.stats dl {
  display: grid;
  margin: 0;
}

@media (min-width: 760px) {
  .stats dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stats div {
  padding-block: clamp(1.5rem, 3vw, 2.35rem);
}

@media (min-width: 760px) {
  .stats div + div {
    padding-left: 2rem;
    margin-left: 2rem;
    border-left: 1px solid var(--line-on-dark);
  }
}

.stats dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-ink-3);
}

.stats dd {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1.1;
}

.stats .stats-note {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--paper-ink-2);
}

/* --------------------------------------------------------------------------
   9. Inner page hero
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.25rem));
  padding-bottom: clamp(3rem, 7vw, 5.25rem);
  background: var(--bg);
  color: var(--paper-ink);
}

.page-hero h1 {
  margin-top: 1.15rem;
  font-size: clamp(2.5rem, 6.2vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 14ch;
}

.page-hero--wide h1 {
  max-width: 16ch;
}

.page-hero .lead {
  margin-top: 1.35rem;
}

.page-hero .actions {
  margin-top: 2rem;
}

.page-hero--iching,
.page-hero--p2r,
.page-hero--flex,
.page-hero--contact,
.page-hero--products,
.page-hero--services,
.page-hero--about {
  background-color: var(--bg);
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero--iching {
  background-image: url("../assets/hero/bg-3.jpg");
  background-position: right center;
}

.page-hero--p2r {
  background-image: url("../assets/hero/bg-permit2route.jpg");
  background-position: right center;
}

.page-hero--flex {
  background-image: url("../assets/hero/bg-flextron.jpg");
  background-position: right center;
}

.page-hero--contact {
  min-height: min(52svh, 32rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: url("../assets/hero/bg-2.jpg");
  background-position: right 42%;
}

.page-hero--products {
  min-height: min(52svh, 32rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: url("../assets/hero/bg-urunler.jpg");
  background-position: right center;
}

.page-hero--services {
  min-height: min(58svh, 36rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: url("../assets/hero/bg-servisler.jpg");
  background-position: right center;
}

.page-hero--about {
  min-height: min(52svh, 32rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: url("../assets/hero/bg-hakkimizda.jpg");
  background-position: right center;
}

.page-hero--about h1 {
  max-width: 18ch;
}

.page-hero--legal h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 5.2vw, 3.65rem);
}

.page-hero--legal .lead {
  max-width: 54ch;
}

.legal-doc {
  max-width: 46rem;
}

.legal-doc[hidden] {
  display: none !important;
}

.legal-doc h2 {
  margin-top: 2.35rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -0.02em;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc h3 {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.legal-doc p {
  margin-top: 0.9rem;
  color: var(--ink-2);
  font-size: 1.0125rem;
  line-height: 1.7;
}

.legal-doc h2 + p,
.legal-doc h3 + p {
  margin-top: 0.75rem;
}

.legal-doc ul {
  margin: 0.85rem 0 0 1.2rem;
  padding: 0;
  list-style: disc;
  color: var(--ink-2);
}

.legal-doc li {
  margin-top: 0.4rem;
  font-size: 1.0125rem;
  line-height: 1.65;
}

.legal-doc li::marker {
  color: var(--gold);
}

.legal-doc strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-doc code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.legal-doc a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-doc a:hover {
  color: var(--gold);
}

.legal-doc ol {
  margin: 0.85rem 0 1.25rem;
  padding-left: 1.25rem;
}

.legal-doc ol li {
  margin: 0.35rem 0;
}

.legal-doc .sheet-wrap {
  margin: 1rem 0 1.35rem;
}

.legal-doc .sheet {
  min-width: 28rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-links a {
  font-size: 0.8125rem;
  color: var(--paper-ink-3);
  transition: color 0.25s var(--ease);
}

.footer-legal-links a:hover,
.footer-legal-links a[aria-current="page"] {
  color: var(--gold);
}

.page-hero--iching::before,
.page-hero--p2r::before,
.page-hero--flex::before,
.page-hero--contact::before,
.page-hero--products::before,
.page-hero--services::before,
.page-hero--about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(22, 22, 22, 0.82) 0%,
      rgba(22, 22, 22, 0.48) 40%,
      rgba(22, 22, 22, 0.16) 72%,
      rgba(22, 22, 22, 0.28) 100%
    ),
    linear-gradient(
      180deg,
      rgba(22, 22, 22, 0.42) 0%,
      transparent 34%,
      rgba(22, 22, 22, 0.38) 100%
    );
}

.page-hero--iching .product-hero-grid,
.page-hero--p2r .product-hero-grid,
.page-hero--flex .product-hero-grid,
.page-hero--contact .shell,
.page-hero--products .shell,
.page-hero--services .shell,
.page-hero--about .shell {
  position: relative;
  z-index: 1;
}

.page-hero--iching .shot-frame,
.page-hero--p2r .shot-frame,
.page-hero--flex .shot-frame {
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(243, 193, 20, 0.22),
    0 0 48px rgba(243, 193, 20, 0.1);
}

.about-copy {
  display: grid;
  gap: 1.15rem;
  max-width: 66ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about-copy p {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.iching-intro {
  display: grid;
  gap: 1.85rem;
  max-width: 66ch;
}

.iching-intro h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.iching-intro-body {
  display: grid;
  gap: 0.85rem;
}

.iching-intro p,
.iching-intro li {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.iching-intro ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.iching-intro li {
  position: relative;
  padding-left: 1.15rem;
}

.iching-intro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.iching-intro li + li {
  margin-top: 0.25rem;
}

.section--sunk .iching-intro p,
.section--sunk .iching-intro li {
  color: var(--ink-2);
}

.section--dark .about-copy p,
.section--sunk .about-copy p {
  color: var(--paper-ink-2);
}

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */

.cell {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--paper-3);
  border-radius: var(--radius);
  min-height: 100%;
  transition: transform 0.35s var(--ease);
}

.section--sunk .cell {
  background: var(--paper-3);
}

.section--dark .cell {
  background: var(--bg-3);
}

@media (hover: hover) {
  .cell:hover {
    transform: translateY(-3px);
  }
}

.cell h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

.cell p {
  color: var(--ink-2);
  font-size: 0.9875rem;
  line-height: 1.65;
}

.section--dark .cell p {
  color: var(--paper-ink-2);
}

.cell .tlink {
  margin-top: 0.5rem;
  justify-self: start;
}

.ticks::before,
.ticks::after {
  display: none;
}

/* --------------------------------------------------------------------------
   11. Error
   -------------------------------------------------------------------------- */

.err {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: 78svh;
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--paper-ink);
}

.err--photo {
  background-image: url("../assets/hero/bg-404.jpg");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.err--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(22, 22, 22, 0.82) 0%,
      rgba(22, 22, 22, 0.5) 42%,
      rgba(22, 22, 22, 0.18) 78%,
      rgba(22, 22, 22, 0.3) 100%
    ),
    linear-gradient(
      180deg,
      rgba(22, 22, 22, 0.42) 0%,
      transparent 34%,
      rgba(22, 22, 22, 0.4) 100%
    );
}

.err .shell {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  padding-block: 3rem;
}

.err .lead {
  color: var(--paper-ink-2);
}

.err-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 18vw, 12rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--gold);
}

.err h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

/* --------------------------------------------------------------------------
   12. Catalog, contact, forms
   -------------------------------------------------------------------------- */

.sheet-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--paper-3);
}

.sheet {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.9875rem;
}

.sheet th,
.sheet td {
  padding: 1.05rem 1.2rem;
  text-align: left;
  vertical-align: top;
}

.sheet th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}

.sheet td {
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.sheet tbody tr:last-child td {
  border-bottom: 0;
}

.sheet a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}

.sheet td:first-child {
  font-weight: 600;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  width: 4.5rem;
}

.sheet .sheet-status {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.contact-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: start;
  }
}

.contact-block + .contact-block {
  margin-top: 2rem;
}

.contact-block h2 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.7rem;
}

.contact-block address {
  font-style: normal;
  color: var(--ink-2);
  line-height: 1.7;
}

.contact-block a {
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
}

.contact-legal {
  color: var(--ink);
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  min-height: 22rem;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 22rem;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field + .field {
  margin-top: 1.1rem;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.field input,
.field textarea {
  width: 100%;
  margin: 0;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: 0.9rem;
  background: var(--paper-3);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  border-color: transparent;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  max-width: 46ch;
}

.form-status.is-ok {
  color: #2c6a4a;
}

.form-status.is-error {
  color: #9a3b2f;
}

.field--honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.btn:disabled {
  opacity: 0.55;
  pointer-events: none;
}

.form-actions {
  margin-top: 1.5rem;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.cta-band .lead {
  color: inherit;
}

.section--dark .cta-band .lead,
.section--dark .sec-head .lead {
  color: var(--paper-ink-2);
}

.form-heading {
  margin: 0.75rem 0 1.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 16ch;
}

.form-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  background: var(--paper-3);
  border-radius: var(--radius);
}

.form-card .field input,
.form-card .field textarea {
  background: var(--paper);
}

.cell a:not(.tlink) {
  color: inherit;
  border-bottom: 2px solid var(--gold);
}

/* --------------------------------------------------------------------------
   12b. Services
   -------------------------------------------------------------------------- */

.svc-tabs {
  display: grid;
  gap: 2rem;
}

.svc-tablist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.svc-tab {
  appearance: none;
  margin: 0 0 -1px;
  padding: 1rem 0.65rem 1.1rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
  cursor: pointer;
}

.svc-tab:hover {
  color: var(--ink);
}

.svc-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.svc-panels {
  display: grid;
  gap: 1.5rem;
}

.js .svc-panel[hidden] {
  display: none;
}

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

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

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  padding: 1.35rem 2.5rem 1.35rem 0;
  position: relative;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-a {
  padding: 0 0 1.5rem;
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 0.9875rem;
  line-height: 1.65;
}

.faq-a p + p,
.faq-a p + ul,
.faq-a ul + p {
  margin-top: 0.65rem;
}

.faq-a ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.faq-a li {
  margin: 0.28rem 0;
}

@media (max-width: 759px) {
  .svc-tablist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   13. Product
   -------------------------------------------------------------------------- */

.crumb {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--paper-ink-3);
  margin-bottom: 1.1rem;
}

.crumb a {
  color: var(--paper-ink-2);
}

.crumb a:hover {
  color: var(--gold);
}

.product-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .product-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 16.5rem);
    gap: 4rem;
  }
}

.shot-frame {
  justify-self: start;
  width: min(100%, 16.5rem);
  padding: 0.65rem;
  background: #0c0c0c;
  border-radius: 1.75rem;
  box-shadow: var(--shadow-device);
}

.shot-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.2rem;
}

.shot-frame figcaption {
  padding: 0.85rem 0.4rem 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-ink-3);
  line-height: 1.5;
}

.section .shot-frame figcaption {
  color: var(--ink-3);
}

.shot-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .shot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
  }
}

@media (min-width: 1100px) {
  .shot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.feature-split {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.feature-split--start {
  align-items: start;
}

@media (min-width: 900px) {
  .feature-split {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 16.5rem);
    gap: 4rem;
  }

  .feature-split--flip {
    grid-template-columns: minmax(14rem, 16.5rem) minmax(0, 1fr);
  }

  .feature-split--flip .shot-frame {
    order: -1;
  }
}

.feature-copy h2,
.feature-copy h3 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  margin: 0.7rem 0 1rem;
}

.cast-block {
  display: grid;
  gap: 0.85rem;
}

.cast-block p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.cast-block ul {
  margin-top: 0;
}

.feature-copy .cast-detail h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0;
}

.feature-copy > .cast-detail:first-of-type h3 {
  margin-top: 0.35rem;
}

.cast-detail ul {
  margin-top: 0.75rem;
}

.feature-copy .lead {
  max-width: 46ch;
}

.feature-copy ul {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.7rem;
}

.feature-copy li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-2);
  font-size: 0.9875rem;
  line-height: 1.65;
}

.section--dark .feature-copy li {
  color: var(--paper-ink-2);
}

.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.product-list {
  display: grid;
  gap: 1.25rem;
}

.cell-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 0.25rem;
}

.cell .cell-links .tlink {
  margin-top: 0;
}

.product-teaser {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  background: var(--paper-3);
  border-radius: var(--radius);
  color: inherit;
  transition: transform 0.35s var(--ease);
}

@media (hover: hover) {
  .product-teaser:hover {
    transform: translateY(-3px);
  }
}

@media (min-width: 760px) {
  .product-teaser {
    grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr);
    gap: 2.25rem;
  }
}

.product-teaser .device {
  width: min(100%, 12.5rem);
}

.product-teaser h3 {
  font-size: 1.75rem;
  margin: 0.25rem 0 0.7rem;
}

.product-teaser .tlink {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--bg);
  color: var(--paper-ink);
  padding-block: clamp(3.25rem, 6vw, 5rem) 2rem;
  border-top: 1px solid var(--line-on-dark);
}

.footer-top {
  display: grid;
  gap: 2.75rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-on-dark);
}

@media (min-width: 760px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

@media (min-width: 1080px) {
  .footer-top {
    grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr));
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper-ink);
}

.footer-brand .brand-logo {
  width: 1.85rem;
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-legal-name {
  margin-top: 1.15rem;
  max-width: 28ch;
  color: var(--paper-ink-2);
  font-size: 0.9875rem;
  line-height: 1.5;
}

.footer-col address {
  font-style: normal;
  font-size: 0.9875rem;
  line-height: 1.65;
  color: var(--paper-ink-2);
}

.footer-col h2 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-ink-3);
  margin-bottom: 1.15rem;
}

.footer-col li + li {
  margin-top: 0.7rem;
}

.footer-col a {
  font-size: 0.9875rem;
  color: var(--paper-ink-2);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social-ico {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.75rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--paper-ink-3);
  max-width: 64ch;
}

/* --------------------------------------------------------------------------
   15. Reveal
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .lattice--2,
  .lattice--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1180px) and (min-width: 861px) {
  .site-nav ul {
    gap: 0.1rem 0.9rem;
  }

  .site-nav a:not(.btn) {
    font-size: 0.75rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 4.35rem;
  }

  .header-cta {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 1.75rem;
    align-self: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 1.25rem var(--gutter) 2.5rem;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow: auto;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-open .site-nav {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-open {
    overflow: hidden;
  }

  .site-nav ul {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav li {
    width: 100%;
    border-bottom: 1px solid var(--line-on-dark);
  }

  .site-nav a:not(.btn) {
    display: block;
    padding: 1.1rem 0;
    font-size: 1.05rem;
  }

  .hero,
  .coming {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero::before,
  .page-hero--iching::before,
  .page-hero--p2r::before,
  .page-hero--flex::before,
  .page-hero--contact::before,
  .page-hero--products::before,
  .page-hero--services::before,
  .page-hero--about::before,
  .err--photo::before {
    background:
      linear-gradient(
        180deg,
        rgba(22, 22, 22, 0.72) 0%,
        rgba(22, 22, 22, 0.5) 42%,
        rgba(22, 22, 22, 0.72) 100%
      );
  }
}

@media (max-width: 759px) {
  .actions .btn {
    flex: 1 1 auto;
  }

  .stats div + div {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid var(--line-on-dark);
  }

  .shot-frame,
  .product-teaser .device {
    justify-self: center;
  }
}

/* --------------------------------------------------------------------------
   17. Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .skip-link,
  .nav-toggle,
  .map-embed,
  .header-cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
