/* Design tokens: every size, weight, tone and spacing value below comes from here */
:root {
  /* Color */
  --bg: #000;
  --fg: rgba(255, 255, 255, 0.92);
  --white: #fff;
  --muted: rgba(255, 255, 255, 0.72);   /* 10:1 on black: secondary text */
  --faint: rgba(255, 255, 255, 0.55);   /* 6.2:1 on black: labels, meta */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.2);
  --surface: rgba(255, 255, 255, 0.02);
  --accent: #3b4cff;
  --danger: #ff6b6b;

  /* Product colors, sampled from the key visuals; *-bg is the visual's ground, the plain token is the readable accent */
  --arc: #8fbf7a;
  --arc-bg: #142212;
  --pro: #d98a96;
  --pro-bg: #290b11;
  --vm: #7fb0de;
  --vm-bg: #122637;

  /* Type scale: base 16, ratio 1.25 */
  --font: "Montserrat", system-ui, sans-serif;
  --fs-label: 0.75rem;                                 /* 12 */
  --fs-small: 0.875rem;                                /* 14 */
  --fs-body: 1rem;                                     /* 16 */
  --fs-lead: 1.25rem;                                  /* 20 */
  --fs-h4: clamp(1.25rem, 1.8vw, 1.5625rem);           /* 20 → 25 */
  --fs-h3: clamp(1.5rem, 2.4vw, 1.953rem);             /* 24 → 31 */
  --fs-h2: clamp(1.75rem, 3vw, 2.441rem);              /* 28 → 39 */
  --fs-display: clamp(2rem, 3.6vw, 3.052rem);          /* 32 → 49 */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-bold: 600;
  --lh-tight: 1.2;
  --lh-body: 1.6;
  --track-tight: -0.02em;
  --track-label: 0.18em;                               /* uppercase labels */
  --track-ui: 0.12em;                                  /* buttons, menu */

  /* Spacing: 8px base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --section-pad: clamp(64px, 8vw, 96px);     /* every content section, top and bottom */

  /* Layout */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Keyboard focus is always visible */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Skip link: hidden until focused with the keyboard */
.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 100;
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
  background: var(--white);
  color: var(--bg);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; }

h1, h2, h3 {
  margin: 0 0 var(--space-3);
  color: var(--white);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  text-wrap: balance;
}
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-lead); }

p { margin: 0 0 var(--space-3); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 760px; }
.center { text-align: center; }

.eyebrow {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--white);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
  color: var(--white);
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: var(--white); color: var(--bg); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px var(--gutter);
  pointer-events: none;
}
.site-header {
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-block: var(--space-3);
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  pointer-events: auto;
}
.site-header > * { pointer-events: auto; }
.logo img { height: 44px; width: auto; transition: height 0.3s ease; }
.site-header.is-scrolled .logo img { height: 36px; }

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.header-clock { color: var(--faint); font-weight: var(--fw-regular); font-variant-numeric: tabular-nums; }
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font: inherit;
  letter-spacing: var(--track-ui);
  text-transform: inherit;
  cursor: pointer;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 12px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -4px; }
