/* =========================================================================
   KARAMOT ACCESSORIES — "Precision Atelier"
   Technical spec-sheet structure × fashion-editorial typography.
   Fraunces (display) · Hanken Grotesk (body) · Space Mono (technical)
   ========================================================================= */

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

:root {
  /* warm paper + ink */
  --paper:   #f4efe4;
  --paper-2: #eae0cf;
  --card:    #fbf8f1;
  --ink:     #181410;
  --ink-2:   #221d17;
  --ink-soft:#46402f;
  --muted:   #8a8270;
  --line:    #d9cfbb;
  --line-2:  rgba(24,20,16,.10);

  /* brand (from the logo mark) */
  --crimson:   #c0392b;
  --crimson-l: #de5648;
  --indigo:    #2f3170;
  --indigo-l:  #555aa8;
  --grad: linear-gradient(118deg, #c0392b 0%, #8a2a55 46%, #2f3170 100%);

  --fdisplay: "Fraunces", Georgia, serif;
  --fbody:    "Hanken Grotesk", system-ui, sans-serif;
  --fmono:    "Space Mono", ui-monospace, monospace;

  --shell: 1280px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --nav-h: 84px;
}

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

body {
  font-family: var(--fbody);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--paper);
  /* faint technical graph grid */
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

/* film-grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- shared typographic atoms ---------- */
.display {
  font-family: var(--fdisplay);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.02em;
  font-size: clamp(34px, 4.7vw, 60px);
}
.display em { font-style: italic; font-weight: 500; color: var(--crimson); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fmono); font-size: 12px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.kicker i { font-style: normal; color: var(--crimson); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.kicker.on-dark { color: rgba(244,239,228,.6); }
.kicker.on-dark i { color: var(--crimson-l); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--fmono); font-size: 12.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: 14px 24px; border: 1px solid var(--ink); cursor: pointer;
  background: var(--bg); color: var(--fg);
  transition: transform .2s var(--ease), box-shadow .25s, background .3s, color .3s, border-color .3s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn--solid:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; transform: translateY(-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn--solid:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); box-shadow: 6px 6px 0 rgba(192,57,43,.35); }

/* tertiary download link */
.dl-link {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-family: var(--fmono); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); padding: 6px 2px; transition: color .25s;
}
.dl-link svg { color: var(--crimson); transition: transform .25s var(--ease); }
.dl-link em { font-style: normal; font-weight: 400; font-size: 11px; text-transform: none; letter-spacing: .02em; color: var(--muted); }
.dl-link:hover { color: var(--crimson); }
.dl-link:hover svg { transform: translateY(3px); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(244,239,228,.78); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, height .3s, background .3s;
}
.nav.scrolled { height: 70px; border-color: var(--line); box-shadow: 0 1px 0 var(--line), 0 14px 30px -22px rgba(24,20,16,.5); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.brand img { width: 66px; height: 66px; object-fit: contain; transition: width .3s, height .3s; filter: drop-shadow(0 1px 1px rgba(24,20,16,.12)); }
.nav.scrolled .brand img { width: 54px; height: 54px; }
.brand__text { font-family: var(--fdisplay); font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: -.01em; color: var(--ink); }
.brand__text span { display: block; font-family: var(--fmono); font-size: 10px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav__links a:not(.btn) {
  display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none;
  font-family: var(--fmono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .2s;
}
.nav__links a:not(.btn) i { font-style: normal; font-size: 10px; color: var(--crimson); }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__links a.btn--solid { color: var(--paper); padding: 11px 18px; }
.nav__links a.btn--solid:hover { color: #fff; }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .3s, opacity .3s; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding-top: var(--nav-h); }
.hero::before { /* radial brand glow */
  content: ""; position: absolute; top: -10%; right: -5%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(192,57,43,.16), rgba(47,49,112,.10) 45%, transparent 68%);
  filter: blur(20px); z-index: 0; pointer-events: none;
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,76px); align-items: center; min-height: calc(100vh - var(--nav-h)); padding: clamp(36px,5vw,64px) 0; }

.hero__kicker { margin-bottom: 26px; }
.hero__title { font-family: var(--fdisplay); font-weight: 500; font-size: clamp(46px, 7.4vw, 102px); line-height: .92; letter-spacing: -.035em; margin-bottom: 28px; }
.hero__title .ln { display: block; }
.hero__title em { font-style: italic; color: var(--crimson); }
.hero__desc { font-size: clamp(15px,1.2vw,17.5px); color: var(--ink-soft); line-height: 1.75; max-width: 44ch; margin-bottom: 38px; }
.hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.hero__stats { display: flex; gap: clamp(22px,4vw,54px); margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--line); }
.stat__num { font-family: var(--fdisplay); font-size: clamp(34px,4vw,46px); font-weight: 600; line-height: 1; letter-spacing: -.02em; font-feature-settings: "tnum"; }
.stat__label { font-family: var(--fmono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* hero visual + technical frame */
.hero__visual { position: relative; margin: 0; z-index: 2; }
.frame { position: relative; padding: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: 14px 14px 0 -2px rgba(24,20,16,.08); }
.frame::before, .frame::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--crimson); z-index: 3; }
.frame::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.frame::after  { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.hero__chip {
  position: absolute; top: 24px; right: 24px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fmono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(24,20,16,.82); color: var(--paper); padding: 8px 14px; backdrop-filter: blur(6px);
}
.hero__chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

.hero__quote { position: absolute; left: -26px; bottom: 30px; z-index: 4; max-width: 280px; background: var(--ink); color: var(--paper); padding: 22px 24px; box-shadow: 12px 12px 0 -2px rgba(192,57,43,.3); }
.hero__quote p { font-family: var(--fdisplay); font-style: italic; font-size: 18px; line-height: 1.45; margin-bottom: 12px; }
.hero__quote cite { font-family: var(--fmono); font-size: 10px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: rgba(244,239,228,.55); }

.hero__scroll { position: absolute; left: clamp(20px,5vw,56px); bottom: 22px; z-index: 2; font-family: var(--fmono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.hero__scroll::after { content: ""; display: block; width: 1px; height: 40px; margin: 10px auto 0; background: linear-gradient(var(--ink), transparent); }

/* hero load choreography */
.load > .hero__copy > *, .load > .hero__visual { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.load > .hero__copy > *:nth-child(1) { animation-delay: .05s; }
.load > .hero__copy > *:nth-child(2) { animation-delay: .14s; }
.load > .hero__copy > *:nth-child(3) { animation-delay: .23s; }
.load > .hero__copy > *:nth-child(4) { animation-delay: .32s; }
.load > .hero__copy > *:nth-child(5) { animation-delay: .41s; }
.load > .hero__visual { transform: translateY(36px) scale(.98); animation: riseScale 1s var(--ease) .22s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes riseScale { to { opacity: 1; transform: none; } }

/* =========================================================================
   TICKER
   ========================================================================= */
.ticker { position: relative; z-index: 2; background: var(--ink); color: var(--paper); border-block: 1px solid var(--ink); padding: 18px 0; overflow: hidden; }
.ticker__track { display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; }
.ticker__track span { font-family: var(--fdisplay); font-style: italic; font-size: 24px; font-weight: 500; }
.ticker__track b { color: var(--crimson-l); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   SECTION scaffold
   ========================================================================= */
.section { position: relative; z-index: 2; padding: clamp(72px,9vw,128px) 0; }
.kicker { margin-bottom: 18px; }

/* =========================================================================
   ABOUT (dark)
   ========================================================================= */
.about { background: var(--ink); color: var(--paper); border-block: 1px solid var(--ink); }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px,6vw,88px); align-items: center; }
.about__title { color: var(--paper); margin-bottom: 26px; max-width: 14ch; }
.about__title { color: var(--paper); }
.about__body { color: rgba(244,239,228,.66); font-size: 16px; line-height: 1.9; margin-bottom: 40px; max-width: 54ch; }
.about__facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px 34px; }
.fact { border-top: 1px solid rgba(244,239,228,.18); padding-top: 14px; }
.fact dt { font-family: var(--fdisplay); font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.fact dd { font-family: var(--fmono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: rgba(244,239,228,.5); margin-top: 8px; }

.about__aside { display: flex; flex-direction: column; gap: 16px; }
.ceo { position: relative; border: 1px solid rgba(244,239,228,.16); padding: 34px 32px 30px; background: linear-gradient(160deg, rgba(192,57,43,.12), rgba(47,49,112,.12)); }
.ceo__q { position: absolute; top: 6px; right: 22px; font-family: var(--fdisplay); font-size: 90px; line-height: 1; color: rgba(244,239,228,.14); }
.ceo__quote { font-family: var(--fdisplay); font-style: italic; font-size: 21px; line-height: 1.5; color: rgba(244,239,228,.92); margin-bottom: 24px; }
.ceo__by { display: flex; align-items: center; gap: 14px; }
.ceo__mark { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex-shrink: 0; }
.ceo__mark img { width: 34px; height: 34px; }
.ceo__name b { display: block; font-size: 15px; }
.ceo__name span { font-family: var(--fmono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: rgba(244,239,228,.5); }
.cert-mini { display: flex; align-items: center; gap: 16px; border: 1px solid rgba(244,239,228,.16); padding: 18px 22px; }
.cert-mini__badge { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(244,239,228,.34); display: grid; place-items: center; font-family: var(--fmono); font-weight: 700; font-size: 9px; line-height: 1.1; text-align: center; letter-spacing: .05em; flex-shrink: 0; }
.cert-mini__t { font-size: 13px; color: rgba(244,239,228,.62); line-height: 1.5; }
.cert-mini__t b { display: block; color: var(--paper); font-weight: 600; font-family: var(--fbody); }

/* =========================================================================
   PRODUCTS
   ========================================================================= */
.products__head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: clamp(38px,4vw,56px); padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.products__head .display { margin-top: 16px; }
.products__intro { font-family: var(--fbody); font-size: 14.5px; color: var(--ink-soft); max-width: 38ch; line-height: 1.7; }

.products__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(14px,1.6vw,22px); }
.pcard { position: relative; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.pcard:hover { transform: translateY(-5px); border-color: var(--ink); box-shadow: 10px 12px 0 -2px rgba(24,20,16,.1); }
.pcard__media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--paper-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; filter: saturate(.96); }
.pcard:hover .pcard__media img { transform: scale(1.07); filter: saturate(1.08); }
.pcard__body { position: relative; padding: 22px 24px 26px; }
.pcard__idx { position: absolute; top: -16px; right: 18px; font-family: var(--fmono); font-size: 12px; font-weight: 700; color: var(--paper); background: var(--ink); padding: 6px 10px; letter-spacing: .05em; }
.pcard:hover .pcard__idx { background: var(--crimson); }
.pcard__name { font-family: var(--fdisplay); font-size: 25px; font-weight: 600; line-height: 1.12; margin-bottom: 10px; letter-spacing: -.01em; }
.pcard__desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; }
.pcard__cap { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fmono); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--crimson); }
.pcard__cap::before { content: ""; width: 16px; height: 1.5px; background: var(--grad); }

/* =========================================================================
   CAPABILITY
   ========================================================================= */
.capability { background: var(--paper-2); border-block: 1px solid var(--line); }
.capability__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,76px); align-items: center; }
.cap__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 178px); gap: 12px; }
.cap__fig { position: relative; margin: 0; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.cap__fig--lg { grid-row: span 2; height: 100%; }
.cap__fig::after { content: ""; position: absolute; top: 8px; left: 8px; width: 14px; height: 14px; border-top: 2px solid var(--crimson); border-left: 2px solid var(--crimson); }
.cap__fig img { width: 100%; height: 100%; object-fit: cover; }
.cap__lead { font-size: 16px; color: var(--ink-soft); line-height: 1.8; margin-top: 18px; max-width: 46ch; }
.cap__list { margin-top: 30px; }
.cap__list > div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.cap__list > div:last-child { border-bottom: 1px solid var(--line); }
.cap__list dt { font-family: var(--fdisplay); font-size: 30px; font-weight: 600; color: var(--crimson); letter-spacing: -.02em; }
.cap__list dd { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.cap__list dd em { display: block; font-style: normal; font-weight: 400; font-family: var(--fmono); font-size: 11px; letter-spacing: .02em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }

/* =========================================================================
   WHY
   ========================================================================= */
.why__head { max-width: 640px; margin: 0 auto clamp(40px,5vw,60px); text-align: center; }
.why__head .kicker { justify-content: center; }
.why__head .display { margin-top: 14px; }
.why__grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); }
.why__item { position: relative; padding: 40px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); transition: background .35s var(--ease), color .35s; }
.why__grid .why__item:nth-child(3n) { border-right: 0; }
.why__grid .why__item:nth-last-child(-n+3) { border-bottom: 0; }
.why__item:hover { background: var(--ink); }
.why__item:hover .why__title { color: var(--paper); }
.why__item:hover .why__body { color: rgba(244,239,228,.6); }
.why__item:hover .why__num { color: var(--crimson-l); -webkit-text-fill-color: var(--crimson-l); }
.why__num { display: block; font-family: var(--fmono); font-size: 13px; font-weight: 700; letter-spacing: .1em; margin-bottom: 22px; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.why__title { font-family: var(--fdisplay); font-size: 24px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.01em; transition: color .35s; }
.why__body { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; transition: color .35s; }

.offer { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.offer span { font-family: var(--fmono); font-size: 11.5px; letter-spacing: .03em; color: var(--ink-soft); border: 1px solid var(--line); background: var(--card); padding: 9px 15px; }
.offer span::before { content: "✓ "; color: var(--crimson); font-weight: 700; }

/* =========================================================================
   CERTIFICATION (dark)
   ========================================================================= */
.cert { background: var(--ink); color: var(--paper); border-block: 1px solid var(--ink); }
.cert__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px,5vw,80px); align-items: center; }
.cert__title { color: var(--paper); margin-bottom: 22px; }
.cert__lead { color: rgba(244,239,228,.66); line-height: 1.85; max-width: 50ch; }
.cert__card { position: relative; background: linear-gradient(150deg, rgba(192,57,43,.16), rgba(47,49,112,.16)); border: 1px solid rgba(244,239,228,.2); padding: 36px; }
.cert__card::before, .cert__card::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--crimson-l); }
.cert__card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.cert__card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.cert__card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cert__seal { width: 76px; height: 76px; border-radius: 50%; border: 2px solid rgba(244,239,228,.55); display: grid; place-items: center; font-family: var(--fmono); font-weight: 700; font-size: 14px; line-height: 1.1; text-align: center; }
.cert__std { font-family: var(--fmono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-align: right; color: rgba(244,239,228,.6); }
.cert__name { font-family: var(--fdisplay); font-size: 26px; font-weight: 600; margin-bottom: 18px; }
.cert__meta > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(244,239,228,.18); }
.cert__meta dt { font-family: var(--fmono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: rgba(244,239,228,.55); }
.cert__meta dd { font-size: 13.5px; font-weight: 600; text-align: right; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; }
.contact__form-wrap { padding: clamp(60px,8vw,116px) clamp(28px,5vw,76px); background: var(--paper); }
.contact__title { margin: 16px 0 16px; }
.contact__lead { font-size: 15px; color: var(--ink-soft); max-width: 42ch; line-height: 1.7; }
.contact__info { padding: clamp(60px,8vw,116px) clamp(28px,5vw,76px); background: var(--ink); color: var(--paper); }
.contact__info-title { color: var(--paper); margin: 16px 0 0; }

.form { margin-top: 32px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--fmono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--fbody); font-size: 15px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); padding: 13px 15px; outline: none;
  transition: border-color .2s, box-shadow .2s; resize: vertical; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%238a8270' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); box-shadow: 4px 4px 0 -1px rgba(47,49,112,.18); }
