/* ==========================================================================
   Innovation Kitchen — local rebuild
   Visual system reconstructed from the offline archive:
   amber #FFB02A / #FFC000 accent, near-black #111111, light #F0F0F0,
   Raleway headings, Montserrat body.
   ========================================================================== */

/* ------------------------------------------------------------------ fonts */
@font-face {
  font-family: 'Montserrat';
  font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/montserrat-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/montserrat-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/montserrat-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/montserrat-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/montserrat-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/raleway-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/raleway-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/raleway-800.ttf') format('truetype');
}

/* ------------------------------------------------------------------ tokens */
:root {
  --ink: #111111;
  --ink-2: #353535;
  --ink-3: #6a6a6a;
  --paper: #ffffff;
  --paper-2: #f0f0f0;
  --paper-3: #e4e4e4;
  --amber: #ffb02a;
  --amber-strong: #ffc000;
  --amber-deep: #f0ac00;
  --line: rgba(17, 17, 17, .14);
  --line-dark: rgba(255, 255, 255, .16);

  --font-head: 'Raleway', 'Trebuchet MS', Arial, sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', Arial, sans-serif;

  --wrap: 1240px;
  --gap: clamp(20px, 3vw, 40px);
  --radius: 6px;
  --shadow: 0 18px 40px rgba(17, 17, 17, .12);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-color: var(--amber); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; }
p  { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--amber-strong);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius);
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark a { text-decoration-color: var(--amber); }
.section--grey { background: var(--paper-2); }

.kicker {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 14px;
}
.section--dark .kicker { color: var(--amber); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 66ch; }
.section--dark .lead { color: rgba(255, 255, 255, .82); }

.rule { height: 6px; width: 72px; background: var(--amber); border: 0; margin: 0 0 28px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 14px 26px; border-radius: var(--radius);
  background: var(--amber); color: var(--ink);
  border: 2px solid var(--amber); text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--amber-deep); border-color: var(--amber-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: .85rem; }

/* ------------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(17, 17, 17, .97);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__bar {
  display: flex; align-items: center; gap: 18px;
  min-height: 68px; padding-block: 10px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; }
.brand__text { font-family: var(--font-head); font-weight: 800; letter-spacing: .04em;
               text-transform: uppercase; font-size: .95rem; color: var(--paper); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav__link {
  display: block; padding: 9px 10px; border-radius: var(--radius);
  font-size: .87rem; font-weight: 500; text-decoration: none; color: rgba(255, 255, 255, .86);
  white-space: nowrap;
}
.nav__link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav__link[aria-current="page"] { color: var(--ink); background: var(--amber); font-weight: 600; }

.nav__more { position: relative; }
.nav__more > summary {
  list-style: none; cursor: pointer; padding: 9px 11px; border-radius: var(--radius);
  font-size: .87rem; font-weight: 500; color: rgba(255, 255, 255, .86);
}
.nav__more > summary::-webkit-details-marker { display: none; }
.nav__more > summary::after { content: " ▾"; }
.nav__more[open] > summary { background: rgba(255, 255, 255, .1); color: #fff; }
.nav__panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 260px; z-index: 70;
  background: #1b1b1b; border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 8px; box-shadow: var(--shadow);
}
.nav__panel ul { list-style: none; margin: 0; padding: 0; }
.nav__panel .nav__link { white-space: normal; }

.lang {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 6px;
  font-size: .85rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 8px 12px;
  color: var(--paper);
}
.lang:hover { border-color: var(--amber); color: var(--amber); }

.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: var(--paper); font: inherit; font-size: .85rem; font-weight: 600;
  padding: 10px 14px; cursor: pointer;
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; width: 100%; margin: 0;
    border-top: 1px solid var(--line-dark); padding: 12px 0 18px;
  }
  .site-header__bar { flex-wrap: wrap; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link, .nav__more > summary { padding: 12px 10px; font-size: .95rem; }
  .nav__more { position: static; }
  .nav__panel { position: static; min-width: 0; box-shadow: none; background: rgba(255,255,255,.05); }
  .lang { margin: 10px 0 0; justify-content: center; }
}

/* --------------------------------------------------------------------- hero */
.hero {
  position: relative; color: var(--paper); background: var(--ink);
  display: grid; align-items: end;
  min-height: clamp(420px, 72vh, 720px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,.35) 0%, rgba(17,17,17,.55) 45%, rgba(17,17,17,.95) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(40px, 8vw, 96px) 0; }
.hero__kicker {
  font-size: clamp(.72rem, 1.1vw, .86rem); font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--amber); margin: 0 0 18px;
}
.hero h1 { margin-bottom: .35em; max-width: 18ch; }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.85); max-width: 58ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero--page { min-height: clamp(280px, 40vh, 420px); }
.hero--page h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.hero--flat { background: var(--ink); }
.hero--flat::after { background: linear-gradient(180deg, rgba(17,17,17,.2), rgba(17,17,17,.9)); }

/* ------------------------------------------------------------------- layout */
/* grid and flex children must be allowed to shrink, otherwise wide tables and
   long words push the page into horizontal scroll on small screens */
