/* Datum Point Advisory: shared foundation and Home. No build step required. */

/* Fonts: unmodified licensed subsets; licenses are beside the font files. */
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Shared tokens, element defaults and accessible interactions. */
:root {
  --north-sea: #2C3C4D;
  --storm: #A0A09E;
  --bone: #F1EBDD;
  --terra: #9C6B4E;
  --surface: var(--north-sea);
  --ink: var(--bone);
  --rule: rgba(241, 235, 221, .24);
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, Helvetica, sans-serif;
  --gutter: clamp(1.25rem, 5.55vw, 5rem);
  --section-space: clamp(3.5rem, 6.1vw, 5.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 300 1.0625rem/1.65 var(--sans);
}
h1, h2, p, ul, dl, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 3.5vw, 3.125rem); line-height: 1.13; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .3em; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; text-underline-offset: .4em; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
section[id], main[id] { scroll-margin-top: 2rem; }
::selection { background: var(--bone); color: var(--north-sea); }
.light ::selection { background: var(--north-sea); color: var(--bone); }
.wrap { width: min(100% - var(--gutter) * 2, 80rem); margin-inline: auto; }
.light { --surface: var(--bone); --ink: var(--north-sea); --rule: rgba(44, 60, 77, .24); background: var(--surface); color: var(--ink); }
.section-space { padding-block: var(--section-space); }
.eyebrow { font-size: .6875rem; font-weight: 500; letter-spacing: .16em; line-height: 1.6; text-transform: uppercase; }
.eyebrow + h2 { margin-top: 1.25rem; }
.text-link { display: inline-flex; gap: 1.5rem; align-items: baseline; padding-block: .7rem; font-size: .875rem; font-weight: 500; text-decoration: underline; }
.text-link span { font-family: Arial, sans-serif; font-size: 1.125rem; }
.skip-link { position: absolute; z-index: 10; top: -10rem; left: var(--gutter); padding: .75rem 1rem; background: var(--bone); color: var(--north-sea); }
.skip-link:focus { top: 1rem; outline: 2px solid var(--north-sea); }

