/* Apple Core Holdings  (light theme only, by design)
   Layout: one light, pinned header bar (logo left, menu right) over full-window
   sections; airy white and pale-blue grounds, faint black-and-white photography,
   hairline rules and thin type as the only ornament. */

/* Fonts are hosted with the site (SIL Open Font License), so pages make no requests to third parties.
   Each file is a variable font covering every weight the site uses. */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin.woff2") format("woff2"); font-weight: 200 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/open-sans-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #f1f5f7;            /* pale blue-grey from the logo palette */
  --ink: #2a3533;
  --muted: #6b7775;
  --rule: #e2e7e6;
  --accent: #0a84b0;          /* logo blue, deepened slightly for text */
  --brand-blue: #0091c2;
  --brand-grey: #5d6967;
  --header-bg: rgba(255, 255, 255, .94);
  --footer: #f6f8f8;
  --hero-shade: rgba(24, 34, 33, .38);
  --panel-photo: .11;

  --font-display: "Montserrat", "Gotham", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --step-4: clamp(2rem, 1.1rem + 3.6vw, 3.6rem);

  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1180px;
  --header-h: 76px;
  color-scheme: light;
}

@media (max-width: 640px) { /* Fonts are hosted with the site (SIL Open Font License), so pages make no requests to third parties.
   Each file is a variable font covering every weight the site uses. */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin.woff2") format("woff2"); font-weight: 200 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/open-sans-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
:root { --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-weight: 300; font-size: var(--step-0); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; }
strong { font-weight: 600; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Header: one pinned bar ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px);
}
.topbar .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: inherit; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand svg { width: 40px; height: 40px; flex: none; }
.mark-disc { fill: var(--brand-grey); }
.mark-dot { fill: var(--brand-blue); }
.mark-line { stroke: var(--surface); }
.wordmark {
  font-family: var(--font-display); font-weight: 300; text-transform: uppercase;
  letter-spacing: .09em; font-size: clamp(1rem, .85rem + .6vw, 1.3rem); line-height: 1; white-space: nowrap;
}
.wordmark .a { color: var(--brand-blue); }
.wordmark .b { color: var(--brand-grey); }

.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2.6vw, 36px); }
.topbar nav a {
  display: block; padding-block: 6px; color: var(--muted);
  font-family: var(--font-display); font-weight: 400; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.topbar nav a:hover, .topbar nav a[aria-current="page"] { color: var(--ink); text-decoration: none; border-bottom-color: var(--brand-blue); }

@media (max-width: 640px) {
  .wordmark { display: none; }
  .brand svg { width: 34px; height: 34px; }
  .topbar nav a { letter-spacing: .12em; font-size: .7rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24,34,33,.12) 0%, var(--hero-shade) 75%); }
.hero .wrap {
  min-height: clamp(380px, 46vw, 580px); display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center; gap: 20px; padding-block: 72px;
}
.hero h1 {
  margin: 0; font-family: var(--font-display); font-weight: 200; text-transform: uppercase;
  font-size: var(--step-4); letter-spacing: .14em; line-height: 1.1; text-wrap: balance;
  text-shadow: 0 1px 18px rgba(0,0,0,.18);
}
.hero p { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.92); }
@media (max-width: 700px) { .hero img { object-position: 50% 70%; transform: scale(1.35); transform-origin: 50% 75%; } }

/* ---------- Full-window sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.anchor { scroll-margin-top: var(--header-h); }
.panel {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center; justify-content: center;
  border-top: 1px solid var(--rule);
}
.panel > .wrap { width: 100%; }
.panel.tint { background: var(--tint); }
.panel.white { background: var(--surface); }
.panel-bg { position: absolute; inset: 0; z-index: -1; }
.panel-bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(1); opacity: var(--panel-photo); }

.eyebrow {
  display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 0 0 32px;
  font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .2em;
  font-size: var(--step-2); color: var(--ink); text-align: center;
}
.eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--brand-blue); }
.eyebrow.summary { max-width: 32ch; margin-inline: auto; margin-bottom: 32px; line-height: 1.5; letter-spacing: .14em; text-wrap: balance; }

.about-text { max-width: 62ch; margin: 0 auto; text-align: center; font-size: 1rem; line-height: 1.9; color: var(--ink); }

.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.btn {
  display: inline-block; margin-top: 36px; color: var(--ink); background: transparent;
  border: 1px solid currentColor; font-family: var(--font-display); font-weight: 400; font-size: .72rem;
  letter-spacing: .24em; text-transform: uppercase; padding: 14px 36px; transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { text-decoration: none; background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }

/* ---------- Contact ---------- */
.office { max-width: 520px; margin-inline: auto; text-align: center; }
.office .office-photo {
  margin: 0 auto 30px; width: 220px; max-width: 100%; padding: 8px;
  background: var(--surface); border: 1px solid var(--rule);
}
.office .office-photo img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.office .city { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.office address { font-style: normal; margin: 14px 0 10px; line-height: 1.85; }
.office .line { margin: 0; }
.office .line + .line { margin-top: 6px; }
.office .label { font-family: var(--font-display); font-weight: 400; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.email { font-weight: 400; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Inner-page banner ---------- */
.banner { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; background: var(--hero-shade); z-index: -1; }
.banner .wrap { min-height: clamp(180px, 22vw, 260px); display: flex; align-items: center; justify-content: center; padding-block: 40px; }
.banner h1 { margin: 0; font-family: var(--font-display); font-weight: 200; text-transform: uppercase; letter-spacing: .18em; font-size: var(--step-3); text-align: center; }
.banner.plain { background: var(--tint); color: var(--ink); border-bottom: 1px solid var(--rule); }
.banner.plain::after { display: none; }

/* ---------- Bios ---------- */
.bios { max-width: 800px; margin-inline: auto; }
.bio { padding-block: 40px; }
.bio:first-child { padding-top: 0; }
.bio + .bio { border-top: 1px solid var(--rule); }
.bio h2 {
  margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: var(--step-1);
  letter-spacing: .12em; text-transform: uppercase; line-height: 1.45; color: var(--ink); text-wrap: balance;
}
.bio h2 .sep { color: var(--muted); }
.bio h2 .role { font-weight: 300; color: var(--accent); }
.bio p { margin: 0; color: var(--muted); line-height: 1.9; }

/* ---------- Legal ---------- */
.legal { max-width: 68ch; margin-inline: auto; }
.legal .updated { font-family: var(--font-display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin: 40px 0 10px; color: var(--ink); }
.legal h3 { font-family: var(--font-display); font-weight: 500; font-size: .85rem; letter-spacing: .04em; margin: 24px 0 8px; color: var(--ink); }
.legal h2 + h3 { margin-top: 16px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: var(--muted); font-size: .8rem; border-top: 1px solid var(--rule); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-block: 28px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer .fine { flex-basis: 100%; margin: 0; font-size: .72rem; opacity: .85; max-width: 90ch; }
/* The Ziegfeld facade is mostly black, so it sits fainter to keep Contact light. */
#contact .panel-bg img { opacity: .06; }
