/* Nina Bellford website. Soft NYC palette from the approved storefront design (Spectral + Lato). */
/* Fonts are self-hosted (SIL Open Font License; see fonts/) so no visitor data goes to a font service. */
@font-face { font-family: "Lato"; src: url("fonts/Lato-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/Lato-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/Lato-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/Spectral-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/Spectral-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/Spectral-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Corinthia"; src: url("fonts/Corinthia-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --cream: #FAF9F5;
  --paper: #F3F1EA;
  --oat: #E9E6DE;
  --sand: #C1B9A8;
  --sage: #5B6E64;
  --sage-deep: #44544B;
  --ink: #2E312E;
  --ink-soft: #555A55;
  --white: #FFFFFF;
  --radius: 14px;
  --max: 1120px;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-deep); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.kicker {
  font-family: var(--sans); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage);
  margin: 0 0 14px;
}
.rule { width: 72px; height: 3px; background: var(--sand); border: 0; margin: 0 0 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--oat);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand span {
  font-family: "Corinthia", "Segoe Script", cursive;
  font-size: 2.6rem; font-weight: 400; line-height: 1;
  color: var(--ink); padding-top: 6px; letter-spacing: 0.01em;
}
.site-footer h3.signature {
  font-family: "Corinthia", "Segoe Script", cursive;
  font-size: 2.6rem; font-weight: 400; line-height: 1; margin-bottom: 14px;
}
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; font-weight: 700; }
.nav a:hover { color: var(--sage-deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  border: 2px solid var(--sage); cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn-primary { background: var(--sage); color: var(--white); }
.btn-primary:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--sage-deep); }
.btn-ghost:hover { background: var(--paper); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; pointer-events: none; }

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(250,249,245,0.97) 0%, rgba(250,249,245,0.9) 45%, rgba(250,249,245,0.35) 100%),
    url("images/nyc-studio.jpg") center / cover no-repeat;
  padding: 96px 0 104px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.hero .lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-cover {
  justify-self: center; width: min(320px, 100%);
  border-radius: 6px; box-shadow: 0 30px 60px rgba(46, 49, 46, 0.25), 0 6px 14px rgba(46, 49, 46, 0.12);
  transform: rotate(1.5deg);
}
.hero-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 18px; }

/* Sections */
section { padding: 96px 0; }
.alt { background: var(--paper); }
.intro { max-width: 760px; }
.intro p { font-size: 1.15rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.35; color: var(--sage-deep); border-left: 3px solid var(--sand);
  padding-left: 24px; margin: 0 0 28px;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card {
  background: var(--white); border: 1px solid var(--oat); border-radius: var(--radius);
  padding: 30px 28px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.card .num { font-family: var(--serif); font-size: 2rem; color: var(--sand); line-height: 1; margin-bottom: 14px; }

.editions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.edition {
  background: var(--white); border: 1px solid var(--oat); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
}
.edition.featured { border: 2px solid var(--sage); }
.edition .tag {
  align-self: flex-start; background: var(--paper); color: var(--sage-deep);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; margin-bottom: 16px;
}
.edition ul { padding-left: 1.1em; margin: 0 0 24px; color: var(--ink-soft); font-size: 0.98rem; }
.edition li { margin-bottom: 6px; }
.edition .btn { margin-top: auto; }
.edition .status { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }

.state-note {
  margin-top: 40px; background: var(--white); border: 1px solid var(--oat); border-radius: var(--radius);
  padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
}
.state-note .pin { font-size: 1.6rem; line-height: 1; }
.state-note p { margin: 0; color: var(--ink-soft); }

/* Signup */
.signup {
  background:
    linear-gradient(rgba(46,49,46,0.55), rgba(46,49,46,0.55)),
    url("images/kitchen-evening.jpg") center / cover no-repeat;
  color: var(--cream); text-align: center;
}
.signup h2 { color: var(--cream); }
.signup .kicker { color: var(--sand); }
.signup p { color: #E9E6DE; max-width: 36em; margin: 0 auto 28px; }
.signup-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 560px; margin: 0 auto; }
.signup-form input[type="email"] {
  flex: 1 1 260px; padding: 15px 20px; border-radius: 999px; border: 0;
  font-size: 1rem; font-family: var(--sans); color: var(--ink);
}
.signup-form .btn-primary { border-color: var(--cream); }
.form-status { margin-top: 16px; font-size: 0.95rem; color: #E9E6DE; min-height: 1.5em; }
.fine { font-size: 0.85rem; color: #D5D0C4; margin-top: 10px; }
.signup a { color: var(--cream); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* FAQ */
.faq { max-width: 820px; }
.faq details {
  background: var(--white); border: 1px solid var(--oat); border-radius: var(--radius);
  padding: 4px 26px; margin-bottom: 14px;
}
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.2rem;
  padding: 18px 30px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 14px; font-family: var(--sans);
  font-size: 1.6rem; color: var(--sage);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); padding-bottom: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: #CFCBC0; padding: 56px 0 40px; font-size: 0.95rem; }
.site-footer a { color: #E9E6DE; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: var(--cream); font-size: 1.15rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #45493F; margin-top: 40px; padding-top: 24px; font-size: 0.85rem; color: #A9A597; }

/* Simple page (privacy) */
.page { max-width: 760px; padding: 72px 24px 96px; margin: 0 auto; }
.page h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); }
.page h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 64px 0 72px; background:
    linear-gradient(rgba(250,249,245,0.93), rgba(250,249,245,0.93)), url("images/nyc-studio.jpg") center / cover no-repeat; }
  .hero-cover { width: min(240px, 70%); }
  .cards, .editions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .split .media { order: -1; }
  section { padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .hero-actions .btn { width: 100%; }
  .state-note { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
