/* Palette drawn from the Tiniest Plant Shop flower */
:root {
  --paper: #fdf5f2;   /* very pale blush */
  --ink: #1c2b28;     /* deep teal-green, near-black */
  --muted: #5b6764;
  --teal: #2a736c;    /* leafy teal, used sparingly */
  --orange: #c4441a;  /* warm orange, dark enough for text */
  --gold: #f6dd8f;    /* soft golden yellow, highlight only */
  --gutter: clamp(1.25rem, 7vw, 9rem); /* side margins: ~7% of the screen */
  --space: clamp(2.5rem, 6vw, 4.5rem);
  --heading: "Nunito Sans", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible { color: var(--orange); }

a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Navigation */
.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 2rem;
  padding: 1.5rem var(--gutter);
  font-family: var(--heading);
  font-size: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-text { cursor: default; }

/* Page column */
main {
  padding: clamp(3.5rem, 10vh, 7rem) var(--gutter) var(--space);
}

/* Intro: flower mark beside the two opening lines */
.hero {
  --intro-size: clamp(2.25rem, 5vw, 4.25rem);
  --intro-lh: 1.1;
  --head-size: clamp(1.4rem, 2.8vw, 2.4rem);
  --head-lh: 1.25;
  --line-gap: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin-bottom: var(--space);
}

/* Crops the flower tightly with CSS; the image file itself is untouched.
   Multiply lets the artwork's white ground take on the page colour. */
.mark {
  flex: none;
  height: calc(var(--intro-size) * var(--intro-lh) + var(--line-gap) + var(--head-size) * var(--head-lh));
  aspect-ratio: 565 / 1395;
  overflow: hidden;
  border-radius: 10px;
}

.mark img {
  display: block;
  width: 181.24%;       /* 1024 / 565 */
  height: auto;
  max-width: none;
  margin-left: -40.71%; /* 230 / 565 */
  margin-top: -11.5%;   /* 65 / 565 */
  mix-blend-mode: multiply;
}

.intro {
  margin: 0 0 var(--line-gap, var(--space));
  font-family: var(--heading);
  font-weight: 700;
  font-size: var(--intro-size, clamp(2.25rem, 5vw, 4.25rem));
  line-height: var(--intro-lh, 1.1);
  letter-spacing: -0.02em;
}

.highlight {
  background: var(--gold);
  padding: 0 0.12em;
  white-space: nowrap; /* keeps the name in one highlight block */
}

.headline {
  margin: 0;
  font-family: var(--heading);
  font-weight: 600;
  font-size: var(--head-size);
  line-height: var(--head-lh);
  letter-spacing: -0.01em;
}

.people {
  color: var(--teal);
  white-space: nowrap;
}
.period { color: var(--orange); }

.bio {
  font-size: clamp(1.075rem, 1.3vw, 1.2rem);
  line-height: 1.65;
}

.bio p { margin: 0 0 1.3em; }
.bio p:last-child { margin-bottom: 0; }

/* Let's connect */
.connect {
  margin-top: clamp(5rem, 12vw, 9rem);
  text-align: center;
}

.connect h2 {
  margin: 0 0 0.5rem;
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

.connect p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transition: background-color 0.2s ease;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: var(--orange);
  color: var(--paper);
}

.icon-btn svg { width: 1.3rem; height: 1.3rem; }

/* Phones: flower sits above the intro so nothing is squeezed */
@media (max-width: 640px) {
  .hero {
    flex-direction: column;
    gap: 1.25rem;
  }

  .mark { height: 6.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  a, .icon-btn { transition: none; }
}
