/* Cognitivi / Workboard site. No build step: edit this file directly. */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --sunk: #efede7;
  --ink: #161614;
  --ink-2: #3d3c38;
  --muted: #5f5d57;
  --line: #dfddd5;
  --line-strong: #c9c6bc;
  --accent: #9b3a22;
  --ok: #2f6b3f;
  --band: #151513;
  --band-ink: #f1efe9;
  --band-muted: #b4b1a8;
  --band-line: #33322e;
  --focus: #2b59c3;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --gutter: 24px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --surface: #1a1a18;
    --sunk: #1f1e1c;
    --ink: #eeece6;
    --ink-2: #d2d0c9;
    --muted: #a8a59d;
    --line: #2d2c29;
    --line-strong: #44423d;
    --accent: #f0937a;
    --ok: #7cc48f;
    --band: #1c1b19;
    --band-ink: #eeece6;
    --band-muted: #aeaba2;
    --band-line: #383631;
    --focus: #8fb0ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 40em; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block; font: 500 0.78rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 112px 0; }
section + section { border-top: 1px solid var(--line); }
.head { max-width: 46em; margin-bottom: 56px; }
.head .lede { margin-top: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 500 0.97rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--ink-2); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.band .btn-solid, .plan.dark .btn-solid { background: var(--band-ink); color: var(--band); }
.band .btn-line, .plan.dark .btn-line { color: var(--band-ink); border-color: var(--band-line); }
.band .btn-line:hover, .plan.dark .btn-line:hover { border-color: var(--band-ink); }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { border-color: currentColor; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 1.06rem/1 var(--sans); letter-spacing: -0.01em; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand small { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.nav-acts { display: flex; gap: 10px; }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 4px; font-size: 0.95rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { text-decoration: underline; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px;
}
.menu-panel a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.05rem; }
.menu-panel .btn { display: flex; margin-top: 18px; width: 100%; padding: 0 22px; border: 1px solid transparent; }
.menu-panel .btn-line { margin-top: 10px; border-color: var(--line-strong); }

/* Hero */
.hero { padding: 104px 0 88px; border-top: 0; }
.hero h1 { max-width: 15em; }
.hero .lede { margin-top: 28px; }
.hero .acts { margin-top: 40px; }
.hero-note { margin-top: 18px; font-size: 0.92rem; color: var(--muted); }
.page-hero { padding: 96px 0 72px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); max-width: 16em; }
.page-hero .lede { margin-top: 24px; }

/* Product illustration (HTML, not an image) */
.shot {
  margin: 72px 0 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(0,0,0,0.35); overflow: hidden;
}
.shot-bar { display: flex; align-items: center; gap: 18px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); overflow-x: auto; }
.shot-bar b { color: var(--ink); font-weight: 600; }
.shot-bar span { white-space: nowrap; }
.shot-bar .on { color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.shot-body { padding: 22px; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--bg); min-width: 0; }
.tile small { display: block; color: var(--muted); font-size: 0.78rem; }
.tile b { display: block; font: 400 1.7rem/1.2 var(--serif); margin-top: 6px; }
.meter { height: 6px; border-radius: 3px; background: var(--sunk); margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ink-2); border-radius: 3px; }
.shot-table { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; }
.shot-table table { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 540px; }
.shot-table th, .shot-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.shot-table th { font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.shot-table tr:last-child td { border-bottom: 0; }
.shot-table td.r, .shot-table th.r { text-align: right; }
.flag { display: inline-block; font-size: 0.72rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-strong); }
.flag.warn { border-color: var(--accent); color: var(--accent); }
.shot-caption { font-size: 0.82rem; color: var(--muted); padding: 0 22px 18px; }

