/* ============================================================
   GÜRMETAL – STYLES
   EDIT COLOURS AND FONTS HERE: change the values below and the
   whole site follows. Colours are written as #RRGGBB codes.
   ============================================================ */
:root {
  --navy: #002f6e;        /* main brand blue from the logo (buttons, tags) */
  --navy-dark: #001d45;   /* hover blue */
  --sky: #007cbb;         /* second logo blue */
  --ink: #0d1321;         /* dark sections and footer */
  --ink-2: #151c2e;       /* slightly lighter dark */
  --text: #1a1f2b;        /* main text */
  --muted: #5d6576;       /* secondary text */
  --line: #e3e6ec;        /* thin lines */
  --paper: #ffffff;       /* page background */
  --mist: #f4f5f8;        /* light grey sections */
  --brass: #c9a24a;       /* gold accent (2027, highlights) */

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html, main { overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; margin: 0; line-height: 1; letter-spacing: .005em; text-wrap: balance; }
h2 { font-size: clamp(38px, 5vw, 64px); }
h3 { font-size: 22px; letter-spacing: .02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 56ch; font-weight: 400; }

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  padding: 5px 10px 4px;
  margin-bottom: 18px;
  justify-self: start;
  width: fit-content;
}
.tag.light { background: #fff; color: var(--navy); }

.sec-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: clamp(24px, 5vw, 80px); }
@media (max-width: 860px) { .sec-head.split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn i { transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-whatsapp { background: #25d366; color: #0b2a17; margin-top: 28px; }
.btn-whatsapp:hover { background: #1fb957; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; inset: 0 0 auto 0; z-index: 50;
  /* Safari: keep the bar on its own layer so the hero videos/clipped photos never paint over it */
  -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); will-change: transform;
  height: var(--nav-h);
  display: flex; align-items: center;
  color: #fff;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease), height .35s var(--ease);
}
.nav.scrolled { background: rgba(255,255,255,.96); color: var(--text); box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(13,19,33,.06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); --nav-h: 64px; }
.nav-inner { display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.menu { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; white-space: nowrap; }
.menu a:not(.btn) {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  position: relative; padding-block: 6px; opacity: .9;
}
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.menu a:not(.btn):hover::after, .menu a.active::after { transform: scaleX(1); }
.menu .menu-cta { padding: 11px 18px; font-size: 14px; }
/* language dropdown: globe + current code; the list opens under it */
.langs { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px; background: none; color: inherit; cursor: pointer;
  border: 1px solid rgba(255,255,255,.35); border-radius: 2px; padding: 6px 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .1em; transition: border-color .3s;
}
.nav.scrolled .lang-toggle, .nav.menu-open .lang-toggle { border-color: var(--line); }
.lang-toggle:hover { border-color: currentColor; }
.lang-toggle .fa-globe { font-size: 13px; opacity: .85; }
.lang-chev { font-size: 9px; opacity: .7; transition: transform .25s var(--ease); }
.langs.open .lang-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 168px; z-index: 60;
  display: grid; padding: 6px; background: #fff; color: var(--text); border-radius: 4px;
  box-shadow: 0 18px 40px rgba(13,19,33,.18), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.langs.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; background: none; border: 0; border-radius: 3px;
  color: inherit; cursor: pointer; padding: 9px 12px; font-family: var(--font-body); font-size: 14px;
}
.lang-menu button b { font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; width: 24px; color: var(--muted); }
.lang-menu button:hover { background: #f3f1ec; }
.lang-menu button[aria-pressed="true"] { background: #f3f1ec; font-weight: 600; }
.lang-menu button[aria-pressed="true"] b { color: var(--navy); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; margin-inline-start: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) {
  .burger { display: block; }
  .langs { margin-inline-start: auto; }
  .menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; color: var(--text);
    padding: 8px var(--gutter) 24px;
    box-shadow: 0 20px 40px rgba(13,19,33,.12);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s var(--ease), visibility .35s;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .menu.open { transform: none; opacity: 1; visibility: visible; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu a:not(.btn)::after { display: none; }
  .menu .menu-cta { margin-top: 18px; padding: 15px; }
  .nav.menu-open { background: #fff; color: var(--text); }
}
@media (max-width: 480px) {
  .lang-toggle { padding: 5px 7px; gap: 5px; font-size: 12px; }
  .nav-inner { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; background: var(--ink); overflow: hidden;
  padding-block: calc(var(--nav-h) + 40px) 80px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
/* On narrow screens keep the knob rack (right side of the video) in view */
@media (max-width: 900px) { .hero-media video { object-position: 85% 50%; } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,12,24,.88) 0%, rgba(7,12,24,.55) 50%, rgba(7,12,24,.15) 100%),
    linear-gradient(0deg, rgba(7,12,24,.6) 0%, rgba(7,12,24,0) 35%);
}
/* Slow "living" movement on still pictures */
.kenburns { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes kenburns { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.18) translate(-2%, -1.5%); } }
.hero-content { position: relative; z-index: 1; display: grid; gap: 26px; }
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero h1 { font-size: clamp(52px, 9vw, 124px); line-height: .92; filter: drop-shadow(0 2px 18px rgba(7,12,24,.55)); } /* soft shadow keeps the headline readable over the bright gold parts in the video */
.hero h1 span {
  background: linear-gradient(100deg, #fff 20%, #b9c2d3 40%, #fff 55%, #d5d9e2 75%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero-lead { max-width: 52ch; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.92); text-shadow: 0 1px 12px rgba(7,12,24,.6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; z-index: 1; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Figures ---------- */
.figures { border-bottom: 1px solid var(--line); }
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 40px 24px; border-inline-start: 1px solid var(--line); display: grid; gap: 8px; }
.figure:first-child { border-inline-start: 0; padding-inline-start: 0; }
.figure strong { font-family: var(--font-head); font-weight: 700; font-size: clamp(44px, 5.5vw, 72px); line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.figure small { font-size: .5em; margin-inline-start: 2px; }
.figure > span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .figures-grid { grid-template-columns: 1fr 1fr; }
  .figure { padding: 28px 16px; }
  .figure:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Finish cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-body { padding: 22px 22px 26px; display: grid; gap: 10px; position: relative; }
.card-body::before { content: ""; position: absolute; inset-inline-start: 22px; top: 0; width: 36px; height: 3px; background: var(--navy); transition: width .45s var(--ease); }
.card-body p { color: var(--muted); font-size: 15px; }
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(10,42,102,.12); border-color: transparent; }
.card:hover .card-img img { transform: scale(1.08); }
.card:hover .card-body::before { width: calc(100% - 44px); }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr 1fr; gap: 14px; } .card-body { padding: 16px 14px 20px; } .card-body::before { inset-inline-start: 14px; } .card-body p { font-size: 13.5px; } h3 { font-size: 19px; } }

/* ---------- Foundries ---------- */
.foundries { background: var(--mist); }
.foundries-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.foundries-grid h2 { margin-bottom: 22px; }
.foundries-img { position: relative; border-radius: var(--radius); overflow: hidden; }
.foundries-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.foundries-img:hover img { transform: scale(1.04); }
.img-label { position: absolute; bottom: 16px; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(13,19,33,.7); padding: 5px 10px; }
.img-label.left { left: 16px; }
.img-label.right { right: 16px; background: var(--navy); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0 26px; counter-reset: s; }
.steps li { display: grid; gap: 6px; border-top: 2px solid var(--navy); padding-top: 12px; }
.steps b { font-family: var(--font-head); font-size: 34px; line-height: 1; color: var(--navy); }
.steps span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); font-weight: 500; line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid #cfd4de; border-radius: 40px; padding: 6px 14px; font-size: 13px; letter-spacing: .04em; background: #fff; transition: background .3s, color .3s, border-color .3s; }
.chips li:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 900px) { .foundries-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr 1fr; } }

/* ---------- Sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sector {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 22px 28px; background: #fff; position: relative; overflow: hidden;
  transition: background .4s var(--ease);
}
.sector img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: 14px; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.sector h3 { font-size: 21px; margin-bottom: 6px; }
.sector p { font-size: 14px; color: var(--muted); }
.sector::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--navy); transition: width .5s var(--ease); }
.sector:hover img { transform: scale(1.07) rotate(-2deg); }
.sector:hover::after { width: 100%; }
@media (max-width: 1024px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sector { padding: 14px 14px 20px; } .sector h3 { font-size: 18px; } .sector p { font-size: 13px; } }

/* ---------- About / timeline ---------- */
.about { background: var(--ink); color: #fff; overflow: hidden; }
.about-bg { position: absolute; inset: 0; opacity: .14; }
.about-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); animation: drift 40s linear infinite alternate; }
@keyframes drift { from { transform: scale(1.1) translateX(-3%); } to { transform: scale(1.1) translateX(3%); } }
.about .wrap { position: relative; }
.about-text { display: grid; gap: 16px; color: rgba(255,255,255,.75); max-width: 56ch; }
.timeline { display: grid; grid-template-columns: repeat(9, 1fr); gap: 0; position: relative; margin-top: 24px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(255,255,255,.25); }
.timeline li { position: relative; padding: 30px 0 0; padding-inline-end: 14px; display: grid; gap: 8px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; transition: background .3s, transform .3s; }
.timeline li:hover::before { background: #fff; transform: scale(1.3); }
.timeline b { font-family: var(--font-head); font-size: 30px; line-height: 1; }
.timeline span { font-size: 13.5px; color: rgba(255,255,255,.68); line-height: 1.45; }
.timeline .gold b { color: var(--brass); }
.timeline .gold::before { border-color: var(--brass); background: var(--brass); width: 15px; height: 15px; top: 0; }
@media (max-width: 1024px) {
  .timeline { grid-template-columns: 1fr; padding-inline-start: 22px; }
  .timeline::before { left: auto; right: auto; inset-inline-start: 5px; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0 0 26px; padding-inline-start: 18px; grid-template-columns: 80px 1fr; align-items: baseline; }
  .timeline li::before { inset-inline-start: -22px; top: 8px; }
  .timeline .gold::before { inset-inline-start: -24px; top: 6px; }
}

/* ---------- Quality ---------- */
.quality-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.quality-grid h2 { margin-bottom: 22px; }
.quality-img { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.quality-img img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.kenburns-slow { animation: kenburns 36s ease-in-out infinite alternate; }
.checks { display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: flex; gap: 14px; align-items: baseline; font-weight: 500; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.checks i { color: var(--navy); }
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.cert { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; transition: border-color .3s, transform .3s var(--ease); }
.cert i { grid-row: span 2; font-size: 28px; color: var(--navy); }
.cert b { font-family: var(--font-head); font-size: 22px; letter-spacing: .04em; }
.cert span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); min-width: 0; hyphens: auto; overflow-wrap: break-word; }
.cert:hover { border-color: var(--navy); transform: translateY(-3px); }
@media (max-width: 900px) { .quality-grid { grid-template-columns: 1fr; } .certs { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
/* Small phones: icon above the text so long sector names (Russian, German) fit */
@media (max-width: 480px) { .cert { grid-template-columns: 1fr; padding: 18px; } .cert i { grid-row: auto; margin-bottom: 10px; } .cert span { letter-spacing: .06em; } }

/* ---------- References ---------- */
.references { background: var(--mist); }
.ref-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ref-stats div { display: grid; gap: 4px; border-inline-start: 2px solid var(--navy); padding-inline-start: 16px; }
.ref-stats strong { font-family: var(--font-head); font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--navy); }
.ref-stats div > span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logo-wall li {
  background: #fff; min-height: 110px; display: grid; place-items: center; text-align: center; padding: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; color: #8a91a1;
  transition: color .3s, background .3s;
}
.logo-wall li img { display: block; width: 100%; max-width: 190px; height: auto; opacity: .55; transition: opacity .3s; }
.logo-wall li:hover { color: var(--navy); }
.logo-wall li:hover img { opacity: .95; }
.export { margin-top: 48px; }
@media (max-width: 1024px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } .logo-wall li { min-height: 84px; font-size: 18px; } .ref-stats { gap: 10px; } }

/* ---------- On request ---------- */
.capabilities .sec-head { max-width: 760px; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: grid; gap: 10px; align-content: start; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.cap i { font-size: 26px; color: var(--navy); margin-bottom: 8px; transition: color .35s; }
.cap p { color: var(--muted); font-size: 15px; transition: color .35s; }
.cap:hover { background: var(--navy); color: #fff; transform: translateY(-4px); }
.cap:hover i, .cap:hover p { color: #fff; }
@media (max-width: 1024px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; }
.contact .lead { color: rgba(255,255,255,.72); margin-top: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 34px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list i { color: var(--brass); margin-top: 5px; width: 18px; }
.contact-list div { display: grid; }
.contact-list b { font-family: var(--font-head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; color: rgba(255,255,255,.6); }
.contact-list a:hover { color: var(--brass); }
.quote-form { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.quote-form h3 { font-size: 30px; margin-bottom: 4px; }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--text);
  border: 0; border-bottom: 1px solid #cfd4de; background: transparent; padding: 10px 0; border-radius: 0; width: 100%;
  transition: border-color .3s;
}
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-bottom-color: var(--navy); }
.quote-form .invalid { border-bottom-color: #c0392b; }
.quote-form .btn { justify-self: start; margin-top: 6px; }
.form-note { font-size: 14px; color: var(--navy); min-height: 1.4em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .quote-form .row { grid-template-columns: 1fr; } .quote-form .btn { justify-self: stretch; } }

/* ---------- Footer ---------- */
.footer { background: #070b14; color: rgba(255,255,255,.7); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 2fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer p { max-width: 36ch; font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 26px; align-content: start; }
.footer nav a { font-family: var(--font-head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.footer nav a:hover { color: #fff; }
.socials { display: flex; gap: 10px; justify-content: flex-end; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } .socials { justify-content: flex-start; } }

/* ---------- Toast and back-to-top ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60; max-width: calc(100% - 32px);
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: var(--radius); font-size: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.to-top {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(10,42,102,.3);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease), background .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy-dark); }

/* Respect visitors who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ============================================================
   VIDEOS AND FINAL IMAGE SET
   ============================================================ */
video { background: var(--ink); }

/* About: text + portrait video */
.about-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.about-copy h2 { margin-bottom: 26px; }
.about-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; justify-self: end; width: 100%; }
.about-media video { width: 100%; height: 100%; object-fit: cover; }
.story-band { margin: 0 0 clamp(40px, 5vw, 64px); position: relative; border-radius: var(--radius); overflow: hidden; }
.story-band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.story-band:hover img { transform: scale(1.03); }
.story-band figcaption { position: absolute; inset: auto 0 16px 0; display: flex; justify-content: space-between; padding-inline: 18px; }
.story-band figcaption span { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; background: rgba(13,19,33,.75); padding: 5px 10px; }
.story-band figcaption span:last-child { background: var(--navy); }
@media (max-width: 860px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-media { justify-self: stretch; aspect-ratio: 4 / 3; }
  .story-band img { aspect-ratio: 16 / 9; }
}

/* Full-width video band */
.video-band { position: relative; isolation: isolate; min-height: clamp(360px, 52vw, 620px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.video-band video, .video-band .video-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.video-band::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(7,12,24,.85) 0%, rgba(7,12,24,.2) 55%, rgba(7,12,24,.1) 100%); }
.video-band-text { position: relative; z-index: 2; -webkit-transform: translateZ(0); transform: translateZ(0); padding-block: clamp(36px, 6vw, 72px); display: grid; gap: 12px; }
.band-line { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 5vw, 64px); line-height: 1; }

/* References: 50-year badge with liquid chrome video */
.references .sec-head.split { grid-template-columns: 1.1fr 1fr auto; }
.badge50 { position: relative; width: clamp(120px, 12vw, 160px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center; box-shadow: 0 16px 40px rgba(10,42,102,.2); }
.badge50 video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge50::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(7,12,24,.25) 0%, rgba(7,12,24,.6) 100%); }
.badge50 span { position: relative; z-index: 1; color: #fff; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; }
.badge50 b { display: block; font-size: clamp(44px, 4.5vw, 58px); line-height: .9; letter-spacing: 0; }
@media (max-width: 860px) { .references .sec-head.split { grid-template-columns: 1fr; } }

/* Export block: picture + countries */
.export { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.export img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .export { grid-template-columns: 1fr; } }

/* Sector cards that use a full photo (not a product on white) */
.sector.photo img { object-fit: cover; mix-blend-mode: normal; border-radius: 2px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Logo ----------
   The white logo shows over the dark top of the page and in the footer,
   the colour logo once the menu bar turns white. */
.logo-img { display: block; height: 30px; width: auto; }
/* "50. YIL" anniversary mark next to the wordmark */
.logo-50 { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 15px; letter-spacing: .04em; line-height: 1;
  color: var(--brass); white-space: nowrap; padding-inline-start: 10px; border-inline-start: 1px solid currentColor; }
.logo-on-light { display: none; }
.nav.scrolled .logo-on-dark, .nav.menu-open .logo-on-dark { display: none; }
.nav.scrolled .logo-on-light, .nav.menu-open .logo-on-light { display: block; }
.nav.scrolled .logo-50, .nav.menu-open .logo-50 { color: #9a7a2c; }
.footer .logo-img { height: 36px; }
@media (max-width: 1240px) { .nav .logo-img { height: 26px; } .logo-50 { font-size: 13px; } }
@media (max-width: 480px) { .nav .logo-img { height: 21px; } .logo-50 { font-size: 11px; padding-inline-start: 7px; } .logo { gap: 7px; } }

/* ============================================================
   LANGUAGES
   Russian headings use Roboto Condensed (the main heading font has no
   Cyrillic letters). Arabic uses Cairo and IBM Plex Sans Arabic and reads
   right to left; most of the layout mirrors by itself, the rules below
   handle the rest.
   ============================================================ */
html[lang="ru"] { --font-head: "Roboto Condensed", "Arial Narrow", Arial, sans-serif; }
html[lang="ar"] { --font-head: "Cairo", Tahoma, Arial, sans-serif; --font-body: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif; }

/* Long German, Russian and Turkish words in headings break with a hyphen instead of running off the screen */
html:is([lang="de"], [lang="ru"], [lang="tr"]) :is(h1, h2, h3, .band-line) { hyphens: auto; overflow-wrap: break-word; }

/* Arabic */
[dir="rtl"] body * { letter-spacing: 0 !important; }           /* spacing would break the joined letters */
[dir="rtl"] :is(h1, h2, h3, .band-line) { line-height: 1.3; }
[dir="rtl"] .hero h1 { line-height: 1.2; font-size: clamp(44px, 7.5vw, 104px); }
/* Arabic: mirror the hero video so the parts sit on the left, away from the right-aligned headline */
[dir="rtl"] .hero-media video { transform: scaleX(-1); }
[dir="rtl"] .hero-media::after {
  background:
    linear-gradient(270deg, rgba(7,12,24,.88) 0%, rgba(7,12,24,.55) 50%, rgba(7,12,24,.15) 100%),
    linear-gradient(0deg, rgba(7,12,24,.6) 0%, rgba(7,12,24,0) 35%);
}
[dir="rtl"] .btn i.fa-arrow-right { transform: scaleX(-1); }
[dir="rtl"] .btn:hover i.fa-arrow-right { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .menu a:not(.btn)::after { transform-origin: right; }
[dir="rtl"] .story-band figcaption { direction: ltr; }          /* the photo is not mirrored: 1977 stays on its left half */

/* ============================================================
   GROUP SITE (group home, components, HORECA)
   ============================================================ */
/* Menu: the page you are on stays underlined */
.menu a.current::after { transform: scaleX(1); }

/* Group home hero: text on the left, one tall picture per business line on the right */
.hero-group { background: radial-gradient(120% 90% at 80% 20%, #1b2440 0%, var(--ink) 60%); }
.hero-group-grid { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-group h1 { font-size: clamp(46px, 6.4vw, 96px); }
.hero-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: min(66vh, 620px); }
.panel { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.panel:nth-child(2) { transform: translateY(-28px); }
.panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,12,24,.85) 0%, rgba(7,12,24,0) 55%); transition: background .4s; }
.panel span { position: absolute; inset-inline: 16px; bottom: 16px; z-index: 1; display: grid; gap: 4px; font-family: var(--font-head); font-weight: 600; font-size: clamp(16px, 1.4vw, 20px); letter-spacing: .08em; text-transform: uppercase; line-height: 1.15; }
.panel span b { font-size: 13px; letter-spacing: .2em; color: var(--brass); }
.panel:hover img { transform: scale(1.06); }
@media (max-width: 960px) {
  .hero-group-grid { grid-template-columns: 1fr; }
  .hero-panels { height: 260px; }
  .panel:nth-child(2) { transform: none; }
}
@media (max-width: 520px) { .hero-panels { height: 200px; gap: 8px; } .panel span { inset-inline: 10px; bottom: 10px; font-size: 13px; } }

/* Five figures in a row on the group home */
.figures-grid.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) {
  .figures-grid.five { grid-template-columns: repeat(3, 1fr); }
  .figures-grid.five .figure { border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
  .figures-grid.five .figure:nth-child(3n+1) { border-inline-start: 0; padding-inline-start: 0; }
  .figures-grid.five .figure:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .figures-grid.five { grid-template-columns: 1fr 1fr; }
  .figures-grid.five .figure { border-top: 0; border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
  .figures-grid.five .figure:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .figures-grid.five .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Business line cards */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.branch { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.branch-img { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--mist); }
.branch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.branch-body { padding: 26px 26px 30px; display: grid; gap: 12px; align-content: start; }
.branch-kicker { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); }
.branch h3 { font-size: clamp(26px, 2.4vw, 34px); }
.branch-body > p:not(.branch-kicker) { color: var(--muted); font-size: 15px; }
.branch-link { margin-top: 6px; font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); display: inline-flex; gap: 10px; align-items: center; }
.branch-link i { transition: transform .3s var(--ease); }
.branch:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(10,42,102,.12); }
.branch:hover .branch-img img { transform: scale(1.06); }
.branch:hover .branch-link i { transform: translateX(5px); }
@media (max-width: 960px) { .branch-grid { grid-template-columns: 1fr; } .branch { grid-template-columns: 1fr 1.2fr; grid-template-rows: none; } .branch-img { aspect-ratio: auto; min-height: 220px; } }
@media (max-width: 600px) { .branch { grid-template-columns: 1fr; } .branch-img { aspect-ratio: 16 / 10; min-height: 0; } }

/* Photo hero (components, HORECA): a stronger shade so the text stays readable on light photos */
.hero-photo .hero-media::after {
  background:
    linear-gradient(90deg, rgba(7,12,24,.92) 0%, rgba(7,12,24,.7) 45%, rgba(7,12,24,.25) 100%),
    linear-gradient(0deg, rgba(7,12,24,.6) 0%, rgba(7,12,24,0) 40%);
}

/* Production chain */
.process { background: var(--mist); }
.process .sec-head { max-width: 760px; }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.flow::before { content: ""; position: absolute; top: 23px; inset-inline: 24px; height: 2px; background: linear-gradient(90deg, var(--navy), var(--sky)); }
.flow li { position: relative; display: grid; gap: 10px; align-content: start; }
.flow b { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 18px; letter-spacing: .04em; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--mist); }
.flow i { font-size: 22px; color: var(--navy); margin-top: 12px; }
.flow h3 { font-size: 21px; }
.flow p { font-size: 14px; color: var(--muted); }
@media (max-width: 1024px) { .flow { grid-template-columns: repeat(3, 1fr); row-gap: 36px; } .flow::before { display: none; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr 1fr; } }
.more-link { margin-top: 26px; }
.more-link a { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); display: inline-flex; gap: 10px; align-items: center; border-bottom: 2px solid currentColor; padding-bottom: 4px; }

/* Dark band with one line and a button (links between pages) */
.crosslink { background: var(--navy); color: #fff; }
.crosslink-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; padding-block: clamp(44px, 6vw, 72px); }
.crosslink-line { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 4vw, 48px); line-height: 1; margin-bottom: 10px; }
.crosslink-inner p:not(.crosslink-line):not(.tag) { color: rgba(255,255,255,.78); max-width: 56ch; }
.crosslink .btn-primary { background: #fff; color: var(--navy); }
.crosslink .btn-primary:hover { background: var(--brass); color: var(--ink); }

/* Retroline models */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.models li { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; display: grid; text-align: center; }
.models img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; transition: transform 1.2s var(--ease); }
.models li:hover img { transform: scale(1.05); }
.models b { font-family: var(--font-head); font-weight: 600; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; padding: 16px; border-top: 1px solid var(--line); }
.models-ph { display: grid; place-items: center; aspect-ratio: 4 / 4.4; background: linear-gradient(160deg, #f4efe6, #e6dccb); color: #b08a4a; font-size: 72px; }
.models b { font-size: 18px; letter-spacing: .1em; }
.models-note { margin-top: 22px; color: var(--muted); }
.models-note a { color: var(--navy); text-decoration: underline; }
@media (max-width: 600px) { .models { grid-template-columns: 1fr 1fr; gap: 12px; } .models li:last-child { grid-column: span 2; } .models li:last-child img { aspect-ratio: 16 / 10; } .models-ph { font-size: 48px; } .models b { font-size: 14px; padding: 12px 8px; } }

/* Venue photo grid */
.venues { background: var(--ink); color: #fff; }
.venue-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 20vw, 280px); gap: 12px; }
.venue-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.venue-grid .v-wide { grid-column: span 2; grid-row: span 2; }
.venue-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.venue-grid figure:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .venue-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } }
.foundries .lead + .chips { margin-top: 24px; }
#retroline .sec-head.split { align-items: start; }

/* ---------- HOME HERO: full-screen split into the three business lines ----------
   Grey until the mouse is over a column; the active column turns to colour,
   its big gold title rises from the bottom. Seams between columns are slanted. */
.splash { min-height: 100svh; padding: 0; display: block; background: var(--ink); overflow: hidden; position: relative; }
.splash-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.splash-col { position: relative; display: block; color: #fff; text-decoration: none; outline-offset: -6px; }
.splash-media { position: absolute; top: 0; bottom: 0; left: -4vw; right: -4vw; z-index: 0;
  clip-path: polygon(4vw 0, 100% 0, calc(100% - 4vw) 100%, 0 100%); transition: z-index 0s .2s; }
.splash-col:first-child .splash-media { left: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 4vw) 100%, 0 100%); }
.splash-col:last-child .splash-media { right: 0; clip-path: polygon(4vw 0, 100% 0, 100% 100%, 0 100%); }
.splash-media img, .splash-media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.5) contrast(1.05);
  transform: scale(1.04); transition: filter .6s var(--ease), transform 1.4s var(--ease); }
.splash-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,12,24,.85) 0%, rgba(7,12,24,0) 45%); }
.splash-col.is-active .splash-media { z-index: 1; transition: z-index 0s; }
.splash-col.is-active .splash-media img, .splash-col.is-active .splash-media video { filter: none; transform: scale(1); }
/* Retroline logo under the HORECA title */
.splash-brand { display: block; width: clamp(110px, 9vw, 150px); height: auto; margin: 14px auto 0; opacity: .95; }
.splash-t2 .splash-brand { width: clamp(150px, 13vw, 230px); margin-top: 18px; }
.splash-t1, .splash-t2 { position: absolute; z-index: 2; inset-inline: 0; text-align: center; font-family: var(--font-head); text-transform: uppercase; pointer-events: none; }
.splash-t1 { top: 50%; transform: translateY(-50%); font-size: clamp(14px, 1.2vw, 18px); font-weight: 600; letter-spacing: .32em;
  transition: opacity .4s var(--ease), transform .6s var(--ease); }
