/* ============================================================
   INOXEGE — Design system
   Industrial + marine · light/dark theme · orange (#F26A1B) + graphite
   No product/screw photography — abstract technical visual language.
   ============================================================ */

/* ---------- Tokens: light (default) ---------- */
:root {
  --orange:        #F26A1B;
  --orange-strong: #C85A10;
  --orange-soft:   rgba(242, 106, 27, .12);
  --marine:        #2C7A8C;

  --bg:            #FFFFFF;
  --bg-soft:       #F4F6F8;
  --bg-softer:     #EDF1F4;
  --surface:       #FFFFFF;
  --ink:           #1A1F26;
  --ink-2:         #3A434E;
  --muted:         #5A6673;
  --line:          #E2E7EC;
  --line-strong:   #CFD7DE;

  /* Dark "chrome" surfaces used in hero/footer regardless of theme */
  --steel-900:     #0E1216;
  --steel-800:     #141A20;
  --steel-700:     #1B222A;
  --steel-line:    rgba(255, 255, 255, .09);
  --on-steel:      #EAEEF2;
  --on-steel-mut:  #8D9AA8;

  --radius:        14px;
  --radius-sm:     9px;
  --radius-lg:     22px;
  --container:     1200px;
  --header-h:      74px;
  --ease:          cubic-bezier(.22, 1, .36, 1);
  --shadow-sm:     0 2px 10px rgba(20, 30, 45, .06);
  --shadow-md:     0 14px 34px rgba(20, 30, 45, .10);
  --shadow-lg:     0 26px 60px rgba(20, 30, 45, .16);
  --font-display:  "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body:     "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono:     "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

  --hero-bg:       radial-gradient(60% 90% at 82% 6%, rgba(242,106,27,.20), transparent 60%),
                   linear-gradient(160deg, #0E1216 0%, #141A20 55%, #172231 100%);
}

/* ---------- Tokens: dark ---------- */
html[data-theme="dark"] {
  --orange:        #FF7A2E;
  --orange-strong: #FF9350;
  --orange-soft:   rgba(255, 122, 46, .15);

  --bg:            #0E1216;
  --bg-soft:       #141A20;
  --bg-softer:     #1B222A;
  --surface:       #161C23;
  --ink:           #EAEEF2;
  --ink-2:         #C4CDD6;
  --muted:         #8D9AA8;
  --line:          rgba(255, 255, 255, .10);
  --line-strong:   rgba(255, 255, 255, .18);

  --shadow-sm:     0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md:     0 14px 34px rgba(0, 0, 0, .45);
  --shadow-lg:     0 26px 60px rgba(0, 0, 0, .55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .3s var(--ease), color .3s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 5px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 26px; }
.section { padding: clamp(60px, 8.5vw, 116px) 0; }
.section--soft { background: var(--bg-soft); }
.section--softer { background: var(--bg-softer); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); }
.eyebrow--center { justify-content: center; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.7vw, 2.9rem); margin: 15px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.07rem; }
.text-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: .96rem; letter-spacing: .01em;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s, color .22s, border-color .22s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 12px 26px rgba(242,106,27,.32); }
.btn--primary:hover { transform: translateY(-2px); background: var(--orange-strong); box-shadow: 0 18px 36px rgba(242,106,27,.42); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn--on-steel { background: rgba(255,255,255,.08); color: var(--on-steel); border: 1.5px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn--on-steel:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1.03rem; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--orange); }
.arrow-link svg { width: 17px; height: 17px; transition: transform .22s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- Logo (wordmark) ---------- */
.logo { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .4px; line-height: 1; }
.logo__wm { color: var(--ink); }
.logo__ege { color: var(--orange); }
.logo__o { width: .95em; height: .95em; margin: 0 .01em; transform: translateY(.02em); }
.logo__o circle { stroke: var(--orange); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); height: 64px; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 10px 15px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 7px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .26s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language switch */
.lang { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.lang button { padding: 6px 11px; font-family: var(--font-mono); font-weight: 500; font-size: .76rem; color: var(--muted); transition: background .2s, color .2s; }
.lang button.active { background: var(--orange); color: #fff; }

/* Theme toggle */
.theme-btn { width: 40px; height: 40px; border-radius: 9px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--ink-2); transition: border-color .2s, color .2s, transform .2s; }
.theme-btn:hover { border-color: var(--orange); color: var(--orange); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .moon { display: none; }
html[data-theme="dark"] .theme-btn .sun { display: none; }
html[data-theme="dark"] .theme-btn .moon { display: block; }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============================================================
   HERO (steel / industrial — no product photos)
   ============================================================ */
.hero { position: relative; background: var(--steel-900); color: var(--on-steel); overflow: hidden; }
.hero--home { min-height: 92vh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 90px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::before { content: ""; position: absolute; inset: 0; background: var(--hero-bg); }
.hero__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 72% 32%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 72% 32%, #000, transparent 78%);
}
/* Large abstract aperture ring, decorative */
.hero__ring { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 620px; height: 620px; opacity: .5; z-index: 1; filter: drop-shadow(0 0 40px rgba(242,106,27,.25)); pointer-events: none; }
.hero__ring circle { fill: none; stroke: var(--orange); }
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 820px; }
.hero .eyebrow { color: var(--orange-strong); }
.hero .eyebrow::before { background: var(--orange-strong); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.03; margin: 20px 0 22px; }
.hero__lead { font-size: clamp(1.06rem, 1.6vw, 1.28rem); color: var(--on-steel-mut); max-width: 620px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; color: var(--on-steel); }
.chip b { color: var(--orange); font-weight: 600; }

/* Interior page hero (short) */
.hero--page { padding: calc(var(--header-h) + 56px) 0 66px; min-height: auto; }
.hero--page h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 14px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: .8rem; color: var(--on-steel-mut); margin-bottom: 6px; }
.breadcrumb a:hover { color: var(--orange); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero__wave svg { width: 100%; height: 64px; display: block; }
.hero__wave path { fill: var(--bg); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; position: relative; z-index: 2; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--orange); }
.stat__label { font-size: .9rem; color: var(--on-steel-mut); margin-top: 3px; }

/* ============================================================
   CATEGORY WORLDS + CARDS
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__ico { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--orange-soft); color: var(--orange); border: 1px solid color-mix(in srgb, var(--orange) 26%, transparent); }
.card__ico svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.2rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 14px; }
.card__meta { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; }

/* marine-accented card (Tekne/Yat) */
.card--marine .card__ico { background: color-mix(in srgb, var(--marine) 14%, transparent); color: var(--marine); border-color: color-mix(in srgb, var(--marine) 30%, transparent); }
.card--marine::before { background: var(--marine); }

/* Feature / why */
.feature { display: flex; gap: 15px; align-items: flex-start; }
.feature__ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--orange); color: #fff; box-shadow: 0 10px 22px rgba(242,106,27,.3); }
.feature__ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ============================================================
   STANDARDS band (technical, mono)
   ============================================================ */