/* Shared shell. The rule belongs only to the words; no separator beside mark. */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2rem; border-bottom: 1px solid var(--rule); }
.lockup { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; text-decoration: none; }
.lockup:hover { text-decoration: none; }
.lockup__mark { width: 3.5rem; height: 3.5rem; }
.wordmark { display: grid; text-align: center; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.wordmark__name { font-size: 1.5rem; line-height: 1.2; letter-spacing: .14em; white-space: nowrap; }
.wordmark__sub { margin-top: .4rem; padding-top: .4rem; border-top: 1px solid rgba(241, 235, 221, .18); font-size: .6875rem; line-height: 1; letter-spacing: .32em; }
.nav-list { list-style: none; padding: 0; display: flex; gap: clamp(1rem, 2.3vw, 2.125rem); align-items: center; }
.nav-list a { display: flex; align-items: center; min-height: 44px; font-size: .8125rem; text-decoration: none; white-space: nowrap; }
.nav-list a:hover { text-decoration: underline; }
.site-footer { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; border-top: 1px solid var(--rule); padding-block: 1.5rem; font-size: .75rem; }
.site-footer a { display: inline-flex; gap: 1rem; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Home: large opening, early audience fork, one Bone reading field. */
.hero { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero__composition { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 3rem; align-items: end; margin-top: 2rem; margin-bottom: 3.75rem; }
.hero h1 { font-size: clamp(3rem, 5.4vw, 4.875rem); line-height: 1.06; letter-spacing: -.025em; overflow-wrap: anywhere; }
.hero__definition { font: 400 1.1875rem/1.5 var(--serif); max-width: 42rem; }
.hero__intro { padding-bottom: .2rem; max-width: 24rem; }
.hero__intro p + p { margin-top: 1rem; }
.hero__intro p { font-size: 1rem; line-height: 1.65; }
.audiences { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.audience { padding-top: 2rem; }
.audience + .audience { margin-left: 3rem; padding-left: 3rem; border-left: 1px solid var(--rule); }
.audience h2 { margin-top: .75rem; margin-bottom: .75rem; font-size: 2rem; }
.audience > p:not(.eyebrow) { max-width: 29rem; font-size: 1rem; }
.audience .text-link { margin-top: .75rem; }
.record { padding-block: var(--section-space); }
.record__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.record__body { max-width: 34rem; }
.record__body .lead { font: 400 1.75rem/1.3 var(--serif); margin-bottom: 1.25rem; }
.record__body > p + p { margin-top: 1rem; }
.capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.section-intro > p:last-child { margin-top: 1.5rem; font-size: 1rem; }
.service-list > div { padding-block: 1.125rem; border-top: 1px solid var(--rule); }
.service-list > div:first-child { padding-top: 0; border-top: 0; }
.service-list > div:last-child { padding-bottom: 0; }
.service-list dt { font: 400 1.625rem/1.2 var(--serif); margin-bottom: .5rem; }
.service-list dd { font-size: .9375rem; line-height: 1.65; max-width: 35rem; }
.principal { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; padding-block: 3rem; border-block: 1px solid var(--rule); }
.principal h2 { font-size: 3rem; }
.principal h3 { margin: 0; font: 400 2.5rem/1.13 var(--serif); text-wrap: balance; }
.principal p:not(.eyebrow) { max-width: 39rem; margin-top: 1.25rem; font-size: 1rem; }
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6rem; align-items: end; padding-block: var(--section-space); }
.contact h2 { font-size: 3rem; }
.contact__details { max-width: 29rem; }
.contact__details p { font-size: 1rem; }
.contact__email { margin-top: 1rem; font-size: 1rem; overflow-wrap: anywhere; }

/* Tablet: retain proportion, permit the navigation its own row when needed. */
@media (max-width: 68rem) {
  .site-header { flex-wrap: wrap; gap: 1rem; }
  .nav-list { flex-wrap: wrap; gap: .25rem 1.5rem; }
  .hero__composition { grid-template-columns: 1.6fr 1fr; gap: 2rem; }
  .hero h1 { font-size: clamp(2.625rem, 5.4vw, 3.625rem); }
  .record__grid, .capabilities, .contact { gap: 3rem; }
  .audience + .audience { margin-left: 1.5rem; padding-left: 1.5rem; }
  .site-footer__principle { max-width: 15rem; }
}

/* Mobile: same content and order, naturally reflowed; always-visible text nav. */
@media (max-width: 47rem) {
  .site-header { padding-block: 1.375rem .75rem; gap: 1rem; }
  .lockup__mark { width: 2.75rem; height: 2.75rem; }
  .site-header nav { width: 100%; }
  .nav-list { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 0 1.75rem; }
  .nav-list a { font-size: .8125rem; }
  .hero { padding-block: 2.5rem 3rem; }
  .hero__definition { max-width: 29rem; font-size: 1.0625rem; }
  .hero__composition { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.375rem; margin-bottom: 2rem; }
  .hero h1 { font-size: clamp(2.25rem, 9.6vw, 3.5rem); line-height: 1.08; }
  .hero__intro { max-width: 34rem; }
  .hero__intro p { font-size: 1rem; }
  .audiences { grid-template-columns: 1fr; }
  .audience { padding-top: 1.75rem; }
  .audience + .audience { margin: 1.25rem 0 0; padding: 1.75rem 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .audience h2 { font-size: 1.9375rem; }
  .audience .text-link { margin-top: .375rem; }
  .record__grid, .capabilities, .principal, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .record h2, .section-intro h2 { font-size: 2.5rem; }
  .record__body .lead { font-size: 1.625rem; }
  .record__body p { font-size: 1rem; }
  .service-list > div { padding-block: 1.375rem; }
  .service-list dd { font-size: 1rem; }
  .principal { gap: 1.25rem; padding-block: 2.75rem; }
  .principal h2 { font-size: 2.5rem; }
  .principal h3 { font-size: 2.125rem; }
  .principal h3 br { display: none; }
  .contact { gap: 1.5rem; }
  .contact h2 { font-size: 2.5rem; }
  .contact h2 br { display: none; }
  .contact__email { gap: .75rem; font-size: .875rem; }
  .site-footer { align-items: start; flex-direction: column; gap: .5rem; padding-block: 1.5rem; }
  .site-footer__principle { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Design & Construction: editorial rows, aligned reading column, one Bone field. */
.nav-list a[aria-current="page"] { text-decoration: underline; text-underline-offset: .5em; }
.dc-hero { padding-block: clamp(3rem, 6vw, 5.5rem) var(--section-space); }
.dc-hero h1 { max-width: 65rem; margin-top: 1.5rem; font-size: clamp(3rem, 5.1vw, 4.625rem); line-height: 1.07; letter-spacing: -.02em; }
.dc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2.75rem; max-width: 72rem; }
.dc-intro p { max-width: 34rem; }
.owners-page .dc-intro { row-gap: 1.25rem; }
.dc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(3rem, 7vw, 7rem); padding-block: var(--section-space); border-top: 1px solid var(--rule); }
.dc-row h2 { max-width: 23rem; }
.dc-prose { max-width: 38rem; }
.dc-prose p + p { margin-top: 1.25rem; }
.dc-deliverables { margin-block: 1.25rem; padding-left: 1.125rem; }
.dc-deliverables li { padding-left: .375rem; margin-top: .5rem; }
.dc-quality .dc-row, .dc-row--unruled { border-top: 0; }
.dc-contact { border-top: 1px solid var(--rule); grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(3rem, 7vw, 7rem); }
@media (max-width: 68rem) {
  .dc-intro { gap: 2rem; }
  .dc-row, .dc-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2.5rem; }
}
@media (max-width: 47rem) {
  .dc-hero h1 { font-size: clamp(2.25rem, 9.6vw, 3.5rem); overflow-wrap: anywhere; }
  .dc-intro { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.75rem; }
  .dc-intro p, .dc-prose { font-size: 1rem; }
  .dc-row, .dc-contact { grid-template-columns: 1fr; gap: 1.5rem; }
  .dc-row h2 { font-size: 2.25rem; max-width: 24rem; }
}
@media (max-width: 23rem) {
  .wordmark__name { font-size: 1.25rem; }
  .wordmark__sub { font-size: .625rem; }
}

/* Owners applications use a clear subheading hierarchy within the reading column. */
.owners-page .dc-prose h3 { margin: 2rem 0 .75rem; font: 400 1.75rem/1.2 var(--serif); text-wrap: balance; }
.owners-page .dc-prose h3:first-child { margin-top: 0; }

/* Principal: one continuous biography column, followed by the shared approach field. */
.principal-hero { padding-block: clamp(3rem, 6vw, 5.5rem) var(--section-space); }
.principal-hero h1 { max-width: 65rem; margin-top: 1.5rem; font-size: clamp(3rem, 5.1vw, 4.625rem); line-height: 1.07; letter-spacing: -.02em; }
.principal-bio { max-width: 45rem; margin-top: 2.75rem; }
.principal-bio p + p { margin-top: 1.5rem; }
@media (max-width: 47rem) {
  .principal-hero h1 { font-size: clamp(2.25rem, 9.6vw, 3.5rem); overflow-wrap: anywhere; }
  .principal-bio { margin-top: 1.75rem; font-size: 1rem; }
}

/* Principal portrait review: the biography follows the image at every width. */
.principal-profile { padding-block: var(--section-space); }
.portrait-placeholder { width: min(100%, 22rem); aspect-ratio: 4 / 5; margin-block: 1.5rem 2.5rem; display: grid; place-items: center; background: var(--bone); color: var(--north-sea); border: 1px solid var(--storm); }
.portrait-placeholder span { font: 300 .875rem/1.5 var(--sans); letter-spacing: .06em; }
.profile-copy { max-width: 44rem; }
.profile-copy h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1.1; letter-spacing: -.02em; }
.profile-role { margin-top: .75rem; font-size: .875rem; font-weight: 500; }
.profile-intro { margin-top: 2rem; }
.profile-experience { border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-top: 2rem; }
.profile-experience h2 { font-size: 2.25rem; margin-bottom: 1.25rem; }
.profile-experience p + p { margin-top: 1.5rem; }
.profile-links { margin-top: 2rem; }
.profile-links a { overflow-wrap: anywhere; }
@media (max-width: 47rem) {
  .principal-profile { padding-top: 2.5rem; }
  .portrait-placeholder { width: min(100%, 18rem); margin-bottom: 2rem; }
  .profile-intro, .profile-experience p { font-size: 1rem; }
}

/* User-approved circular principal portrait; source image remains unmodified. */
.profile-portrait { display: block; width: min(100%, 20rem); height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 25%; border-radius: 50%; margin-block: 1.5rem 2.5rem; }
@media (max-width: 47rem) { .profile-portrait { width: min(100%, 16rem); margin-bottom: 2rem; } }


/* Contact: concise invitation and direct email. */
.contact-page { min-height: 100vh; display: flex; flex-direction: column; }
.contact-page-main { flex: 1; padding-block: clamp(4rem, 10vw, 9rem); }
.contact-page-main h1 { font-size: clamp(3rem, 6vw, 5rem); line-height: 1.1; }
.contact-page-main p { max-width: 34rem; margin-top: 2rem; }
.contact-page-email { margin-top: 2rem; max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 25rem) { .contact-page-email { font-size: .875rem; gap: .5rem; } }

/* Home desktop alignment: one shared reading grid and equal audience columns. */
@media (min-width: 47.001rem) {
  .home-page { --home-gap: clamp(3rem, 6vw, 6rem); }
  .home-page .hero__composition,
  .home-page .audiences,
  .home-page .record__grid,
  .home-page .capabilities,
  .home-page .principal,
  .home-page .contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--home-gap);
    align-items: start;
    text-align: left;
  }
  .home-page .hero h1 { font-size: clamp(2.625rem, 4.4vw, 4rem); }
  .home-page .hero__intro { max-width: none; padding-top: .5rem; }
  .home-page .audiences { align-items: stretch; }
  .home-page .audience { display: flex; flex-direction: column; position: relative; }
  .home-page .audience + .audience { margin-left: 0; padding-left: 0; border-left: 0; }
  .home-page .audience + .audience::before {
    content: ""; position: absolute; top: 0; bottom: 0;
    left: calc(var(--home-gap) / -2); border-left: 1px solid var(--rule);
  }
  .home-page .audience > p:not(.eyebrow),
  .home-page .record__body,
  .home-page .contact__details { max-width: none; }
  .home-page .audience .text-link { align-self: flex-start; margin-top: auto; padding-top: 1.5rem; }
}

