/* =========================================================
   GP RawMaterials — light industrial-refined theme
   ========================================================= */

:root {
  --bg:        #f0ebe1;   /* warm bone / paper */
  --bg-2:      #e7e0d4;
  --surface:   #fbf8f1;   /* warm ivory — softer than pure white */
  --surface-2: #f2ece1;
  --line:      rgba(26, 29, 33, 0.10);
  --line-2:    rgba(26, 29, 33, 0.18);

  --text:      #15181c;
  --text-dim:  #565d64;
  --text-mut:  #8a9099;

  --accent:      #bd6128;   /* copper */
  --accent-2:    #d9853f;
  --accent-deep: #a4521f;
  --steel:       #5c7080;   /* cool steel */
  --steel-2:     #3f5160;

  --glow: rgba(189, 97, 40, 0.28);

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }

/* ---------- atmosphere ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.bg-mesh {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 82% 2%, rgba(189,97,40,0.10), transparent 60%),
    radial-gradient(45% 42% at 4% 14%, rgba(92,112,128,0.08), transparent 60%),
    radial-gradient(65% 55% at 50% 118%, rgba(189,97,40,0.07), transparent 60%),
    var(--bg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  letter-spacing: .02em; line-height: 1;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  will-change: transform;
}
.btn-sm { padding: 10px 18px; font-size: .82rem; }
.btn-block { width: 100%; padding: 16px; }
.btn-accent {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 26px -12px var(--glow);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px var(--glow); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- eyebrow / titles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-dim);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); }

.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.04; letter-spacing: -0.02em; margin-top: 18px;
  max-width: 18ch;
}
.section-sub { color: var(--text-dim); max-width: 52ch; margin-top: 18px; font-size: 1.05rem; }
.section { padding-block: clamp(72px, 11vw, 152px); position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.lead { font-size: 1.18rem; color: var(--text); margin-top: 22px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s, padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(245, 242, 236, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.site-header.scrolled .header-inner { height: 64px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { color: var(--accent); display: grid; place-items: center; }
.brand-mark-text { font-family: var(--font-display); font-weight: 900; font-size: 34px; fill: currentColor; }
.brand-text { font-family: var(--font-display); line-height: 1; display: flex; flex-direction: column; }
.brand-text strong { font-weight: 900; font-size: 1.06rem; letter-spacing: .02em; }
.brand-text span { font-size: .66rem; letter-spacing: .34em; text-transform: uppercase; color: var(--text-dim); margin-top: 3px; }

.nav { display: flex; gap: 30px; }
.nav a {
  font-size: .92rem; color: var(--text-dim); position: relative; padding: 6px 0;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.lang button {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .05em;
  padding: 7px 11px; color: var(--text-mut); transition: color .2s, background .2s;
}
.lang button.is-active { color: #fff; background: var(--accent); }
.lang button:not(.is-active):hover { color: var(--text); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 110px; padding-bottom: 60px; overflow: hidden;
}
.hero-glow {
  position: absolute; width: 64vw; height: 64vw; max-width: 820px; max-height: 820px;
  right: -8vw; top: -16vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(189,97,40,0.16), transparent 64%);
  filter: blur(10px); animation: float 16s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(-3%, 4%) scale(1.05);} }

.hero-inner { position: relative; z-index: 2; }
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 8.5vw, 6.4rem); line-height: 0.96; letter-spacing: -0.035em;
  margin: 24px 0 0; text-wrap: balance;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--accent-2), var(--accent-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { max-width: 56ch; color: var(--text-dim); font-size: clamp(1rem, 1.6vw, 1.22rem); margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); margin-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line); padding-top: 32px;
}
.hero-stats dt {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1; color: var(--text); letter-spacing: -0.02em;
}
.hero-stats dd { font-size: .85rem; color: var(--text-dim); margin-top: 8px; letter-spacing: .01em; }

.scroll-cue {
  position: absolute; left: var(--pad); bottom: 26px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-mut);
}
.scroll-line { width: 54px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-line::after { content:""; position:absolute; inset:0; width:40%; background: var(--accent); animation: slide 2.4s var(--ease) infinite; }
@keyframes slide { 0% { transform: translateX(-110%);} 100% { transform: translateX(260%);} }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-block: 1px solid var(--line); background: var(--bg-2);
  overflow: hidden; padding-block: 20px;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 28px; white-space: nowrap;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  text-transform: uppercase; letter-spacing: .01em; color: var(--text);
}
.marquee-track i { color: var(--accent); font-style: normal; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.about-tags span {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .03em;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-dim);
  background: var(--surface);
}

.about-panel {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 64px -42px rgba(26,29,33,0.30);
}
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; }
.panel-cell {
  padding: clamp(24px, 3vw, 38px); position: relative; transition: background .3s;
  border-bottom: 1px solid var(--line);
}
.panel-cell:nth-child(1) { border-right: 1px solid var(--line); }
.panel-cell-wide { grid-column: 1 / -1; border-bottom: none; }
.panel-cell:hover { background: rgba(189,97,40,0.05); }
.panel-num {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1; color: var(--accent); letter-spacing: -0.02em; display: block;
}
.panel-num small { font-size: .5em; color: var(--text-dim); }
.panel-label { display: block; margin-top: 12px; font-size: .85rem; color: var(--text-dim); }
.panel-foot { padding: 16px clamp(24px,3vw,38px); border-top: 1px solid var(--line); background: rgba(26,29,33,0.03); }
.panel-foot .mono { font-size: .72rem; color: var(--text-mut); letter-spacing: .04em; }

/* =========================================================
   DIFFERENTIATORS
   ========================================================= */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.diff-card {
  position: relative; padding: 32px 26px 30px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface);
  overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  box-shadow: 0 18px 40px -34px rgba(26,29,33,0.30);
}
.diff-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(120% 80% at 50% 0%, rgba(189,97,40,0.10), transparent 70%);
}
.diff-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 26px 50px -34px rgba(26,29,33,0.36); }
.diff-card:hover::before { opacity: 1; }
.diff-num { position: absolute; top: 22px; right: 24px; font-size: .82rem; color: var(--text-mut); }
.diff-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(189,97,40,0.10); border: 1px solid rgba(189,97,40,0.24); margin-bottom: 26px;
}
.diff-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.diff-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.diff-card p { color: var(--text-dim); font-size: .95rem; margin-top: 12px; }

