/* The site's editorial layer: one grid, a quieter type scale, and deliberate changes of pace. */
:root {
  --paper: #f8f5ee;
  --paper-deep: #eee9df;
  --sage-pale: #e0e9df;
  --sage-ink: #536e5a;
  --rule-dark: rgba(38, 30, 45, .22);
  --rule-light: rgba(250, 247, 242, .27);
  --site-width: 1320px;
  --site-gutter: clamp(20px, 4.2vw, 72px);
}

html { scroll-padding-top: 110px; }
body { background: var(--paper); }
::selection { background: var(--sage); color: var(--plum-deep); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--plum-deep); }
::-webkit-scrollbar-thumb { background: #809685; border: 2px solid var(--plum-deep); border-radius: 20px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, .services-track:focus-visible { outline: 3px solid var(--sage); outline-offset: 4px; }
.booking-button, .hero-primary, .story-booking, .service-booking, .accounting-booking, .detail-booking { cursor: pointer; }
.booking-button:hover, .hero-primary:hover, .story-booking:hover, .service-booking:hover, .accounting-booking:hover, .detail-booking:hover { filter: brightness(.93); }
.process-cta-action a { display: inline-flex; justify-content: space-between; align-items: center; gap: 35px; min-width: 235px; min-height: 58px; padding: 14px 20px; background: var(--ivory); color: var(--plum-deep); font: 600 15px/1.5 var(--body); }
.process-cta-action a svg { width: 20px; height: 20px; flex: none; }
.process-cta-action a:hover { background: #e1e9df; }

/* The flat-to-pill transformation remains the primary navigation gesture. */
.nav-shell { background: #241d2b; }
.header-inner { width: min(calc(100% - 2 * var(--site-gutter)), var(--site-width)); }
.desktop-nav { gap: clamp(22px, 2.7vw, 43px); font-size: 14px; }
.desktop-nav a { position: relative; padding-block: 12px; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; background: currentColor; content: ''; transform: scaleX(0); transform-origin: right; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.wordmark { padding-inline-end: 25px; }
.brand-name { letter-spacing: -.015em; }
.booking-button { min-height: 46px; padding-inline: 21px; }
.site-header.is-scrolled .nav-shell { box-shadow: 0 18px 45px rgba(27, 19, 33, .23); }

@media (max-width: 950px) {
  .wordmark { padding-inline-end: 0; }
}

/* The home hero keeps the approved desk scene and gives its copy a stronger measure. */
.hero-canvas { min-height: min(820px, calc(100svh - 88px)); }
.hero-image img { object-position: left center; }
.hero-canvas::before { background: linear-gradient(270deg, rgba(26, 17, 29, .81) 0%, rgba(26, 17, 29, .64) 35%, rgba(26, 17, 29, .12) 73%, transparent 100%); }
.hero-content { width: min(63%, 790px); padding-inline-start: var(--site-gutter); }
.hero-content h1 { max-width: 750px; margin-bottom: 31px; font-size: clamp(38px, 3.75vw, 60px); line-height: 1.56; }
.hero-description { max-width: 570px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.85; }
.hero-actions { margin-top: 52px; padding-top: 24px; }
.hero-primary, .hero-secondary { min-height: 54px; }
.hero-secondary { padding-block: 13px; }

/* Each home chapter has a different density, while sharing one typographic grammar. */
.about-section, .audience-section { background: var(--paper); }
.about-container, .why-container, .process-container, .faq-container { width: min(calc(100% - 2 * var(--site-gutter)), var(--site-width)); }
.about-container { padding-block: 115px 125px; }
.about-opening { grid-template-columns: 1fr .8fr; gap: clamp(60px, 8vw, 130px); padding-bottom: 70px; }
.about-heading h2 { font-size: clamp(41px, 3.8vw, 60px); line-height: 1.5; }
.about-heading h2 span { font-size: clamp(71px, 6.6vw, 102px); }
.about-lead { font-size: clamp(19px, 1.4vw, 22px); }
.about-lower { padding-top: 62px; }
.about-proof { min-height: 485px; padding: clamp(35px, 3vw, 48px); }
.about-proof h3 { margin-top: 32px; }
.about-cta { margin-top: 46px; }

.services-container { width: min(calc(100% - 2 * var(--site-gutter)), 1400px); padding-block: 115px 130px; }
.services-intro { margin-bottom: 62px; }
.services-intro h2, .why-intro h2 { font-size: clamp(43px, 3.7vw, 59px); }
.services-grid { gap: 10px; }
.service-block { min-height: 570px; padding: clamp(25px, 2vw, 32px); transition: background .3s ease, transform .4s cubic-bezier(.16, 1, .3, 1); }
.service-block:nth-child(even) { background: #e8eee6; }
.service-block:hover { background: #fffdf8; transform: translateY(-8px); }
.service-index { color: var(--sage-ink); font-size: 17px; }
.service-block h3 { min-height: 112px; margin-top: 27px; font-size: clamp(23px, 1.7vw, 27px); }
.service-block p { font-size: 16px; line-height: 1.85; }
.service-link { min-height: 61px; }

.why-section { background: var(--sage-pale); }
.why-container { padding-block: 110px 125px; }
.why-intro { padding-bottom: 60px; }
.why-story { gap: clamp(55px, 7vw, 110px); }
.why-chapter { min-height: min(66svh, 690px); }
.why-chapter h3 { font-size: clamp(36px, 3vw, 49px); }
.why-visual { top: 120px; height: min(62svh, 560px); min-height: 450px; }

.audience-container { width: min(calc(100% - 2 * var(--site-gutter)), var(--site-width)); }
.audience-heading h2 { font-size: clamp(35px, 3vw, 47px); }
.audience-panel { min-height: clamp(270px, calc(100svh - 370px), 405px); }

.process-section { background: #f1ede5; }
.process-container { padding-block: 112px 130px; }
.process-heading h2 { font-size: clamp(43px, 3.8vw, 60px); }
.process-row { min-height: 170px; }
.process-cta { margin-top: 88px; }

/* About: a measured split rather than a giant headline over a dark photograph. */
.story-container, .service-shell, .accounting-shell, .detail-shell { width: min(calc(100% - 2 * var(--site-gutter)), var(--site-width)); }
.story-hero { min-height: min(730px, calc(100svh - 88px)); align-items: stretch; background: var(--plum-deep); }
.story-hero-image { right: auto; width: 49%; }
.story-hero-image img { object-position: 27% center; }
.story-hero::before { background: linear-gradient(270deg, var(--plum-deep) 0 50%, transparent 66%); }
.story-hero-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 74px 84px; }
.story-hero-copy { max-width: 610px; margin: 0; }
.story-hero h1 { max-width: 610px; font-size: clamp(48px, 4.55vw, 69px); line-height: 1.51; }
.story-hero-copy > p { margin-top: 28px; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.85; }
.story-hero .story-booking { margin-top: 38px; }
.story-who, .story-founder, .story-expertise, .story-purpose, .story-values, .story-team { padding-block: 110px 125px; }
.story-section-heading h2, .story-heading-split h2, .story-purpose-heading h2, .story-values-heading h2, .story-team h2 { font-size: clamp(42px, 3.7vw, 58px); }
.story-founder-heading h2 { font-size: clamp(61px, 6vw, 95px); }
.story-founder-year { opacity: .75; }
.story-expertise-row { padding-block: 32px 38px; }
.story-purpose-panel { min-height: 345px; }
.story-purpose-panel h3 { margin-top: 40px; }
.story-closing h2 { font-size: clamp(45px, 4.6vw, 70px); }

/* Service overview: the first screen is an index, not a wall of display type. */
.service-hero { position: relative; isolation: isolate; min-height: 660px; overflow: hidden; }
.service-hero-photo { position: absolute; z-index: -2; inset: 0 auto 0 0; width: 57%; overflow: hidden; }
.service-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 17% center; }
.service-hero::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(270deg, #261e2d 0%, #261e2d 43%, rgba(38, 30, 45, .45) 68%, rgba(38, 30, 45, .12) 100%); content: ''; pointer-events: none; }
.service-hero-layout { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(75px, 8vw, 135px); align-items: center; padding-block: 78px 90px; }
.service-hero h1 { max-width: 720px; margin-top: 25px; font-size: clamp(53px, 4.8vw, 75px); line-height: 1.48; letter-spacing: -.018em; }
.service-hero-lead { max-width: 650px; margin-top: 27px; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.85; }
.service-hero .service-booking { margin-top: 32px; }
.service-hero-nav { align-self: center; padding: 18px 28px; background: rgba(38, 30, 45, .89); }
.service-hero-nav a { min-height: 76px; transition: background .25s ease, color .25s ease, padding-inline .25s ease; }
.service-hero-nav a:hover { padding-inline: 12px; background: rgba(165, 187, 170, .1); }
.service-offer, .service-method { padding-block: 112px 125px; }
.service-section-intro { margin-bottom: 65px; }
.service-offer-row { padding-block: 42px 48px; }
.service-offer-row h3 { font-size: clamp(31px, 2.6vw, 41px); }
.service-method-step { min-height: 275px; }
.service-invite h2 { font-size: clamp(48px, 4.8vw, 72px); }

/* The four detailed pages share a publication-like reading cadence. */
.accounting-hero-inner, .detail-hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(320px, .75fr); gap: clamp(70px, 8vw, 135px); align-items: center; min-height: 675px; padding-block: 78px 92px; }
.accounting-hero-copy, .detail-hero-copy { align-self: center; padding-bottom: 0; }
.accounting-hero h1, .detail-hero h1, .detail-investment .detail-hero h1, .detail-tax .detail-hero h1 { max-width: 740px; margin-top: 24px; font-size: clamp(50px, 4.55vw, 69px); line-height: 1.52; letter-spacing: -.015em; }
.accounting-hero-lead, .detail-hero-lead { max-width: 640px; margin-top: 26px; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.85; }
.accounting-booking, .detail-booking { min-height: 58px; margin-top: 32px; }
.accounting-hero-index, .detail-hero-index { min-height: 0; margin-bottom: 0; padding: 30px 38px; }
.accounting-hero-index a, .detail-hero-index a { min-height: 69px; font-size: clamp(16px, 1.2vw, 19px); }
.accounting-intro, .detail-about { padding-block: 116px 125px; }
.accounting-intro h2, .accounting-scope h2, .accounting-benefits h2, .accounting-process h2,
.detail-about h2, .detail-scope h2, .detail-benefits h2, .detail-process h2 { font-size: clamp(40px, 3.65vw, 56px); line-height: 1.5; }
.accounting-intro-copy p, .detail-about-copy p { line-height: 1.9; }
.accounting-scope, .detail-scope, .accounting-benefits, .detail-benefits, .accounting-process, .detail-process { padding-block: 112px 128px; }
.accounting-scope-grid, .detail-scope-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(55px, 7vw, 110px); }
.accounting-scope-heading, .detail-scope-heading { top: 130px; }
.accounting-scope-heading > span, .detail-scope-heading > span { margin-top: 40px; font-size: 60px; }
.accounting-scope-row, .detail-scope-row { padding-block: 31px 37px; }
.accounting-scope-row h3, .detail-scope-row h3 { font-size: clamp(24px, 2vw, 31px); }
.accounting-benefits-head, .detail-benefits-head { margin-bottom: 64px; }
.accounting-benefits-grid article, .detail-benefits-list article { min-height: 230px; }
.accounting-process-head, .detail-process-head { margin-bottom: 65px; }
.accounting-closing h2, .detail-closing h2 { font-size: clamp(48px, 4.8vw, 72px); }
.faq-section { padding-block: 110px 130px; }
.faq-heading h2 { font-size: clamp(40px, 3.6vw, 55px); }
.faq-item summary { min-height: 72px; }

/* Wide screens gain a quiet secondary rail instead of larger and larger type. */
@media (min-width: 1600px) {
  .hero-content { width: min(57%, 870px); }
  .story-hero-image { width: 50%; }
}

@media (max-width: 1050px) {
  .desktop-nav { gap: 16px; font-size: 12px; }
  .service-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr); gap: 48px; }
  .service-hero h1 { font-size: clamp(48px, 5.6vw, 60px); }
  .accounting-hero-inner, .detail-hero-inner { gap: 42px; grid-template-columns: minmax(0, 1fr) minmax(255px, .7fr); }
  .accounting-hero h1, .detail-hero h1, .detail-investment .detail-hero h1, .detail-tax .detail-hero h1 { font-size: clamp(46px, 5vw, 58px); }
}

@media (max-width: 700px) {
  :root { --site-gutter: 22px; }
  .header-inner { width: calc(100% - 36px); }
  .hero-canvas { min-height: 0; }
  .hero-image { height: 250px; }
  .hero-image img { object-position: 20% center; }
  .hero-canvas::before { display: none; }
  .hero-content { width: 100%; padding: 66px var(--site-gutter) 75px; }
  .hero-content h1 { max-width: 620px; font-size: clamp(35px, 7.3vw, 49px); line-height: 1.54; }
  .hero-description { font-size: 17px; }
  .hero-actions { margin-top: 33px; }
  .about-container, .why-container, .process-container, .faq-container, .services-container, .audience-container { width: calc(100% - 2 * var(--site-gutter)); }
  .about-container, .services-container, .why-container, .process-container { padding-block: 84px 98px; }
  .about-opening, .about-lower, .services-intro, .why-intro { gap: 34px; }
  .about-heading h2, .services-intro h2, .why-intro h2, .process-heading h2 { font-size: clamp(36px, 7vw, 47px); }
  .about-heading h2 span { font-size: 75px; }
  .about-proof { min-height: 0; }
  .services-intro { margin-bottom: 42px; }
  .services-grid { min-width: 0; }
  .service-block { min-height: 535px; }
  .service-block:hover { transform: none; }
  .service-block h3 { min-height: 0; font-size: 26px; }
  .why-chapter { min-height: 0; }
  .why-visual { top: 0; }
  .audience-heading h2 { font-size: clamp(34px, 6.7vw, 43px); }

  .story-container, .service-shell, .accounting-shell, .detail-shell { width: calc(100% - 2 * var(--site-gutter)); }
  .story-hero { display: block; min-height: 0; padding-top: 250px; }
  .story-hero-image { inset: 0 0 auto; width: 100%; height: 250px; }
  .story-hero::before { display: none; }
  .story-hero-inner { display: block; padding-block: 57px 75px; }
  .story-hero-copy { margin: 0; }
  .story-hero h1 { font-size: clamp(38px, 7vw, 48px); }
  .story-hero-copy > p { margin-top: 25px; font-size: 18px; }
  .story-who, .story-founder, .story-expertise, .story-purpose, .story-values, .story-team { padding-block: 84px 98px; }
  .story-section-heading h2, .story-heading-split h2, .story-purpose-heading h2, .story-values-heading h2, .story-team h2 { font-size: clamp(36px, 7vw, 47px); }
  .story-founder-heading h2 { font-size: 52px; }
  .story-purpose-panel { min-height: 0; }

  .service-hero { min-height: 0; }
  .service-hero-photo { inset: 0 0 auto; width: 100%; height: 235px; }
  .service-hero-photo img { object-position: 16% center; }
  .service-hero::before { display: none; }
  .service-hero-layout { display: block; padding-block: 65px 75px; }
  .service-hero-copy { padding-top: 220px; }
  .service-hero h1 { font-size: clamp(42px, 8vw, 56px); }
  .service-hero-nav { margin-top: 49px; padding: 0; background: transparent; }
  .service-hero-nav a { min-height: 65px; }
  .service-offer, .service-method { padding-block: 88px 100px; }
  .service-offer-row { padding-block: 33px 39px; }

  .accounting-hero-inner, .detail-hero-inner { display: block; min-height: 0; padding-block: 65px 0; }
  .accounting-hero h1, .detail-hero h1, .detail-investment .detail-hero h1, .detail-tax .detail-hero h1 { font-size: clamp(38px, 7.5vw, 52px); }
  .accounting-hero-lead, .detail-hero-lead { font-size: 18px; }
  .accounting-hero-index, .detail-hero-index { margin: 55px calc(-1 * var(--site-gutter)) 0; padding: 20px var(--site-gutter) 25px; }
  .accounting-hero-index a, .detail-hero-index a { min-height: 62px; font-size: 16px; }
  .accounting-intro, .detail-about { padding-block: 85px 95px; }
  .accounting-intro h2, .accounting-scope h2, .accounting-benefits h2, .accounting-process h2,
  .detail-about h2, .detail-scope h2, .detail-benefits h2, .detail-process h2 { font-size: clamp(35px, 6.7vw, 45px); }
  .accounting-scope, .detail-scope, .accounting-benefits, .detail-benefits, .accounting-process, .detail-process { padding-block: 85px 98px; }
  .accounting-scope-grid, .detail-scope-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .accounting-scope-heading, .detail-scope-heading { position: static; }
  .accounting-scope-heading > span, .detail-scope-heading > span { margin-top: 25px; font-size: 48px; }
  .accounting-benefits-grid article, .detail-benefits-list article { min-height: 0; }
  .faq-section { padding-block: 85px 98px; }
  .faq-heading h2 { font-size: clamp(35px, 6.7vw, 45px); }
}

@media (max-width: 480px) {
  :root { --site-gutter: 18px; }
  .hero-content { padding-top: 61px; }
  .hero-content h1 { font-size: 37px; }
  .story-hero h1 { font-size: 38px; }
  .service-hero h1 { font-size: 42px; }
  .accounting-hero h1, .detail-hero h1, .detail-investment .detail-hero h1, .detail-tax .detail-hero h1 { font-size: 37px; }
  .service-block { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-nav a::after, .service-block, .service-hero-nav a { transition: none; }
}
