/* GMK Healthcare — institutional medical aesthetic
   Restrained editorial precision. Deep navy + warm cream.
   Brand red reserved for accents only. */

:root {
  color-scheme: light;

  --bg: #FAFAF7;
  --bg-warm: #F2F0EA;
  --surface: #FFFFFF;
  --ink: #0B1220;
  --ink-2: #3F4754;
  --ink-3: #6F7785;
  --hairline: #E4E1D9;
  --hairline-strong: #CDC8BC;

  --navy: #0E2A4A;
  --navy-2: #163A66;
  --navy-deep: #061528;
  --blue: #1A6DC9;
  --blue-2: #5F9CE0;
  --red: #B91C2C;

  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.72);
  --on-dark-soft: rgba(255, 255, 255, 0.52);
  --on-dark-line: rgba(255, 255, 255, 0.16);

  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);

  --radius: 4px;
  --radius-card: 14px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-deep: cubic-bezier(0.16, 0.84, 0.24, 1);

  --shadow-card: 0 1px 0 rgba(11, 18, 32, 0.04), 0 20px 60px rgba(11, 18, 32, 0.06);
  --shadow-lift: 0 1px 0 rgba(11, 18, 32, 0.05), 0 30px 80px rgba(11, 18, 32, 0.10);

  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss03", "ss04", "case", "tnum";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
:lang(en) body, :lang(en) p, :lang(en) li { line-height: 1.55; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 1000;
  background: var(--ink); color: var(--on-dark);
  padding: 10px 14px; border-radius: 4px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ─────────── Container & section primitives ─────────── */

.section {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
}
.section-fullbleed { position: relative; width: 100%; }

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.section-aside { position: sticky; top: 120px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}
.section-heading-dark { border-bottom-color: var(--on-dark-line); }
.section-heading > div { max-width: 720px; }

/* ─────────── Typography ─────────── */

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; word-break: keep-all; overflow-wrap: anywhere; }

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.18;
  letter-spacing: -0.005em;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: -0.003em;
  font-weight: 700;
}
h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.3;
  font-weight: 700;
}
:lang(en) h1, :lang(en) h2, :lang(en) h3 { letter-spacing: -0.018em; }

p { margin: 0; }
.lead { font-size: 1.18rem; line-height: 1.62; color: var(--ink); }
:lang(en) .lead { line-height: 1.5; }
.section-lead { color: var(--ink-2); max-width: 620px; margin-top: 14px; }

.mono, .cred-mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-feature-settings: "tnum";
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow-mark {
  width: 26px;
  height: 1px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow-light { color: var(--on-dark-muted); }
.eyebrow-light .eyebrow-mark { background: var(--blue-2); }

/* ─────────── Buttons ─────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.button:hover { background: var(--ink); color: var(--on-dark); }
.button.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
  padding-right: 26px;
}
.button.primary::after {
  content: "→";
  font-weight: 500;
  transition: transform .2s var(--ease);
}
.button.primary:hover { background: var(--blue); border-color: var(--blue); }
.button.primary:hover::after { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover { gap: 12px; color: var(--blue); }
.link-arrow:hover::after { transform: translateX(2px); }
.link-arrow-muted { color: var(--ink-2); border-color: var(--hairline-strong); }
.link-arrow-muted:hover { color: var(--blue); }

.hero .link-arrow,
.section-heading-dark .link-arrow {
  color: var(--on-dark);
  border-color: var(--on-dark-line);
}
.hero .link-arrow:hover { color: #fff; border-color: #fff; }

/* ─────────── Navigation ─────────── */

.site-header {
  position: relative;
  color: var(--on-dark);
}
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad-x);
  width: 100%;
}
.brand img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter .25s var(--ease);
}
.menu {
  display: flex;
  align-items: center;
  gap: 30px;
}
.menu a {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color .2s var(--ease);
}
.menu a:hover { color: var(--on-dark); }
.lang-toggle {
  background: transparent;
  border: 1px solid var(--on-dark-line);
  color: var(--on-dark-muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.lang-toggle:hover { color: var(--on-dark); border-color: rgba(255,255,255,.5); }
.nav-cta {
  background: var(--on-dark);
  color: var(--ink) !important;
  padding: 10px 18px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-cta:hover { background: var(--blue); color: var(--on-dark) !important; }
.menu-toggle {
  display: none;
  position: relative;
  z-index: 60;
  background: transparent;
  border: 1px solid var(--on-dark-line);
  padding: 10px;
  border-radius: 2px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.menu-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--on-dark);
  transform-origin: center;
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}
.menu-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.46);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}
body.menu-open { overflow: hidden; }