/* Link arrows remain monochrome on devices with emoji fonts. */
.link-arrow { width: 1.125rem; height: 1.125rem; flex: none; }

/* Home mobile refinement: retain readable type and comfortable touch targets. */
@media (max-width: 47rem) {
  body { --section-space: 2.5rem; }
  .site-header { gap: .5rem; }
  .home-page .hero { padding-block: 1.75rem 2.25rem; }
  .home-page .hero__composition { margin-bottom: 1.5rem; }
  .home-page .audience { padding-top: 1.5rem; }
  .home-page .audience h2 { margin-top: 0; }
  .home-page .audience + .audience { margin-top: 1rem; padding-top: 1.5rem; }
  .home-page .record__grid,
  .home-page .capabilities { gap: 1.5rem; }
  .home-page .service-list > div { padding-block: 1.125rem; }
  .home-page .service-list > div:first-child { padding-top: 0; }
  .home-page .service-list > div:last-child { padding-bottom: 0; }
  .home-page .principal { gap: .75rem; padding-block: 2rem; }
  .home-page .principal p:not(.eyebrow) { margin-top: 1rem; }
  .home-page .contact { gap: 1rem; }
  .contact__email { margin-top: .5rem; }
}

/* Interior pages: apply the same compact mobile rhythm as Home. */
@media (max-width: 47rem) {
  .dc-hero { padding-top: 1.75rem; }
  .dc-hero h1 { margin-top: 1rem; }
  .dc-intro { margin-top: 1.5rem; gap: 1rem; }
  .dc-row, .dc-contact { gap: 1rem; }
  .dc-prose p + p { margin-top: 1rem; }
  .dc-deliverables { margin-block: 1rem; }
  .owners-page .dc-prose h3 { margin-top: 1.5rem; margin-bottom: .5rem; }
  .owners-page .dc-prose h3:first-child { margin-top: 0; }
  .principal-profile { padding-top: 1.75rem; }
  .profile-portrait { margin-block: .5rem 1.5rem; }
  .profile-intro { margin-top: 1.5rem; }
  .profile-experience { margin-top: 2rem; padding-top: 1.5rem; }
  .profile-experience h2 { margin-bottom: 1rem; }
  .profile-experience p + p { margin-top: 1rem; }
  .profile-links { margin-top: 1.5rem; }
  .profile-links .text-link { gap: .75rem; max-width: 100%; }
  .contact-page-main { padding-block: 2.5rem; }
  .contact-page-main p { margin-top: 1.5rem; }
  .contact-page-email { margin-top: 1rem; }
}

