/* Art of Bookkeeping. Direction: "The product performs" (sheet and biro). One face, white ground, black ink, ballpoint blue. */
:root {
  --bg: #ffffff; --surface: #f4f4f4; --surface-2: #ebebeb; --ink: #111111; --muted: #5e5e5e;
  --accent: #1a4be0; --accent-hi: #133bb5; --accent-ink: #ffffff; --field: #111111; --field-ink: #ffffff;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-fig: clamp(3.5rem, 5.6vw, 5.5rem);
  --m: 32px; --gap: 24px; --sec: clamp(88px, 10vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (max-width: 720px) { :root { --m: 16px; --gap: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 "Schibsted Grotesk", system-ui, sans-serif; letter-spacing: -0.01em; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-body); letter-spacing: -0.015em; line-height: 1.25; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; transition: color .2s var(--ease); }
a:hover { color: var(--accent-hi); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { top: 8px; }
.soft { color: var(--muted); }
.lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; max-width: 34ch; }

.wrap { width: min(100% - 2 * var(--m), 1376px); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
main > section { padding-block: calc(var(--sec) / 2); }
.field { background: var(--surface); padding-block: var(--sec) !important; margin-block: calc(var(--sec) / 2); }

/* buttons and arrow links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 15px; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--accent-hi); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.big { min-height: 54px; padding: 14px 26px; font-size: var(--step-body); }
.btn[disabled] { opacity: .6; cursor: wait; }
.arrow { display: inline-flex; gap: .4em; font-weight: 600; text-decoration: none; }
.arrow::after { content: "→"; transition: transform .25s var(--ease); }
.arrow:hover::after { transform: translateX(4px); }

/* header */
.top { position: relative; z-index: 5; background: var(--bg); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.035em; }
.mark .glyph { width: 28px; height: 28px; color: var(--accent); transition: transform .3s var(--ease); }
.mark:hover { color: var(--ink); } .mark:hover .glyph { transform: rotate(-6deg); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn), .mnav nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--accent); }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; padding: 10px 14px; background: var(--surface); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg); padding: 18px; display: grid; gap: 14px; min-width: 220px; outline: 8px solid var(--surface-2); }
@media (max-width: 860px) { .nav { display: none; } .mnav { display: block; } .bar { height: 64px; } }