.splash-t2 { bottom: clamp(70px, 11vh, 120px); font-size: clamp(34px, 3.8vw, 64px); font-weight: 700; line-height: .95; color: var(--brass);
  opacity: 0; transform: translateY(40px); transition: opacity .5s var(--ease), transform .7s var(--ease); text-shadow: 0 2px 24px rgba(7,12,24,.6); }
.splash-t2 b { display: block; margin-bottom: 12px; font-size: 13px; letter-spacing: .3em; color: #fff; }
.splash-col.is-active .splash-t1 { opacity: 0; transform: translateY(-80%); }
.splash-col.is-active .splash-t2 { opacity: 1; transform: none; }
.splash-tagline { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; pointer-events: none;
  font-family: var(--font-head); font-size: 13px !important; line-height: 1.4; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.75); filter: none; }
.splash-tagline span { color: var(--brass); margin-right: 14px; }
.splash .scroll-cue { display: none; }
@media (max-width: 760px) {
  .splash { min-height: 0; padding-top: 72px; }
  .splash-cols { position: relative; grid-template-columns: 1fr; }
  .splash-col { height: 30svh; min-height: 200px; }
  .splash-media, .splash-col:first-child .splash-media, .splash-col:last-child .splash-media { left: 0; right: 0; clip-path: none; }
  .splash-media img, .splash-media video { filter: none; transform: none; }
  .splash-t2 .splash-brand { width: 130px; margin: 10px 0 0; }
  .splash-t1 { display: none; }
  .splash-t2 { opacity: 1; transform: none; bottom: 18px; inset-inline: 20px; text-align: left; font-size: 30px; }
  .splash-tagline { position: static; padding: 18px 16px 22px; font-size: 11px !important; letter-spacing: .16em; }
  .splash-tagline span { display: block; margin: 0 0 4px; }
}
.splash::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 160px; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,12,24,.7), rgba(7,12,24,0)); }
@media (max-width: 760px) { .splash::before { display: none; } }
/* Arabic: keep the three hero columns in the same order and slant, text inside still reads right to left */
[dir="rtl"] .splash-cols { direction: ltr; }
[dir="rtl"] .splash-col { direction: rtl; }
[dir="rtl"] .splash-t2 { line-height: 1.25; }
/* Russian hero titles are longer: a little smaller so they stay inside their column */
html[lang="ru"] .splash-t2 { font-size: clamp(28px, 2.9vw, 50px); }
@media (max-width: 760px) { html[lang="ru"] .splash-t2 { font-size: 26px; } }
/* Turkish pages mark the brand "Retroline" as English so it is written RETROLINE in capitals (not RETROLİNE) */
.hero h1 > span[lang="en"] { background: none; color: inherit; animation: none; }

