@font-face {
  font-family: "EB Garamond";
  src: url("fonts/eb-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("themes/midnight-modern/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --olive: #2f4a3a;
  --olive-deep: #203829;
  --sage: #7a8f6f;
  --accent: #a6a563;
  --sand: #e8e4d9;
  --ivory: #faf9f6;
  --paper: #f4f2ec;
  --muted: #526356;
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html { min-width: 320px; }

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

a { color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.page-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  max-width: 1600px;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.7rem clamp(1.5rem, 6vw, 7rem);
  border-bottom: 1px solid var(--sand);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(58vw, 17rem);
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 100%;
  height: auto;
  flex: none;
  object-fit: contain;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-name span { margin-top: 0.4rem; font-size: 0.63rem; letter-spacing: 0.31em; }

.header-note {
  display: none;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  flex: 1;
  align-items: center;
  gap: 3rem;
  padding: 3rem clamp(1.5rem, 6vw, 7rem) 4rem;
}

.hero-copy { max-width: 38rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.7rem;
  color: var(--olive);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-line { width: 1.7rem; height: 1px; flex: none; background: var(--accent); }

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.35rem, 7.4vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 em { color: var(--sage); font-weight: 400; }

.intro {
  max-width: 29rem;
  margin: 2.15rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1vw + 0.8rem, 1.13rem);
  line-height: 1.85;
}

.hero-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 1.8rem;
  margin-top: 2.2rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: 3.5rem;
  padding: 0.75rem 1.4rem;
  background: var(--olive);
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, transform 180ms ease;
}

.contact-link:hover { background: var(--olive-deep); transform: translateY(-2px); }
.contact-link span { font-size: 1.1rem; line-height: 1; }

.action-note {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.botanical-panel { width: 100%; max-width: 35rem; margin: 0 auto; }

.art-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--sand);
  background: var(--ivory);
}

.art-frame::before {
  position: absolute;
  inset: 1.1rem;
  border: 1px solid var(--sand);
  content: "";
}

.art-kicker, .art-number {
  position: absolute;
  z-index: 1;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.art-kicker { top: 1.4rem; left: 1.5rem; }
.art-number { right: 1.5rem; bottom: 1.3rem; }

.botanical-art {
  position: relative;
  z-index: 1;
  display: block;
  width: min(92%, 31rem);
  height: auto;
}

.art-caption {
  margin: 1rem 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  text-align: center;
}

.art-caption span { margin: 0 0.4em; color: var(--accent); }

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem 2rem;
  padding: 1.25rem clamp(1.5rem, 6vw, 7rem);
  border-top: 1px solid var(--sand);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.45rem 1.3rem; }
.site-footer a { text-underline-offset: 0.2em; }
.site-footer a:hover { color: var(--olive); }

/* Consent UI, shared with the rest of the static site. */
#gh-consent-banner { position: fixed; inset: auto 0 0; z-index: 1000; padding: 0.5rem; }
#gh-consent-banner.ghc-hidden { display: none; }
.ghc-card { max-width: 42rem; margin: 0 auto; padding: 1.25rem; border: 1px solid var(--sand); background: var(--ivory); box-shadow: 0 0 2rem #2f4a3a30; }
.ghc-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; font-family: var(--serif); font-size: 1.5rem; }
.ghc-close { border: 0; background: none; color: var(--olive); font-size: 1.5rem; cursor: pointer; }
.ghc-message { margin: 0 0 0.8rem; font-size: 0.82rem; }
.ghc-cats { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1rem; }
.ghc-cat { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; }
.ghc-cat em { color: var(--muted); font-style: normal; }
.ghc-cat input { accent-color: var(--olive); }
.ghc-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ghc-btn { min-height: 2.5rem; padding: 0.45rem 0.8rem; border: 1px solid var(--olive); background: transparent; color: var(--olive); font: inherit; font-size: 0.8rem; cursor: pointer; }
.ghc-btn:hover, .ghc-btn.ghc-accept { background: var(--olive); color: var(--ivory); }

@media (min-width: 48rem) {
  .header-note { display: block; }
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2rem, 4vw, 5rem); }
  .art-frame { min-height: clamp(27rem, 42vw, 38rem); }
  .site-footer { flex-direction: row; justify-content: space-between; align-items: center; }
  #gh-consent-banner { inset: auto 1.5rem 1.5rem auto; padding: 0; }
  .ghc-card { width: 24rem; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-link { transition: none; }
  .contact-link:hover { transform: none; }
}