body.is-stuck .nav {
  position: fixed;
  top: 0;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--on-dark-line);
  animation: slidedown .35s var(--ease) both;
}
@keyframes slidedown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ─────────── Hero ─────────── */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 140px var(--pad-x) clamp(64px, 8vw, 110px);
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-photo {
  position: absolute; inset: 0;
  background-image: url("/assets/photo-hero-cleanroom.jpg");
  background-size: cover;
  background-position: center 30%;
  filter: saturate(0.85) contrast(1.02);
  animation: heroDrift 22s var(--ease-deep) both;
}
@keyframes heroDrift {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(140deg, rgba(11, 18, 32, .82) 0%, rgba(11, 18, 32, .55) 42%, rgba(11, 18, 32, .35) 100%),
    linear-gradient(0deg, rgba(11, 18, 32, .55) 0%, rgba(11, 18, 32, .00) 60%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: .35;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), 100%);
  margin: 0 auto;
  max-width: 100%;
}
.hero h1 {
  max-width: 16ch;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  color: var(--on-dark);
  letter-spacing: -0.01em;
}
.hero .eyebrow { color: var(--on-dark-soft); }
.hero-sub {
  max-width: 56ch;
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--on-dark-muted);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}
.hero .button.primary {
  background: var(--on-dark);
  border-color: var(--on-dark);
  color: var(--navy);
}
.hero .button.primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--on-dark);
}

.hero-scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(28px, 5vw, 56px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--on-dark-soft);
}
.hero-scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.6), transparent);
  background-size: 100% 200%;
  animation: scrollLine 2.4s ease-in-out infinite;
}
.hero-scroll-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  writing-mode: vertical-rl;
}
@keyframes scrollLine {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0 100%; }
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease-deep), transform .9s var(--ease-deep); }
.reveal.is-in { opacity: 1; transform: none; }

/* ─────────── Credentials ribbon ─────────── */

.credentials {
  background: var(--bg-warm);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.credentials-inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 26px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cred {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 24px;
  border-left: 1px solid var(--hairline-strong);
}
.cred:first-child { border-left: 0; padding-left: 0; }
.cred-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.cred-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
}
.cred-value.cred-mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  font-weight: 500;
}

/* ─────────── Company section ─────────── */

.company .section-aside h2 { max-width: 14ch; }
.company .section-main p + p { margin-top: 18px; color: var(--ink-2); }
.company .facts {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.fact:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--hairline); }
.fact:nth-child(even) { padding-left: 28px; }
.fact dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  flex-shrink: 0;
}
.fact dd { font-weight: 600; font-size: 0.98rem; text-align: right; }

.company-photo {
  margin: clamp(64px, 8vw, 96px) 0 0;
  position: relative;
}
.company-photo img {
  width: 100%;
  height: clamp(280px, 50vw, 560px);
  object-fit: cover;
  object-position: 60% center;
  border-radius: 2px;
}
.company-photo figcaption {
  margin-top: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  padding-left: 14px;
  border-left: 2px solid var(--blue);
}

/* ─────────── Team message ─────────── */