/* hero: the sentence split by a frame, frames passing through on scroll */
.hero-reel { padding: 0 !important; }
.stage { position: relative; height: calc(100svh - 76px); min-height: 600px; max-height: 1000px; }
.hero-reel h1 { font-size: clamp(2.25rem, 3.5vw, 3.6rem); line-height: .95; letter-spacing: -0.05em; }
.hero-reel h1 { position: absolute; z-index: 2; left: 0; right: 0; top: 44%; transform: translateY(-50%); display: flex; justify-content: space-between; align-items: center; }
.hero-reel h1 span { display: block; width: calc((100% - 38vw - 2 * var(--gap)) / 2); }
.hero-reel .hb { right: 0; text-align: right; }
.hero-reel .ha { left: 0; }
.reel { position: absolute; left: 50%; top: 0; bottom: 0; width: 38vw; transform: translateX(-50%); overflow: hidden; }
.strip { position: absolute; left: 0; right: 0; top: calc(44% - 38vw * 9 / 32); will-change: transform; }
.frame { aspect-ratio: 16 / 9; margin-bottom: 24px; overflow: hidden; border-radius: 4px; background: var(--surface); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.h-foot { position: absolute; left: 0; bottom: 36px; width: calc((100% - 38vw - 2 * var(--gap)) / 2); }
.h-foot p { font-size: var(--step-body); max-width: 36ch; }
@media (min-width: 861px) { .js .hero-reel { height: calc(100svh - 76px + 110vh); } .js .stage { position: sticky; top: 0; } }
@media (min-width: 861px) and (max-height: 760px) { .h-foot p { font-size: 1rem; } }
@media (max-width: 860px) {
  .stage { height: auto; min-height: 0; max-height: none; padding: 20px 0 8px; }
  .hero-reel h1 { font-size: clamp(2.1rem, 9vw, 3.4rem); }
  .hero-reel h1 { position: static; transform: none; display: block; }
  .hero-reel h1 span { width: auto; }
  .hero-reel .hb { margin-top: 20px; }
  .reel { position: relative; left: auto; transform: none; width: 100%; aspect-ratio: 4 / 3; margin-top: 20px; order: 2; }
  .strip { position: absolute; inset: 0; top: 0; }
  .frame { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; opacity: 0; transition: opacity 1.2s var(--ease); }
  .frame.on { opacity: 1; }
  .frame.on img { animation: drift 9s linear both; }
  .stage { display: flex; flex-direction: column; }
  .h-foot { position: static; width: auto; margin-top: 24px; }
}
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* intro: lead line over four columns */
.intro h2 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
.intro .lead { max-width: none; font-size: clamp(1.375rem, 2.2vw, 2rem); line-height: 1.22; font-weight: 400; }
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 64px; font-size: 1rem; line-height: 1.5; }
.cols4 p { margin: 0; } .cols4 b { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) { .cols4 { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 560px) { .cols4 { grid-template-columns: 1fr; } }

/* the ledger fragment (data-ui: the product's own conventions apply inside) */
.cost { background: var(--surface); padding-block: var(--sec) !important; margin-block: calc(var(--sec) / 2); }
.cost .grid { align-items: center; }
.c-say { grid-column: 1 / 6; }
.c-say h2 { margin-bottom: 28px; }
.c-say p { max-width: 42ch; }
/* taste-skill-ignore: data-ui fragment */ .ledger { grid-column: 7 / 13; background: #fff; border: 1px solid #d6d6d6; border-radius: 4px; padding: 28px; font-size: 15px; }
/* taste-skill-ignore: data-ui fragment */ .l-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid #d6d6d6; }
.l-title { margin: 0; font-weight: 600; font-size: 17px; } .l-sub { margin: 0; color: var(--muted); }
.rate { padding: 18px 0 8px; } .rate label { display: flex; justify-content: space-between; font-weight: 600; }
.rate output { color: var(--accent); font-size: 20px; }
.rate input { width: 100%; margin: 12px 0 4px; accent-color: var(--accent); height: 32px; cursor: pointer; }
.ledger table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.ledger th, .ledger td { text-align: left; padding: 13px 0; border-bottom: 1px solid #e3e3e3; vertical-align: top; font-weight: 600; }
.ledger td { text-align: right; white-space: nowrap; padding-left: 16px; }
.ledger th span { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.ledger tfoot th, .ledger tfoot td { border-bottom: 3px double var(--ink); font-size: 19px; padding-top: 16px; }
.ledger tfoot td { color: var(--accent); }
.l-note { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }
.cost.slim { margin-bottom: 0; }
@media (max-width: 860px) { .c-say, .ledger { grid-column: 1 / -1; } .ledger { margin-top: 36px; padding: 20px 16px; } }

/* features: a photograph in a folded-page shape, points marked with a filled square */
.feats .grid { align-items: center; }
.f-pic { grid-column: 1 / 6; margin-left: calc(-1 * var(--m) - 6vw); }
.f-pic img { width: 100%; height: min(78svh, 760px); object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 96px), calc(100% - 96px) 100%, 0 100%); object-position: 68% 50%; }
.f-list { grid-column: 7 / 13; }
.f-list h2 { margin-bottom: 52px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 36px; row-gap: 40px; }
.points li p { margin: 8px 0 0; font-size: 1rem; line-height: 1.45; }
.points h3 i { display: inline-block; width: .62em; height: .62em; margin-right: .45em; background: var(--ink); }
.points li:nth-child(3n+2) h3 i { background: var(--accent); }
.points li:nth-child(3n) h3 i { background: var(--muted); }
.why .checks { margin-bottom: 48px; }
@media (max-width: 1100px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .f-pic, .f-list { grid-column: 1 / -1; } .f-pic { margin-left: calc(-1 * var(--m)); width: 82vw; }
  .f-pic img { height: min(60svh, 520px); } .f-list { margin-top: 40px; } .f-list h2 { margin-bottom: 32px; }
  .points { grid-template-columns: 1fr; row-gap: 28px; } .points h3 { margin-left: -1.1em; } .points li { padding-left: 1.1em; }
}

/* stats: a ledger column of figures */
.stats .grid { align-items: center; }
.s-left { grid-column: 1 / 6; } .s-left h2 { margin-bottom: 24px; } .s-left h2 .soft { display: block; }
.s-left p { max-width: 38ch; }
.figs { grid-column: 7 / 13; display: grid; grid-template-columns: max-content 1fr; align-items: baseline; column-gap: 28px; row-gap: 44px; }
.fig { display: contents; }
.whole { font-size: var(--step-fig); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.whole { text-align: left; } .whole i { font-style: normal; color: var(--accent); }
.cap { font-size: var(--step-body); line-height: 1.35; max-width: 30ch; }
.badge { display: flex; align-items: center; gap: 16px; margin-top: 32px; } .badge img { width: 72px; } .badge span { max-width: 26ch; font-size: 1rem; }
@media (max-width: 860px) {
  .s-left, .figs { grid-column: 1 / -1; } .figs { margin-top: 32px; row-gap: 28px; }
  .whole { font-size: min(14vw, 4.5rem); } .figs { column-gap: 18px; } .cap { font-size: 1rem; }
}

/* founder's letter */
.letter .col { max-width: 600px; margin-inline: auto; }
.letter .avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 28px; }
.letter h2 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-bottom: 20px; }
.letter p { line-height: 1.6; }
.sign { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 28px 0; }
.sign span { display: block; font-size: var(--step-small); color: var(--muted); font-weight: 400; letter-spacing: 0; }

/* testimonials */
.q-h { grid-column: 1 / 3; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.15; }
.q-row { grid-column: 3 / 13; display: grid; grid-template-columns: 4fr 3fr 3fr; gap: 32px; }
.q { margin: 0; font-size: 1rem; line-height: 1.5; }
.q figcaption { margin-bottom: 10px; } .q figcaption span { color: var(--muted); display: block; }
.q blockquote { margin: 0; } .q blockquote p { margin: 0; }
.q-row .q:first-child blockquote p { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; }
.q-cols { grid-column: 3 / 13; columns: 2; column-gap: 48px; }
.q-cols .q { break-inside: avoid; margin-bottom: 40px; } .q-cols .q blockquote p { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 12px; }
@media (max-width: 860px) { .q-h, .q-row, .q-cols { grid-column: 1 / -1; } .q-h { margin-bottom: 24px; } .q-row { grid-template-columns: 1fr; gap: 36px; } .q-cols { columns: 1; } }

/* FAQ: filled tiles, the open one turns blue */
.fq-h { grid-column: 1 / 5; align-self: start; position: sticky; top: 32px; }
.fq-h h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 20px; }
.tiles-acc { grid-column: 5 / 13; display: grid; gap: 8px; }
.tiles-acc details { background: var(--surface); border-radius: 4px; transition: background .25s var(--ease); }
.tiles-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 18px 24px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.tiles-acc summary::-webkit-details-marker { display: none; }
.tiles-acc summary:hover { background: var(--surface-2); border-radius: 4px; }
.tiles-acc summary i { position: relative; flex: 0 0 16px; height: 16px; }
.tiles-acc summary i::before, .tiles-acc summary i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform .3s var(--ease); }
.tiles-acc summary i::after { transform: rotate(90deg); }
.tiles-acc details[open] { background: var(--accent); color: var(--accent-ink); }
.tiles-acc details[open] summary:hover { background: transparent; }
.tiles-acc details[open] summary i::after { transform: rotate(0); }
.ans { padding: 0 24px 24px; font-size: 17px; line-height: 1.55; max-width: 62ch; }
.ans ul { margin: 0; padding-left: 1.1em; } .ans li { margin-bottom: .45em; }
.ans p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .fq-h, .tiles-acc { grid-column: 1 / -1; } .fq-h { position: static; margin-bottom: 20px; } .tiles-acc summary { font-size: 18px; min-height: 64px; padding: 16px 20px; } .ans { padding: 0 20px 20px; font-size: 16px; } }

