/* words by katie — tokens from the Words by Katie design system (darkroom theme) */
:root {
  --paper: #1a110d;
  --linen: #2c2319;
  --ink: #f4efee;
  --ink-muted: #b4a896;
  --rose: #d3ab9a;
  --espresso: #27100a;
  --hairline: #3a2e25;

  --display: "Fraunces", "Cooper", Georgia, serif;
  --typewriter: "Courier Prime", "American Typewriter", "Courier New", monospace;
  --italic: "Cormorant Garamond", "Cormorant", Garamond, serif;

  --gutter: clamp(16px, 4vw, 64px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--typewriter);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--rose); }
a:hover { color: var(--ink); }

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

.swoon {
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.5em;
}

.caption {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

/* nav */
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px var(--gutter);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
}
.nav a:hover { color: var(--rose); }

/* hero */
.hero {
  position: relative;
  min-height: min(820px, 100vh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 40%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(39, 16, 10, 0.35);
}
.hero > * { position: relative; z-index: 1; }
.hero-text {
  padding: 0 var(--gutter) 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero-text p { margin: 16px 0 0; font-size: 17px; }

.name {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(64px, 12vw, 168px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--rose);
}

.quiet-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(244, 239, 238, 0.5);
  padding: 12px 0 4px;
}

/* photos */
main.home {
  padding: 120px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 160px;
}
.photos {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 64px);
}
.photos figure {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.photos .big { flex: 3 1 480px; }
.photos .small { flex: 2 1 300px; margin-bottom: 160px; }
.crop-square { aspect-ratio: 1 / 1; overflow: hidden; background: var(--linen); }
.crop-square img { width: 108%; max-width: none; height: 100%; object-fit: cover; object-position: left top; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.poem-line {
  margin: 0 auto;
  max-width: 18em;
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
}
.poem-line .swoon { color: var(--rose); }

/* bottom shop link */
.shop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 0 16px 40px;
}
.shop p { margin: 0; font-size: 13px; letter-spacing: 0.08em; color: var(--ink-muted); }
.shop a {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  text-decoration: none;
  border-bottom: 1px solid rgba(211, 171, 154, 0.4);
  padding-bottom: 8px;
}

/* about */
main.about {
  padding: 64px var(--gutter) 160px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(40px, 6vw, 96px);
}
.about figure {
  flex: 3 1 420px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-text {
  flex: 2 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 40px;
}
.about-text .name { font-size: clamp(56px, 7vw, 96px); line-height: 0.9; }
.about-text p { margin: 0; font-size: 17px; line-height: 1.65; max-width: 22em; }
.about-text .swoon { color: var(--ink); }
.muted { color: var(--ink-muted); }
.after-about { padding-bottom: 120px; }

/* footer */
.footer {
  padding: 32px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  border-top: 1px solid var(--hairline);
}
.footer div { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a { color: var(--ink-muted); }
.footer a:hover { color: var(--rose); }