/* Feature list: numbered rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.row .n { font: 400 0.95rem/1.6 var(--mono); color: var(--muted); padding-top: 4px; }
.row p { color: var(--ink-2); }

/* Product showcase: views on the left, a fixed 2:1 frame of real screens on the right (showcase.js) */
.sc { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; align-items: center; }
.sc-list { border-top: 1px solid var(--line); }
.sc-tab {
  position: relative; display: block; width: 100%; padding: 16px 0 18px; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--ink-2); font: inherit; text-align: left; cursor: pointer;
}
.sc-name { display: block; font: 400 1.45rem/1.2 var(--serif); color: var(--muted); transition: color .2s; }
.sc-tab:hover .sc-name, .sc-tab[aria-selected="true"] .sc-name { color: var(--ink); }
.sc-desc { display: block; }
.sc-desc-in { display: block; padding-top: 10px; font-size: 0.97rem; line-height: 1.55; }
.sc-js .sc-desc { height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: height .3s ease, opacity .3s ease, visibility .3s; }
.sc-js .sc-tab[aria-selected="true"] .sc-desc { height: var(--sc-desc-h, auto); opacity: 1; visibility: visible; }
.sc-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.sc-bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.sc-tab.is-run .sc-bar i { animation: sc-fill 5s linear forwards; }
.sc.is-paused .sc-bar i { animation-play-state: paused; }
@keyframes sc-fill { to { transform: scaleX(1); } }
.sc-link { display: inline-block; margin-top: 24px; }
.sc-frame {
  position: relative; aspect-ratio: 2 / 1; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #f9f9f8; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(0,0,0,0.35);
}
.sc-shot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  opacity: 0; transition: opacity .3s ease;
}
.sc-shot.is-on img { opacity: 1; }
.sc-more { margin-top: 40px; color: var(--muted); font-size: 0.95rem; max-width: 46em; }
.sc-more b { color: var(--ink-2); font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  .sc-js .sc-desc, .sc-shot img, .sc-name { transition: none; }
  .sc-tab[aria-selected="true"] .sc-bar i { animation: none; transform: scaleX(1); }
}