/* ============================================================
   Client round 3 (12 Nov): HORECA and Beyaz eşya heroes, Retroline range
   ============================================================ */
/* upright hero photo sits on the right and fades into the dark side, so the headline does not cover the product */
@media (min-width: 901px) {
  .hero-photo .hero-media-side { background: #070c18; }
  .hero-photo .hero-media-side img { position: absolute; top: 0; right: 0; width: 58%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); }
  .hero-photo .hero-media-side::after { background: linear-gradient(90deg, rgba(7,12,24,.55) 0%, rgba(7,12,24,.15) 60%, rgba(7,12,24,0) 100%), linear-gradient(0deg, rgba(7,12,24,.6) 0%, rgba(7,12,24,0) 35%); }
  /* Arabic: the whole picture is mirrored, so the product sits on the left, away from the right-aligned headline */
  [dir="rtl"] .hero-photo .hero-media-side { transform: scaleX(-1); }
  .hero-photo:has(.hero-media-side) h1 { font-size: clamp(52px, 6.4vw, 96px); }
  [dir="rtl"] .hero-photo:has(.hero-media-side) h1 { font-size: clamp(40px, 5vw, 74px); }
}
/* third, smaller headline line ("%100 Gürmetal üretimi") */
.hero h1 .h1-note { display: block; margin-top: .45em; font-style: normal; font-size: .34em; letter-spacing: .16em; line-height: 1.1; color: var(--brass); }
/* catalogue + store buttons side by side in the dark band */
.crosslink-btns { display: flex; flex-wrap: wrap; gap: 12px; }
/* the full Retroline range, grouped by model */
.rl-intro { margin-top: clamp(56px, 7vw, 96px); }
.rl-group { margin-top: 36px; }
.rl-head { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.rl-head small { display: inline-block; margin-inline-start: 10px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--muted); }
.rl-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.rl-grid a { display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; color: var(--ink); text-align: center; transition: border-color .3s, box-shadow .3s; }
.rl-grid a:hover { border-color: var(--brass); box-shadow: 0 8px 24px rgba(7,12,24,.08); }
.rl-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease); }
.rl-grid a:hover img { transform: scale(1.04); }
.rl-grid span { font-size: 13px; line-height: 1.3; padding: 10px 6px 12px; border-top: 1px solid var(--line); }
@media (max-width: 1024px) { .rl-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .rl-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .rl-grid span { font-size: 11px; padding: 7px 4px 9px; } .rl-head { font-size: 18px; } .rl-head small { display: block; margin: 4px 0 0; } }

