@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/vazirmatn-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/vazirmatn-persian.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f5f5f2;
  --paper-deep: #e9e9e4;
  --white: #ffffff;
  --ink: #171717;
  --muted: #6d6d6d;
  --line: rgba(23, 23, 23, 0.14);
  --blue: #0b5ea8;
  --blue-soft: #cde5f7;
  --night: #101b2d;
  --container: 1240px;
  --radius: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open, body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding-block: 96px; }
section[id] { scroll-margin-top: 84px; }
.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: fixed;
  z-index: 100;
  top: 10px;
  right: 10px;
  padding: 8px 14px;
  color: var(--white);
  background: var(--night);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

/* Header */
.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  color: var(--ink);
  background: rgba(245, 245, 242, 0.84);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: background 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.94); box-shadow: 0 8px 30px rgba(20, 30, 40, 0.06); }
.header-inner { min-height: 70px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand-symbol {
  width: 44px;
  height: 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--white);
  border-radius: 8px;
}
.brand-symbol img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.brand-copy { display: grid; gap: 0; line-height: 1.15; }
.brand-copy strong { font-size: 0.92rem; font-weight: 800; letter-spacing: -0.04em; }
.brand-copy small { color: var(--muted); font: 600 0.48rem/1.2 "Manrope", sans-serif; letter-spacing: 0.13em; direction: ltr; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-inline: auto; }
.site-nav a { position: relative; padding-block: 7px; color: #555; font-size: 0.84rem; font-weight: 500; transition: color 180ms ease; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--blue); border-radius: 9px; transform: scaleX(0); transform-origin: center; transition: transform 180ms ease; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.site-nav a.active::after { transform: scaleX(1); }
.mobile-wholesale { display: none; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.header-phone svg, .button svg, .text-link svg { width: 18px; height: 18px; transition: transform 180ms ease; }
.header-phone:hover svg, .button:hover svg, .text-link:hover svg { transform: translateX(-3px); }
.menu-toggle { display: none; }

/* Shared type and actions */
.eyebrow, .kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.eyebrow span { width: 26px; height: 1px; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .contact-section .kicker, .about-closing .kicker { color: var(--blue-soft); }
.hero h1, .page-hero h1, .contact-section h2, .about-closing h2 { margin: 0; letter-spacing: -0.065em; line-height: 1.15; font-weight: 800; }
.hero h1 em, .page-hero h1 em { color: var(--blue-soft); font-style: normal; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--blue); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 0.88rem; font-weight: 700; }
.section-intro { max-width: 700px; }
.section-intro h2, .story-lead h2 { margin: 0; color: var(--ink); font-size: clamp(2.15rem, 5vw, 4.4rem); letter-spacing: -0.065em; line-height: 1.22; }
.section-intro > p:last-child { max-width: 480px; margin: 18px 0 0; color: var(--muted); font-size: 0.96rem; }

/* Home hero */
.hero {
  position: relative;
  min-height: min(860px, 100svh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
  isolation: isolate;
}
.hero-media, .hero-overlay, .page-hero-media, .page-hero-overlay { position: absolute; inset: 0; }
.sample-image-label { position: absolute; z-index: 2; top: max(82px, calc(env(safe-area-inset-top) + 76px)); right: max(16px, calc((100vw - 1240px) / 2)); padding: 7px 11px; color: rgba(255, 255, 255, 0.9); background: rgba(7, 17, 32, 0.58); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; font-size: 0.72rem; line-height: 1.4; backdrop-filter: blur(8px); pointer-events: none; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 50% 50%; transform: scale(1.03); animation: hero-drift 20s ease-out both; will-change: transform; }
.hero-overlay { z-index: -1; background: linear-gradient(180deg, rgba(6, 14, 25, 0.28) 8%, rgba(6, 14, 25, 0.38) 40%, rgba(7, 17, 32, 0.95) 100%); }
.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 40px), 1240px); flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 140px 34px; }
.hero-copy { max-width: 720px; text-shadow: 0 2px 18px rgba(3, 10, 20, 0.24); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
.hero-lead { max-width: 600px; margin: 22px 0 28px; color: rgba(255, 255, 255, 0.84); font-size: clamp(0.95rem, 1.5vw, 1.08rem); line-height: 2; }
.hero-specs { width: min(100%, 700px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, 0.34); }
.hero-spec { display: grid; gap: 2px; }
.hero-spec strong { font: 700 clamp(1.25rem, 2.6vw, 1.8rem)/1.25 "Manrope", "Vazirmatn", sans-serif; direction: rtl; }
.hero-spec span { color: rgba(255, 255, 255, 0.7); font-size: 0.72rem; }
.hero-bottom, .page-hero-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 26px; color: rgba(255, 255, 255, 0.72); font-size: 0.72rem; }
.hero-bottom a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; }
.hero-bottom a span { color: var(--blue-soft); font-size: 1.1rem; }