.grid > *, .split > *, .steps > * { min-width: 0; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.split { display: grid; gap: var(--gap); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--flip > *:first-child { order: 2; }
}
.split__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
  background: var(--paper-2);
}

/* -------------------------------------------------------------------- cards */
.card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { background: var(--paper-2); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__media--contain img { object-fit: contain; padding: 18px; aspect-ratio: 16 / 10; }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.25; margin: 0; }
.card__text { color: var(--ink-2); font-size: .94rem; margin: 0; }
.card__meta { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.card__foot { margin-top: auto; padding-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.card a.card__link { text-decoration: none; color: inherit; }
.card a.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--amber); }

.section--dark .card { background: #1b1b1b; border-color: var(--line-dark); color: var(--paper); }
.section--dark .card__text { color: rgba(255,255,255,.75); }
.section--dark .card__meta { color: var(--amber); }

/* -------------------------------------------------------------- numbered steps */
.steps { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); counter-reset: step; }
.step { border-top: 6px solid var(--amber); padding-top: 20px; }
.step__n { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--amber); line-height: 1; }
.step h3 { margin: 8px 0 10px; }
.step p { color: var(--ink-2); font-size: .95rem; }
.section--dark .step p { color: rgba(255,255,255,.75); }

/* ----------------------------------------------------------------- svc list */
.svc { border-top: 1px solid var(--line); padding: 22px 0; display: grid; gap: 6px 24px; }
@media (min-width: 760px) { .svc { grid-template-columns: 1fr auto; align-items: baseline; } }
.svc__name { font-weight: 500; }
.svc__out { color: var(--ink-3); font-size: .88rem; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pill {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-size: .88rem; background: var(--paper);
}
.section--dark .pill { border-color: var(--line-dark); background: transparent; }

.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.spec-list li { padding-left: 20px; position: relative; color: var(--ink-2); }
.spec-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; background: var(--amber); border-radius: 2px;
}
.section--dark .spec-list li { color: rgba(255,255,255,.8); }

.table-wrap { overflow-x: auto; max-width: 100%; }
table.data { border-collapse: collapse; width: 100%; min-width: 420px; font-size: .94rem; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--font-head); font-weight: 600; }
table.data tr:hover td { background: var(--paper-2); }

/* ------------------------------------------------------------------- logos */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logo-cell {
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; min-height: 108px;
}
.logo-cell img { max-height: 62px; width: auto; object-fit: contain; }

/* ------------------------------------------------------------------ filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); font-weight: 600; }

/* -------------------------------------------------------------------- prose */
.prose { max-width: 74ch; }
.prose p { font-size: 1.03rem; color: var(--ink-2); }
.prose h2 { margin-top: 1.6em; }
.section--dark .prose p { color: rgba(255,255,255,.82); }

.quote {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.3;
  border-left: 6px solid var(--amber); padding-left: clamp(18px, 3vw, 32px); margin: 0;
}

/* --------------------------------------------------------------- form stub */
.form-stub {
  border: 2px dashed var(--amber); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px); background: rgba(255, 176, 42, .07);
}
.form-stub h3 { margin-top: 0; }
.form-stub__fields { display: grid; gap: 14px; max-width: 460px; margin-top: 18px; }
.form-stub label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; }
.form-stub input {
  font: inherit; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
.form-stub__note {
  margin: 14px 0 0; font-size: .88rem; color: var(--ink-2);
}
.section--dark .form-stub { background: rgba(255, 176, 42, .1); }
.section--dark .form-stub input { background: #1b1b1b; color: var(--paper); border-color: var(--line-dark); }
.section--dark .form-stub__note { color: rgba(255,255,255,.78); }

.placeholder {
  display: grid; place-items: center; text-align: center; gap: 10px;
  background: var(--paper-2); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: clamp(28px, 6vw, 64px);
  color: var(--ink-2); font-size: .95rem;
}
.placeholder__icon { font-size: 1.6rem; }
.section--dark .placeholder { background: #1b1b1b; border-color: var(--line-dark); color: rgba(255,255,255,.75); }

/* ------------------------------------------------------------- breadcrumbs */
.crumbs { font-size: .84rem; color: var(--ink-3); padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

/* ------------------------------------------------------------------ gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }

/* ------------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: clamp(48px, 6vw, 80px) 0 32px; }
.site-footer a { color: rgba(255,255,255,.86); }
.site-footer h2 { font-size: 1.05rem; color: var(--paper); margin-bottom: 14px; }
.footer-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer-brand img { height: 34px; margin-bottom: 16px; }
.footer-meta {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: grid; gap: 12px; font-size: .84rem; color: rgba(255,255,255,.6);
}
.footer-disclaimer { max-width: 90ch; }

.archive-banner {
  background: var(--amber); color: var(--ink);
  font-size: .82rem; font-weight: 600; text-align: center; padding: 8px 16px;
}

/* ------------------------------------------------------------------- utils */
.stack > * + * { margin-top: 1.2em; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
[hidden] { display: none !important; }
