/* Poppy Room — landing page
   Structure: masthead → headline → full-bleed hero → credit → Studio / Services / Contact → footer */

@font-face {
  font-family: "Zodiak";
  src: url("assets/fonts/zodiak-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zodiak";
  src: url("assets/fonts/zodiak-300-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Zodiak";
  src: url("assets/fonts/zodiak-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/switzer-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/switzer-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FDFCF9;
  --ink: #1F2429;
  --ink-soft: #4A5158;
  --hairline: #E3E0D8;
  --measure: 34rem;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Switzer", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* Masthead */

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter);
}

.wordmark {
  font-family: "Zodiak", Georgia, serif;
  font-weight: 400;
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.masthead nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.masthead nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.masthead nav a:hover { color: var(--ink-soft); }

/* Headline */

.headline {
  font-family: "Zodiak", Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.25rem, 5.4vw, 4.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) clamp(3rem, 7vw, 6.5rem);
  max-width: 24ch;
  box-sizing: content-box;
}

/* Hero — full bleed */

.hero { margin: 0; }

.hero img {
  width: 100%;
  height: clamp(24rem, 78vh, 52rem);
  object-fit: cover;
}

.hero figcaption {
  text-align: right;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  padding: 0.875rem var(--gutter) 0;
}

/* Sections */

.section {
  padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter) 0;
}

.section h2 {
  font-family: "Zodiak", Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.section p,
.section ul {
  max-width: var(--measure);
  color: var(--ink);
}

.section ul {
  list-style: none;
}

.section li {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--hairline);
}

.section li:first-child {
  border-top: 1px solid var(--hairline);
}

.mail {
  font-family: "Zodiak", Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.125rem;
}

.mail:hover { border-bottom-color: var(--ink); }

/* Interlude photograph between Studio and Services */

.interlude {
  margin: clamp(4.5rem, 10vw, 8.5rem) var(--gutter) 0;
}

.interlude img {
  width: min(100%, 52rem);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-left: auto;
}

/* Footer */

footer {
  margin-top: clamp(5rem, 11vw, 9.5rem);
  padding: 2rem var(--gutter) clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--hairline);
}

footer p {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* Mobile */

@media (max-width: 640px) {
  .masthead {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .masthead nav { flex-wrap: wrap; gap: 1rem 1.5rem; }
  .headline br { display: none; }
  .hero img { height: 26rem; }
  .interlude img { width: 100%; }
}
