@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/cormorant-garamond-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/source-sans-3-latin-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --navy: #071d36;
  --blue-panel: 7, 36, 67;
  --red: #900d23;
  --charcoal: #2b3035;
  --muted: #555b61;
  --rule: #cdd1d5;
  --white: #fff;
  --image-underlay: #eeede9;
  --content-width: 1160px;
  --page-gutter: clamp(24px, 5.2vw, 76px);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-padding-block-start: 24px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  text-wrap: balance;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
}

main:focus { outline: none; }

.container {
  width: min(var(--content-width), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 24px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.header-inner {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 20px;
}

.brand {
  display: block;
  width: 258px;
  line-height: 0;
}

.brand img { width: 100%; height: auto; }

.hero {
  position: relative;
  isolation: isolate;
  background: var(--image-underlay);
  min-height: 560px;
  min-height: clamp(560px, 68svh, 650px);
  display: flex;
  align-items: center;
  padding-block: 40px;
  color: var(--white);
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% 48%;
  filter: saturate(.62);
  opacity: .45;
}

.hero-inner { display: flex; align-items: center; justify-content: center; text-align: center; }

.philosophy-panel {
  max-width: 740px;
  width: 100%;
  padding: 36px 60px 40px;
  background: rgba(var(--blue-panel), .78);
}

.philosophy-panel h1 {
  color: var(--white);
  font-size: clamp(34px, 2.9vw, 40px);
  letter-spacing: -.018em;
  line-height: 1.1;
  max-width: 16em;
  margin-inline: auto;
  margin-bottom: 18px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.philosophy-label { color: var(--white); margin-bottom: 10px; }

.philosophy-panel p {
  max-width: 552px;
  margin-inline: auto;
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}

.philosophy-panel .hero-intro { margin-bottom: 25px; }

.work-section {
  width: min(880px, calc(100% - var(--page-gutter) * 2));
  padding-block: 68px 60px;
  text-align: center;
}

.section-heading { margin-bottom: 28px; }
.section-heading h2 { font-size: 42px; line-height: 1.15; letter-spacing: -.018em; }

.service-row {
  padding-block: 21px 23px;
  border-top: 1px solid var(--rule);
}

.service-row:last-child { border-bottom: 1px solid var(--rule); }

.service-row dt {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}

.service-row dd { max-width: 640px; margin-inline: auto; font-size: 18px; line-height: 1.6; }

.contact-section {
  text-align: center;
  padding-block: 0 72px;
}

.contact-heading { font-size: 32px; line-height: 1.2; margin-bottom: 18px; }

.contact-email {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
  text-decoration-color: var(--red);
  overflow-wrap: anywhere;
}

.contact-email:hover { color: var(--red); }

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 29px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal);
  text-align: center;
}

.legal-links { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 11px; }
.legal-links a, .footer-email { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.legal-links a:hover, .footer-email:hover { color: var(--red); }
.footer-email { width: fit-content; }

/* Legal pages keep a comfortable reading measure. */
.legal-header .header-inner { min-height: 132px; }

.legal-main {
  border-top: 1px solid var(--rule);
  padding-block: 60px 96px;
}

.legal-copy { max-width: 760px; }
.back-link { display: inline-block; margin-bottom: 38px; font-size: 16px; text-underline-offset: 4px; }
.legal-copy h1 { font-size: clamp(40px, 5vw, 54px); line-height: 1.1; letter-spacing: -.02em; }
.legal-copy .effective-date { color: var(--muted); margin-top: 12px; font-size: 16px; }
.legal-copy h2 { margin-top: 38px; margin-bottom: 12px; font-size: 28px; line-height: 1.2; }
.legal-copy p + p { margin-top: 16px; }
.legal-copy p, .legal-copy li { max-width: 68ch; }
.legal-copy a { text-underline-offset: 4px; }
.legal-copy ul { margin: 16px 0; padding-left: 23px; }
.legal-copy li + li { margin-top: 8px; }
.review-note { margin-block: 28px; padding: 20px 24px; border-left: 3px solid var(--red); background: #f5f3f1; font-size: 16px; }
.review-note strong { color: var(--navy); }
.pending-fact { font-style: italic; }

@media (min-width: 1700px) {
  .hero-image img { object-position: center 48%; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 120px; }
  .brand { width: 240px; }
  .hero { min-height: 0; padding-block: 36px; }
  .philosophy-panel { padding: 34px 36px; }
  .philosophy-panel h1 { font-size: 36px; }
  .work-section { padding-block: 54px 48px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading h2 { font-size: 40px; }
  .service-row { padding-block: 21px 23px; }
  .service-row dt { font-size: 28px; }
  .service-row dd { max-width: 60ch; }
  .contact-section { padding-bottom: 54px; }
  .contact-heading { font-size: 30px; }
  .contact-email { font-size: clamp(27px, 5.2vw, 38px); }
}

@media (max-width: 640px) {
  :root { --page-gutter: 24px; }
  .header-inner { min-height: 112px; padding-block: 18px; }
  .brand { width: 224px; }
  .hero { padding-block: 32px; }
  .hero-image img { object-position: center; }
  .philosophy-panel { padding: 28px 24px 30px; }
  .philosophy-panel h1 { font-size: clamp(28px, 8.1vw, 34px); line-height: 1.12; margin-bottom: 17px; }
  .philosophy-panel p { font-size: 17px; line-height: 1.6; }
  .philosophy-panel .hero-intro { margin-bottom: 22px; }
  .eyebrow { font-size: 13px; }
  .work-section { padding-top: 46px; }
  .section-heading h2 { font-size: 38px; }
  .service-row dd { font-size: 17px; }
  .contact-heading { font-size: 28px; }
  .contact-email { font-size: clamp(25px, 6.8vw, 34px); }
  .site-footer { padding-block: 25px 31px; font-size: 15px; row-gap: 12px; }
  .legal-header .header-inner { min-height: 121px; }
  .legal-main { padding-block: 35px 62px; }
  .legal-copy { font-size: 17px; }
  .back-link { margin-bottom: 30px; }
  .legal-copy h1 { font-size: 42px; }
  .review-note { padding: 17px 18px; }
}

@media (max-width: 359px) {
  .philosophy-panel { padding-inline: 22px; }
  .brand { width: 216px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

@media (forced-colors: active) {
  .hero { background: Canvas; color: CanvasText; }
  .hero-image { display: none; }
  .philosophy-panel { border: 1px solid CanvasText; background: Canvas; }
  .philosophy-panel h1, .philosophy-label { color: CanvasText; }
  a:focus-visible { outline-color: Highlight; }
}