.ceo-section {
  background: var(--bg-warm);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.ceo-inner { padding-top: clamp(80px, 9vw, 128px); padding-bottom: clamp(80px, 9vw, 128px); }
.ceo-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.ceo-photo {
  margin: 0;
  position: relative;
  background: var(--surface);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-lift);
}
.ceo-photo::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--hairline-strong);
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}
.ceo-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center center;
}
.ceo-copy { max-width: 60ch; }
.ceo-copy .eyebrow { margin-bottom: 24px; }
.ceo-quote {
  margin: 0 0 28px;
  position: relative;
  padding-left: 0;
}
.ceo-quote p {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  word-break: keep-all;
}
:lang(en) .ceo-quote p { letter-spacing: -0.018em; line-height: 1.3; }
.ceo-quote-mark {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 8px;
  font-weight: 500;
}
.ceo-body {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 54ch;
}
:lang(en) .ceo-body { line-height: 1.55; }
.ceo-signature {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-strong);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.ceo-name strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.ceo-name span {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .ceo-grid { grid-template-columns: 1fr; gap: 32px; }
  .ceo-photo { aspect-ratio: 16 / 10; max-width: 720px; }
}

/* ─────────── Capabilities cards ─────────── */

.capabilities .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.card {
  position: relative;
  padding: 36px 32px 38px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-card);
}
.card-num {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.card-num-line {
  display: block;
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.card h3 { margin-bottom: 14px; }
.card p { color: var(--ink-2); }

/* ─────────── Products / Featured ─────────── */

.products .section-heading {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.feature-product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  margin-top: clamp(64px, 8vw, 96px);
}
.feature-product-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}
.feature-product-reverse .feature-photo-left { order: 0; }
.feature-product-reverse .feature-copy { order: 1; }
.feature-photo {
  background: var(--bg-warm);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.feature-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.feature-photo-right img { object-position: center 60%; }
.feature-photo-left img { object-position: 30% center; }
.feature-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.feature-copy h3 {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  margin-bottom: 18px;
}
.feature-copy > p { color: var(--ink-2); }
.spec-list {
  margin-top: 28px;
  border-top: 1px solid var(--hairline);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.95rem;
}
.spec-list li > span:first-child {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  flex-shrink: 0;
}
.spec-list li > span:last-child { font-weight: 500; text-align: right; }
.feature-actions { margin-top: 28px; }

.supply-note {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--hairline);
  background: var(--bg-warm);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 36px;
  align-items: end;
}
.supply-note h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
  margin-bottom: 12px;
}
.supply-note p:not(.feature-tag) {
  color: var(--ink-2);
  max-width: 72ch;
}
.supply-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 14px 22px;
}

.products-cta {
  margin-top: clamp(56px, 7vw, 80px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* ─────────── Quality (dark, full-bleed) ─────────── */

.quality {
  background: var(--navy-deep);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.quality-bg {
  position: absolute; inset: 0;
  background-image: url("/assets/photo-hero-cleanroom.jpg");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.18;
  filter: saturate(0.4) contrast(1.1);
}
.quality::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, .65) 0%, rgba(11, 18, 32, .92) 100%);
  pointer-events: none;
}
.quality-inner { position: relative; z-index: 2; }
.section-heading-dark h2 { color: var(--on-dark); max-width: 18ch; }
.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.quality-lead {
  font-size: 1.12rem;
  color: var(--on-dark-muted);
  line-height: 1.7;
  max-width: 52ch;
}
.cert-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--on-dark-line);
}
.cert {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--on-dark-line);
}
.cert dt {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  font-weight: 500;
}
.cert dd { color: var(--on-dark); font-weight: 600; font-size: 1.05rem; }
.cert dd.mono {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  letter-spacing: 0;
}

/* ─────────── Videos ─────────── */