/* Home story */
.story-section { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(44px, 9vw, 150px); align-items: start; }
.story-lead h2 span { color: var(--blue); }
.story-copy { max-width: 500px; padding-top: 46px; }
.story-copy p, .about-copy p { margin: 0 0 20px; color: #424242; font-size: 1rem; line-height: 2.1; }
.story-copy .text-link { margin-top: 12px; }

/* Tetron uses */
.tetron-section { background: var(--paper-deep); }
.tetron-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(44px, 9vw, 150px); align-items: start; }
.tetron-section h2 span { color: var(--blue); }
.tetron-section .section-intro > p:last-child { max-width: 530px; color: #424242; line-height: 2.1; }
.tetron-uses { border-top: 1px solid rgba(23, 23, 23, 0.16); }
.tetron-use { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(23, 23, 23, 0.16); }
.tetron-use > span { color: var(--blue); font: 600 0.76rem/1 "Manrope", sans-serif; direction: ltr; }
.tetron-use h3 { margin: 0; color: var(--ink); font-size: clamp(1.05rem, 2vw, 1.3rem); letter-spacing: -0.04em; }
.tetron-use p { margin: 4px 0 0; color: var(--muted); font-size: 0.82rem; }

/* Specs */
.spec-section { background: var(--white); }
.spec-list { margin-top: 62px; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 22px; padding: 27px 0; border-bottom: 1px solid var(--line); transition: padding 220ms var(--ease), color 180ms ease; }
.spec-row:hover { padding-inline: 12px; color: var(--blue); }
.spec-index, .principle > span { color: var(--blue); font: 600 0.76rem/1 "Manrope", sans-serif; direction: ltr; }
.spec-row h3 { margin: 0; color: var(--ink); font-size: clamp(1.1rem, 2vw, 1.38rem); letter-spacing: -0.04em; }
.spec-row p { margin: 3px 0 0; color: var(--muted); font-size: 0.82rem; }
.spec-arrow { color: var(--blue); font: 1.35rem/1 "Manrope", sans-serif; }
.spec-callout { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 24px 0 0; color: var(--muted); font-size: 0.84rem; }
.spec-callout .text-link { margin-inline-start: 4px; }

/* Gallery */
.gallery-section { background: var(--paper); }
.gallery-intro { margin-bottom: 48px; }
.gallery-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); gap: 18px; }
.photo-frame { position: relative; min-height: 250px; margin: 0; overflow: hidden; background: var(--paper-deep); border-radius: var(--radius); cursor: zoom-in; isolation: isolate; }
.photo-feature { grid-row: span 2; min-height: 520px; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 650ms var(--ease), filter 650ms var(--ease); }
.photo-frame:hover img, .photo-frame:focus-visible img { transform: scale(1.045); filter: saturate(1.05); }
.photo-frame::after { content: ""; position: absolute; z-index: 1; inset: 42% 0 0; background: linear-gradient(180deg, transparent, rgba(4, 13, 25, 0.82)); pointer-events: none; }
.photo-frame figcaption { position: absolute; z-index: 2; right: 20px; bottom: 18px; left: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--white); }
.photo-frame figcaption strong { font-size: 0.98rem; }
.photo-frame figcaption span { color: rgba(255, 255, 255, 0.72); font-size: 0.7rem; }

