/* IBS — אתר החברה
   מותג: שחור עמוק ושמפניה מוברשת, לפי הלוגו ולוח המותג (ibs/marketing/ibs-intro-motion/assets).
   גופן: IBM Plex Sans Hebrew (OFL), מקומי — בלי פניות לגוגל. */

@font-face { font-family: "Plex"; font-weight: 200; font-display: swap; src: url(../fonts/plex-he-hebrew-200.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex"; font-weight: 300; font-display: swap; src: url(../fonts/plex-he-hebrew-300.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url(../fonts/plex-he-hebrew-400.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url(../fonts/plex-he-hebrew-500.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url(../fonts/plex-he-hebrew-600.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex"; font-weight: 200; font-display: swap; src: url(../fonts/plex-he-latin-200.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 300; font-display: swap; src: url(../fonts/plex-he-latin-300.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url(../fonts/plex-he-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url(../fonts/plex-he-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url(../fonts/plex-he-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* brand */
  --ink: #0B0B0C;            /* the wall */
  --wall: #141416;           /* raised surface */
  --wall-2: #1B1B1E;
  --champ: #E3D3B4;          /* champagne, light side */
  --champ-deep: #A88E62;     /* champagne, shadow side */
  --cream: #F2EDE4;
  --text: #ECE6DB;
  --muted: #A7A094;
  --line: rgba(227, 211, 180, .16);
  --line-strong: rgba(227, 211, 180, .34);
  /* paper section */
  --paper: #F2EDE4;
  --paper-ink: #17150F;
  --paper-muted: #5E574A;
  --paper-line: rgba(23, 21, 15, .14);

  --metal: linear-gradient(100deg, #A88E62 0%, #D9C7A3 30%, #F4EBD8 47%, #E3D3B4 58%, #B39A6D 82%, #A88E62 100%);
  --font: "Plex", "Segoe UI", Arial, sans-serif;

  /* type scale (perfect fourth) */
  --fs-sm: .875rem;
  --fs-base: 1.125rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 var(--fs-base)/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--champ); outline-offset: 3px; border-radius: 4px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--champ); color: var(--ink); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* brushed-metal text, used on every heading the same way */
.metal {
  background: var(--metal);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons & links ---------- */
.btn {
  --b-bg: var(--metal);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.6em;
  border: 0; border-radius: 999px;
  background: var(--b-bg);
  color: #17140D;
  font: 500 1rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(0,0,0,.18);
  transition: filter .2s var(--ease), transform .2s var(--ease);
}
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn:hover { filter: brightness(1.05); }
.btn[data-magnet] { transition: filter .2s var(--ease), transform .3s cubic-bezier(.3, 1.6, .5, 1); }
/* "פנס" (design library: usman-hover-buttons): a light that follows the pointer across the metal */
.btn__glow { position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none; mix-blend-mode: soft-light; transition: opacity .25s; }
.btn:hover .btn__glow { opacity: 1; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; transform: scaleX(-1); }
/* "מילוי בריחוף" (design library: button-microinteractions) */
.btn--ghost { background: transparent; color: var(--champ); box-shadow: inset 0 0 0 1px var(--line-strong); transition: color .35s var(--ease); }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--metal); transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #17140D; filter: none; }
.btn--ghost:hover::before, .btn--ghost:focus-visible::before { transform: scaleX(1); }
.btn--small { min-height: 40px; padding: 0 1.15em; font-size: .9375rem; }
.btn--ink { background: var(--paper-ink); color: var(--cream); box-shadow: none; }
.btn--wide { width: 100%; }

/* "תג מעגלי" (design library: joe-buttons-controls #3): the arrow leaves, a new one comes in */
.btn--badge { gap: 12px; padding-inline: 6px 22px; }
.badge { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--metal); overflow: hidden; }
.badge .arr { position: absolute; inset: 10px; width: 20px; height: 20px; fill: none; stroke: #17140D; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: none; transition: transform .35s var(--ease), opacity .3s; }
.badge .arr-b { opacity: 0; transform: translate(12px, 12px); }
.btn--badge:hover .arr-a, .btn--badge:focus-visible .arr-a { opacity: 0; transform: translate(-12px, -12px); }
.btn--badge:hover .arr-b, .btn--badge:focus-visible .arr-b { opacity: 1; transform: none; }

/* "שליחה" (design library: button-microinteractions): text, then a spinner, then a check */
.btn--send { display: grid; place-items: center; justify-self: center; transition: width .4s var(--ease), border-radius .4s var(--ease), filter .2s; }
.btn--send > * { grid-area: 1 / 1; transition: opacity .2s; }
.send__spin, .send__check { opacity: 0; }
.send__spin { width: 22px; height: 22px; border: 2.5px solid rgba(23, 20, 13, .25); border-top-color: #17140D; border-radius: 50%; animation: spin .7s linear infinite; }
.btn--send .send__check { transform: none; width: 24px; height: 24px; fill: none; stroke: #17140D; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.send__check path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.btn--send.is-loading, .btn--send.is-done { width: 52px; padding: 0; }
.btn--send.is-loading .send__label, .btn--send.is-done .send__label { opacity: 0; }
.btn--send.is-loading .send__spin { opacity: 1; }
.btn--send.is-done .send__check { opacity: 1; }
.btn--send.is-done .send__check path { animation: draw .4s .1s ease-out forwards; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.link {
  display: inline-block; margin-top: 18px;
  color: var(--champ); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: border-color .2s;
}
.link:hover { border-color: var(--champ); }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 26px; color: var(--text); font-size: 1rem; line-height: 1.6; }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--champ); border-bottom: 1.5px solid var(--champ);
  transform: rotate(-45deg);
}
.ticks--dark li { color: var(--paper-ink); }
.ticks--dark li::before { border-color: var(--champ-deep); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.top.is-solid { background: rgba(11, 11, 12, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.top__in { max-width: var(--max); margin-inline: auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 28px; }
.top__logo img { width: 64px; height: auto; }
.top__nav { display: flex; gap: 26px; margin-inline-end: auto; }
.top__nav a { text-decoration: none; color: var(--muted); font-size: .9688rem; transition: color .2s; }
.top__nav a:hover { color: var(--champ); }
.top__menu { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px var(--gutter) 90px;
  text-align: center;
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .88 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--ink);
}
/* a lamp above the sign */
.hero__light {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 46% 52% at 50% 6%, rgba(244, 235, 216, .17), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(168, 142, 98, .10), transparent 72%);
  animation: lampOn 1.6s var(--ease) both;
}
.hero__in { max-width: 860px; }
.hero__sign { position: relative; width: min(520px, 82vw); margin: 0 auto 26px; }
.hero__sign img {
  width: 100%; height: auto;
  mix-blend-mode: lighten;
  /* soften the photo's edges without touching the tagline */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
  animation: signOn 1.8s .15s var(--ease) both;
}
/* one pass of light across the metal; overlay leaves the black wall untouched */
.hero__sweep {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 250, 238, .85) 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 130% 0;
  mix-blend-mode: overlay;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  animation: sweep 1.6s 1.3s var(--ease) both;
}
.hero__title { font-size: var(--fs-h1); font-weight: 200; letter-spacing: -.01em; line-height: 1.08; }
.hero__title span { display: block; }
.hero__lead { max-width: 40ch; margin: 26px auto 0; color: var(--muted); font-size: 1.1875rem; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__title, .hero__lead, .hero__actions { animation: rise 1s var(--ease) both; }
.hero__title { animation-delay: .9s; }
.hero__lead { animation-delay: 1.1s; }
.hero__actions { animation-delay: 1.25s; }

@keyframes lampOn { from { opacity: 0; } to { opacity: 1; } }
@keyframes signOn { from { opacity: 0; filter: brightness(.25); } 40% { opacity: 1; } to { opacity: 1; filter: brightness(1); } }
@keyframes sweep { from { background-position: 130% 0; } to { background-position: -30% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- film ---------- */
.film { padding: 40px 0 120px; }
.film__in { display: grid; grid-template-columns: 1fr 1.9fr; gap: 56px; align-items: center; }
.film__text h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.25rem); font-weight: 200; }
.film__text p { margin-top: 16px; color: var(--muted); max-width: 30ch; }
.transcript { margin-top: 22px; }
.transcript summary { cursor: pointer; color: var(--champ); font-size: .9688rem; width: fit-content; }
.transcript p { margin-top: 10px; font-size: .9688rem; color: var(--muted); }
.film__frame { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0,0,0,.9); aspect-ratio: 16 / 9; }
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__play {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px;
  background: rgba(11, 11, 12, .72); color: var(--champ);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font: 500 .9375rem/1 var(--font); cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.film__play svg { width: 18px; height: 18px; fill: var(--champ); }
.film__frame.is-playing .film__play { display: none; }

/* ---------- services ---------- */
.services { padding: 110px 0; border-top: 1px solid var(--line); }
.services__in { display: grid; grid-template-columns: 1fr 1.65fr; gap: 64px; align-items: start; }
.services__head { position: sticky; top: 110px; }
.services__head h2 { font-size: var(--fs-h2); font-weight: 200; }
.services__head p { margin-top: 18px; color: var(--muted); max-width: 30ch; }
.services__list { display: grid; }
.svc { display: grid; grid-template-columns: 56px 1fr; column-gap: 26px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.svc:first-child { padding-top: 6px; }
.svc:last-child { border-bottom: 0; }
.svc > :not(.svc__icon) { grid-column: 2; }
.svc__icon { grid-row: 1 / span 4; width: 48px; height: 48px; fill: none; stroke: var(--champ); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 1.75rem; font-weight: 300; color: var(--cream); }
.svc p { margin-top: 12px; color: var(--muted); max-width: 58ch; }

/* ---------- products (paper) ---------- */
.products { background: var(--paper); color: var(--paper-ink); padding: 110px 0 120px; }
.products__head { max-width: 640px; }
.products__head h2 { font-size: var(--fs-h2); font-weight: 200; color: var(--paper-ink); }
.products__head p { margin-top: 16px; color: var(--paper-muted); }
.products__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.prod { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: start; padding-top: 30px; border-top: 1px solid var(--paper-line); }
.prod__shot { display: block; border-radius: 26px; overflow: hidden; background: #fff; border: 6px solid var(--paper-ink); box-shadow: 0 30px 50px -28px rgba(23,21,15,.55); aspect-ratio: 390 / 665; }
.prod__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.prod h3 { font-size: 2rem; font-weight: 400; color: var(--paper-ink); }
.prod__what { margin-top: 8px; font-weight: 500; color: var(--paper-ink); }
.prod__body > p:not(.prod__what) { margin-top: 10px; color: var(--paper-muted); font-size: 1rem; }
.prod .ticks li { font-size: .9688rem; }
.prod .btn { margin-top: 24px; }

/* ---------- founder: banner-2 (design library), rebuilt for IBS ---------- */
.founder { position: relative; isolation: isolate; padding: 110px 0 0; overflow: hidden; background: var(--wall); }
.founder__in { display: grid; grid-template-columns: 1fr .9fr; gap: 48px; align-items: end; }
.founder__text { align-self: center; padding-bottom: 120px; }
.founder__text h2 { font-size: var(--fs-h2); font-weight: 200; }
.founder__big { margin-top: 22px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); font-weight: 300; line-height: 1.35; color: var(--cream); max-width: 22ch; }
.founder__text p:not(.founder__big) { margin-top: 18px; color: var(--muted); max-width: 46ch; }
.founder__photo { position: relative; margin: 0; justify-self: center; width: min(440px, 100%); }
/* a warm lamp behind the portrait so the black shirt separates from the wall */
.founder__photo::before {
  content: ""; position: absolute; inset: 6% -12% 10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 211, 180, .30), rgba(168, 142, 98, .10) 60%, transparent);
}
.founder__photo img {
  width: 100%; height: auto;
  /* the cut-out ends at the photo's edge (his arm); let that edge fade into the wall */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%);
  mask-image: linear-gradient(90deg, transparent, #000 16%);
}
.founder__waves { position: absolute; inset: auto 0 -1px; width: 100%; height: clamp(70px, 12vw, 170px); pointer-events: none; }
.founder__waves use { animation: drift 6s linear infinite; }
.founder__waves use:nth-child(1) { fill: var(--champ); fill-opacity: .10; animation-duration: 7s; animation-delay: -2s; }
.founder__waves use:nth-child(2) { fill: var(--champ); fill-opacity: .22; animation-duration: 10s; animation-delay: -3s; }
.founder__waves use:nth-child(3) { fill: var(--ink); animation-duration: 5s; animation-delay: -4s; }
@keyframes drift { from { transform: translateX(-88px); } to { transform: translateX(0); } }

/* ---------- team network ---------- */
.team { padding: 110px 0 120px; }
.team__head { max-width: 720px; }
.team__head h2 { font-size: var(--fs-h2); font-weight: 200; }
.team__head p { margin-top: 18px; color: var(--muted); max-width: 60ch; }
.team__stage { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; margin-top: 40px; }
.net { margin: 0; position: relative; aspect-ratio: 1; }
.net::before { /* soft lamp behind the owner */
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 211, 180, .12), transparent);
  pointer-events: none;
}
.net__svg { width: 100%; height: 100%; overflow: visible; }
.net__svg line { stroke: var(--champ); stroke-linecap: round; transition: stroke-opacity .5s, stroke-width .5s; }
.net__svg .l-own { stroke-opacity: .34; stroke-width: 1.2; }
.net__svg .l-ring { stroke-opacity: .16; stroke-width: 1; }
.net__svg .l-mem { stroke-opacity: .16; stroke-width: 1; }
.net__svg .l-hot { stroke-opacity: .9; stroke-width: 1.8; }
.net__svg .pulse { stroke: #FFF6E3; stroke-width: 2.6; stroke-opacity: 1; filter: drop-shadow(0 0 4px rgba(244, 235, 216, .9)); }
.net__node { cursor: pointer; }
.net__node image { filter: grayscale(1) brightness(.72) contrast(1.05); transition: filter .5s, opacity .4s; }
.net__node .ring { fill: none; stroke: var(--line-strong); stroke-width: 1.2; transition: stroke .4s, stroke-width .4s; }
.net__node.is-lit image, .net__node:hover image, .net__node.is-sel image { filter: none; }
.net__node.is-lit .ring, .net__node:hover .ring, .net__node.is-sel .ring { stroke: var(--champ); stroke-width: 2.2; }
.net__node.is-owner .ring { stroke: var(--champ); stroke-width: 2.4; }
.net__node.is-owner image { filter: none; }
.net.is-filtered .net__node:not(.is-in):not(.is-owner) { opacity: .16; }
.net.is-filtered line { stroke-opacity: .05; }
.net.is-filtered line.is-in { stroke-opacity: .7; }

.team__side { display: grid; gap: 22px; align-content: center; }
.who { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: var(--radius); background: var(--wall); box-shadow: inset 0 0 0 1px var(--line); min-height: 108px; }
.who__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--champ); flex: none; }
.who__name { font-size: 1.375rem; font-weight: 400; color: var(--cream); line-height: 1.3; }
.who__role { color: var(--muted); font-size: .9688rem; }
.team__hint { color: var(--muted); font-size: .9375rem; }
.depts { display: flex; flex-wrap: wrap; gap: 8px; }
.depts button {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 400 .9063rem/1 var(--font); cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.depts button span { color: var(--muted); font-size: .8125rem; }
.depts button:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.depts button[aria-pressed="true"] { background: var(--champ); color: var(--ink); box-shadow: none; }
.depts button[aria-pressed="true"] span { color: rgba(11,11,12,.6); }

.gains { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line); padding-top: 40px; }
.gains h3 { font-size: var(--fs-h3); font-weight: 400; color: var(--cream); }
.gains p { margin-top: 10px; color: var(--muted); font-size: 1rem; }

.roster { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 22px; }
.roster summary { cursor: pointer; color: var(--champ); font-weight: 500; width: fit-content; }
.roster__cols { columns: 3 240px; column-gap: 40px; margin-top: 24px; }
.roster__cols section { break-inside: avoid; margin-bottom: 24px; }
.roster__cols h3 { font-size: 1rem; font-weight: 500; color: var(--cream); margin-bottom: 6px; }
.roster__cols ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .9375rem; line-height: 1.8; }

/* ---------- process ---------- */
.process { padding: 110px 0; border-top: 1px solid var(--line); }
.process h2 { font-size: var(--fs-h2); font-weight: 200; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 0 0 36px; }
.step + .step { padding-inline-start: 36px; border-inline-start: 1px solid var(--line); }
.step__word {
  display: block; direction: ltr; text-align: right;
  font-size: clamp(2.75rem, 1.8rem + 3vw, 4.5rem); font-weight: 200; line-height: 1;
  letter-spacing: -.01em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: var(--fs-h3); font-weight: 400; color: var(--cream); }
.step__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--champ); font-size: .875rem; font-weight: 500; }
.step p { margin-top: 12px; color: var(--muted); font-size: 1rem; max-width: 34ch; }