/* Retroline colour cards: one card per model, the picture cycles through its colours */
.rl-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 32px; }
.rl-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.rl-pic { display: block; overflow: hidden; background: #fff; }
.rl-pic img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .16s linear, transform 1s var(--ease); }
.rl-pic img.is-fading { opacity: 0; }
.rl-pic:hover img { transform: scale(1.04); }
.rl-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 16px 16px 0; border-top: 1px solid var(--line); }
.rl-sub { font-size: 13px; color: var(--muted); padding: 2px 16px 0; }
.rl-color { font-size: 14px; font-weight: 600; color: var(--ink); padding: 10px 16px 0; min-height: 1.5em; }
.rl-swatches { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 16px 18px; margin-top: auto; }
.rl-sw { width: 20px; height: 20px; border-radius: 50%; padding: 0; cursor: pointer; background: var(--sw);
  border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 2px #fff; transition: transform .2s var(--ease), box-shadow .2s; }
.rl-sw-metal { background: linear-gradient(135deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,.18) 100%), var(--sw); }
.rl-sw:hover { transform: scale(1.15); }
.rl-sw[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--ink); }
.rl-more { margin-top: 40px; }
.rl-strip { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.rl-strip a { display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; color: var(--ink); text-align: center; transition: border-color .3s; }
.rl-strip a:hover { border-color: var(--brass); }
.rl-strip img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.rl-strip span { font-size: 12px; line-height: 1.3; padding: 8px 4px 10px; border-top: 1px solid var(--line); }
@media (max-width: 1240px) { .rl-line { grid-template-columns: repeat(3, 1fr); } .rl-strip { grid-template-columns: repeat(5, 1fr); } }
/* phones: the cards and the strip become one row you swipe sideways */
@media (max-width: 760px) {
  .rl-line, .rl-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
  .rl-card { flex: 0 0 78%; scroll-snap-align: start; }
  .rl-strip li { flex: 0 0 34%; scroll-snap-align: start; }
  .rl-sw { width: 24px; height: 24px; }
}
/* WhatsApp + catalogue buttons side by side under the contact details */
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-btns .btn-whatsapp { margin-top: 0; }

/* Home hero: the knob and the lamp photos drift slowly (the Fason column is a video and moves by itself).
   Uses the separate translate/scale properties so the hover zoom on transform still works. */
@keyframes splash-pan-lr { from { translate: -6% 0; } to { translate: 6% 0; } }
@keyframes splash-pan-rl { from { translate: 6% 2.5%; } to { translate: -6% -2.5%; } }
.splash-col:nth-child(2) .splash-media img { scale: 1.14; animation: splash-pan-lr 9s ease-in-out infinite alternate; }
.splash-col:nth-child(3) .splash-media img { scale: 1.14; animation: splash-pan-rl 10s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .splash-col .splash-media img { animation: none; } }
/* a video the browser would not start (Low Power Mode, reduced motion) is replaced by its still picture */
.video-still { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Text only for screen readers */
.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; }

/* Safari: never show the native play button over background videos */
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video::-webkit-media-controls { display: none !important; }
/* Safari: keep the band text above the video layer even while it fades in */


/* ============================================================
   2026-11 UPDATE
   ============================================================ */
/* White goods hero: small line above the headline ("Rustic and high-end.") */
.h1-pre { display: block; font-size: .42em; line-height: 1.2; letter-spacing: .14em; color: var(--brass, #c9a45c); margin-bottom: .35em; }

/* Home: about text alone (picture moved to the wide band below) */
.about-intro-solo { grid-template-columns: 1fr; }
.about-intro-solo .about-copy { max-width: 980px; }
.story-building img { aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .story-building img { aspect-ratio: 4 / 3; } }

/* White goods: portrait materials photo */
.foundries-portrait { grid-template-columns: .8fr 1fr; }
.foundries-img.portrait img { aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .foundries-portrait { grid-template-columns: 1fr; } .foundries-img.portrait img { aspect-ratio: 4 / 4; } }

/* White goods: applications grid (from the client's drawing) */
.app-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.app-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.app-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 6%; }
.app-grid span { font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.app-grid li:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10,42,102,.10); }
@media (max-width: 1024px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .app-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .app-grid span { font-size: 13px; padding: 10px 10px 12px; } }

/* Surface treatment: colour range section */
.palette { background: var(--mist); }
.palette-tubes { margin: 0 0 clamp(24px, 3vw, 36px); border-radius: var(--radius); overflow: hidden; background: #0b0d12; }
.palette-tubes img { display: block; width: 100%; height: auto; aspect-ratio: 955 / 667; object-fit: cover; max-height: 480px; }
.palette-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.palette-lamp .rl-card { height: 100%; }
.palette-lamp .rl-pic img { aspect-ratio: 1; object-fit: contain; padding: 4% 0; }
.palette-lamp .rl-title { font-size: 20px; letter-spacing: .02em; }
.palette-lamp .rl-sub { font-size: 14px; }
@media (max-width: 900px) { .palette-grid { grid-template-columns: 1fr; } }

/* Switch frame: changes finish by itself (no slider). Pictures come from the .fs-dot buttons. */
.fs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fs-pic { position: relative; background: #fff; }
.fs-pic img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 4%; }
.fs-pic .fs-top { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.fs-pic .fs-top.is-on { opacity: 1; }
.fs-body { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); flex: 1; }
.fs-body h3 { font-size: 20px; letter-spacing: .02em; }
.fs-body p { color: var(--muted); font-size: 14px; }
.fs-body .fs-name { color: var(--ink); font-weight: 700; font-size: 17px; margin-top: 4px; min-height: 1.4em; }
.fs-dots { display: flex; flex-wrap: wrap; gap: 7px; }
.fs-dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); padding: 0; cursor: pointer; transition: transform .2s; }
.fs-dot:hover { transform: scale(1.12); }
.fs-dot[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--ink); }
@media (prefers-reduced-motion: reduce) { .fs-pic .fs-top { transition: none; } }