.standards { position: relative; background: var(--steel-800); color: var(--on-steel); overflow: hidden; }
.standards__bg { position: absolute; inset: 0; background: radial-gradient(55% 100% at 100% 0%, rgba(242,106,27,.18), transparent 60%); }
.standards .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.standards h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 14px 0 14px; }
.standards p { color: var(--on-steel-mut); margin-bottom: 22px; }
.standards .eyebrow { color: var(--orange); } .standards .eyebrow::before { background: var(--orange); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.spec { padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border: 1px solid var(--steel-line); }
.spec__k { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .05em; color: var(--orange); text-transform: uppercase; }
.spec__v { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; margin-top: 3px; }
.spec__d { font-size: .85rem; color: var(--on-steel-mut); margin-top: 3px; }

/* ============================================================
   LOCATIONS
   ============================================================ */
.loc { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: box-shadow .25s, border-color .25s, transform .25s; }
.loc:hover { box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--orange) 30%, transparent); transform: translateY(-4px); }
.loc__tag { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.loc h3 { font-size: 1.16rem; margin: 6px 0 10px; }
.loc__row { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .95rem; margin-bottom: 8px; }
.loc__row svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--orange); margin-top: 3px; }
.loc__row a:hover { color: var(--orange); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--orange); color: #fff; border-radius: var(--radius-lg); padding: clamp(38px, 6vw, 64px); text-align: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 130% at 50% 0%, rgba(255,255,255,.22), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.3vw, 2.5rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 26px; font-size: 1.05rem; }
.cta-band .btn--dark { background: var(--steel-900); color: #fff; }
.cta-band .btn--dark:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.32); }

/* ============================================================
   FORMS
   ============================================================ */
.form { display: grid; gap: 17px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink-2); }
.field input, .field textarea, .field select { font: inherit; font-size: .97rem; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--bg-soft); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); background: var(--surface); box-shadow: 0 0 0 4px var(--orange-soft); }
.form__note { font-size: .84rem; color: var(--muted); }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 300px; background: var(--bg-softer); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; min-height: 300px; }

/* ============================================================
   FOOTER (steel)
   ============================================================ */
.site-footer { background: var(--steel-900); color: var(--on-steel-mut); padding: 66px 0 26px; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--orange); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 38px; padding-bottom: 42px; border-bottom: 1px solid var(--steel-line); }
.footer-brand .logo { color: #fff; margin-bottom: 15px; }
.footer-brand .logo__wm { color: #fff; }
.footer-brand p { font-size: .95rem; max-width: 290px; }
.footer-col h4 { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .95rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--orange); padding-left: 3px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; margin-bottom: 10px; }
.footer-contact svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--orange); margin-top: 3px; }
.social { display: flex; gap: 9px; margin-top: 6px; }
.social a { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--steel-line); color: var(--on-steel); transition: background .22s, transform .22s, color .22s; }
.social a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 22px; font-size: .86rem; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .07s; }
[data-reveal][data-delay="2"] { transition-delay: .14s; }
[data-reveal][data-delay="3"] { transition-delay: .21s; }
[data-reveal][data-delay="4"] { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) { *{ animation: none !important; scroll-behavior: auto !important; } [data-reveal]{ opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .standards .container { grid-template-columns: 1fr; gap: 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; transform: translateY(-130%); transition: transform .38s var(--ease); box-shadow: var(--shadow-md); }
  body.nav-open .nav { transform: translateY(0); }
  .nav a { padding: 13px 12px; } .nav a::after { display: none; }
  .nav a:hover, .nav a.active { background: var(--bg-soft); }
  .grid--2, .grid--3, .grid--4, .grid--5, .form__row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero--home { min-height: auto; }
  .hero__ring { width: 380px; right: -140px; opacity: .3; }
}