/* Contact */
.contact-section, .about-closing { color: var(--white); background: var(--night); }
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(48px, 10vw, 160px); align-items: start; }
.contact-section h2, .about-closing h2 { font-size: clamp(2.25rem, 5vw, 4.8rem); }
.contact-section h2 span, .about-closing h2 span { color: var(--blue-soft); }
.contact-copy > p:not(.kicker) { max-width: 520px; margin: 24px 0 30px; color: rgba(255, 255, 255, 0.76); font-size: 0.95rem; line-height: 2; }
.contact-details { border-top: 1px solid rgba(255, 255, 255, 0.25); }
.contact-item { display: grid; gap: 5px; padding: 19px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.contact-item > span { color: rgba(255, 255, 255, 0.55); font-size: 0.74rem; }
.contact-item a, .contact-item strong { color: var(--white); font-size: 1.05rem; font-weight: 600; }
.contact-item a:hover { color: var(--blue-soft); }
.contact-item small { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.55); font-size: 0.68rem; font-weight: 400; }

/* About page */
.page-hero { position: relative; min-height: min(700px, 82svh); display: flex; flex-direction: column; overflow: hidden; color: var(--white); background: var(--night); isolation: isolate; }
.page-hero-media img { object-position: 52% 43%; filter: saturate(0.92) contrast(1.04) brightness(0.96); animation: hero-drift 18s ease-out both; will-change: transform; }
.page-hero-overlay { z-index: -1; background: linear-gradient(180deg, rgba(6, 14, 25, 0.28), rgba(7, 17, 32, 0.94) 100%); }
.page-hero-inner { position: relative; z-index: 1; width: min(calc(100% - 40px), 1240px); flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 150px 34px; text-shadow: 0 2px 18px rgba(3, 10, 20, 0.24); }
.page-hero h1 { font-size: clamp(2.85rem, 8vw, 6rem); }
.page-hero-inner > p:last-child { max-width: 580px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.8); font-size: 1rem; }
.page-hero-bottom { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.about-story { background: var(--paper); }
.about-story-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(44px, 9vw, 150px); }
.about-copy { padding-top: 46px; }
.about-image-section { padding-top: 0; background: var(--paper); }
.about-image-wrap { position: relative; height: clamp(300px, 50vw, 620px); overflow: hidden; border-radius: var(--radius); }
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.image-caption { position: absolute; right: 24px; bottom: 20px; left: 24px; z-index: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--white); }
.image-caption::before { content: ""; position: absolute; z-index: -1; inset: -80px -24px -20px; background: linear-gradient(180deg, transparent, rgba(4, 13, 25, 0.78)); }
.image-caption span { font-size: 0.96rem; font-weight: 700; }
.image-caption small { color: rgba(255, 255, 255, 0.68); font-size: 0.7rem; }
.about-metrics { background: var(--white); }
.metric-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-item { display: grid; gap: 6px; padding: 28px 22px; border-inline-start: 1px solid var(--line); }
.metric-item:first-child { border-inline-start: 0; }
.metric-item strong { color: var(--blue); font: 700 clamp(1.8rem, 4vw, 3rem)/1.2 "Manrope", "Vazirmatn", sans-serif; direction: rtl; font-variant-numeric: tabular-nums; }
.metric-item span { color: var(--muted); font-size: 0.82rem; }
.principles-section { background: var(--paper); }
.principle-list { margin-top: 52px; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.principle h3 { margin: 0; color: var(--ink); font-size: 1.2rem; }
.principle p { margin: 4px 0 0; color: var(--muted); font-size: 0.86rem; }
.closing-inner { display: flex; align-items: end; justify-content: space-between; gap: 36px; }

/* Footer and motion */
@keyframes hero-drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.085) translate3d(-0.7%, -0.35%, 0); }
}
@keyframes scroll-cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.site-footer { color: #555; background: var(--white); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px; min-height: 105px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.footer-brand strong { font-size: 0.88rem; }
.footer-symbol { width: 38px; height: 28px; border-radius: 6px; }
.footer-inner p { margin: 0; font-size: 0.74rem; }
.footer-phone { color: var(--blue); font-weight: 700; }
.footer-links { display: flex; gap: 19px; font-size: 0.74rem; }
.footer-links a:hover { color: var(--blue); }
.copyright { color: #888; font: 0.72rem "Manrope", sans-serif; direction: ltr; }
.back-to-top { position: fixed; z-index: 10; right: 18px; bottom: 18px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); background: var(--blue); border: 0; border-radius: 50%; box-shadow: 0 10px 24px rgba(11, 94, 168, 0.22); opacity: 0; visibility: hidden; transform: translateY(12px); cursor: pointer; transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }
.hero-bottom a span { animation: scroll-cue 2.4s ease-in-out infinite; }
.js .hero-copy > *, .js .hero-specs, .js .hero-bottom,
.js .page-hero-inner > *, .js .page-hero-bottom {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 440ms var(--ease), transform 440ms var(--ease);
}
.js .hero.is-ready .hero-copy > *, .js .hero.is-ready .hero-specs, .js .hero.is-ready .hero-bottom,
.js .page-hero.is-ready .page-hero-inner > *, .js .page-hero.is-ready .page-hero-bottom {
  opacity: 1;
  transform: none;
}
.js .hero.is-ready .hero-copy > :nth-child(1), .js .page-hero.is-ready .page-hero-inner > :nth-child(1) { transition-delay: 30ms; }
.js .hero.is-ready .hero-copy > :nth-child(2), .js .page-hero.is-ready .page-hero-inner > :nth-child(2) { transition-delay: 60ms; }
.js .hero.is-ready .hero-copy > :nth-child(3), .js .page-hero.is-ready .page-hero-inner > :nth-child(3) { transition-delay: 90ms; }
.js .hero.is-ready .hero-copy > :nth-child(4) { transition-delay: 120ms; }
.js .hero.is-ready .hero-specs { transition-delay: 150ms; }
.js .hero.is-ready .hero-bottom, .js .page-hero.is-ready .page-hero-bottom { transition-delay: 190ms; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 460ms var(--ease), transform 460ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .spec-list .reveal:nth-child(2), .js .metric-list .reveal:nth-child(2), .js .principle-list .reveal:nth-child(2), .js .gallery-grid .reveal:nth-child(2) { transition-delay: 90ms; }
.js .spec-list .reveal:nth-child(3), .js .metric-list .reveal:nth-child(3), .js .principle-list .reveal:nth-child(3), .js .gallery-grid .reveal:nth-child(3) { transition-delay: 180ms; }
.lightbox { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(4, 10, 18, 0.94); opacity: 0; transition: opacity 220ms ease; }
.lightbox.is-visible { opacity: 1; }
.lightbox img { max-width: min(1100px, 100%); max-height: 88vh; object-fit: contain; border-radius: 14px; }
.lightbox button { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%; cursor: pointer; }
.lightbox button svg { width: 21px; height: 21px; }

@media (min-width: 721px) {
  .hero h1, .page-hero h1 { max-width: 900px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding-block: 64px; }
  section[id] { scroll-margin-top: 76px; }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: 0.88rem; }
  .brand-symbol { width: 43px; height: 31px; }
  .header-phone { display: none; }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; margin-inline-start: auto; padding: 0; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 22px; height: 1.5px; display: block; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle.is-open > span:nth-of-type(2) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle.is-open > span:nth-of-type(3) { opacity: 0; }
  .menu-toggle.is-open > span:nth-of-type(4) { transform: translateY(-6.5px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 31; top: 76px; right: 16px; left: 16px; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 7px; background: var(--white); border: 1px solid rgba(23, 23, 23, 0.1); border-radius: 18px; box-shadow: 0 22px 55px rgba(16, 27, 45, 0.16); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease; }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .site-nav a { padding: 13px 14px; color: var(--ink); border-radius: 12px; font-size: 0.9rem; }
  .site-nav a:hover, .site-nav a.active { color: var(--blue); background: #f3f6fa; }
  .site-nav a::after { display: none; }
  .mobile-wholesale { display: block; }
  body.menu-open::before { content: ""; position: fixed; z-index: 29; inset: 0; background: rgba(16, 27, 45, 0.2); backdrop-filter: blur(3px); }
  .hero { min-height: min(760px, 100svh); }
  .hero-media img { object-position: 53% 50%; }
  .hero-overlay { background: linear-gradient(180deg, rgba(6, 14, 25, 0.26) 5%, rgba(6, 14, 25, 0.42) 37%, rgba(7, 17, 32, 0.97) 100%); }
  .hero-inner { width: min(calc(100% - 32px), var(--container)); padding-block: 92px 40px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.65rem, 12.5vw, 4.8rem); line-height: 1.18; }
  .hero-lead { margin: 17px 0 22px; font-size: 0.9rem; line-height: 1.95; }
  .hero .button { width: 100%; }
  .hero-specs { gap: 10px; margin-top: 34px; padding-top: 13px; }
  .hero-spec strong { font-size: 1.1rem; }
  .hero-spec span { font-size: 0.72rem; }
  .hero-bottom, .page-hero-bottom { width: min(calc(100% - 32px), var(--container)); padding-bottom: 18px; font-size: 0.72rem; }
  .hero-bottom a { font-size: 0.74rem; }
  /* Keep adjacent mobile sections connected instead of stacking two full gutters. */
  .story-section { padding-bottom: 48px; }
  .tetron-section { padding-top: 48px; }
  .spec-section { padding-top: 52px; padding-bottom: 42px; }
  .gallery-section { padding-top: 44px; padding-bottom: 44px; }
  .about-image-section { padding-bottom: 24px; }
  .about-metrics { padding-top: 44px; padding-bottom: 44px; }
  .principles-section { padding-top: 46px; padding-bottom: 48px; }
  .about-closing { padding-top: 58px; }
  .story-grid, .about-story-grid, .contact-grid, .tetron-grid { grid-template-columns: 1fr; gap: 28px; }
  .story-copy, .about-copy { padding-top: 0; }
  .story-lead h2, .section-intro h2 { font-size: clamp(2.05rem, 10vw, 3.5rem); }
  .story-copy p, .about-copy p { font-size: 0.92rem; line-height: 2; }
  .tetron-section .section-intro > p:last-child { font-size: 0.92rem; line-height: 2; }
  .tetron-uses { margin-top: 4px; }
  .tetron-use { grid-template-columns: 34px 1fr; gap: 12px; padding: 20px 0; }
  .tetron-use h3 { font-size: 1rem; }
  .tetron-use p { font-size: 0.76rem; line-height: 1.85; }
  .spec-list, .principle-list { margin-top: 38px; }
  .spec-callout { align-items: flex-start; font-size: 0.76rem; line-height: 1.9; }
  .spec-row { grid-template-columns: 34px 1fr auto; gap: 12px; padding: 22px 0; }
  .spec-row h3 { font-size: 1rem; }
  .spec-row p { font-size: 0.72rem; line-height: 1.8; }
  .spec-arrow { font-size: 1.1rem; }
  .gallery-intro { margin-bottom: 24px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .photo-frame, .photo-feature { grid-row: auto; min-height: 238px; border-radius: 20px; }
  .photo-feature { min-height: 315px; }
  .photo-frame figcaption { right: 15px; bottom: 13px; left: 15px; }
  .photo-frame figcaption strong { font-size: 0.86rem; }
  .photo-frame figcaption span { font-size: 0.72rem; }
  .contact-section { padding-block: 76px; }
  .contact-section h2, .about-closing h2 { font-size: clamp(2.2rem, 10.5vw, 4rem); }
  .contact-copy > p:not(.kicker) { font-size: 0.88rem; line-height: 1.95; }
  .contact-copy .button { width: 100%; }
  .contact-details { margin-top: 12px; }
  .page-hero { min-height: min(660px, 88svh); }
  .page-hero-inner { width: min(calc(100% - 32px), var(--container)); padding-block: 110px 28px; }
  .page-hero-inner > p:last-child { margin-top: 18px; font-size: 0.9rem; line-height: 1.9; }
  .page-hero-bottom { border-top: 1px solid rgba(255, 255, 255, 0.28); padding-top: 12px; }
  .about-image-section { padding-top: 0; }
  .about-image-wrap { width: min(calc(100% - 32px), var(--container)); height: 290px; border-radius: 20px; }
  .image-caption { right: 16px; bottom: 14px; left: 16px; display: grid; gap: 2px; }
  .image-caption small { font-size: 0.72rem; }
  .metric-list { grid-template-columns: 1fr; margin-top: 36px; }
  .metric-item { grid-template-columns: 1fr auto; align-items: center; padding: 17px 0; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .metric-item:last-child { border-bottom: 0; }
  .metric-item strong { font-size: 1.75rem; }
  .metric-item span { font-size: 0.76rem; }
  .principle { grid-template-columns: 34px 1fr; gap: 12px; padding: 21px 0; }
  .principle h3 { font-size: 1rem; }
  .principle p { font-size: 0.76rem; line-height: 1.85; }
  .closing-inner { display: grid; gap: 28px; }
  .closing-inner .button { width: 100%; }
  .footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-height: 0; padding-block: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-inner p { grid-column: 1 / -1; font-size: 0.75rem; }
  .footer-links { flex-wrap: wrap; gap: 12px; font-size: 0.74rem; }
  .copyright { justify-self: end; align-self: center; }

  /* Give the home hero a stronger first impression while keeping each phrase intact. */
  #hero-title {
    font-size: clamp(1.9rem, 9.25vw, 3.4rem);
    line-height: 1.17;
    letter-spacing: -0.09em;
    font-weight: 800;
    white-space: nowrap;
  }
  #page-title {
    font-size: clamp(1.7rem, 8.4vw, 3.2rem);
    line-height: 1.24;
    letter-spacing: -0.075em;
    font-weight: 800;
    white-space: nowrap;
  }
  #gallery-title, #metrics-title, #principles-title {
    font-size: clamp(1.55rem, 7.3vw, 3rem);
    line-height: 1.28;
    letter-spacing: -0.07em;
    font-weight: 800;
    white-space: nowrap;
  }
  #gallery-title::after, #metrics-title::after, #principles-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 12px;
    background: var(--blue);
    border-radius: 99px;
  }
  #wholesale-title {
    font-size: clamp(1.42rem, 6.8vw, 2.8rem);
    line-height: 1.36;
    letter-spacing: -0.075em;
    font-weight: 800;
    white-space: nowrap;
  }
  #closing-title {
    font-size: clamp(1.6rem, 7.5vw, 3rem);
    line-height: 1.32;
    letter-spacing: -0.075em;
    font-weight: 800;
    white-space: nowrap;
  }
  .sample-image-label { top: max(72px, calc(env(safe-area-inset-top) + 68px)); right: 16px; font-size: 0.7rem; }
  .back-to-top { right: auto; left: 13px; bottom: calc(13px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .hero-media img, .page-hero-media img, .hero-bottom a span { animation: none !important; }
  .js .hero-copy > *, .js .hero-specs, .js .hero-bottom,
  .js .page-hero-inner > *, .js .page-hero-bottom,
  .js .reveal { opacity: 1; transform: none; }
}
