/* Shared chrome for the symmetry concept pages (index-*.html). Each page sets its own palette via :root vars. */
:root {
  --bg: #0a0a0a; --ink: #f5f5f5; --muted: #9a9a9a; --accent: #ffffff; --line: rgba(255, 255, 255, 0.14);
  --font-head: Outfit, sans-serif; --font-body: Outfit, sans-serif; --mono: "IBM Plex Mono", monospace; --radius: 0px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.style-bar {
  position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; gap: 5px; justify-content: center;
  padding: 7px 10px; background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.style-bar a { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.style-bar a.on { background: var(--accent); color: var(--bg); font-weight: 700; border-color: var(--accent); }

.skip {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip:focus, .skip:focus-visible {
  position: fixed; left: 12px; top: 12px; z-index: 80; width: auto; height: auto;
  margin: 0; clip: auto; overflow: visible; white-space: nowrap;
  padding: 10px 14px; background: var(--ink); color: var(--bg);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.site-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 4vw; position: relative; z-index: 10; }
.logo { display: flex; align-items: center; gap: 12px; letter-spacing: 0.3em; font-size: 12px; font-weight: 700; font-family: var(--font-head); }
.logo img { width: 26px; }
body.light .logo img { filter: invert(1); }
.site-head nav { display: flex; gap: 26px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.site-head nav a:hover { color: var(--accent); }
.head-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 4px; font-size: 11px; letter-spacing: 0.2em; }
.lang-btn {
  cursor: pointer; opacity: 0.4; background: none; border: 0; color: inherit;
  font: inherit; letter-spacing: inherit; padding: 10px 6px; min-height: 44px;
}
.lang-btn.active { opacity: 1; color: var(--accent); }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer; place-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); }
.btn { display: inline-block; padding: 14px 26px; border: 1px solid var(--accent); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; border-radius: var(--radius); transition: 0.3s; font-family: var(--mono); }
.btn:hover { background: var(--accent); color: var(--bg); }
.btn.solid { background: var(--accent); color: var(--bg); }
.btn.solid:hover { opacity: 0.85; }

.hero { position: relative; min-height: 92vh; display: grid; place-items: center; text-align: center; padding: 60px 4vw; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; width: min(900px, 92vw); }
.hero h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: 0.92; margin: 18px 0; letter-spacing: -0.03em; }
.hero p { color: var(--muted); max-width: 580px; margin: 0 auto; line-height: 1.7; font-size: 1.05rem; }
.actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

.pin { height: 100vh; overflow: hidden; position: relative; }
.pin .label { position: absolute; top: 28px; left: 4vw; z-index: 5; }
.svc { border: 1px solid var(--line); padding: 40px; background: var(--bg); border-radius: var(--radius); }
.svc .n { font-family: var(--mono); color: var(--accent); font-size: 12px; letter-spacing: 0.3em; }
.svc h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); margin: 14px 0; line-height: 1; }
.svc p { color: var(--muted); line-height: 1.7; margin: 0; }

.section { padding: 120px 4vw; width: min(1200px, 100%); margin: 0 auto; }
.section h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 0.95; letter-spacing: -0.02em; margin: 12px 0 50px; text-align: center; }
.section .kicker { display: block; text-align: center; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-grid a { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.work-grid img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.7); transition: 0.6s; transform: scale(1.02); }
.work-grid a:hover img { filter: none; transform: scale(1.08); }
.work-grid span { position: absolute; left: 16px; bottom: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; padding: 6px 10px; background: var(--bg); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 26px 4vw; border-right: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); margin-bottom: 6px; }

footer { text-align: center; padding: 120px 4vw; border-top: 1px solid var(--line); position: relative; z-index: 2; background: var(--bg); }
footer h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); margin: 0 0 30px; letter-spacing: -0.02em; line-height: 0.95; }
footer .footer-cta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 14px;
}
footer .footer-cta .btn.solid { display: inline-flex; align-items: center; }
footer .ig {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 12px 22px 12px 12px; border: 1px solid var(--line); max-width: calc(100% - 8px);
  transition: border-color 0.35s ease, background 0.35s ease;
}
footer .ig-mark {
  width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--ink); color: var(--ink); transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
footer .ig-copy { text-align: left; }
footer .ig-copy em {
  display: block; font-style: normal; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
footer .ig-copy strong {
  display: block; font-family: var(--font-head); font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 400; letter-spacing: 0.01em; line-height: 1;
}
footer .ig:hover, footer .ig:focus-visible { border-color: var(--ink); }
footer .ig:hover .ig-mark, footer .ig:focus-visible .ig-mark {
  background: var(--ink); color: var(--bg); transform: rotate(-6deg);
}
footer .meta { margin-top: 50px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; }

@media (max-width: 820px) {
  .site-head { padding: 10px 4vw; flex-wrap: wrap; }
  .logo { letter-spacing: 0.16em; }
  .nav-toggle { display: grid; }
  .site-head nav {
    display: none; flex-direction: column; gap: 0; flex: 1 0 100%; order: 3;
    padding: 6px 0 12px; border-top: 1px solid var(--line); margin-top: 10px;
  }
  .site-head.is-open nav { display: flex; }
  .site-head nav a {
    padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px;
  }
  .hero { min-height: 100svh; padding: 28px 5vw 56px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { text-align: center; }
  .section { padding: 72px 5vw; }
  .section h2 { margin-bottom: 28px; }
  .kicker { letter-spacing: 0.16em; font-size: 10px; }
  .work-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { padding: 20px 5vw; }
  .stats div:nth-child(2) { border-right: 0; }
  footer { padding: 72px 5vw; }
  footer .footer-cta { flex-direction: column; align-items: stretch; }
  footer .ig { padding: 10px 16px 10px 10px; max-width: none; }
  footer .ig-mark { width: 42px; height: 42px; }
  footer .ig-copy em { letter-spacing: 0.18em; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
