/* ==========================================================================
   Digivolve Accountants - pages/interior.css
   Shared styles for About, Team, Services hub, Contact, Book
   ========================================================================== */

/* ------------------------------------------------------------------ Page hero (solid header sits above) */
.page-hero { background: var(--ink); color: var(--on-ink); padding-top: clamp(7rem, 14vh, 9.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 80% at 90% 0%, rgba(67,182,255,0.14), transparent 55%); }
.page-hero__inner { position: relative; z-index: 1; max-width: none; margin-inline: 0; padding-inline: var(--edge); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; color: var(--on-ink-mute); margin-bottom: 1.6rem; }
.breadcrumb a { color: var(--on-ink-mute); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--on-ink-line); }
.breadcrumb .current { color: var(--on-ink); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 560; max-width: 18ch; color: var(--on-ink); }
.page-hero .lead { margin-top: 1.6rem; max-width: 56ch; }

/* ------------------------------------------------------------------ Content blocks */
.content-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.content-grid .sticky { position: sticky; top: 110px; }
.content-grid .eyebrow { margin-bottom: 1.1rem; }
.content-grid h2 { margin-bottom: 1.2rem; }
.content-prose p { color: var(--slate); }
.content-prose p + p { margin-top: 1.15em; }
.content-prose h3 { margin: 2rem 0 0.8rem; }
.content-prose ul.ticks { margin-top: 1rem; display: grid; gap: 0.7rem; }
.content-prose ul.ticks li { position: relative; padding-left: 1.8rem; color: var(--slate); }
.content-prose ul.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 9px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }
@media (max-width: 760px) { .content-grid { grid-template-columns: 1fr; } .content-grid .sticky { position: static; } }

