/* Evergreen Summit Advisors
   One typeface (Erode), one 12-column grid, one vertical axis at column 6.
   Colour: pine-black ground, paper fields, pine-green field, larch-gold accent on actions only. */

@font-face { font-family: "Erode"; src: url("../fonts/erode-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Erode"; src: url("../fonts/erode-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Erode"; src: url("../fonts/erode-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Erode"; src: url("../fonts/erode-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #0b1712;
  --surface: #13231b;
  --green: #245a43;
  --paper: #f4f5f1;
  --paper2: #e6e9e1;
  --paper-ink: #0f1a15;
  --accent: #f2b33d;
  --accent-ink: #0b1712;

  --font: "Erode", Georgia, "Times New Roman", serif;
  --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, 0.9rem + 1.5vw, 2rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.25rem, 7.5vw, 7.5rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(4.5rem, 10vw, 10rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--paper-ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-kerning: normal; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 2rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; hyphens: none; }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
b, strong { font-weight: 600; }

/* ---------- type steps ---------- */
.display { font-size: var(--step-display); font-weight: 500; line-height: 0.95; letter-spacing: -0.035em; }
.head { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.025em; }
.lead { font-size: var(--step-lead); line-height: 1.28; letter-spacing: -0.012em; }
.small { font-size: var(--step-small); line-height: 1.5; }
.muted { color: var(--m); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 20; padding: 0.6rem 1rem; background: var(--accent); color: var(--accent-ink); }
.skip:focus { top: 0.5rem; }

/* ---------- fields: each section paints its own ground ---------- */
.field { background: var(--g); color: var(--i); padding-block: var(--section); }
.field-dark { --g: var(--bg); --i: #ffffff; --m: #a3b1a9; --s: var(--surface); }
.field-green { --g: var(--green); --i: #ffffff; --m: #d2e0d8; --s: #1c4937; }
.field-paper { --g: var(--paper); --i: var(--paper-ink); --m: #55625b; --s: var(--paper2); }
.field-paper2 { --g: var(--paper2); --i: var(--paper-ink); --m: #4d5a53; --s: #d8ddd2; }

/* ---------- grid and the axis ---------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.side { grid-column: 1 / 5; }
.axis { grid-column: 6 / -1; }

/* ---------- links and buttons ---------- */
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-thickness var(--t-hover) ease; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.4rem; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button-plain { background: var(--paper); color: var(--paper-ink); }
.button-ink { background: var(--paper-ink); color: #ffffff; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
  .link-plain:hover { text-decoration-thickness: 0.14em; }
  .button:hover { background: #ffc85c; }
  .button-plain:hover { background: #ffffff; }
  .button-ink:hover { background: var(--green); }
}

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; gap: var(--gutter); padding: 1.1rem var(--margin); color: #ffffff; }
.brand { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 4.5rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.nav-links { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); }
.nav-links a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.35em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration-color: currentColor; }
.menu-toggle { display: none; min-height: 2.75rem; padding: 0 0.25rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.3em; }

/* ---------- home: hero ---------- */
.hero { position: relative; display: flex; min-height: 100svh; overflow: hidden; background: var(--bg); color: #ffffff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1600ms ease; }
.hero-media img.is-on { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgb(6 14 10 / 0.52); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto; column-gap: var(--gutter); row-gap: 1.5rem; width: 100%; padding-top: 6.5rem; padding-bottom: var(--margin); }
.hero-copy { grid-column: 1 / 9; align-self: center; }
.hero-copy h1 { max-width: 11.5em; }
.hero-copy p { margin-top: 1.25rem; max-width: 40ch; }
.hero-fact { grid-column: 1 / 7; grid-row: 2; align-self: end; display: flex; align-items: center; gap: 0.6rem; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-cards { grid-column: 7 / -1; grid-row: 2; justify-self: end; display: flex; gap: 1rem; }
.hero-cards li { width: clamp(9.5rem, 15vw, 13.5rem); }
.hero-cards a { display: block; overflow: hidden; color: var(--paper-ink); text-decoration: none; }
.hero-cards img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 700ms var(--ease-soft); }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 2.75rem; padding: 0 0.8rem; background: var(--paper); }
.arrow { transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hero-cards a:hover img { transform: scale(1.05); }
  .hero-cards a:hover .arrow { transform: translateX(4px); }
}

/* ---------- home: figures inside a sentence ---------- */
.stats { padding-block: clamp(5rem, 13vw, 12rem); }
.stats .grid { align-items: center; }
.stats-mark img { width: min(100%, 21rem); }
.statement { max-width: none; color: var(--m); }
.statement b { color: var(--i); font-weight: 500; }

/* ---------- home: services, two staggered columns that meet on the axis ---------- */
.services-col { display: flex; flex-direction: column; gap: clamp(3.5rem, 6vw, 6rem); min-width: 0; }
.services-col-a { grid-column: 1 / 6; }
.services-col-b { grid-column: 6 / -1; }
.service-photo { overflow: hidden; }
.service-photo img { width: 100%; object-fit: cover; }
.service-photo.is-wide img, .service-photo.is-mid img { aspect-ratio: 3 / 2; }
.service-photo.is-tall img { aspect-ratio: 4 / 5; transform: scale(1.09); }
.service-text { margin-top: 1.25rem; }
.service-text h3 { line-height: 1.15; }
.service-text p { margin-top: 0.6rem; max-width: 40ch; }
.s-planning { width: 74%; align-self: flex-end; }
.s-tax { width: 62%; align-self: flex-end; }

/* ---------- home: planning areas, table pushed right ---------- */
.areas-title { max-width: 13em; text-indent: 3vw; }
.areas-body { margin-top: clamp(3rem, 6.5vw, 6rem); align-items: end; }
.areas-photo { grid-column: 1 / 5; width: min(100%, 22vw); overflow: hidden; }
.areas-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.areas-word { grid-column: 6 / 7; align-self: start; padding-top: 0.5rem; color: var(--m); }
.areas-table { grid-column: 7 / -1; align-self: start; }
.areas-table a { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; column-gap: 1rem; padding-block: 0.5rem; text-decoration: none; }
.areas-table .kind, .areas-table .note { color: var(--m); }
.areas-table .what { font-weight: 600; }
.areas-table .note { text-align: right; }
.areas-table .note span { display: inline-block; margin-left: 0.4rem; transition: transform var(--t-hover) var(--ease-out); }
.areas-table .gap { margin-top: 2.75rem; }
@media (hover: hover) and (pointer: fine) {
  .areas-table a:hover .what { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
  .areas-table a:hover .note span { transform: translateX(4px); }
}

/* ---------- home: two plans, two fields ---------- */
.plans { position: relative; background: var(--green); color: #ffffff; --i: #ffffff; --m: #d2e0d8; }
.plans::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--margin) + (100% - 2 * var(--margin) + var(--gutter)) * 4.5 / 12 - var(--gutter) / 2); background: var(--surface); }
.plans .grid { position: relative; min-height: min(90svh, 54rem); }
.plan { display: flex; flex-direction: column; align-items: flex-start; padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.plan-planning { grid-column: 1 / 5; }
.plan-wealth { grid-column: 6 / -1; }
.plan-for { margin-top: 1rem; max-width: 30ch; }
.plan-price { margin-top: auto; padding-top: 3rem; max-width: none; }
.plan-price .display { font-variant-numeric: lining-nums tabular-nums; }
.plan-price .period { white-space: nowrap; }
.plan-detail { margin-top: 1rem; max-width: 46ch; }
.plan .button { margin-top: 1.75rem; }
.estimator { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; width: min(100%, 34rem); margin-top: 2.25rem; }
.estimator output { font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.estimator input[type="range"] { grid-column: 1 / -1; width: 100%; height: 2.75rem; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.estimator input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: rgb(255 255 255 / 0.3); }
.estimator input[type="range"]::-webkit-slider-thumb { width: 1.75rem; height: 1.75rem; margin-top: calc(3px - 0.875rem); background: var(--accent); -webkit-appearance: none; appearance: none; transition: transform var(--t-press) var(--ease-out); }
.estimator input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.estimator input[type="range"]::-moz-range-track { height: 6px; background: rgb(255 255 255 / 0.3); }
.estimator input[type="range"]::-moz-range-thumb { width: 1.75rem; height: 1.75rem; border: 0; border-radius: 0; background: var(--accent); }
.estimator.on-paper input[type="range"]::-webkit-slider-runnable-track { background: rgb(15 26 21 / 0.22); }
.estimator.on-paper input[type="range"]::-moz-range-track { background: rgb(15 26 21 / 0.22); }
.estimator.on-paper input[type="range"]::-webkit-slider-thumb { background: var(--green); }
.estimator.on-paper input[type="range"]::-moz-range-thumb { background: var(--green); }
html:not(.js) [data-needs-js] { display: none; }
.js [data-no-js] { display: none; }

/* ---------- home: about, side facts and wide paragraph ---------- */
.facts div + div { margin-top: 1.25rem; }
.facts dt { color: var(--m); font-size: var(--step-small); }
.facts dd { max-width: 22ch; }
.about-lead { margin-top: 1.5rem; max-width: none; }
.about-more { margin-top: 1.5rem; }
.about-record { margin-top: clamp(4rem, 8vw, 7.5rem); }
.record-word { color: var(--m); }
.record-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 4.5vw, 4rem); }
.record-lists h3 { margin-bottom: 0.6rem; font-size: var(--step-body); font-weight: 600; }
.record-lists ul { padding: 0; list-style: none; }
.record-lists li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.3rem; }
.record-lists li span:last-child { flex: none; text-align: right; }
.record-more { grid-column: 1 / -1; }

/* ---------- contact band ---------- */
.contact-band .grid { align-items: start; }
.band-sentence { grid-column: 1 / 6; max-width: none; }
.band-photo { grid-column: 6 / 8; overflow: hidden; }
.band-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.band-links { grid-column: 9 / -1; }
.band-links h2 { font-size: var(--step-body); font-weight: 600; }
.band-links ul { margin-top: 1rem; padding: 0; list-style: none; }
.band-links li + li { margin-top: 0.35rem; }
.band-links .small { margin-top: 1rem; }

/* ---------- footer ---------- */
.site-footer { padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-name { max-width: none; font-size: clamp(1.5rem, 8.5vw, 13rem); font-weight: 500; line-height: 1; letter-spacing: -0.035em; white-space: nowrap; }
.footer-main { margin-top: clamp(2.5rem, 5vw, 4.5rem); row-gap: 2.5rem; }
.footer-reach { grid-column: 1 / 7; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.012em; overflow-wrap: anywhere; }
.footer-reach li + li { margin-top: 0.2rem; }
.footer-links { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem var(--gutter); }
.footer-links h2 { margin-bottom: 0.6rem; color: var(--m); font-size: var(--step-body); font-weight: 400; }
.footer-links ul { padding: 0; list-style: none; }
.footer-links li + li { margin-top: 0.3rem; }
.footer-legal { margin-top: clamp(3.5rem, 6vw, 6rem); row-gap: 1rem; color: var(--m); }
.footer-disclosure, .footer-copy { grid-column: 1 / 9; max-width: 75ch; margin: 0; }
.footer-top { grid-column: 10 / -1; grid-row: 1; justify-self: end; margin: 0; }
.footer-disclosure { font-size: var(--step-body); }

/* ---------- interior pages: masthead ---------- */
.masthead { background: var(--bg); color: #ffffff; --i: #ffffff; --m: #a3b1a9; }
.masthead-media { position: relative; height: 45svh; min-height: 17rem; overflow: hidden; }
.masthead-media img { width: 100%; height: 100%; object-fit: cover; }
.masthead-media::after { content: ""; position: absolute; inset: 0; background: rgb(6 14 10 / 0.42); }
.masthead .grid { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6.5rem); row-gap: 1.5rem; }
.masthead h1 { grid-column: 6 / -1; }
.masthead .standfirst { grid-column: 6 / -1; max-width: 30em; }
.masthead .side { grid-row: 1 / span 2; align-self: end; color: var(--m); }

/* ---------- interior pages: text pages ---------- */
.page-section .grid { row-gap: 2rem; align-items: start; }
.page-section .axis > .head { margin-bottom: 1.75rem; }
.page-section .side .facts dd { max-width: 24ch; }
.prose > * + * { margin-top: 0.9em; }
.prose h3 { margin-top: 2.5rem; font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.012em; }
.prose ul { max-width: 62ch; padding-left: 1.1em; }
.prose li + li { margin-top: 0.4em; }
.side-photo { overflow: hidden; }
.side-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.side-photo figcaption { margin-top: 0.6rem; color: var(--m); font-size: var(--step-small); }

.poster-list { padding: 0; list-style: none; }
.poster-list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gutter); align-items: baseline; }
.poster-list li + li { margin-top: clamp(1.25rem, 2.4vw, 2.25rem); }
.poster-list .name { font-size: var(--step-lead); font-weight: 500; line-height: 1.15; letter-spacing: -0.012em; }
.poster-list.is-big .name { font-size: var(--step-head); line-height: 1; letter-spacing: -0.025em; }
.poster-list p { max-width: 46ch; }

.deflist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3.25rem) var(--gutter); margin-top: clamp(3rem, 5.5vw, 5rem); }
.deflist dt { margin-bottom: 0.4rem; font-size: var(--step-lead); font-weight: 500; line-height: 1.2; letter-spacing: -0.012em; }
.deflist dd { max-width: 44ch; }

.schedule { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.schedule caption { padding-bottom: 0.75rem; color: var(--m); text-align: left; }
.schedule th, .schedule td { padding: 0.85rem 0; border-bottom: 1px solid currentColor; text-align: left; font-weight: 400; vertical-align: baseline; }
.schedule thead th { color: var(--m); }
.schedule th:not(:first-child), .schedule td:not(:first-child) { padding-left: 1rem; text-align: right; }
.schedule tfoot td, .schedule tfoot th { border-bottom: 0; font-weight: 600; }

.estimate-figure { margin-top: 2rem; max-width: none; }
.estimate-figure .period { white-space: nowrap; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem var(--gutter); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; margin-bottom: 0.35rem; font-weight: 600; }
.input { width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; border: 0; border-bottom: 2px solid var(--i); border-radius: 0; background: var(--s); font-size: max(1rem, var(--step-body)); }
textarea.input { min-height: 9rem; resize: vertical; }
.form-note { max-width: none; }
.contact-intro { margin-bottom: 2rem; }
.contact-reach { grid-row: 1; }
.contact-facts { grid-row: 2; }
.contact-form { grid-row: 1 / span 2; }
.reach { padding: 0; list-style: none; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.012em; overflow-wrap: anywhere; }
.reach li + li { margin-top: 0.25rem; }

.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--bg); }
.mosaic figure, .mosaic .tile { min-width: 0; aspect-ratio: 1; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .tile { display: flex; align-items: flex-end; padding: var(--margin); background: var(--green); color: #ffffff; }
.mosaic .tile p { font-size: var(--step-lead); font-weight: 500; line-height: 1.15; letter-spacing: -0.012em; }

.credits { padding: 0; list-style: none; }
.credits li + li { margin-top: 0.75rem; }

/* ---------- motion: content stays visible without JavaScript ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .hero-media img.is-on, .masthead-media img { animation: drift 24s var(--ease-soft) both; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.07); } to { transform: none; } }

/* ---------- tablet and phone: the axis collapses to the left margin ---------- */
@media (max-width: 59.99em) {
  .side, .axis, .areas-photo, .areas-table, .plan-planning, .plan-wealth,
  .band-sentence, .band-links, .footer-reach, .footer-links, .footer-disclosure, .footer-copy, .footer-top,
  .masthead h1, .masthead .standfirst, .hero-copy, .hero-fact, .hero-cards { grid-column: 1 / -1; }

  .menu-toggle { display: inline-flex; align-items: center; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1.75rem; padding: 1rem var(--margin) 2rem; background: var(--bg); }
  .js .site-nav.is-open { display: flex; }
  .site-header.is-open { background: var(--bg); }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-header, html:not(.js) .site-nav { flex-wrap: wrap; }
  .js .nav-links { flex-direction: column; gap: 0.6rem; font-size: var(--step-lead); }
  .brand span { max-width: 9.5em; line-height: 1.15; }
  .brand img { width: 3.75rem; }

  .hero-inner { grid-template-rows: 1fr auto auto; row-gap: 1rem; }
  .hero-fact { grid-row: 2; }
  .hero-cards { grid-row: 3; justify-self: stretch; }
  .hero-cards li { flex: 1; width: auto; max-width: 14rem; }

  .stats .grid { row-gap: 2.5rem; }
  .stats-mark img { width: 11rem; }

  .services-grid { display: flex; flex-direction: column; gap: clamp(3.5rem, 9vw, 5rem); }
  .services-col { display: contents; }
  .s-wealth { order: 1; }
  .s-planning { order: 2; width: 100%; }
  .s-tax { order: 3; width: 100%; }
  .s-seminars { order: 4; }
  .service-text p { max-width: 46ch; }
  .service-photo { max-width: 40rem; }
  .s-planning .service-photo { width: 70%; max-width: 24rem; }
  .s-tax .service-photo { width: 80%; margin-left: auto; }

  .areas-title { text-indent: 0; }
  .areas-word { display: none; }
  .areas-body { row-gap: 3rem; }
  .areas-table { order: 1; }
  .areas-photo { order: 2; width: 60%; max-width: 22rem; justify-self: end; }

  .plans::before { display: none; }
  .plans .grid { min-height: 0; }
  .plan { margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); }
  .plan-wealth { order: 1; }
  .plan-planning { order: 2; background: var(--surface); }
  .plan-price { margin-top: 0; }

  .about-row { row-gap: 2.5rem; }
  .about .facts { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem var(--gutter); }
  .about .facts div + div { margin-top: 0; }
  .record-word { display: none; }

  .contact-band .grid { row-gap: 2.5rem; }
  .band-photo { grid-column: 1 / 5; }
  .band-links { grid-column: 5 / -1; }

  .footer-top { grid-row: auto; justify-self: start; }
  .masthead .side { grid-row: auto; }
  .page-section .side.facts, .page-section .side.side-photo, .page-section .side.after { order: 2; }
  .contact-reach, .contact-facts, .contact-form { grid-row: auto; }
  .page-section .side.contact-reach { order: 0; }
  .contact-form { order: 1; }
  .side-photo { max-width: 22rem; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masthead-media { height: 38svh; }
  .deflist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 39.99em) {
  .hero-copy h1 { font-size: 9vw; }
  .record-lists { grid-template-columns: 1fr; }
  .areas-table a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; }
  .areas-table .kind { grid-column: 1 / -1; font-size: var(--step-small); }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .poster-list li { grid-template-columns: 1fr; row-gap: 0.35rem; }
  .deflist { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .schedule th, .schedule td { padding-block: 0.7rem; }
}
