/* Ventbotics · the drawing-sheet look: white paper, ink, and the grey technical drawings of the robot.
   (Owner, 12 Nov 2026, on the drawings made for a proposal: "the technical look of the drawings is a
   perfect scheme to base the website from"; 15 Nov 2026: "i only want the clean white and grey images".
   This is the site. The black, photo-real version is set aside in ..\site-black.)
   Rules of this look: the page is the paper the drawings sit on, so it is pure white; ink and greys are
   the drawings' own; the only ornaments are marks borrowed from the drawings (numbered balloons with a
   key, a dimension line with end ticks, hairlines, a thin sheet border round each drawing). One typeface
   for headings at a medium weight, sentence-case labels, few large pictures, one small accent colour.
   Kept from the black version: no capital mono labels, no background grid, no boxes round the words. */

@font-face { font-family: 'Montserrat'; font-weight: 400 700; font-display: swap; src: url('assets/fonts/Montserrat-latin.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 400 600; font-display: swap; src: url('assets/fonts/SourceSans3-latin.woff2') format('woff2'); }

:root {
  --bg: #ffffff;                                 /* the drawings' paper: must stay pure white */
  --bg-raised: #f3f4f6;
  --text: #1a2026;                               /* the drawings' ink */
  --text-2: #3b454f;
  --muted: #5c656e;                              /* the drawings' mid grey: 5.9:1 on white */
  --hair: rgba(26, 32, 38, .16);
  --edge: rgba(26, 32, 38, .55);                 /* control borders: over 3:1 against the paper */
  --accent: #14739e;                             /* the logo's blue, deepened for white paper: 5.3:1 */
  --gutter: clamp(20px, 5vw, 64px);
  --col-gap: clamp(28px, 4.4vw, 72px);
  --head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font-family: var(--body); font-size: 1.125rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(26, 32, 38, .1); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--text); color: var(--bg); padding: 10px 16px; font-weight: 600; z-index: 100; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

/* ------------------------------------------------------------------ type */
h1, h2, h3 { font-family: var(--head); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.5vw, 3.5rem); line-height: 1.05; letter-spacing: -.028em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.08; letter-spacing: -.024em; }
h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
p, li, figcaption, dd { text-wrap: pretty; }
strong { font-weight: 600; color: var(--text); }
.kicker { font-size: .95rem; font-weight: 600; letter-spacing: .01em; color: var(--accent); margin: 0 0 20px; }
.tag { font-size: .9rem; font-weight: 600; color: var(--muted); margin: 0; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--text-2); max-width: 28em; margin: 0; }

/* ------------------------------------------------------------------ buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  font-family: var(--head); font-weight: 600; font-size: .95rem; text-decoration: none; text-align: center; cursor: pointer;
  color: var(--bg); background: var(--text); border: 1px solid var(--text);
  padding: 14px 28px; border-radius: 4px; transition: background-color .2s, color .2s, border-color .2s, transform .25s cubic-bezier(.16, 1, .3, 1);
}
.btn:hover { background: #000000; border-color: #000000; }
.btn:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--edge); }
.btn-outline:hover { background: rgba(26, 32, 38, .06); border-color: var(--text); }
.btn-small { min-height: 44px; padding: 10px 20px; font-size: .88rem; white-space: nowrap; }
.btn-large { font-size: clamp(1rem, 1.4vw, 1.15rem); padding: 16px 30px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--head); font-weight: 500; font-size: .95rem; text-decoration: underline; text-decoration-color: rgba(26, 32, 38, .45); text-underline-offset: 6px; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: var(--text); }

/* ------------------------------------------------------------------ header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 84px; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(255, 255, 255, .93); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--hair); }
.top-inner { height: 100%; display: flex; align-items: center; gap: 36px; position: relative; }
.brand { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; flex: 0 1 auto; }
.brand img { width: auto; height: auto; max-height: 22px; max-width: 100%; }
.nav { margin-left: auto; display: flex; gap: 34px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .97rem; font-weight: 500; text-decoration: none; white-space: nowrap; color: var(--text-2); transition: color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: #000000; }
.nav a[aria-current="true"] { box-shadow: inset 0 -1px 0 var(--text); }
.top-cta { flex: none; }
.menu { display: none; margin-left: auto; flex: none; }
.menu summary {
  list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; cursor: pointer;
  font-family: var(--head); font-weight: 600; font-size: .88rem; color: var(--text); border: 1px solid var(--edge); border-radius: 4px; background: rgba(255, 255, 255, .7);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--text); }
.menu-panel {
  position: absolute; right: max(var(--gutter), env(safe-area-inset-right)); top: calc(100% + 8px); width: min(320px, calc(100vw - 2 * var(--gutter)));
  display: flex; flex-direction: column; padding: 6px 20px 20px; background: var(--bg); border: 1px solid var(--edge); border-radius: 6px;
}
.menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 52px; font-size: 1.05rem; font-weight: 500; text-decoration: none; color: var(--text-2); border-bottom: 1px solid var(--hair); }
.menu-panel a:not(.btn):hover { color: #000000; }
.menu-panel .btn { margin-top: 18px; }

/* ------------------------------------------------------------------ hero */
/* Owner's rule (11 Nov 2026, "writing blocks animation"): the words never sit on the robot. Here that is
   built in: words and drawing are two columns of one grid, so they cannot overlap at any width. The
   drawing is on the page's own white, so it needs no frame; its hoses fade out towards the words. */