/* ------------------------------------------------------------------ Value cards */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value { padding: 1.8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); }
.value__icon { width: 40px; height: 40px; color: var(--gold-deep); margin-bottom: 1.1rem; }
.value h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.value p { font-size: 0.94rem; color: var(--slate); }
@media (max-width: 820px) { .value-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.member { display: flex; flex-direction: column; }
.member__photo { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, var(--ink-2), var(--ink)); position: relative; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); opacity: 0.4; }
.member__photo .placeholder svg { width: 56px; height: 64px; }
.member__name { font-family: var(--serif); font-size: 1.35rem; margin-top: 1.1rem; }
.member__role { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin-top: 0.3rem; }
.member__bio { font-size: 0.94rem; color: var(--slate); margin-top: 0.8rem; }
.member__meta { font-size: 0.82rem; color: var(--slate); margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Services hub */
.hub-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.hub-cat { background: var(--paper-2); padding: clamp(1.8rem, 3vw, 2.8rem); display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(1.2rem, 3vw, 3rem); }
.hub-cat__head .eyebrow { margin-bottom: 0.8rem; }
.hub-cat__head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.hub-cat__head p { color: var(--slate); font-size: 0.94rem; margin-top: 0.7rem; }
.hub-cat__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 1.5rem; align-content: start; }
.hub-cat__links a { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.96rem; transition: color 0.25s var(--ease); }
.hub-cat__links a svg { width: 1rem; height: 1rem; color: var(--gold-deep); transition: transform 0.25s var(--ease); }
.hub-cat__links a:hover { color: var(--gold-deep); }
.hub-cat__links a:hover svg { transform: translateX(4px); }
@media (max-width: 820px) { .hub-cat { grid-template-columns: 1fr; } .hub-cat__links { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Forms */
.form-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.form-aside .contact-line { display: flex; gap: 0.9rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.form-aside .contact-line:last-child { border-bottom: 1px solid var(--line); }
.form-aside .contact-line svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; margin-top: 2px; }
.form-aside .contact-line .label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.form-aside .contact-line a, .form-aside .contact-line span { font-weight: 600; color: var(--ink); }
.form-aside .contact-line a:hover { color: var(--gold-deep); }

.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(67,182,255,0.25); }
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__note { font-size: 0.82rem; color: var(--slate); }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Booking options */
.book-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.book-opt { border: 1px solid var(--line); border-radius: 10px; padding: 1.8rem; background: var(--paper-2); display: flex; flex-direction: column; gap: 0.7rem; }
.book-opt svg.head-icon { width: 34px; height: 34px; color: var(--gold-deep); }
.book-opt h3 { font-size: 1.2rem; }
.book-opt p { font-size: 0.92rem; color: var(--slate); }
.book-opt .btn { margin-top: auto; }
@media (max-width: 820px) { .book-options { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Team lead (featured) */
.team-lead { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.team-lead__photo { min-height: 440px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, var(--ink-2), var(--ink)); }
.team-lead__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-lead__name { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.team-lead__role { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin: 0.5rem 0 1.5rem; }
.team-lead__bio p { color: var(--slate); }
.team-lead__bio p + p { margin-top: 1em; }
.team-lead__meta { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--slate); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.2rem; }
.team-lead__linkedin { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink); font-weight: 600; }
.team-lead__linkedin svg { width: 18px; height: 18px; color: var(--gold-deep); }
.team-lead__linkedin:hover { color: var(--gold-deep); }
@media (max-width: 760px) { .team-lead { grid-template-columns: 1fr; } .team-lead__photo { aspect-ratio: 4 / 5; max-width: 320px; min-height: 0; } }

/* ------------------------------------------------------------------ Team directory */
.team-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.person { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.person__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ink); color: var(--on-ink); font-family: var(--serif); font-size: 1.15rem; line-height: 1; }
.person__name { font-weight: 700; font-size: 0.96rem; color: var(--ink); }
.person__role { font-size: 0.8rem; color: var(--slate); margin-top: 0.15rem; }
@media (max-width: 900px) { .team-people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-people { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Careers */
.perks, .vacancy__body ul { list-style: none; }
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 2rem; margin-top: 1rem; }
.vacancy__body ul { display: grid; gap: 0.6rem; }
.perks li, .vacancy__body ul li { position: relative; padding-left: 1.7rem; color: var(--slate); font-size: 0.95rem; }
.perks li::before, .vacancy__body ul li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 11px; height: 8px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }

.vacancies { display: grid; gap: 0.9rem; }
.vacancy { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.vacancy > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; transition: background 0.2s var(--ease); }
.vacancy > summary::-webkit-details-marker { display: none; }
.vacancy > summary:hover { background: var(--paper-2); }
.vacancy__title { font-size: 1.15rem; }
.vacancy__sub { font-size: 0.88rem; color: var(--slate); margin-top: 0.2rem; }
.vacancy__chevron { width: 18px; height: 12px; color: var(--gold-deep); flex: none; transition: transform 0.3s var(--ease); }
.vacancy[open] .vacancy__chevron { transform: rotate(180deg); }
.vacancy__body { padding: 0 1.5rem 1.6rem; }
.vacancy__body > p { color: var(--slate); margin-bottom: 1.4rem; }
.vacancy__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.5rem); }
.vacancy__cols h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.8rem; }
@media (max-width: 640px) { .vacancy__cols { grid-template-columns: 1fr; gap: 1.4rem; } }
@media (max-width: 600px) { .perks { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Services hub cards */
.svc-cat { margin-top: clamp(2.6rem, 5vw, 4rem); }
.svc-cat:first-of-type { margin-top: 0; }
.svc-cat__head { max-width: 720px; margin-bottom: 1.5rem; }
.svc-cat__head h2 { font-size: clamp(1.45rem, 2.5vw, 1.95rem); }
.svc-cat__head p { color: var(--slate); margin-top: 0.6rem; }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.svc-card { display: flex; flex-direction: column; padding: 1.5rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.svc-card:hover { transform: translateY(-3px); border-color: var(--blue-deep); box-shadow: 0 8px 24px rgba(11,42,69,0.08); }
.svc-card h3 { font-size: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.svc-card h3 svg { width: 1rem; height: 1rem; color: var(--gold-deep); flex: none; transition: transform 0.25s var(--ease); }
.svc-card:hover h3 svg { transform: translateX(4px); }
.svc-card p { font-size: 0.92rem; color: var(--slate); margin-top: 0.6rem; line-height: 1.5; }
@media (max-width: 900px) { .svc-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-cards { grid-template-columns: 1fr; } }

/* Resources hub */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.res-card { display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 2.3rem); background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.res-card:hover { transform: translateY(-3px); border-color: var(--blue-deep); box-shadow: 0 10px 28px rgba(11,42,69,0.08); }
.res-card__icon { width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border-radius: 11px; background: var(--ink); color: var(--on-ink); margin-bottom: 1.2rem; flex: none; }
.res-card__icon svg { width: 1.45rem; height: 1.45rem; }
.res-card h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; }
.res-card h3 > svg { width: 1.05rem; height: 1.05rem; color: var(--gold-deep); flex: none; transition: transform 0.25s var(--ease); }
.res-card:hover h3 > svg { transform: translateX(4px); }
.res-card p { color: var(--slate); margin-top: 0.7rem; line-height: 1.55; font-size: 0.96rem; }
.res-card__meta { margin-top: auto; padding-top: 1.3rem; font-size: 0.82rem; color: var(--slate); letter-spacing: 0.01em; }

/* Blog teaser cards */
.res-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.post-card { display: flex; flex-direction: column; padding: clamp(1.4rem, 2.5vw, 1.8rem); background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(11,42,69,0.08); }
.post-card__tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--blue-deep); background: rgba(67,182,255,0.12); padding: 0.32rem 0.65rem; border-radius: 999px; margin-bottom: 1.1rem; }
.post-card h3 { font-size: 1.12rem; line-height: 1.32; }
.post-card p { color: var(--slate); margin-top: 0.6rem; line-height: 1.55; font-size: 0.92rem; }
.post-card__meta { margin-top: auto; padding-top: 1.3rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; color: var(--slate); }
.post-card__more { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; color: var(--gold-deep); }
.post-card__more svg { width: 0.95rem; height: 0.95rem; transition: transform 0.25s var(--ease); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }

@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .res-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } }

