@import url("fonts.css");

:root {
  --ink: #0b0b0b;
  --paper: #f6f4ef;
  --white: #ffffff;
  --muted: #6b6b6b;
  --rule: #cfc9bf;
  --gold: #8a7a55;
  --gold-on-paper: #6f6244;
  --gutter: clamp(20px, 4vw, 48px);
  --wrap-max: 1280px;
  --section-y: clamp(48px, 7vw, 88px);
  --measure: 42em;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Fluid inner container. Bands themselves stay 100% wide. */
.wrap {
  width: min(var(--wrap-max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* Nested wrap must not add a second gutter. */
.wrap .wrap {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* Full-bleed sections: backgrounds go edge to edge. Never 100vw. */
.site-header,
.site-footer,
.hero-band,
.band,
.band-alt,
.page-hero,
.page-body,
.photo-band {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

main {
  display: block;
  width: 100%;
  padding: 0;
}

/* ----- Header ----- */
.site-header {
  background: var(--ink);
  color: var(--paper);
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  min-height: 116px;
  min-width: 0;
}

.wordmark {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  margin-right: auto;
  max-width: min(420px, 42vw);
}

.wordmark img {
  height: 68px;
  width: auto;
  max-width: 100%;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 28px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  min-width: 0;
  flex: 0 1 auto;
}

.nav a {
  text-decoration: none;
  color: var(--paper);
  opacity: 0.82;
}

.nav a:hover,
.nav a[aria-current="page"] { opacity: 1; }

.nav a.consult-link {
  border: 1px solid rgba(246, 244, 239, 0.45);
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  opacity: 1;
  box-sizing: border-box;
}


.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(246, 244, 239, 0.35);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: rgba(246, 244, 239, 0.7);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-header.is-nav-open .nav-toggle-bars {
  background: transparent;
}

.site-header.is-nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}


/* ----- Home hero (black, full bleed) ----- */
.hero-band {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section-y) 0 calc(var(--section-y) + 4px);
  border-bottom: 1px solid #000;
}

.hero-band,
.hero-band h1,
.hero-band h2,
.hero-band h3,
.hero-band p,
.hero-band .lede,
.hero-band a {
  color: var(--paper);
}

.hero-band .kicker { color: #c7b58a; }

.kicker {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-on-paper);
  margin: 0 0 18px;
  font-weight: 500;
}

.hero-band h1,
.page-hero h1,
h1 {
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 14ch;
}

.hero-band .lede {
  font-size: 1.15rem;
  max-width: 38em;
  opacity: 0.82;
  margin: 0;
  font-weight: 400;
  color: var(--paper);
}

.hero-band .cta { margin-top: 28px; }


.tagline {
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: -8px 0 22px;
  max-width: 28em;
  opacity: 0.78;
  color: var(--paper);
  font-style: italic;
}

.hero-band .tagline {
  color: var(--paper);
  opacity: 0.78;
}

.footer-tagline {
  margin: 6px 0 0;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 0.55;
  max-width: 22em;
  line-height: 1.35;
  color: var(--paper);
}

/* ----- Interior page hero (paper, full bleed — not a black box) ----- */
.page-hero {
  background: var(--paper);
  padding: clamp(40px, 6vw, 72px) 0 clamp(16px, 2.5vw, 28px);
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 20px;
}

.lede {
  font-size: 1.12rem;
  max-width: var(--measure);
  margin: 0 0 1.5em;
  color: #222;
}

.page-body {
  background: var(--paper);
  padding: 4px 0 clamp(64px, 9vw, 104px);
}

.page-hero p:last-child,
.page-hero .lede:last-child { margin-bottom: 0; }

.page-body .wrap > h2:first-child,
.page-body .wrap > p:first-child,
.page-body .wrap > .split:first-child,
.page-body .wrap > .media-block:first-child { margin-top: 0; }

/* ----- Type ----- */
h2 {
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin: 2.2em 0 0.5em;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 500;
  color: var(--gold-on-paper);
}

p {
  margin: 0 0 1.05em;
  max-width: 44em;
}

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

/* ----- Index bands ----- */
.band {
  padding: var(--section-y) 0;
  background: var(--paper);
}

.band-alt { background: var(--white); }

.band h2 {
  margin-top: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.band p,
.band h2,
.band h3,
.band .kicker { max-width: 46em; }

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding: 12px 0 10px;
  font-weight: 500;
}

.hero-band .cta,
.site-footer .cta { border-bottom-color: var(--paper); }

.cta:hover { opacity: 0.65; }

ul.plain {
  margin: 0 0 1.4em;
  padding: 0;
  max-width: var(--measure);
}

ul.plain li {
  list-style: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

ul.circle {
  margin: 0 0 1.3em;
  padding: 0 0 0 1.15em;
  max-width: var(--measure);
}

ul.circle li {
  list-style: circle;
  padding: 0.3em 0;
}

.note {
  max-width: var(--measure);
  color: var(--muted);
}

.contact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.contact-strip a {
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

/* ----- Institutional photography ----- */
.photo-band {
  background: var(--ink);
  padding: 0;
  line-height: 0;
}

.photo-band figure {
  margin: 0;
  width: 100%;
}

.photo-band img {
  width: 100%;
  height: clamp(220px, 38vw, 460px);
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
}

.media-block {
  margin: 0 0 2em;
  max-width: 52em;
}

.media-block figure {
  margin: 0;
}

.media-block img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  border: 1px solid var(--rule);
}

.media-block figcaption,
.photo-band figcaption {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.4;
  max-width: 40em;
}

.photo-band figcaption {
  display: none; /* decorative full-bleed; alt carries meaning */
}

/* Text + image split on larger screens */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  margin: 0;
}

.split .split-copy {
  min-width: 0;
}

.split .split-copy > h2:first-child,
.split .split-copy > h3:first-child,
.split .split-copy > .kicker:first-child,
.split .split-copy > p:first-child {
  margin-top: 0;
}

.split .split-media {
  min-width: 0;
  margin: 0;
}

.split .split-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  border: 1px solid var(--rule);
}

.split .split-media figcaption {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.4;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(40px, 5vw, 64px);
  }

  .split.split-reverse {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .split.split-reverse .split-copy { order: 2; }
  .split.split-reverse .split-media { order: 1; }

  .band .split h2,
  .band .split p,
  .band .split h3,
  .band .split .kicker {
    max-width: none;
  }

  .page-body .split {
    margin-top: 0.5em;
    margin-bottom: 1.5em;
  }
}

/* ----- Footer ----- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: start;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 2px;
  align-items: center;
  min-width: 0;
}

.footer-brand img {
  grid-row: 1 / span 2;
  align-self: center;
  height: 72px;
  width: auto;
}

.footer-brand .name {
  grid-column: 2;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.footer-brand .footer-tagline {
  grid-column: 2;
  margin: 0;
}

.footer-contact {
  font-size: 0.92rem;
  opacity: 0.88;
  line-height: 1.7;
}

.footer-contact a { text-decoration: none; }
.footer-contact a:hover { border-bottom: 1px solid var(--paper); }

.footer-meta {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  text-align: right;
}

/* ----- Breakpoints: 640 phone / 900 tablet / 1200 desktop ----- */
@media (min-width: 640px) {
  html { font-size: 17px; }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 48px;
    --section-y: 96px;
  }

  .header-inner { min-height: 124px; }
  .hero-band { padding: 96px 0 104px; }
  .band { padding: 96px 0; }
  .page-hero { padding: 80px 0 24px; }
  .page-body { padding-bottom: 112px; }
  .site-footer { padding: 56px 0 48px; }
  .photo-band img { height: clamp(320px, 32vw, 480px); }
}

@media (max-width: 1099px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    padding-block: 14px;
    gap: 12px 16px;
  }

  .wordmark { margin-right: auto; }
  .wordmark img { height: 52px; }

  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    flex: 1 0 100%;
    gap: 0;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    padding-top: 8px;
    border-top: 1px solid rgba(246, 244, 239, 0.18);
  }

  .site-header.is-nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(246, 244, 239, 0.12);
  }

  .nav a.consult-link {
    margin-top: 8px;
    margin-bottom: 4px;
    text-align: center;
    border-bottom: 1px solid rgba(246, 244, 239, 0.45);
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-meta { text-align: left; }
  .footer-brand img { height: 60px; }

  .contact-strip { grid-template-columns: 1fr; }

  :root { --section-y: 56px; }
  .hero-band { padding: 48px 0 56px; }
  .page-hero { padding: 40px 0 16px; }
  .photo-band img { height: clamp(200px, 42vw, 320px); }
}