.form__btn { justify-self: start; margin-top: 4px; }
.form__status { font-family: var(--fmono); font-size: 12.5px; color: #1f7a4d; min-height: 18px; }
.form__note { font-family: var(--fmono); font-size: 11px; color: var(--muted); letter-spacing: .02em; }

.info-list { display: grid; gap: 24px; margin-top: 40px; }
.info-item dt { font-family: var(--fmono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,239,228,.45); margin-bottom: 8px; }
.info-item dt::after { content: ""; display: block; width: 30px; height: 2px; background: var(--grad); margin-top: 8px; }
.info-item dd { font-size: 15.5px; color: var(--paper); line-height: 1.7; }
.info-item a { text-decoration: none; transition: color .2s; }
.info-item a:hover { color: var(--crimson-l); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { position: relative; z-index: 2; background: #0f0c08; color: rgba(244,239,228,.5); padding: 56px 0 30px; border-top: 1px solid var(--ink); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(244,239,228,.12); }
.footer__brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.footer__brand img { width: 50px; height: 50px; object-fit: contain; }
.footer__brand b { font-family: var(--fdisplay); font-size: 21px; color: var(--paper); font-weight: 600; }
.footer__brand span { display: block; }
.footer__brand > span span { font-family: var(--fmono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,239,228,.4); margin-top: 3px; }
.footer__tag { font-family: var(--fdisplay); font-size: 19px; color: rgba(244,239,228,.72); max-width: 30ch; }
.footer__tag em { font-style: italic; color: var(--crimson-l); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-family: var(--fmono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: rgba(244,239,228,.55); transition: color .2s; }
.footer__links a:hover { color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-family: var(--fmono); font-size: 11px; letter-spacing: .02em; }

/* =========================================================================
   REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .load > .hero__copy > *, .load > .hero__visual { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .products__grid { grid-template-columns: repeat(2,1fr); }
  .why__grid { grid-template-columns: repeat(2,1fr); }
  .why__grid .why__item:nth-child(3n) { border-right: 1px solid var(--line); }
  .why__grid .why__item:nth-child(2n) { border-right: 0; }
  .why__grid .why__item:nth-last-child(-n+3):not(:nth-last-child(-n+2)) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 880px) {
  :root { --nav-h: 72px; }
  .nav__nav { position: static; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 5vw 22px;
    transform: translateY(-130%); transition: transform .38s var(--ease); box-shadow: 0 24px 40px -24px rgba(24,20,16,.4); }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border: 0; padding-top: 14px; }
  .nav__links a:not(.btn) { padding: 16px 2px; font-size: 14px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links a.btn--solid { width: 100%; justify-content: center; padding: 15px; }
  .nav__toggle { display: block; }
  .nav__toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero__grid { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  .hero__visual { order: -1; max-width: 440px; }
  .hero__scroll { display: none; }
  .about__grid, .capability__grid, .cert__grid { grid-template-columns: 1fr; }
  .products__head { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .cap__media { grid-template-rows: repeat(2, 150px); }
}
@media (max-width: 560px) {
  .products__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item { border-right: 0 !important; }
  .about__facts { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__quote { left: 0; }
  .hero__title { font-size: clamp(44px, 13vw, 60px); }
  .footer__top { flex-direction: column; align-items: flex-start; }
}
