/* Millesime Labs. Quiet and precise: warm paper, ink, one wine accent, real photography. */
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ink: #141210; --text: #2a2622; --muted: #6f6961; --line: #e4dfd6; --line-2: #d6cfc3;
  --paper: #fbf9f5; --alt: #f3efe8; --white: #ffffff; --wine: #6d1f3c; --wine-2: #571830; --night: #151211;
  --wrap: 1240px; --gap: clamp(20px, 2.4vw, 32px);
  --sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--wine); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
h1, h2 { font-family: var(--sans); font-weight: 600; color: var(--ink); letter-spacing: -0.035em; line-height: 1.06; margin: 0 0 .45em; }
h1 { font-size: clamp(40px, 5.6vw, 76px); }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--white); padding: 8px 12px; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.sm { width: 16px; height: 16px; }

/* image focal points (CSP: no inline styles) */
.o-t { object-position: 50% 30%; }
.o-tl { object-position: 0 0; }
.o-r { object-position: 72% 40%; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251,249,245,.92); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.3) blur(10px); }
.bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 17px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
#nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
#nav a { color: var(--text); font-size: 15px; }
#nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
#nav a.lang { color: var(--muted); font-size: 13px; letter-spacing: .06em; }
#nav .btn { color: var(--white); }
.menu { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); padding: 8px 14px; font: inherit; font-size: 14px; color: var(--ink); border-radius: 999px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border: 1px solid var(--ink); color: var(--ink); font-weight: 550; font-size: 15px; border-radius: 999px; background: transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { text-decoration: none; background: var(--ink); color: var(--white); }
.btn.primary { background: var(--wine); border-color: var(--wine); color: var(--white); }
.btn.primary:hover { background: var(--wine-2); border-color: var(--wine-2); }
.btn.sm { padding: 9px 18px; font-size: 14px; }
.btn.ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn.ghost:hover { background: var(--white); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* labels */
.eyebrow, .tag, .num { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.num { color: var(--wine); font-variant-numeric: tabular-nums; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text); max-width: 640px; }
.more { margin: 20px 0 0; font-weight: 550; font-size: 15px; }
.more a { display: inline-flex; align-items: center; gap: 8px; }

/* sections */
section { padding: clamp(72px, 9vw, 128px) 0; }
section.tight { padding-top: 24px; }
section.tight-top { padding-top: 0; }
section.alt { background: var(--alt); }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head p { color: var(--muted); font-size: 18px; }
h2.sub { font-size: clamp(28px, 3vw, 40px); margin: clamp(56px, 7vw, 88px) 0 32px; }
.grid { display: grid; gap: var(--gap); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }

/* photos */
figure { margin: 0; }
.frame, .cover { overflow: hidden; background: var(--alt); border-radius: 4px; aspect-ratio: 4 / 3; }
.frame.tall { aspect-ratio: 4 / 5; }
.cover { aspect-ratio: 16 / 10; border-radius: 4px 4px 0 0; }
.frame img, .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.service:hover .frame img, .sector:hover .frame img, .card:hover .cover img { transform: scale(1.03); }

/* hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 0; }
.hero-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.hero h1 { margin: 0; max-width: 13ch; }
.hero-side .lead { margin: 0; }
.hero-photo { aspect-ratio: 21 / 9; overflow: hidden; border-radius: 4px; background: var(--alt); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* trust band */
.figures { padding: 0; }
.figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding-top: 40px; padding-bottom: 8px; }
.figs > div { border-top: 1px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.figs strong { font-weight: 600; color: var(--ink); font-size: 16px; }
.figs span { color: var(--muted); font-size: 15px; }
.figs .ico { display: none; }

/* services, sectors */
.service .frame, .sector .frame { margin-bottom: 22px; }
.service .num { margin-bottom: 8px; }
.service h3 { font-weight: 600; font-size: 24px; letter-spacing: -0.025em; }
.service p, .sector p { color: var(--muted); font-size: 16px; }
.sector h3 { margin-bottom: 6px; }

/* method */
.split-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head .head { margin: 0; position: sticky; top: 108px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; border-top: 1px solid var(--line-2); padding: 28px 0; }
.steps li:last-child { border-bottom: 1px solid var(--line-2); }
.steps .num { grid-row: span 2; font-size: 34px; letter-spacing: -0.03em; text-transform: none; font-weight: 600; line-height: 1; margin: 0; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
.steps .ico, .steps .step { display: none; }

/* full-bleed band */
.band { position: relative; height: clamp(320px, 46vw, 640px); overflow: hidden; background: var(--night); }
.band img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.band figcaption { position: absolute; left: 0; right: 0; bottom: clamp(28px, 4vw, 56px); z-index: 1; color: var(--white); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.1; }

/* cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 28px; display: flex; flex-direction: column; transition: border-color .15s; }
.card:hover { border-color: var(--line-2); }
.card p { color: var(--muted); font-size: 16px; }
.card.work, .card.insight { padding: 0; }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-top, .badge { display: none; }
.card.feature .num { margin-bottom: 18px; }
.card.pack.featured { border-color: var(--ink); }
.card h3 a { color: var(--ink); }
.cover-link { display: block; }
.chips { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 13px; color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 11px; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { padding: 7px 0 7px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 5px; border-left: 1.5px solid var(--wine); border-bottom: 1.5px solid var(--wine); transform: rotate(-45deg); }

/* prices */
.price { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.price dd { margin: 0; }
.price strong { font-size: 21px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-size: 14px; margin-left: 4px; }
.price small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.terms { margin-top: 32px; color: var(--muted); font-size: 14px; }

/* dark Strike block */
section.dark { background: var(--night); color: #d9d3ca; }
.dark h2, .dark h3 { color: var(--white); }
.dark .eyebrow, .dark .tag { color: #b8afa4; }
.dark .lead, .dark p { color: #cfc8be; }
.dark a { color: #f0c9d6; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.stat { margin: 36px 0; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.stat strong { display: block; font-weight: 600; letter-spacing: -0.045em; font-size: clamp(60px, 7.5vw, 104px); line-height: 1; color: var(--white); margin: 8px 0 10px; }
.stat span { color: #cfc8be; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { display: block; border-top: 1px solid rgba(255,255,255,.18); padding: 24px 0; }
.points li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.points .ico { display: none; }
.points p { margin: 0; }

/* team */
.team { gap: clamp(28px, 4vw, 56px); }
.person { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start; }
.person img { width: 160px; height: 200px; object-fit: cover; border-radius: 4px; filter: grayscale(.15); }
.person p { color: var(--muted); font-size: 16px; }

/* final CTA */
.final { background: var(--wine); color: var(--white); }
.final h2 { color: var(--white); max-width: 18ch; }
.final p { color: #f1dbe3; font-size: 18px; }
.final .btn.primary { background: var(--white); color: var(--wine); border-color: var(--white); }
.final .btn.primary:hover { background: transparent; color: var(--white); }
.split-cta { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end; }
.split-cta .actions { margin: 0; }

/* inner pages */
.page-head { padding: clamp(56px, 8vw, 112px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.page-head h1 { font-size: clamp(38px, 5vw, 64px); max-width: 18ch; }
.callout { margin-top: 48px; padding: 36px; background: var(--alt); border-radius: 4px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.callout p { margin: 0; max-width: 640px; }
.prose-page { padding: clamp(48px, 7vw, 96px) 0; }
.prose { font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.crumb { font-size: 15px; margin-bottom: 28px; }
.related { margin-top: 56px; }

/* form */
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 550; color: var(--ink); }
.form input, .form textarea { font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--white); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form fieldset { border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px; margin: 0; }
.form legend { font-size: 14px; font-weight: 550; padding: 0 6px; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.check input { width: 17px; height: 17px; accent-color: var(--wine); padding: 0; }
.form .btn { justify-self: start; }
.direct { margin-top: 32px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot li a { color: var(--text); }
.foot .brand { margin-bottom: 14px; }
.legal-line { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legal-line a { color: var(--muted); }

/* product screenshots: framed on a tinted plate, cropped to the top-left at a readable scale */
.cover:has(img[src^="/img/shot-"]) { background: linear-gradient(160deg, #efe9df, #e6ddd0); padding: 22px 0 0 22px; }
.cover img[src^="/img/shot-"] { width: 170%; max-width: none; height: auto; min-height: 100%; object-fit: cover; object-position: 0 0; border-radius: 6px 0 0 0; box-shadow: 0 10px 30px rgba(40,25,15,.14), 0 0 0 1px rgba(40,25,15,.06); }
.card:hover .cover img[src^="/img/shot-"] { transform: translateY(-3px); }

/* responsive */
@media (max-width: 1020px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: repeat(2, 1fr); }
  .figs { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .hero-top, .split, .split-head, .split-cta { grid-template-columns: 1fr; }
  .split-head .head { position: static; }
  .hero h1 { max-width: 14ch; }
}
@media (max-width: 860px) {
  .menu { display: inline-flex; }
  #nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px clamp(20px, 4vw, 40px) 20px; }
  #nav.open { display: flex; }
  #nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  #nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid.two, .grid.three, .form .row, .checks, .foot .cols { grid-template-columns: 1fr; }
  .grid.four { gap: 28px 16px; }
  .sector p { font-size: 14px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .person { grid-template-columns: 104px 1fr; gap: 18px; }
  .person img { width: 104px; height: 132px; }
  .steps li { grid-template-columns: 52px 1fr; }
  .steps .num { font-size: 32px; }
  .legal-line { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Strike block: one calm column, stat carries the section */
.narrow-dark { max-width: 760px; }
.narrow-dark .stat { margin: 32px 0; }