/* =========================================================
   PRODUCTS
   ========================================================= */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
  box-shadow: 0 24px 50px -40px rgba(26,29,33,0.30);
}
.product-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 34px 64px -40px rgba(26,29,33,0.38); }
.product-visual { position: relative; height: 240px; overflow: hidden; background: var(--surface-2); }
.product-texture { position: absolute; inset: 0; z-index: 0; transition: transform 1.2s var(--ease); }
.product-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product-card:hover .product-texture, .product-card:hover .product-img { transform: scale(1.06); }

.steel-texture {
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 9px),
    linear-gradient(125deg, #2b3540, #6b7d8c 38%, #aebecb 50%, #5d6e7c 62%, #1c242c);
}
.poly-texture {
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(255,255,255,0.28), transparent 45%),
    conic-gradient(from 210deg at 65% 60%, var(--accent-deep), var(--accent-2), #e9d8a0, var(--accent), var(--accent-deep));
  filter: saturate(1.05);
}
.marine-texture {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.9), transparent 55%),
    linear-gradient(160deg, #eef1f4, #dfe5ea 55%, #cdd6dd);
}
.product-marine .product-img { object-fit: cover; object-position: center; background: #fff; }
.product-visual::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(0deg, var(--surface) 3%, transparent 52%);
}
.product-body { padding: clamp(26px, 3vw, 38px); }
.product-index { font-size: .74rem; color: var(--text-mut); letter-spacing: .1em; }
.product-body h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 10px; letter-spacing: -0.02em; }
.product-body p { color: var(--text-dim); margin-top: 14px; max-width: 44ch; }
.product-specs { margin-top: 22px; display: grid; gap: 10px; }
.product-specs li { position: relative; padding-left: 22px; font-size: .92rem; color: var(--text); }
.product-specs li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }
.product-link { display: inline-block; margin-top: 26px; font-family: var(--font-display); font-weight: 700; color: var(--accent); transition: transform .3s; }
.product-link:hover { transform: translateX(4px); }

/* =========================================================
   GLOBAL PRESENCE
   ========================================================= */