/* Blog index */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.chip { font-family: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.5rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--charcoal); cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.chip:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

.post-feature { position: relative; display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--ink); color: var(--on-ink); border-radius: 16px; padding: clamp(1.9rem, 4vw, 3.2rem); overflow: hidden; }
.post-feature::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 90% at 100% 0%, rgba(67,182,255,0.16), transparent 55%); }
.post-feature__body { position: relative; z-index: 1; }
.post-feature .post-card__tag { background: rgba(67,182,255,0.18); color: #bfe3ff; }
.post-feature h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.2; margin-bottom: 0.9rem; color: var(--on-ink); }
.post-feature p { color: var(--on-ink-mute); max-width: 54ch; line-height: 1.6; margin-bottom: 1.2rem; }
.post-feature__meta { font-size: 0.82rem; letter-spacing: 0.02em; }
.post-feature .btn { margin-top: 0.4rem; }
.post-feature__aside { position: relative; z-index: 1; display: grid; place-items: center; }
.post-feature__aside svg { width: clamp(6rem, 12vw, 9.5rem); height: auto; color: rgba(236,242,246,0.18); }
@media (max-width: 760px) { .post-feature { grid-template-columns: 1fr; } .post-feature__aside { display: none; } }

.pager { display: flex; justify-content: center; align-items: center; gap: 0.4rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pager a, .pager span { min-width: 2.4rem; height: 2.4rem; display: inline-grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; color: var(--charcoal); background: #fff; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.pager a:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.pager__next { display: inline-flex !important; align-items: center; padding: 0 1rem; gap: 0.45rem; }
.pager__next svg { width: 0.9rem; height: 0.9rem; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-row__icon { width: 2.6rem; height: 2.6rem; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); color: var(--blue-deep); }
.contact-row__icon svg { width: 1.3rem; height: 1.3rem; }
.contact-row__label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--slate); margin-bottom: 0.25rem; }
.contact-row address, .contact-row p { font-style: normal; color: var(--charcoal); line-height: 1.5; }
.contact-row a { color: var(--charcoal); font-weight: 600; transition: color 0.2s var(--ease); }
.contact-row a:hover { color: var(--blue-deep); }
.contact-row__sub { font-weight: 500 !important; color: var(--slate) !important; }
.contact-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); height: 440px; }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.booking { max-width: 980px; margin-inline: auto; }
.booking .heading-block { text-align: center; }
.calendly-inline-widget { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } .contact-map { height: 320px; } }

/* Service detail pages */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { padding: 1.6rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.feature__icon { width: 2.7rem; height: 2.7rem; border-radius: 9px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; margin-bottom: 1rem; }
.feature__icon svg { width: 1.35rem; height: 1.35rem; }
.feature h3 { font-size: 1.08rem; }
.feature p { font-size: 0.92rem; color: var(--slate); margin-top: 0.5rem; line-height: 1.5; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.steps { display: grid; gap: 1.4rem; max-width: 760px; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step__num { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--blue-deep); background: var(--paper-2); }
.step h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.step p { color: var(--slate); font-size: 0.95rem; line-height: 1.55; }

.faq { max-width: 800px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.2rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; font-size: 1.02rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; width: 11px; height: 11px; border-right: 2px solid var(--blue-deep); border-bottom: 2px solid var(--blue-deep); transform: rotate(45deg); transition: transform 0.25s var(--ease); flex: none; margin-top: -4px; }
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq__item p { color: var(--slate); line-height: 1.6; padding-bottom: 1.2rem; max-width: 68ch; }

/* light prose on dark bands */
.surface-ink .content-prose p { color: var(--on-ink-mute); }
.surface-ink .content-prose ul.ticks li { color: var(--on-ink-mute); }
.surface-ink .content-prose ul.ticks li::before { border-color: var(--blue); }

/* 404 */
.notfound-section { min-height: 78vh; display: grid; place-items: center; padding-top: clamp(6rem, 12vh, 8rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.notfound { max-width: 680px; margin-inline: auto; text-align: center; }
.notfound .display404 { display: block; font-family: var(--serif); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--blue-deep); opacity: 0.18; font-weight: 600; }
.notfound h1 { margin-top: 0.4rem; }
.notfound .lead { margin: 1.2rem auto 0; max-width: 52ch; }
.notfound__links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: clamp(1.8rem, 4vw, 2.6rem) auto; }
.notfound__links a { display: inline-block; padding: 0.6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); font-weight: 600; font-size: 0.92rem; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.notfound__links a:hover { border-color: var(--blue-deep); color: var(--blue-deep); }