.hero { position: relative; display: grid; }
.hero-main { display: contents; }
.hero-head { grid-area: head; }
.hero-rest { grid-area: rest; }
.hero-photo { grid-area: photo; margin: 0; }
.hero-photo img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%); mask-image: linear-gradient(90deg, transparent 0, #000 11%); }
.hero-sheet { display: flex; justify-content: space-between; gap: 16px; margin: 6px 0 0 11%; padding-top: 10px; border-top: 1px solid var(--hair); font-size: .86rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; margin-top: 34px; }
@media (min-width: 1181px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head photo" "rest photo";
    column-gap: clamp(24px, 3vw, 56px); max-width: 1280px; margin: 0 auto; min-height: min(100vh, 860px);
    padding: 84px max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  }
  .hero-head { align-self: end; padding-top: 36px; }
  .hero-head h1 { font-size: min(3.4rem, 7.4vh); margin-bottom: 26px; }
  .hero-rest { align-self: start; padding-bottom: 60px; }
  .hero-photo { align-self: center; padding: 20px 0 28px; }
}

/* facts: four figures under the hero, each under a dimension line with its end ticks, as on the drawings */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: clamp(20px, 3.4vw, 52px); margin: 0; padding: 30px 0 30px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.facts > div::before { content: ''; display: block; height: 11px; margin-bottom: 22px; border-left: 1px solid var(--text); border-right: 1px solid var(--text); background: linear-gradient(var(--text), var(--text)) center / 100% 1px no-repeat; }
.facts dt { font-family: var(--head); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.facts dt small { font-family: var(--body); font-size: .92rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-right: 6px; }
.facts dd { margin: 12px 0 0; font-size: .95rem; color: var(--muted); line-height: 1.45; }

/* ------------------------------------------------------------------ sections */
.sec { padding: clamp(84px, 9.5vw, 144px) 0 0; }
.sec-follow { padding-top: 0; }                 /* carries on from the section above: no new heading, no new gap */
.sec-head { display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--col-gap); align-items: end; margin-bottom: clamp(36px, 4.6vw, 64px); }
.sec-intro { font-size: 1.15rem; color: var(--text-2); max-width: 58ch; margin: 0; }

/* pictures: every drawing sits inside a thin sheet border; the one photograph the same */
.fig { margin: 0; }
.fig img { width: 100%; border: 1px solid var(--hair); border-radius: 2px; background: var(--bg); }
.fig figcaption { margin-top: 14px; font-size: .97rem; line-height: 1.5; color: var(--muted); max-width: 62ch; }
.fig-wide { margin-bottom: clamp(40px, 5vw, 72px); }
.tiles { display: grid; gap: clamp(28px, 3.4vw, 44px) clamp(20px, 2.4vw, 32px); align-items: start; }
.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* the key to a drawing: the same numbered balloons as on the picture, the words beside them */
.key { list-style: none; counter-reset: balloon; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 32px; margin: 18px 0 0; padding: 0; }
.key li { counter-increment: balloon; position: relative; padding-left: 34px; font-size: .97rem; line-height: 1.45; color: var(--muted); }
.key li::before { content: counter(balloon); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); color: #ffffff; font-family: var(--head); font-weight: 600; font-size: .78rem; line-height: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.tiles .key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.key + figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hair); max-width: none; }

/* the real photograph: shown at a size the photograph can carry, with its line beside it */
.proof-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--col-gap); align-items: center; }
.proof-text .tag { color: var(--accent); margin-bottom: 14px; }
.proof-line { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--text-2); margin: 0; max-width: 24em; }

/* steps */
.steps { list-style: none; counter-reset: step; margin: 0 0 clamp(48px, 6vw, 88px); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--col-gap); border-top: 1px solid var(--hair); }
.steps li { counter-increment: step; position: relative; padding: 28px 0 28px 68px; border-bottom: 1px solid var(--hair); }
.steps li::before { content: '0' counter(step); position: absolute; left: 0; top: 26px; font-family: var(--head); font-weight: 500; font-size: 1.25rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--text-2); max-width: 60ch; font-size: 1.05rem; }
.steps-tight { grid-template-columns: 1fr; margin-bottom: 0; }