.video-feature {
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
  background: #000;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.video-feature iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 22px);
}
.video-thumb {
  display: block;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.video-thumb:hover { border-color: var(--ink); transform: translateY(-2px); }
.thumb-image {
  display: block;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-warm);
  position: relative;
  transition: transform .35s var(--ease);
}
.thumb-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(11,18,32,0) 30%, rgba(11,18,32,.25) 100%);
}
.video-thumb:hover .thumb-image { transform: scale(1.03); }
.thumb-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}
.thumb-dur {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.thumb-meta strong { font-weight: 600; font-size: 0.98rem; }

/* ─────────── Contact ─────────── */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 28px 32px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.contact-card-primary {
  background: var(--navy);
  color: var(--on-dark);
  border-color: var(--navy);
}
.contact-card-primary:hover { background: var(--blue); border-color: var(--blue); }
.contact-card-primary .contact-label,
.contact-card-primary .contact-hint { color: var(--on-dark-soft); }
.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.contact-card strong {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: -0.005em;
}
.contact-card-primary strong { color: var(--on-dark); }
.contact-hint { font-size: 0.85rem; color: var(--ink-3); margin-top: 4px; }

.contact-detail {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--hairline);
}
.contact-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 14px;
}
.contact-name strong { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.005em; }
.contact-address p { margin: 8px 0 0; color: var(--ink-2); }
.contact-tel {
  margin-top: 16px !important;
  display: flex; flex-wrap: wrap; gap: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
}
.contact-tel a { color: var(--ink); border-bottom: 1px solid var(--hairline-strong); padding-bottom: 2px; }
.contact-tel a:hover { color: var(--blue); }
.contact-fax { color: var(--ink-3); }
.map-actions {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px;
}

/* ─────────── Footer ─────────── */

.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark-muted);
  padding: clamp(48px, 6vw, 72px) var(--pad-x) 32px;
  border-top: 4px solid var(--blue);
}
.footer-inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--on-dark-line);
}
.footer-brand img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-brand p {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--on-dark-soft);
}
.footer-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 32px;
  margin-bottom: 36px;
}
.footer-meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--on-dark-line);
}
.footer-meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  font-weight: 500;
}
.footer-meta dd {
  color: var(--on-dark);
  font-size: 0.95rem;
  font-weight: 500;
}
.footer-meta dd.mono {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
}
.footer-copyright {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--on-dark-soft);
  padding-top: 24px;
  border-top: 1px solid var(--on-dark-line);
}

/* ─────────── Responsive ─────────── */

@media (max-width: 1024px) {
  .section-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-aside { position: static; }
  .feature-product, .feature-product-reverse { grid-template-columns: 1fr; }
  .feature-product-reverse .feature-photo-left { order: 0; }
  .supply-note { grid-template-columns: 1fr; }
  .supply-actions { justify-content: flex-start; }
  .quality-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .credentials-inner { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .cred:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-meta { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  .nav { padding: 16px var(--pad-x); }
  .brand img { height: 30px; }
  .menu {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    background: var(--navy-deep);
    padding: 92px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateY(-100%);
    transition: transform .35s var(--ease-deep);
    height: 100vh;
    height: 100dvh;
    z-index: 45;
  }
  .menu.open { transform: translateY(0); }
  .menu a {
    color: var(--on-dark);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 18px 0;
    border-bottom: 1px solid var(--on-dark-line);
  }
  .lang-toggle, .nav-cta { margin-top: 20px; align-self: flex-start; }
  body.is-stuck .nav { position: absolute; background: transparent; backdrop-filter: none; border-bottom: 0; animation: none; }

  .hero { min-height: 88vh; padding-top: 110px; align-items: flex-end; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  .hero-actions { gap: 18px; }
  .hero-scroll { display: none; }

  .credentials-inner { grid-template-columns: 1fr; row-gap: 0; padding: 4px var(--pad-x); }
  .cred {
    border-left: 0;
    border-bottom: 1px solid var(--hairline);
    padding: 18px 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
  }
  .cred:last-child { border-bottom: 0; }
  .cred-label { font-size: 0.7rem; }
  .cred-value { font-size: 0.98rem; text-align: right; }

  .company-photo img { height: 60vw; min-height: 240px; }
  .capabilities .cards { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-meta { grid-template-columns: 1fr; }
  .fact { padding-right: 0 !important; padding-left: 0 !important; border-right: 0 !important; }
  .supply-actions { flex-direction: column; align-items: stretch; }
  .supply-actions .button { width: 100%; }
  .products-cta { flex-direction: column; align-items: stretch; }
  .products-cta .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-photo { animation: none; transform: none; }
  .hero-scroll-line { animation: none; }
  * { transition-duration: 0s !important; animation-duration: 0s !important; }
}