/* Cards */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.card p { color: var(--ink-2); }
.card ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.card li + li { margin-top: 6px; }
.card .acts { margin-top: auto; padding-top: 12px; }
.tag { align-self: flex-start; font-size: 0.78rem; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.tag.live { color: var(--ok); border-color: currentColor; }

/* Dark band */
.band { background: var(--band); color: var(--band-ink); border-top: 0 !important; }
.band + section { border-top: 0; }
.band .lede, .band p { color: var(--band-muted); }
.band .eyebrow { color: var(--band-muted); }
.split { display: grid; gap: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col h3 { font-size: 1.3rem; padding-bottom: 14px; border-bottom: 1px solid var(--band-line); margin-bottom: 8px; }
.col ul { list-style: none; margin: 0; padding: 0; }
.col li { padding: 12px 0; border-bottom: 1px solid var(--band-line); color: var(--band-muted); }
.col li b { color: var(--band-ink); font-weight: 500; }
.band .acts { margin-top: 48px; }

/* Model list */
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.model { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 14px; }
.model h3 { font-size: 1.35rem; }
.model p { color: var(--muted); font-size: 0.95rem; }

/* Pricing */
.plans { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.plan.dark { background: var(--band); color: var(--band-ink); border-color: var(--band); }
.plan.dark p, .plan.dark li { color: var(--band-muted); }
.plan h2 { font-size: 2rem; }
.amount { font: 400 3.4rem/1 var(--serif); letter-spacing: -0.02em; }
.amount small { font: 400 1rem/1 var(--sans); color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plan.dark ul { border-color: var(--band-line); }
.plan li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.plan.dark li { border-color: var(--band-line); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.plan .acts { margin-top: auto; padding-top: 8px; }
.plan .btn { flex: 1 1 auto; }
.seats { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--bg); display: grid; gap: 14px; }
.seats-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.seats label { font-weight: 500; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 1.3rem; cursor: pointer; border-radius: 999px; }
.stepper button:disabled { color: var(--line-strong); cursor: default; }
.stepper input { width: 72px; height: 44px; border: 0; background: transparent; color: var(--ink); text-align: center; font: 500 1.05rem var(--sans); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.total { font: 400 1.6rem/1.2 var(--serif); }
.fine { font-size: 0.88rem; color: var(--muted); }
.plan.dark .fine { color: var(--band-muted); }

.faq { max-width: 52em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 32px 22px 0; font: 400 1.3rem/1.3 var(--serif); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 300 1.5rem/1 var(--sans); color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 44em; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
.data th, .data td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.data thead th { font-weight: 500; color: var(--muted); font-size: 0.85rem; background: var(--sunk); }
.data tbody th { font-weight: 500; }
.data tr:last-child td, .data tr:last-child th { border-bottom: 0; }

/* Prose pages */
.prose { max-width: 44em; }
.prose h2 { font-size: 1.8rem; margin: 48px 0 14px; }
.prose p, .prose ul { margin: 0 0 16px; color: var(--ink-2); }
.prose li + li { margin-top: 6px; }

/* Closing band */
.close { text-align: center; }
.close h2 { max-width: 18em; margin: 0 auto; }
.close p { margin: 22px auto 0; max-width: 34em; }
.close .acts { justify-content: center; margin-top: 36px; }

/* Contact */
.contact-grid { display: grid; gap: 64px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 36px; display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.form .acts { grid-column: 1 / -1; align-items: center; }
.alert { grid-column: 1 / -1; border-radius: 10px; padding: 14px 16px; border: 1px solid; }
.alert.ok { border-color: var(--ok); color: var(--ok); }
.alert.err { border-color: var(--accent); color: var(--accent); }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.check input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.demo-grid { display: grid; gap: 64px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
.demo-grid h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.demo-sub { font: 500 0.8rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 40px; }
.demo-sub + .steps { margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.aside dl { margin: 0; }
.aside dt { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 28px; }
.aside dt:first-child { margin-top: 0; }
.aside dd { margin: 8px 0 0; font-size: 1.05rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 0.93rem; }
.foot { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
.foot h2 { font: 500 0.8rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li + li { margin-top: 10px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { text-decoration: underline; color: var(--ink); }
.foot address { font-style: normal; color: var(--muted); margin-top: 16px; }
.legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Error page */
.err-page { min-height: 60vh; display: flex; align-items: center; }
.err-page .code { font: 400 1rem var(--mono); color: var(--muted); }

@media (max-width: 1000px) {
  .nav-links, .nav-acts { display: none; }
  .menu { display: block; }
  .shot-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.three { grid-template-columns: 1fr; }
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot > div:first-child { grid-column: 1 / -1; }
  .contact-grid, .demo-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  section { padding: 76px 0; }
  .hero { padding: 64px 0 56px; }
  .page-hero { padding: 64px 0 48px; }
  .head { margin-bottom: 40px; }
  .row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .sc { grid-template-columns: 1fr; gap: 32px; }
  .sc-name { font-size: 1.3rem; }
  .cards, .split, .plans { grid-template-columns: 1fr; }
  .card, .plan { padding: 26px; }
  .shot { margin-top: 48px; }
  .shot-body { padding: 14px; gap: 12px; }
  .tile b { font-size: 1.35rem; }
  .models { grid-template-columns: 1fr; }
  .model { padding: 24px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .brand small { display: none; }
  .amount { font-size: 2.8rem; }
  .acts .btn { flex: 1 1 auto; }
}

/* Photographs. Text on a photo sits on a dark overlay, the same in light and dark mode. */
.cover, .photo-hero { position: relative; overflow: hidden; background: #151513; color: #fff; --focus: #8fb0ff; }
.cover > img, .photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.cover::after, .photo-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.cover { min-height: min(78vh, 760px); padding: 0; display: flex; align-items: flex-end; border-top: 0 !important; }
.cover::after { background: linear-gradient(180deg, rgba(12,12,11,.30) 0%, rgba(12,12,11,.30) 35%, rgba(12,12,11,.82) 100%); }
.cover + section { border-top: 0; }
.cover-in { position: relative; z-index: 1; width: 100%; padding-top: 160px; padding-bottom: 44px; display: grid; grid-template-columns: 70px minmax(0, 1fr); column-gap: 32px; row-gap: 18px; align-items: end; }
.cover-num { font: 400 0.95rem/1.6 var(--mono); color: rgba(255,255,255,.85); }
.cover-cap { font: 400 clamp(1.7rem, 3.4vw, 2.9rem)/1.15 var(--serif); letter-spacing: -0.015em; max-width: 22em; color: #fff; text-shadow: 0 1px 20px rgba(0,0,0,.35); }
.photo-hero { padding: 180px 0 48px; min-height: min(86vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; border-top: 0; }
.photo-hero::after { background: linear-gradient(180deg, rgba(12,12,11,.62) 0%, rgba(12,12,11,.72) 50%, rgba(12,12,11,.88) 100%); }
.photo-hero .wrap { position: relative; z-index: 1; width: 100%; }
.photo-hero .eyebrow, .photo-hero .lede { color: rgba(255,255,255,.9); }
.photo-hero .btn-solid { background: #f1efe9; color: #151513; }
.photo-hero .btn-line { color: #fff; border-color: rgba(255,255,255,.55); }
.photo-hero .btn-line:hover { border-color: #fff; }
.photo-card { padding: 0; overflow: hidden; gap: 0; }
.photo-card > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sunk); }
.photo-card .card-body { padding: 36px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.tight-top { padding-top: 0; border-top: 0; }
.steps { list-style: none; margin: 28px 0; padding: 0; border-top: 1px solid var(--line); counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 400 0.95rem/1.6 var(--mono); color: var(--muted); }
.card code { font: 0.9em var(--mono); }
@media (max-width: 760px) {
  .cover { min-height: min(64vh, 520px); }
  .cover-in { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 28px; }
  .cover-num { display: none; }
  .photo-hero { padding: 120px 0 32px; min-height: 0; }
  .photo-card .card-body { padding: 26px; }
}