/* Home closing sections: grouped inquiry and compact navigation. */
.home-page .contact {
  grid-template-columns: minmax(0, 1fr); gap: 1.25rem;
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}
.home-page .contact__details { max-width: 44rem; }
.home-page .home-footer {
  flex-wrap: wrap; column-gap: 2rem; row-gap: .5rem; align-items: center;
}
.home-footer__identity { flex: 1 1 22rem; }
.home-page .home-footer .site-footer__principle { max-width: none; margin-top: .25rem; }
.home-footer__links {
  list-style: none; padding: 0; display: flex; flex-wrap: wrap;
  column-gap: 1.5rem; row-gap: 0;
}
@media (max-width: 47rem) {
  .home-page .principal { row-gap: 1.5rem; }
  .home-page .home-footer { align-items: flex-start; }
  .home-footer__identity { flex: initial; }
  .home-footer__links { column-gap: 1.25rem; }
}

/* Shared full-width Bone footer; content follows the page margins. */
.site-footer.light { display: block; border-top: 0; padding-block: 1.75rem; }
.footer__main { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2rem; row-gap: .75rem; }
.footer__identity { flex: 1 1 22rem; }
.site-footer .site-footer__principle { max-width: none; margin-top: .25rem; }
.footer__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; column-gap: 1.5rem; row-gap: 0; }
.footer__links a[aria-current="page"] { text-decoration: underline; }
.footer__copyright { border-top: 1px solid var(--rule); margin-top: 1rem; padding-top: 1rem; }
@media (max-width: 47rem) {
  .footer__main { flex-direction: column; align-items: flex-start; row-gap: .5rem; }
  .footer__identity { flex: initial; }
  .footer__links { column-gap: 1.25rem; }
}

/* Footer lockup matches the approved header; dark mark and rule suit Bone. */
.site-footer .footer__lockup { align-items: center; gap: .75rem; text-decoration: none; }
.site-footer .footer__lockup .wordmark__sub { border-top-color: rgba(44, 60, 77, .24); }
.site-footer .footer__identity .site-footer__principle { margin-top: .875rem; }
@media (max-width: 47rem) {
  .site-footer .footer__lockup .lockup__mark { width: 2.75rem; height: 2.75rem; }
}