@media (max-width: 639px) {
  :root {
    --gutter: clamp(16px, 5vw, 24px);
    --section-y: 44px;
  }

  html { font-size: 16px; }

  .header-inner { padding-block: 12px; gap: 10px 12px; }
  .wordmark img { height: 44px; }

  .nav { font-size: 0.74rem; letter-spacing: 0.14em; }
  .nav a { padding: 12px 0; }
  .nav a.consult-link { padding: 10px 12px; }

  .hero-band { padding: 36px 0 44px; }
  .hero-band h1 { margin-bottom: 18px; }
  .page-hero { padding: 32px 0 12px; }
  .page-body { padding-bottom: 56px; }
  .band { padding: 44px 0; }
  .site-footer { padding: 36px 0 32px; }
  .footer-brand img { height: 52px; }

  h2 { margin-top: 1.8em; }

  .media-block img,
  .split .split-media img {
    aspect-ratio: 16 / 11;
  }

  .photo-band img {
    height: clamp(180px, 48vw, 260px);
  }

}


@media (min-width: 1100px) {
  .nav-toggle,
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: none !important;
  }

  .nav {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    width: auto;
    flex: 0 1 auto;
    padding-top: 0;
    border-top: 0;
    gap: 8px 28px;
  }

  .nav a {
    padding: 0;
    border-bottom: 0;
    white-space: nowrap;
  }

  .nav a.consult-link {
    margin-top: 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(246, 244, 239, 0.45);
  }

  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    min-height: 116px;
    padding-block: 0;
    gap: 24px 32px;
  }

  .site-header.is-nav-open .nav-toggle-bars,
  .site-header.is-nav-open .nav-toggle-bars::before,
  .site-header.is-nav-open .nav-toggle-bars::after {
    transform: none;
  }
}