.menu-icon::after { top: 4px; }
.menu-open .menu-icon { background: transparent; }
.menu-open .menu-icon::before { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-icon::after { transform: translateY(-4px) rotate(-45deg); }

/* Menu: full-height gradient side bar on the right; links start under the Menu button (--menu-top set in main.js) */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  width: min(320px, 85vw);
  padding: var(--menu-top, 110px) var(--gutter) var(--space-5);
  border-left: 1px solid var(--line);
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(59, 76, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(18, 18, 24, 0.97) 0%, rgba(8, 8, 12, 0.97) 55%, rgba(0, 0, 0, 0.98) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
}
.menu-open .menu-overlay { visibility: visible; transform: none; }
.menu-overlay ul { list-style: none; margin: 0; padding: 0; }
.menu-overlay > ul > li {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.menu-open .menu-overlay > ul > li { opacity: 1; transform: none; }
.menu-open .menu-overlay > ul > li:nth-child(1) { transition-delay: 0.1s; }
.menu-open .menu-overlay > ul > li:nth-child(2) { transition-delay: 0.14s; }
.menu-open .menu-overlay > ul > li:nth-child(3) { transition-delay: 0.18s; }
.menu-open .menu-overlay > ul > li:nth-child(4) { transition-delay: 0.22s; }
.menu-overlay a,
.menu-group {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
  color: var(--white);
  transition: background 0.2s;
}
.menu-overlay a:hover,
.menu-overlay a:focus-visible { background: rgba(255, 255, 255, 0.06); outline: none; }
.menu-overlay a[aria-current="page"] { color: var(--white); box-shadow: inset 2px 0 0 var(--white); }
.menu-group { color: var(--faint); padding-bottom: var(--space-2); }
.menu-sub { padding: 0 0 var(--space-3) var(--space-6) !important; }
.menu-overlay .menu-sub a {
  padding: var(--space-2) var(--space-2);
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.menu-overlay .menu-sub a:hover,
.menu-overlay .menu-sub a[aria-current="page"] { color: var(--white); }
.menu-overlay a span,
.menu-group span {
  font-size: var(--fs-label);
  font-weight: var(--fw-regular);
  letter-spacing: var(--track-ui);
  color: var(--faint);
}

/* Hero */
.hero { position: relative; height: 150vh; }
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 var(--gutter);
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-slide.is-active { opacity: 1; transform: none; }
.hero-slide p { max-width: 640px; color: var(--muted); font-size: var(--fs-lead); }

/* Products intro */
.section { padding-block: var(--section-pad); border-top: 1px solid var(--line); }
.section-head > * { max-width: 760px; }
.section-head h2 { margin-bottom: var(--space-3); }
.products-intro .section-head p { margin: 0; color: var(--muted); font-size: var(--fs-lead); }
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
  margin-top: var(--space-5);
}

/* Cards fade in as they scroll into view (only when JS runs, so they never stay hidden) */
.js .product-card {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.7s ease, translate 0.7s ease, border-color 0.4s ease, transform 0.4s ease;
}
.js .product-card.is-visible { opacity: 1; translate: 0 0; }
.js .product-card:nth-child(2) { transition-delay: 0.12s, 0.12s, 0s, 0s; }
.js .product-card:nth-child(3) { transition-delay: 0.24s, 0.24s, 0s, 0s; }
/* Product cards: three side by side; the media box has the videos' own shape (1048×484) so they play
   uncropped, with the text underneath. Hover (or focus) swaps the image for the video and lifts the card. */
.product-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  outline: none;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.product-card:focus-visible { border-color: var(--brand, var(--white)); }
.product-card-media {
  position: relative;
  aspect-ratio: 1048 / 484;
  max-width: 100%;
}
.product-card img,
.product-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.8s ease;
}
.product-card video { opacity: 0; }
.product-card-shade { display: none; }
.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-4);
}
.product-card-body .btn { align-self: flex-start; margin-top: auto; }
.product-card--arc { --brand: var(--arc); }
.product-card--pro { --brand: var(--pro); }
.product-card--vm { --brand: var(--vm); }
.product-card-body .eyebrow { margin-bottom: var(--space-2); color: var(--brand, var(--faint)); }
.product-card-body p:not(.eyebrow) { margin-bottom: var(--space-4); }
.product-card-body h3 { font-size: var(--fs-h4); }
.product-card-body p:not(.eyebrow):not(.tagline) { margin-bottom: var(--space-2); color: var(--muted); transition: color 0.4s ease; }
.product-card-body .tagline { margin: var(--space-2) 0 var(--space-4); color: var(--white); font-weight: var(--fw-regular); }

.product-card.is-active { border-color: var(--brand, var(--line-strong)); transform: translateY(-4px); }
.product-card.is-active img { opacity: 0; transform: scale(1.04); }
.product-card.is-active video { opacity: 1; }
.product-card.is-active .product-card-body p:not(.eyebrow):not(.tagline) { color: var(--fg); }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: var(--space-7);
  align-items: start;
}
.process-head { position: sticky; top: 120px; }
.process .lead { margin: 0; color: var(--muted); font-size: var(--fs-lead); }
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--space-5);
  border-left: 1px solid var(--line-strong);
}
.timeline li { position: relative; padding-bottom: var(--space-6); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-5) - 4px);
  top: 4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: var(--bg);
}
.timeline .eyebrow { margin-bottom: var(--space-2); color: var(--faint); }
.timeline h3 { margin-bottom: var(--space-2); }
.timeline p:not(.eyebrow) { max-width: 640px; color: var(--muted); }

