/* Hallmark · shape: Narrative Workflow · genre: modern-minimal · theme: Coral (deal 2/3, seed digital-growth-business-consulting-03ce·48e1125e·2026-11-02·r0) · redesign: full · draw: 33d9d4 · job: hire
 * hero: Poster (the desk as canvas) · nav: masthead · footer: index columns · imagery: the owner's portrait and client logos, the consultation built as stationery · signature: the free consultation laid on the desk as a letter, with "Free" pressed into the card
 * axes: light/grotesk-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a consulting page reads like any agency; the desk carries Rico's own four stages and his WhatsApp line instead of stock charts */
/* Hallmark · dropped "Start with Us!" · it only scrolled to the next section (#next) on the live page; the WhatsApp consultation is the one action */
/* Hallmark · reworded "We empower businesses with strategic clarity..." to "Strategic clarity and digital innovation that drive sustainable growth." · 19 names empower, 58 the hero sentence */
/* Hallmark · reworded "Let's Elevate Your Business" to "Let's move forward together" · 19 names elevate; the words come from the section's own last line */
@import url("./tokens.css");
@import url("./base.css");

:root { --nav-h: 72px; }
h1, h2, h3 { font-weight: var(--display-weight); }
figure { margin: 0; }

/* chrome */
.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-modal); padding: var(--space-xs) var(--space-md); background: var(--color-board); color: var(--color-board-type); border-radius: var(--radius-input); transform: translateY(-200%); }
.skip:focus-visible { transform: none; }
.mast { background: var(--color-desk); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.mast__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: var(--nav-h); gap: var(--space-3xl); }
.mast__links { display: flex; gap: var(--space-lg); font-size: var(--text-sm); font-weight: 500; }
.mast__links--end { justify-content: flex-end; }
.mast a { text-decoration: none; color: var(--color-ink-2); }
.mast a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent-2); }
.mast__logo img { width: 168px; height: auto; }
.mast__logo { display: block; border-radius: var(--radius-input); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-stock); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.btn--ink { background: var(--color-board); color: var(--color-board-type); text-shadow: 0 -0.75px 0 var(--color-ink); box-shadow: var(--cast-stock); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.btn:active { transform: translateY(1px); box-shadow: var(--cast-stock); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.stock { background-color: var(--color-cotton); background-image: linear-gradient(100deg, var(--color-cotton), transparent 45%), var(--tex-cotton); color: var(--color-print); box-shadow: var(--edge-stock), var(--cast-stock); border-radius: var(--radius-stock); }

/* hero: the desk */
.desk { background-color: var(--color-desk); background-image: radial-gradient(90% 120% at 0% 30%, var(--color-cotton), transparent 62%), var(--tex-desk); }
.hero { min-height: calc(100dvh - var(--nav-h)); display: grid; align-items: center; padding-block: var(--space-2xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.hero h1 { max-width: 12ch; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 34ch; }
.hero__actions { margin-top: var(--space-xl); display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.hero__note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.hero__note a { color: var(--color-ink-2); }

.spread { position: relative; min-height: 560px; }
.letter { position: absolute; left: 0; top: 0; width: 58%; padding: var(--space-xl); transform: rotate(-2deg); }
.letter__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.letter__head img { width: 40px; height: 40px; }
.letter__head p { font-size: var(--text-sm); color: var(--color-muted); }
.letter h2 { margin-top: var(--space-lg); font-size: var(--text-xl); max-width: 22ch; letter-spacing: -0.02em; }
.letter ol { margin: var(--space-md) 0 0; padding: 0; list-style: none; counter-reset: st; }
.letter li { counter-increment: st; display: grid; grid-template-columns: 2ch minmax(0, 1fr); gap: var(--space-sm); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-md); }
.letter li::before { content: counter(st); font-family: var(--font-outlier); color: var(--color-muted); }
.letter li:last-child { border-bottom: 0; }
.letter__sign { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

.portrait { position: absolute; right: 0; top: 8%; width: 36%; padding: var(--space-sm) var(--space-sm) var(--space-md); transform: rotate(3deg); }
.portrait__img { aspect-ratio: 4 / 5; border-radius: 4px; background: var(--color-paper-3); }
.portrait__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(0.85); border-radius: 4px; }
.portrait figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-print); font-weight: 500; }
.portrait figcaption span { display: block; font-weight: 400; color: var(--color-muted); }

.card-free { position: absolute; right: 8%; bottom: 0; width: 44%; padding: var(--space-lg); transform: rotate(-4deg); }
.card-free p { font-size: var(--text-sm); color: var(--color-muted); }
.card-free strong { display: block; font-size: var(--text-lg); font-weight: 500; color: var(--color-print); }
.pressed { position: absolute; right: var(--space-lg); top: var(--space-md); font-size: var(--text-2xl); font-weight: 600; color: var(--color-paid); transform: rotate(-8deg); filter: url(#press); letter-spacing: -0.02em; }

@media (max-width: 60rem) {
  .mast__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; padding-block: var(--space-sm); gap: var(--space-xs); }
  .mast__links { gap: var(--space-md); }
  .mast__links--end { justify-content: center; }
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .spread { min-height: 0; display: grid; gap: var(--space-lg); }
  .letter, .portrait, .card-free { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: 100%; transform: none; }
  .portrait { width: 70%; justify-self: end; transform: rotate(2deg); }
}

/* sections */
.sec { padding-block: var(--section-gap); }
.sec--s { padding-block: var(--section-gap-s); }
.head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: end; margin-bottom: var(--space-2xl); }
.head .lead { color: var(--color-ink-2); }

/* the board: clients */
.board { background: var(--color-board); color: var(--color-board-type); }
.board h2 { color: var(--color-board-type); }
.board .lead { color: var(--color-board-type); opacity: 1; }
.logos { --per: 6; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-lg) var(--gap-columns); }
.logos li { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap-columns)) / var(--per)); display: grid; place-items: center; min-height: 96px; padding: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink-2); }
.logos img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; }

