/* Goldschild Private LLC — site styles
   Static, no build step, no external fonts. */

:root {
  --paper: #faf8f3;        /* warm white */
  --paper-alt: #f3efe6;
  --ink: #1c2420;
  --muted: #565e59;
  --fir: #1f3b2f;          /* deep fir green */
  --fir-deep: #172e24;
  --gold: #a6874e;         /* matte gold: rules, ornaments, UI outlines */
  --gold-text: #7e6430;    /* gold for small text on light backgrounds */
  --rule: #ddd6c8;
  --on-fir: #faf8f3;
  --on-fir-muted: #bcc8c0;
  --gold-on-fir: #c9ad76;

  --display: Didot, "Bodoni MT", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --narrow: 760px;

  color-scheme: light;
}

@media (min-width: 640px) {
  :root { --gutter: 32px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 48px; }
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--fir);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--gold);
}

a:hover { color: var(--fir-deep); text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--fir);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: #e6dcc6; color: var(--ink); }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--fir);
  color: var(--on-fir);
  font-size: 0.9375rem;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: none;
  outline-color: var(--gold);
}

/* ---------- Typography helpers ---------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  color: var(--fir);
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.lead {
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  line-height: 1.6;
  color: var(--ink);
  text-wrap: pretty;
}

.ornament {
  display: block;
  width: 44px;
  height: 1px;
  margin: 0 auto 2rem;
  background: var(--gold);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.link-arrow span[aria-hidden] { text-decoration: none; display: inline-block; }

/* ---------- Header ---------- */

.site-header {
  border-top: 3px solid var(--fir);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.masthead {
  display: flex;
  justify-content: center;
  padding: 28px var(--gutter) 18px;
}

@media (min-width: 640px) {
  .masthead { padding-top: 40px; padding-bottom: 24px; }
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 2.6vw, 20px);
  color: var(--fir);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover { color: var(--fir); }

.wordmark__word {
  font-family: var(--display);
  font-size: clamp(15px, 4.55vw, 25px);
  line-height: 1;
  letter-spacing: 0.17em;
  /* cancel the trailing letter-spacing so the shield sits exactly centred */
  margin-right: -0.17em;
}

.wordmark__shield {
  width: auto;
  height: clamp(32px, 9vw, 44px);
  flex: none;
}

.site-nav ul {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 6vw, 48px);
  margin: 0;
  padding: 0 var(--gutter);
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a:hover { color: var(--fir); border-bottom-color: var(--rule); }

.site-nav a[aria-current="page"] {
  color: var(--fir);
  border-bottom-color: var(--gold);
}

/* ---------- Home: intro ---------- */

.intro {
  padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px);
  text-align: center;
}

.intro h1 {
  font-size: clamp(2.25rem, 1.35rem + 4.2vw, 4.375rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.intro .lead {
  max-width: 34em;
  margin-inline: auto;
  color: var(--muted);
}

.intro__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

/* ---------- Home: photograph ---------- */

.photo {
  margin: 0 auto;
}

.photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 62%;
  background: var(--paper-alt);
}

@media (min-width: 640px) {
  .photo img { aspect-ratio: 16 / 9; }
}

@media (min-width: 1024px) {
  .photo img { aspect-ratio: 21 / 9; }
}

.photo figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 12px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.photo figcaption a { color: var(--muted); }
.photo figcaption a:hover { color: var(--fir); }

/* ---------- Home: at a glance ---------- */

.glance {
  padding: clamp(56px, 8vw, 104px) 0 0;
}

.section-label {
  margin: 0 0 1.75rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.facts {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  border-top: 1px solid var(--rule);
}

.facts > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.facts dt {
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--fir);
}

@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}

@media (min-width: 1024px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 0;
    border-bottom: 1px solid var(--rule);
  }
  .facts > div {
    padding: 28px 28px 32px;
    border-bottom: 0;
    border-left: 1px solid var(--rule);
  }
  .facts > div:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Home: approach ---------- */

.approach {
  padding: clamp(64px, 9vw, 120px) 0;
}

.approach__grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .approach__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
  }
}

.approach__title {
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  line-height: 1.12;
  color: var(--fir);
}

