/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── DESIGN TOKENS ──────────────────────────────── */
:root {
  --bg:      #F5E9D3;
  --text:    #1C233C;
  --accent:  #B89B5E;
  --divider: #DDD0B8;
  --muted:   #7A7060;
  --overlay: rgba(20, 26, 50, 0.62);

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --pad: clamp(1.25rem, 5vw, 2rem);
  --col: 700px;
}

/* ─── BASE ────────────────────────────────────────── */
html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body { min-height: 100svh; }

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

a { color: var(--accent); }

/* ─── CONTENT COLUMN ──────────────────────────────── */
.wrap {
  max-width: var(--col);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ─── TYPOGRAPHY ─────────────────────────────────── */
h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

p + p { margin-top: 1em; }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 25%,
    rgba(18, 24, 48, 0.72) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad) clamp(2.25rem, 7svh, 4.5rem);
  width: 100%;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 14vw, 9rem);
  font-weight: 400;
  font-style: italic;
  font-optical-sizing: auto;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--bg);
  text-wrap: balance;
}

.hero-tagline {
  margin-top: clamp(0.75rem, 2vw, 1.1rem);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Animated scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  right: var(--pad);
  z-index: 1;
}

.scroll-bar {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  transform-origin: top;
  animation: drip 2.2s ease-in-out infinite;
}

@keyframes drip {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 0; }
  20%  { opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ─── INTRO ──────────────────────────────────────── */
.intro {
  padding-block: clamp(3rem, 9svh, 5.5rem);
}

.intro p {
  font-size: clamp(1rem, 2.3vw, 1.1rem);
  line-height: 1.9;
}

.bio-factual {
  font-size: 0.875rem !important;
  line-height: 1.7 !important;
  color: var(--muted);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--divider);
}

/* ─── RULE ───────────────────────────────────────── */
.rule {
  border: none;
  border-top: 1px solid var(--divider);
}

/* ─── SECTION ────────────────────────────────────── */
.section {
  padding-block: clamp(3rem, 8svh, 5rem);
}

.section-head {
  margin-bottom: clamp(2rem, 5svh, 3rem);
}

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* ─── SUB-BLOCKS ─────────────────────────────────── */
.sub {
  margin-bottom: clamp(2rem, 5svh, 3rem);
}

.sub:last-child { margin-bottom: 0; }

.sub-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* ─── FULL-BLEED IMAGE BLOCKS ────────────────────── */
.img-block {
  overflow: hidden;
  margin-block: clamp(1.5rem, 4svh, 2.5rem);
}

.img-block img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.img-block--wide img {
  height: clamp(220px, 48vw, 480px);
}

/* Portrait images sit within the column, not full-bleed */
.img-block--portrait {
  max-width: 480px;
  margin-inline: auto;
}

.img-block--portrait img {
  width: 100%;
  height: auto;
}

/* ─── CREDENTIAL ─────────────────────────────────── */
.credential {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--divider);
  background: rgba(221, 208, 184, 0.4);
}

.cred-badge-link { flex-shrink: 0; }

.cred-badge {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  transition: outline-width 0.2s;
}

.cred-badge-link:hover .cred-badge { outline-width: 3px; }

.cred-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cred-name {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.cred-issuer {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.cred-verify {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.cred-verify:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── REGIONS ────────────────────────────────────── */
.regions-list { margin-top: clamp(2rem, 5svh, 3rem); }

.region {
  padding-block: clamp(2rem, 6svh, 3.5rem);
  border-top: 1px solid var(--divider);
}

.region-img {
  overflow: hidden;
  margin-bottom: 1.75rem;
}

.region-img img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.region-img--landscape img { height: clamp(200px, 45vw, 420px); }
.region-img--portrait  img { height: clamp(280px, 70vw, 500px); }

.region-name {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 4.5vw, 2.2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.85rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.region-body p + p { margin-top: 1em; }

/* California map embed */
.region-map {
  margin-top: 1.25rem;
}

.region-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.region-map figcaption {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.4rem;
  letter-spacing: 0.03em;
}

/* ─── WHAT I BRING ───────────────────────────────── */
.bring p {
  font-size: clamp(1rem, 2.3vw, 1.1rem);
  line-height: 1.9;
}

/* ─── CONTACT ────────────────────────────────────── */
.contact-body { margin-bottom: 1.75rem; }

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-label {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.contact-link {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: opacity 0.2s;
}

.contact-link:hover { opacity: 0.65; }

.social-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-links li {
  font-size: 1rem;
  line-height: 1.6;
}

.social-links a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.social-links a:hover { opacity: 0.7; }

.contact-closing {
  overflow: hidden;
  margin-top: clamp(2rem, 6svh, 3.5rem);
}

.contact-closing img {
  width: 100%;
  height: clamp(200px, 40vw, 360px);
  object-fit: cover;
  object-position: center 60%;
}

/* ─── NEWSLETTER ─────────────────────────────── */
.newsletter {
  margin-top: clamp(2rem, 6svh, 3.5rem);
  padding: clamp(1.75rem, 5vw, 2.5rem);
  border: 1px solid var(--divider);
  background: rgba(221, 208, 184, 0.25);
}

.newsletter-head {
  margin-bottom: 1.5rem;
}

.newsletter-head p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input-group input[type="email"] {
  padding: 0.875rem 1rem;
  border: 1px solid var(--divider);
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s;
}

.newsletter-input-group input[type="email"]::placeholder {
  color: var(--muted);
}

.newsletter-input-group input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 155, 94, 0.1);
}

.newsletter-submit {
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.newsletter-submit:hover {
  background: transparent;
  color: var(--accent);
}

.newsletter-submit:active {
  opacity: 0.8;
}

.newsletter-note {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.newsletter-note a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.newsletter-note a:hover {
  opacity: 0.7;
}

@media (min-width: 600px) {
  .newsletter-input-group {
    flex-direction: row;
    align-items: flex-end;
    gap: 1rem;
  }

  .newsletter-input-group input[type="email"] {
    flex: 1;
  }

  .newsletter-submit {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--divider);
}

footer p {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  line-height: 1.75;
}

/* ─── SCROLL REVEAL ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── DESKTOP — REGION GRID ──────────────────────── */
@media (min-width: 820px) {
  .region {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 3.5rem;
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: var(--pad);
  }

  .region-img {
    margin-bottom: 0;
  }

  .region-img img {
    height: 100%;
    min-height: 360px;
    max-height: 540px;
  }

  /* Alternate: even regions put image on the right */
  .region:nth-child(even) .region-img     { order: 2; }
  .region:nth-child(even) .region-content { order: 1; }

  /* Portrait images get a narrower image column */
  .region--portrait {
    grid-template-columns: 2fr 3fr;
  }
  .region--portrait:nth-child(even) {
    grid-template-columns: 3fr 2fr;
  }

  .region-name { font-size: 1.9rem; }

  /* Align text block to top with padding */
  .region-content {
    padding-top: 0.25rem;
  }

  /* California map — reduce height on large screens */
  .region-map iframe { height: 280px; }
}