/* ---------- faq ---------- */
.faq { padding: 110px 0; border-top: 1px solid var(--line); }
.faq__in { display: grid; grid-template-columns: 1fr 1.65fr; gap: 64px; align-items: start; }
.faq h2 { font-size: var(--fs-h2); font-weight: 200; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 0 24px 44px;
  font-size: 1.25rem; font-weight: 400; color: var(--cream);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; inset-inline-end: 6px; top: 50%;
  width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--champ), var(--champ)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--champ), var(--champ)) center / 1.5px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 0 26px; color: var(--muted); max-width: 60ch; }

/* ---------- contact ---------- */
.contact { position: relative; isolation: isolate; padding: 120px 0 130px; border-top: 1px solid var(--line); overflow: hidden; }
.contact__light { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 75% 0%, rgba(244, 235, 216, .10), transparent 70%); }
.contact__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact__text h2 { font-size: var(--fs-h2); font-weight: 200; }
.contact__text p { margin-top: 18px; color: var(--muted); max-width: 36ch; }
.direct { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.direct li { display: flex; align-items: baseline; gap: 14px; }
.direct li[hidden] { display: none; }
.direct__k { min-width: 64px; color: var(--muted); font-size: .9375rem; }
.direct a { color: var(--champ); text-decoration: none; font-size: 1.125rem; border-bottom: 1px solid var(--line-strong); }
.direct a:hover { border-color: var(--champ); }

.form { position: relative; display: grid; gap: 22px; padding: 34px; border-radius: var(--radius); background: var(--wall); box-shadow: inset 0 0 0 1px var(--line); }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: .9688rem; font-weight: 500; color: var(--cream); padding: 0; }
.field legend { margin-bottom: 8px; }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; padding: 13px 14px;
  background: var(--ink); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 10px;
  font: 400 1rem/1.5 var(--font);
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input[type="tel"], .field input[type="email"] { text-align: right; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--champ); box-shadow: 0 0 0 3px rgba(227, 211, 180, .18); }
.field [aria-invalid="true"] { border-color: #E59A84; }
.field__err { color: #F0B3A1; font-size: .9063rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .9375rem; color: var(--text); transition: background .2s, color .2s; }
.chips input:checked + span { background: var(--champ); color: var(--ink); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--champ); outline-offset: 3px; }
.form__note { color: var(--muted); font-size: .875rem; line-height: 1.6; }
.form__status { color: var(--champ); font-size: .9688rem; text-align: center; }
.form__status.is-error { color: #F0B3A1; }
.form__status a { color: var(--champ); }
.form__note a { color: var(--champ); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__status:empty { display: none; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 44px 0 52px; }
.foot__in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 18px; }
.foot__brand img { width: 74px; height: auto; }
.foot__brand p { color: var(--muted); font-size: .9375rem; letter-spacing: .06em; direction: ltr; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; }
.foot__links a { color: var(--muted); text-decoration: none; font-size: .9375rem; }
.foot__links a:hover { color: var(--champ); }
.foot__copy { grid-column: 1 / -1; color: #8E887E; font-size: .875rem; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .top__nav { gap: 18px; }
  .film__in, .services__in, .faq__in, .contact__in { grid-template-columns: 1fr; gap: 36px; }
  .services__head { position: static; }
  .products__grid { grid-template-columns: 1fr; gap: 56px; }
  .team__stage { grid-template-columns: 1fr; }
  .net { max-width: 640px; width: 100%; margin-inline: auto; }
}
@media (max-width: 860px) {
  .top__in { gap: 14px; }
  .top__cta { margin-inline-start: auto; }
  .top__menu {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border: 0; border-radius: 10px; background: transparent; cursor: pointer;
    box-shadow: inset 0 0 0 1px var(--line);
  }
  .top__bars, .top__bars::before, .top__bars::after { display: block; width: 18px; height: 1.5px; background: var(--champ); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
  .top__bars { position: relative; }
  .top__bars::before, .top__bars::after { content: ""; position: absolute; inset-inline-start: 0; }
  .top__bars::before { top: -6px; }
  .top__bars::after { top: 6px; }
  .top__menu[aria-expanded="true"] .top__bars { background: transparent; }
  .top__menu[aria-expanded="true"] .top__bars::before { transform: translateY(6px) rotate(45deg); }
  .top__menu[aria-expanded="true"] .top__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .top__nav {
    position: absolute; inset: 100% 0 auto; margin: 0;
    display: none; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 18px;
    background: rgba(11, 11, 12, .97); box-shadow: 0 1px 0 var(--line);
  }
  .top__nav.is-open { display: flex; }
  .top__nav a { padding: 14px 0; font-size: 1.0625rem; color: var(--text); border-bottom: 1px solid var(--line); }
  .top__nav a:last-child { border-bottom: 0; }
  .top.has-menu { background: rgba(11, 11, 12, .97); }

  .founder { padding-top: 84px; }
  .founder__in { grid-template-columns: 1fr; gap: 20px; }
  .founder__text { padding-bottom: 0; }
  .founder__photo { width: min(340px, 86%); }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .step, .step + .step { padding: 0; border: 0; }
  .gains { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .hero { padding-top: 104px; min-height: 92svh; }
  .hero__lead { font-size: 1.0625rem; }
  .hero__actions .btn { width: 100%; }
  .film { padding-bottom: 90px; }
  .film__frame { aspect-ratio: 9 / 16; max-height: 78svh; margin-inline: auto; width: auto; max-width: 100%; }
  .services, .products, .team, .process, .faq { padding: 84px 0; }
  .contact { padding: 84px 0 96px; }
  .svc { grid-template-columns: 1fr; }
  .svc > :not(.svc__icon) { grid-column: 1; }
  .svc__icon { grid-row: auto; margin-bottom: 16px; width: 40px; height: 40px; }
  .prod { grid-template-columns: 1fr; }
  .prod__shot { max-width: 230px; }
  .form { padding: 22px; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .hero__sweep, .btn__glow { display: none; }
  .founder__waves use { animation: none; }
}

/* ---------- legal pages ---------- */
.doc { padding: 130px 0 100px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); font-weight: 200; }
.doc h2 { margin-top: 44px; font-size: 1.5rem; font-weight: 400; color: var(--cream); }
.doc p, .doc li { color: var(--text); }
.doc p { margin-top: 14px; }
.doc ul { margin: 14px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.doc a { color: var(--champ); }
.doc__meta { margin-top: 12px; color: var(--muted); font-size: .9375rem; }
.doc__draft { margin-top: 26px; padding: 14px 18px; border-radius: 10px; background: var(--wall); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); font-size: .9375rem; }
.top--doc .top__nav { display: flex; }
@media (max-width: 860px) { .top--doc .top__nav { display: none; } }