/* the visit */
.visit { display: grid; grid-template-columns: 7fr 5fr; gap: var(--col-gap); align-items: start; }
.kit h3, .list-title { font-family: var(--body); font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin: 0 0 14px; }
.kit { position: sticky; top: 112px; }
.kit ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.kit li { padding: 14px 0; border-bottom: 1px solid var(--hair); color: var(--text-2); font-size: 1.02rem; line-height: 1.45; }
.kit li strong { display: block; }

/* who it is for: three columns, each under one ink rule, no boxes */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 56px); }
.who-card { display: flex; flex-direction: column; border-top: 1px solid var(--text); padding-top: 24px; }
.who-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.who-line { font-size: 1.1rem; line-height: 1.45; color: var(--text-2); margin: 0 0 18px; }
.who-card ul { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--hair); }
.who-card li { padding: 12px 0; border-bottom: 1px solid var(--hair); color: var(--text-2); font-size: 1rem; line-height: 1.45; }
.who-card .text-link { margin-top: auto; align-self: flex-start; }

/* the enquiry form: plain boxed fields, labels above, the same button as everywhere else */
.enquiry { display: grid; gap: 18px; }
.enquiry[hidden] { display: none; }
.field { display: grid; gap: 7px; align-content: start; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label { font-size: .95rem; font-weight: 600; color: var(--text); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1.05rem; color: var(--text);
  background-color: var(--bg); border: 1px solid var(--edge); border-radius: 4px; transition: border-color .2s;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.45; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--text); }
.enquiry .contact-actions { margin-top: 4px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* contact */
.contact { margin-top: clamp(84px, 9.5vw, 144px); padding-top: clamp(72px, 8vw, 112px); padding-bottom: clamp(72px, 8vw, 112px); background: var(--bg-raised); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); align-items: start; }
.contact .list-title { margin-top: 34px; }
#emailActions { margin-top: 22px; }
.contact h2 { max-width: 13em; margin-bottom: 20px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.contact-actions .btn { max-width: 100%; overflow-wrap: anywhere; }
.contact-actions [hidden] { display: none; }
.contact-note { min-height: 1.6em; margin: 12px 0 0; font-size: .97rem; color: var(--muted); }
.send { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.send li { padding: 15px 0; border-bottom: 1px solid var(--hair); color: var(--text-2); font-size: 1.05rem; }

/* footer */
.foot { padding: 48px 0 60px; }
.foot-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 14px var(--col-gap); align-items: start; }
.foot img { height: 20px; width: auto; }
.foot p { margin: 0; color: var(--muted); font-size: .97rem; max-width: 62ch; }
.foot-note { font-size: .9rem !important; grid-column: 2; }

/* ------------------------------------------------------------------ motion */
/* One quiet entrance when the page loads; nothing fades or slides as you scroll. */
@media (prefers-reduced-motion: no-preference) {
  .hero-head > *, .hero-rest > * { animation: rise .9s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-photo { animation: appear 1.4s ease-out both; }
  .hero-head > .kicker { animation-delay: .10s; }
  .hero-head > h1 { animation-delay: .20s; }
  .hero-rest > .lede { animation-delay: .34s; }
  .hero-rest > .hero-actions { animation-delay: .46s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes appear { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 1180px) {
  /* words first, so the button is on the first screen; then the drawing in its own row */
  .hero { grid-template-areas: "head" "rest" "photo"; padding: 84px max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
  .hero-head { padding-top: 28px; }
  .hero-head h1 { margin-bottom: 0; max-width: 16em; }
  .hero-rest { padding-top: 22px; padding-bottom: 28px; }
  .hero-photo { max-width: 860px; justify-self: center; width: 100%; padding-bottom: 36px; }
  .hero-photo img { -webkit-mask-image: none; mask-image: none; }
  .hero-sheet { margin-left: 0; }
  .tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 821px) and (max-width: 1180px) {
  /* room for two columns of words above the drawing: headline left, the rest right */
  .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head rest" "photo photo"; column-gap: var(--col-gap); align-items: end; }
  .hero-head { padding-bottom: 28px; }
}
@media (max-width: 1120px) {
  /* five links and the button need this much room */
  .nav, .top-cta { display: none; }
  .menu { display: block; }
}
@media (max-width: 980px) {
  .who { grid-template-columns: 1fr; }
  .top { height: 68px; }
  .hero { padding-top: 68px; }
  .sec-head { grid-template-columns: 1fr; row-gap: 16px; align-items: start; }
  .visit, .contact-grid, .foot-grid, .proof-grid { grid-template-columns: 1fr; }
  .kit { position: static; }
  .foot-note { grid-column: 1; }
  .key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 1.0625rem; }
  .steps, .tiles-2, .tiles-3, .field-row { grid-template-columns: 1fr; }
  .brand img { max-height: 18px; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .steps li { padding-left: 54px; }
  .key, .tiles .key { grid-template-columns: 1fr; }
  .hero-sheet { font-size: .8rem; }
}
@media (max-height: 420px) {
  .top { position: absolute; }
}