/* services as index cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.card { position: relative; padding: var(--space-xl) var(--space-lg) var(--space-lg); min-height: 320px; display: flex; flex-direction: column; justify-content: flex-start; gap: var(--space-md); }
.card:nth-child(2) { transform: translateY(var(--space-xl)); }
.card:nth-child(4) { transform: translateY(var(--space-xl)); }
.card h3 { font-size: var(--text-title); max-width: 14ch; }
.card p { color: var(--color-ink-2); font-size: var(--text-md); }
.card__tab { position: absolute; top: calc(var(--space-md) * -1); left: var(--space-lg); padding: var(--space-2xs) var(--space-sm); border-radius: 4px 4px 0 0; background-color: var(--color-cotton); box-shadow: var(--edge-stock); font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-muted); }

/* the process: narrative stages */
.stages { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule-2); }
.stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.stage h3 { font-size: var(--text-2xl); max-width: 18ch; }
.stage p { color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.45; max-width: 46ch; }

/* testimonials: correspondence cards */
.voices { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); align-items: start; }
.voices__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); }
.voices__list button { width: 100%; display: flex; align-items: center; gap: var(--space-sm); min-height: 48px; padding: var(--space-xs) var(--space-sm); border: 0; border-radius: var(--radius-stock); background: transparent; color: var(--color-ink-2); text-align: left; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.voices__list button img { width: 36px; height: 36px; border-radius: var(--radius-pill); flex-shrink: 0; }
.voices__list button:hover { background: var(--color-paper-2); color: var(--color-ink); }
.voices__list button[aria-selected="true"] { background: var(--color-paper-3); color: var(--color-ink); box-shadow: var(--press-groove); }
.voices__list button:active { transform: translateY(1px); }
.voices__list button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.quote { padding: var(--space-2xl); min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-xl); }
.quote + .quote { margin-top: var(--space-lg); }
.quote blockquote { margin: 0; font-size: var(--text-lead); line-height: 1.55; max-width: 60ch; hanging-punctuation: first; }
.quote figcaption { display: flex; align-items: center; gap: var(--space-md); font-weight: 500; }
.quote figcaption img { width: 64px; height: 64px; border-radius: var(--radius-pill); }
.quote figcaption span { display: block; font-weight: 400; color: var(--color-muted); font-size: var(--text-sm); }

/* Rico */
.expert { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.expert__photo { aspect-ratio: 4 / 5; min-height: 480px; border-radius: var(--radius-stock); }
.expert__photo img { object-position: 50% 10%; filter: saturate(0.85); }
.expert .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.facts { list-style: none; margin: var(--space-xl) 0 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule-2); }
.facts li { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule-2); font-size: var(--text-md); }

/* close */
.close__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.close .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.close__actions { margin-top: var(--space-xl); }
.envelope { padding: var(--space-2xl); transform: rotate(-1.5deg); display: grid; gap: var(--space-lg); }
.envelope dl { margin: 0; display: grid; gap: var(--space-2xs); }
.envelope dd + dt { margin-top: var(--space-md); }
.envelope dt { color: var(--color-muted); font-size: var(--text-sm); align-self: center; }
.envelope dd { margin: 0; font-size: var(--text-title); font-weight: 500; }
.envelope dd a { white-space: nowrap; text-decoration-color: var(--color-rule-2); }
.envelope dd a:hover { text-decoration-color: var(--color-accent-2); }

/* footer: index columns */
.foot { background: var(--color-paper-2); padding-block: var(--space-3xl) var(--space-xl); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 6fr) repeat(3, minmax(0, 2fr)); gap: var(--gap-columns); }
.foot__brand img { width: 200px; height: auto; }
.foot h2 { font-size: var(--text-md); letter-spacing: 0; margin-bottom: var(--space-md); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.foot a { white-space: nowrap; text-decoration: none; color: var(--color-ink-2); }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--color-accent-2); color: var(--color-ink); }
.foot__legal { margin-top: var(--space-3xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-2); font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 60rem) {
  .head, .stage, .voices, .expert, .close__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .card:nth-child(2), .card:nth-child(4) { transform: none; }
  .logos { --per: 4; }
  .voices__list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: var(--space-xs); }
  .quote { padding: var(--space-xl); min-height: 0; }
  .expert__photo { min-height: 0; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .logos { --per: 3; }
  .envelope { padding: var(--space-lg); transform: none; }
}