/* FAQ */
.faq-title { margin-bottom: var(--space-5); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6) var(--space-4) 0;
  position: relative;
  list-style: none;
  cursor: pointer;
  color: var(--white);
  font-size: var(--fs-lead);
  font-weight: var(--fw-regular);
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  transition: transform 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .num { font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--track-ui); color: var(--faint); min-width: var(--space-4); }
.faq details p { max-width: 72ch; padding: 0 var(--space-6) var(--space-4) var(--space-6); color: var(--muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.contact-grid > div:first-child p:not(.eyebrow) { margin-bottom: var(--space-5); color: var(--muted); max-width: 440px; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.contact-card .eyebrow { margin: var(--space-4) 0 var(--space-1); color: var(--faint); }
.contact-card .eyebrow:first-child { margin-top: 0; }
.contact-card a, .contact-card p { margin: 0; font-weight: var(--fw-regular); color: var(--white); }
.contact-card a:hover { opacity: 0.7; }
.contact-card .contact-link {
  margin-top: var(--space-4);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  padding: var(--section-pad) 0 var(--space-5);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}
.footer-brand { display: grid; gap: var(--space-4); justify-items: start; }
.footer-brand .logo img { height: 40px; }
.footer-global { display: flex; align-items: center; gap: var(--space-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.site-footer .eyebrow:not(.footer-global) { color: var(--faint); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-links li { font-size: var(--fs-body); font-weight: var(--fw-regular); color: var(--white); }
.footer-links li.muted { color: var(--faint); }
.footer-links li.sub { font-size: var(--fs-small); padding-left: var(--space-3); }
.footer-links a:hover { opacity: 0.6; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-7);
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--faint);
}
.footer-bottom a:hover { color: var(--white); }

/* Inner pages */
.page { padding: 140px 0 var(--section-pad); }
.page-title {
  margin-bottom: var(--space-2);
  font-size: var(--fs-h2);
}
.breadcrumb {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: var(--fs-small);
  color: var(--faint);
}
.breadcrumb a:hover { color: var(--white); }

/* Product pages */
.product-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}
.product-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-arc { --brand: var(--arc); --brand-bg: var(--arc-bg); }
.brand-pro { --brand: var(--pro); --brand-bg: var(--pro-bg); }
.brand-vm { --brand: var(--vm); --brand-bg: var(--vm-bg); }
.product-head .eyebrow { color: var(--brand); }
.product-head h1 { max-width: 18ch; margin-bottom: var(--space-5); }
.product-media {
  position: relative;
  aspect-ratio: 1048 / 484;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--brand-bg, #111);
}
.product-media img,
.product-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-7);
  align-items: start;
}
.product-lead { margin: 0; color: var(--white); font-size: var(--fs-h4); line-height: 1.45; }
.product-intro-grid p:not(.product-lead) { color: var(--muted); }
.product-intro-grid .tagline { margin: 0; color: var(--brand); font-weight: var(--fw-bold); }
.feature-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}
.feature {
  display: grid;
  gap: var(--space-2);
  align-content: start;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand);
  border-radius: 12px;
  background: var(--surface);
}
.feature-num { font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--track-ui); color: var(--faint); }
.feature h3 { margin: 0; }
.feature p { margin: 0; color: var(--muted); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.project { margin: 0; display: grid; gap: var(--space-3); }
.project-media {
  aspect-ratio: 16 / 10;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project.placeholder .project-media {
  display: grid;
  place-items: center;
  border-style: dashed;
  border-color: var(--line-strong);
  background: linear-gradient(135deg, var(--brand-bg, #111) 0%, #000 100%);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--faint);
}
.project figcaption { display: grid; gap: var(--space-1); }
.project figcaption strong { font-weight: var(--fw-bold); color: var(--white); }
.project figcaption span { font-size: var(--fs-small); color: var(--faint); }
.step-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.step-grid li { display: grid; gap: var(--space-2); align-content: start; padding-top: var(--space-4); border-top: 1px solid var(--line-strong); }
.step-grid .eyebrow { margin: 0; color: var(--brand); }
.step-grid h3 { margin: 0; }
.step-grid p { margin: 0; color: var(--muted); }

/* "Yakında" state for product pages whose project gallery is not ready yet */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--brand, var(--line-strong));
  border-radius: 999px;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--brand, var(--white));
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse { 50% { opacity: 0.3; } }
.coming-card {
  display: grid;
  justify-items: start;
  gap: var(--space-3);
  padding: clamp(var(--space-5), 5vw, var(--space-7));
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-bg, #111) 0%, #000 70%);
}
.coming-card .badge { margin: 0; }
.coming-card h2 { margin: 0; }
.coming-card p { max-width: 56ch; margin: 0 0 var(--space-3); color: var(--muted); }

.not-found { min-height: 70vh; }
.not-found h1 { max-width: 16ch; }
.not-found .lead { max-width: 56ch; color: var(--muted); font-size: var(--fs-lead); }
.not-found-links { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.about-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-ui);
  text-align: center;
  line-height: 1.8;
}
.about-copy p { color: var(--muted); }
.about-copy p.strong { color: var(--white); font-size: var(--fs-lead); }
.about-block {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.about-block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.about-block-head h2 { margin: 0; font-size: var(--fs-lead); letter-spacing: 0; }
.about-block-head span { font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--faint); }
.about-foot {
  margin-top: var(--space-6);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--faint);
}