.approach__intro { max-width: 26em; color: var(--muted); }

.principles {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--fir);
}

.principles li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 12px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--rule);
}

.principles__num {
  font-family: var(--display);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--gold-text);
}

.principles h3 {
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--fir);
}

.principles p { color: var(--muted); }

/* ---------- Inner pages ---------- */

.page-head {
  padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px);
  text-align: center;
}

.page-head h1 {
  font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.875rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.page-head .lead {
  max-width: 36em;
  margin-inline: auto;
  color: var(--muted);
}

/* Numbered editorial sections (company page) */

.chapters {
  border-top: 1px solid var(--rule);
}

.chapter {
  display: grid;
  gap: 12px;
  padding: clamp(36px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--rule);
}

.chapter__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold-text);
}

.chapter h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  line-height: 1.12;
  color: var(--fir);
}

.chapter__body { max-width: 38em; }

@media (min-width: 900px) {
  .chapter {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
  }
  .chapter__body { padding-top: 26px; }
}

/* Register-style details table */

.register {
  padding: clamp(56px, 8vw, 104px) 0 0;
}

.register__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .register__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
  }
}

.register h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  line-height: 1.12;
  color: var(--fir);
  margin-bottom: 1rem;
}

.register__intro { color: var(--muted); max-width: 26em; }

.details {
  margin: 0;
  border-top: 1px solid var(--fir);
}

.details > div {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 560px) {
  .details > div {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 24px;
  }
}

.details dt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.details dd { margin: 0; }

.legal-name {
  font-family: var(--display);
  font-size: 1.1875rem;
  letter-spacing: 0.06em;
  color: var(--fir);
}

.aside-note {
  margin-top: clamp(48px, 7vw, 80px);
  padding: 28px clamp(20px, 4vw, 40px);
  background: var(--paper-alt);
  border-left: 2px solid var(--gold);
}

.aside-note h2 {
  margin-bottom: 0.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fir);
}

.aside-note p { max-width: 46em; }

.next-step {
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
  text-align: center;
}

.next-step p { color: var(--muted); }

/* Contact page */

.contact-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-card {
  padding: clamp(32px, 5vw, 48px) 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 800px) {
  .contact-card { padding-inline: clamp(24px, 4vw, 56px); }
  .contact-card:first-child { padding-left: 0; border-right: 1px solid var(--rule); }
  .contact-card:last-child { padding-right: 0; }
}

.contact-card h2 {
  margin-bottom: 1.25rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.email-link {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.25rem, 0.95rem + 1.5vw, 1.875rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.contact-card address {
  font-style: normal;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--fir);
}

.contact-card .note {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.contact-grid { margin-bottom: clamp(64px, 9vw, 120px); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: auto;
  background: var(--fir);
  color: var(--on-fir);
  font-size: 0.9375rem;
}

.site-footer a { color: var(--on-fir); text-decoration-color: var(--gold-on-fir); }
.site-footer a:hover { color: #fff; text-decoration-color: currentColor; }
.site-footer :focus-visible { outline-color: var(--gold-on-fir); }

.footer__main {
  display: grid;
  gap: 36px;
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

@media (min-width: 800px) {
  .footer__main {
    grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 4fr);
    gap: 48px;
  }
}

.footer__brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer__brand img {
  width: auto;
  height: 40px;
  flex: none;
}

.footer__name {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.footer__desc {
  max-width: 30em;
  color: var(--on-fir-muted);
}

.footer__heading {
  margin: 0 0 10px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-on-fir);
}

.footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__nav a,
.footer__contact a {
  display: inline-block;
  padding: 4px 0;
}

.footer__contact a { overflow-wrap: anywhere; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(250, 248, 243, 0.16);
  font-size: 0.8125rem;
  color: var(--on-fir-muted);
}

.footer__legal p { margin: 0; }

/* ---------- 404 ---------- */

.not-found {
  padding: clamp(72px, 12vw, 144px) 0;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.not-found p { color: var(--muted); }

/* ---------- Print ---------- */

@media print {
  .site-nav, .skip-link, .photo { display: none; }
  .site-footer { background: none; color: var(--ink); }
  .site-footer a { color: var(--ink); }
  body { background: #fff; }
}