/* contact band */
.band { padding-top: var(--sec) !important; }
.band .grid { align-items: start; }
.b-say { grid-column: 1 / 7; font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; margin: 0; max-width: 24ch; }
.b-pic { grid-column: 8 / 10; } .b-pic img { width: 100%; max-width: 170px; aspect-ratio: 1; object-fit: cover; }
.b-links { grid-column: 10 / 13; display: flex; flex-direction: column; gap: 8px; }
.b-links a { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.b-q { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.b-links .soft { font-size: var(--step-small); margin-top: 12px; }
@media (max-width: 860px) { .b-say { grid-column: 1 / -1; margin-bottom: 28px; } .b-pic { grid-column: 1 / 4; } .b-links { grid-column: 4 / -1; } }
@media (max-width: 480px) { .b-pic { grid-column: 1 / 5; } .b-links { grid-column: 5 / -1; } .b-links a { font-size: 16px; } }

/* inner page heads */
.phead { padding-top: 32px !important; }
.phead .grid { align-items: center; row-gap: 40px; }
.ph-text { grid-column: 1 / 7; } .ph-text h1 { font-size: var(--step-head); margin-bottom: 28px; } .ph-text .lead { margin-bottom: 32px; }
.ph-pic { grid-column: 7 / 13; margin: 0; }
.ph-pic.wide { margin-right: calc(-1 * var(--m)); }
.ph-pic.wide img { width: 100%; aspect-ratio: 1 / 1; max-height: 78svh; object-fit: cover; border-radius: 4px 0 0 4px; }
.ph-pic.portrait { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: var(--gap); align-items: end; }
.ph-pic.portrait img { border-radius: 4px; width: 100%; }
.ph-pic figcaption { font-size: 1rem; line-height: 1.45; } .ph-pic figcaption b { display: block; font-size: var(--step-lead); letter-spacing: -0.02em; margin-bottom: 6px; }
.jump { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 10px 14px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s var(--ease); }
.jump a:hover { background: var(--accent); color: #fff; }
@media (max-width: 860px) { .ph-pic.wide { margin-right: 0; } .ph-pic.wide img { aspect-ratio: 4 / 3; border-radius: 4px; } .ph-text, .ph-pic { grid-column: 1 / -1; } .ph-pic.portrait { grid-template-columns: 1fr; } .ph-pic.portrait img { max-width: 70vw; } }

/* story */
.story .grid { align-items: start; }
.st-text { grid-column: 1 / 8; } .st-text h2 { margin-bottom: 28px; } .st-text p { max-width: 64ch; }
.soft-lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; max-width: 34ch !important; }
.st-pic { grid-column: 9 / 13; margin: 0; } .st-pic img { border-radius: 4px; width: 100%; max-width: 400px; margin-bottom: 18px; }
.st-pic figcaption { font-size: 1rem; line-height: 1.45; } .st-pic figcaption b { display: block; font-size: var(--step-lead); letter-spacing: -0.02em; margin-bottom: 6px; }
.st-aside { grid-column: 9 / 13; background: var(--surface); padding: 32px; }
.st-aside h3 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-bottom: 18px; }
.checks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 1.6em; font-weight: 600; line-height: 1.35; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1em; height: 1em; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8 17.5 13.5 23 25 7.5' fill='none' stroke='%23fff' stroke-width='4'/%3E%3C/svg%3E") center / 100% no-repeat; }
.checks.big li { font-size: var(--step-lead); letter-spacing: -0.02em; }
@media (max-width: 860px) { .st-text, .st-pic, .st-aside { grid-column: 1 / -1; } .st-pic { position: static; margin-top: 32px; } .st-aside { margin-top: 32px; padding: 24px 20px; } }

/* approach rows */
.ap-h { grid-column: 1 / 5; } .ap-h h2 { margin-bottom: 28px; }
.rows { grid-column: 5 / 13; margin: 0; display: grid; gap: 8px; }
.rows div { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); background: var(--surface); padding: 28px; }
.rows dt { font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; } .rows dd { margin: 0; }
@media (max-width: 860px) { .ap-h, .rows { grid-column: 1 / -1; } .rows { margin-top: 32px; } .rows div { grid-template-columns: 1fr; padding: 22px 20px; gap: 10px; } }