/* Contact page */
.contact-page-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-aside { text-align: left; }
.contact-aside p:not(.eyebrow) { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--white);
}
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: var(--fw-light);
  outline: none;
  transition: border-color 0.2s;
}
.field select { appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='white' stroke-opacity='.6'/%3E%3C/svg%3E") no-repeat right center; }
.field select option { background: #111; color: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--white); }
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}
.form-actions button { cursor: pointer; background: none; font-family: inherit; }
.form-actions button:disabled { opacity: 0.5; cursor: progress; }
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: var(--space-4) 0 0; font-size: var(--fs-small); }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { color: var(--arc); }
.form-status[data-state="error"] { color: var(--danger); }
.form-actions p { margin: 0; font-size: var(--fs-small); color: var(--muted); }
.form-actions p a { color: var(--white); }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.post-list { display: flex; flex-direction: column; gap: var(--space-5); }
.post-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.25s;
}
.post-card:hover { border-color: var(--line-strong); }
.post-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #111; }
.post-card h2 { font-size: var(--fs-h4); margin-bottom: var(--space-2); }
.post-card p:not(.eyebrow) { margin: 0; color: var(--muted); }
.post-card .eyebrow { margin-bottom: var(--space-2); color: var(--faint); }
.sidebar { display: flex; flex-direction: column; gap: var(--space-6); }
.sidebar h3 { font-size: var(--fs-body); margin-bottom: var(--space-3); }
.sidebar input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: var(--fs-small);
  outline: none;
}
.sidebar input:focus { border-color: var(--white); }
.recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.recent a { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-3); align-items: center; }
.recent img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #111; }
.recent strong { display: block; font-size: var(--fs-small); font-weight: var(--fw-regular); color: var(--white); line-height: 1.4; }
.recent time { font-size: var(--fs-label); color: var(--faint); }
.recent a:hover strong { opacity: 0.7; }
.cats { list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); }
.cats li { display: flex; justify-content: space-between; padding: var(--space-2) 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tags span { padding: var(--space-1) var(--space-3); border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-label); color: var(--muted); }

/* Blog post */
.post { max-width: 760px; margin: 0 auto; }
.post-meta { display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-3); }
.post-meta .eyebrow { margin: 0; }
.post-meta time { font-size: var(--fs-small); color: var(--faint); }
.post h1 { font-size: var(--fs-h2); margin-bottom: var(--space-6); }
.post-cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-bottom: var(--space-6); background: #111; }
.post-body p { color: var(--muted); line-height: 1.8; margin-bottom: var(--space-4); }
.post-back { display: inline-block; margin-top: var(--space-5); }

/* Responsive */
@media (max-width: 900px) {
  .product-cards { grid-template-columns: minmax(0, 1fr); max-width: calc(560px + 2 * var(--gutter)); }
  .about-grid, .contact-page-grid, .blog-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; }
  .contact-aside { order: -1; }
  .process-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .process-head { position: static; }
  .product-intro-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .feature-grid, .project-grid { grid-template-columns: minmax(0, 1fr); }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .header-mail { display: none; }
  .logo img { height: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: var(--fs-body); }
  .faq details p { padding: 0 0 var(--space-4) 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .product-card { opacity: 1; translate: 0 0; }
  .badge::before { animation: none; }
  .hero-slide, .product-card, .product-card img, .product-card video, .product-card-body p,
  .menu-overlay, .menu-overlay li { transition: none; }
}