.map-wrap {
  position: relative; aspect-ratio: 1010 / 500; width: 100%;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: radial-gradient(95% 130% at 50% -12%, var(--surface), var(--bg-2));
  overflow: hidden; box-shadow: 0 30px 64px -46px rgba(26,29,33,0.30);
}
.map-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .97; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.map-lines path {
  fill: none; stroke: var(--accent); stroke-width: 1.3; opacity: .4;
  stroke-dasharray: 5 9; animation: dash 24s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -400; } }

.pin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; z-index: 2; }
.pin-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--steel);
  box-shadow: 0 0 0 4px rgba(92,112,128,0.18);
}
.pin-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--steel);
  animation: ping 2.6s var(--ease) infinite; opacity: 0;
}
.pin-hq .pin-dot { background: var(--accent); box-shadow: 0 0 0 5px rgba(189,97,40,0.20), 0 0 20px var(--glow); }
.pin-hq .pin-dot::after { border-color: var(--accent); }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }

.pin-label {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.96); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 8px 12px; white-space: nowrap; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  box-shadow: 0 12px 30px -16px rgba(26,29,33,0.4);
}
.pin:hover .pin-label, .pin:focus-visible .pin-label { opacity: 1; transform: translateX(-50%) translateY(-4px); }
.pin-label strong { display: block; font-family: var(--font-display); font-size: .9rem; }
.pin-label em { font-style: normal; font-size: .72rem; color: var(--text-dim); }

.presence-legend { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; justify-content: center; }
.presence-legend li { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--text-dim); }
.lg-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--steel); }
.lg-hq { background: var(--accent); box-shadow: 0 0 10px var(--glow); }

/* =========================================================
   PROCESS
   ========================================================= */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-list li {
  position: relative; padding: 30px 26px 32px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); box-shadow: 0 18px 40px -34px rgba(26,29,33,0.28); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.process-list li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--accent);
  transition: width .8s var(--ease);
}
.process-list li.in-view::before { width: 100%; }
.process-list li:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 28px 52px -34px rgba(26,29,33,0.36); }
.process-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.step-badge {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(189,97,40,0.40);
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700;
  font-size: .92rem; color: var(--accent); background: rgba(189,97,40,0.06);
}
.step-icon svg { width: 27px; height: 27px; fill: none; stroke: var(--steel); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.process-list h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.01em; }
.process-list p { color: var(--text-dim); font-size: .95rem; margin-top: 12px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: linear-gradient(180deg, transparent, var(--bg-2)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-info { margin-top: 40px; display: grid; gap: 26px; }
.contact-info li { display: grid; gap: 6px; }
.ci-label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mut); }
.contact-info a, .contact-info li > span:not(.ci-label) { font-size: 1.06rem; color: var(--text); transition: color .25s; line-height: 1.45; }
.contact-info a:hover { color: var(--accent); }

.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  box-shadow: 0 36px 72px -50px rgba(26,29,33,0.42);
}
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field textarea, .field select {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 14px; color: var(--text); transition: border-color .25s, box-shadow .25s, background .25s; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px rgba(189,97,40,0.14);
}
.contact-form .btn { grid-column: 1 / -1; }
.form-note { grid-column: 1/-1; font-size: .9rem; min-height: 1.2em; text-align: center; }
.form-note.ok { color: var(--accent-deep); }
.form-note.err { color: #c0392b; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: clamp(50px, 7vw, 80px); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand-text { display: flex; flex-direction: column; }
.footer-brand .brand-text strong { font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; }
.footer-brand .brand-text span { font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: var(--text-dim); margin-top: 3px; }
.footer-brand p { color: var(--text-dim); font-size: .92rem; margin-top: 16px; max-width: 38ch; }
.footer-nav { display: grid; gap: 12px; align-content: start; }
.footer-nav a { color: var(--text-dim); font-size: .95rem; transition: color .25s; }
.footer-nav a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: 12px; align-content: start; }
.footer-contact a, .footer-contact span { color: var(--text-dim); font-size: .92rem; transition: color .25s; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid var(--line); padding-block: 24px; flex-wrap: wrap;
}
.footer-bottom span { font-size: .8rem; color: var(--text-mut); }
.footer-bottom .mono { letter-spacing: .1em; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.diff-card:nth-child(2) { transition-delay: .08s; }
.diff-card:nth-child(3) { transition-delay: .16s; }
.diff-card:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(245,242,236,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .4s var(--ease);
    padding: 10px var(--pad) 24px;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .burger { display: flex; }
  .header-actions .btn-sm { display: none; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .diff-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px 32px; }
  .scroll-cue { display: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