/* secure (field), clients, core services, closing field */
.secure h2 { grid-column: 1 / 5; } .points.three { grid-column: 5 / 13; }
.secure .points h3 { font-size: var(--step-lead); letter-spacing: -0.02em; }
.cl-h { grid-column: 1 / 5; } .cl-h h2 { margin-bottom: 20px; }
.logos { grid-column: 6 / 13; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.logos li { background: var(--surface); padding: 16px; display: grid; place-items: center; }
.logos img { width: 100%; max-width: 195px; filter: grayscale(1) contrast(1.05); opacity: .9; transition: filter .3s var(--ease), opacity .3s; }
.logos li:hover img { filter: none; opacity: 1; }
.co-h { grid-column: 1 / 5; align-self: start; } .co-h h2 { margin-bottom: 20px; }
.idx { list-style: none; padding: 0; margin: 24px 0 0; columns: 2; column-gap: 20px; font-size: var(--step-small); color: var(--muted); line-height: 1.7; }
.co-list { grid-column: 6 / 13; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 44px; }
.co-list h3 { font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.co-list p { margin: 0; font-size: 1rem; line-height: 1.5; }
.close h2 { grid-column: 1 / 7; } .close > .wrap > div { grid-column: 8 / 13; }
.photo-band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 4px; }
@media (max-width: 860px) {
  .secure h2, .points.three, .cl-h, .logos, .co-h, .co-list, .close h2, .close > .wrap > div { grid-column: 1 / -1; }
  .points.three { margin-top: 32px; } .logos { margin-top: 28px; grid-template-columns: repeat(2, 1fr); }
  .co-h { position: static; margin-bottom: 36px; } .idx { display: none; } .co-list { grid-template-columns: 1fr; row-gap: 32px; }
  .close > .wrap > div { margin-top: 24px; } .photo-band img { aspect-ratio: 4 / 3; }
}

/* contact page */
.contact .ph-text { grid-column: 1 / 8; } .contact .lead { max-width: 44ch; }
.ct-side { grid-column: 9 / 13; align-self: start; }
.ct-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 32px; }
.ct-side h2 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-bottom: 20px; }
.who { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; } .who .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; } .who b { display: block; }
.info { margin: 0; display: grid; gap: 18px; } .info dt { font-size: var(--step-small); color: var(--muted); } .info dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
form.lead { display: grid; gap: 18px; max-width: 720px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: grid; gap: 6px; } .fld label { font-weight: 600; font-size: 15px; } .fld label span { color: var(--muted); font-weight: 400; }
.fld input, .fld textarea { font: inherit; font-size: 17px; color: var(--ink); background: var(--surface); border: 1px solid #cfcfcf; border-radius: 2px; padding: 13px 14px; width: 100%; transition: border-color .2s, background .2s; }
.fld input:hover, .fld textarea:hover { border-color: #9a9a9a; }
.fld input:focus, .fld textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; background: #fff; border-color: var(--accent); }
.fld [aria-invalid="true"] { border-color: #b3261e; background: #fdf3f2; }
/* taste-skill-ignore: honeypot */ .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { margin: 0; color: #b3261e; font-weight: 600; min-height: 0; } .err:empty { display: none; }
form.lead .btn { justify-self: start; }
.fine { margin: 0; color: var(--muted); font-size: var(--step-small); }
.sent { background: var(--accent); color: #fff; padding: 28px; font-size: var(--step-lead); line-height: 1.3; max-width: 720px; }
@media (max-width: 860px) { .contact .ph-text, .ct-side { grid-column: 1 / -1; } .ct-side { margin-top: 24px; } .row2 { grid-template-columns: 1fr; } }

/* footer of tiles */
.foot { padding: var(--sec) 8px 8px; }
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.tile { background: var(--surface); padding: 24px; min-height: 220px; display: flex; flex-direction: column; }
.tile h2 { font-size: var(--step-small); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 14px; line-height: 1.3; }
.tile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tile ul a { color: var(--ink); text-decoration: none; font-weight: 600; } .tile ul a:hover { color: var(--accent); }
.t-state { grid-column: 1 / 5; justify-content: space-between; } .say { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; max-width: 18ch; }
.legal { margin: 0; font-size: var(--step-small); color: var(--muted); }
.t-nav { grid-column: 5 / 8; } .t-place { grid-column: 8 / 10; } .t-place p { margin-bottom: 8px; font-size: 1rem; } .t-place .soft { font-size: var(--step-small); }
.t-mail { grid-column: 10 / 13; } .t-mail a { margin-top: auto; font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
.t-word { grid-column: 1 / 9; min-height: 320px; background: var(--field); color: var(--field-ink); justify-content: center; align-items: center; text-align: center; }
.t-word span { font-size: clamp(2.5rem, 6vw, 6.4rem); font-weight: 800; letter-spacing: -0.055em; line-height: .9; }
.t-go { grid-column: 9 / 13; min-height: 320px; background: var(--accent); color: var(--accent-ink); text-decoration: none; justify-content: space-between; transition: background .25s var(--ease); }
.t-go span { font-size: 28px; max-width: 9ch; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; max-width: 10ch; }
.t-go svg { width: 48px; height: 48px; align-self: flex-end; transition: transform .3s var(--ease); }
.t-go:hover { background: var(--accent-hi); color: #fff; } .t-go:hover svg { transform: translate(4px, -4px); }
@media (max-width: 860px) {
  .foot { padding: var(--sec) 6px 6px; } .tiles { grid-template-columns: 1fr 1fr; gap: 6px; grid-auto-flow: row dense; } .tile { padding: 20px; min-height: 160px; }
  .t-word { grid-column: 1 / -1; order: -2; min-height: 160px; } .t-go { grid-column: 1 / -1; order: -1; min-height: 160px; }
  .t-nav { grid-column: 1; } .t-mail { grid-column: 2; } .t-place { grid-column: 1; } .t-state { grid-column: 2; }
  .t-word span { font-size: 11vw; } .say { font-size: 19px; } .t-mail a { font-size: 16px; }
}

/* entrances (only when the script runs; content never stays hidden without it) */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rise { opacity: 1; transform: none; }
}
