/* =========================================================
   Elyse Hartnett Fine Art — A Window Into the Wild
   Design system: grounded · wild · atmospheric
   Deep forest/charcoal + warm sand/cream + muted gold
   ========================================================= */

:root {
  /* palette */
  --ink:        #1b231e;   /* near-black charcoal-green */
  --forest:     #283a2f;   /* deep forest */
  --moss:       #44563f;   /* mid green */
  --paper:      #f5efe3;   /* warm cream page */
  --paper-2:    #efe7d6;   /* deeper cream */
  --sand:       #e4d7bf;   /* sand */
  --clay:       #bd8460;   /* terracotta */
  --gold:       #a4823f;   /* muted gold accent */
  --gold-deep:  #836636;
  --violet:     #8d7bab;   /* soft echo of the hero painting */
  --cream-text: #f3ead9;   /* text on dark */
  --cream-dim:  #cdc3b0;   /* dim text on dark */
  --muted:      #6e6553;   /* muted text on light */
  --line:       #ddd2bb;   /* hairline on light */

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 { overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: .005em; }
h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
p  { max-width: 62ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.on-dark { color: #cdb079; }

.lede { font-size: 1.12rem; color: var(--muted); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.center { text-align: center; }
.center p { margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #fffaf0;
  padding: .95em 1.7em;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ghost.on-dark { color: var(--cream-text); border-color: rgba(243,234,217,.5); }
.btn--ghost.on-dark:hover { background: var(--cream-text); color: var(--ink); }

/* ========================================================
   NAV
   ======================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem var(--gutter);
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.nav__brand { display: inline-flex; flex-direction: column; line-height: 1; color: var(--cream-text); transition: color .35s var(--ease); }
.nav__brand-name { font-family: var(--serif); font-size: clamp(1.95rem, 3.1vw, 2.65rem); font-weight: 500; letter-spacing: .01em; }
.nav__brand-sub { font-family: var(--sans); font-size: .64rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; margin-top: .4rem; opacity: .8; }
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream-text); opacity: .85; transition: opacity .2s, color .35s var(--ease);
  padding-block: .3rem;
}
.nav__links a:hover { opacity: 1; }
.nav__links a.is-active { border-bottom: 1px solid currentColor; opacity: 1; }

/* solid state after scrolling past hero */
.nav.is-solid { background: rgba(245,239,227,.96); box-shadow: 0 1px 0 var(--line); padding-block: .85rem; backdrop-filter: blur(6px); }
.nav.is-solid .nav__brand,
.nav.is-solid .nav__links a { color: var(--ink); }

/* pages with a light header from the top */
.nav.nav--light .nav__brand,
.nav.nav--light .nav__links a { color: var(--ink); }

.nav__toggle { display: none; background: none; border: 0; width: 30px; height: 22px; position: relative; }
.nav__toggle span { position:absolute; left:0; right:0; height:2px; background: currentColor; color: var(--cream-text); transition: .3s var(--ease); }
.nav.is-solid .nav__toggle span, .nav.nav--light .nav__toggle span { color: var(--ink); }
.nav__toggle span:nth-child(1){ top:0; }
.nav__toggle span:nth-child(2){ top:10px; }
.nav__toggle span:nth-child(3){ top:20px; }

/* ========================================================
   HERO
   ======================================================== */
.hero {
  background: linear-gradient(160deg, #1b231e 0%, #243029 55%, #2c3a30 100%);
  color: var(--cream-text);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  min-height: 100vh;
  align-items: center;
}
.hero__content {
  padding: clamp(7rem,12vh,9rem) clamp(1.5rem,4vw,4rem) clamp(3rem,8vh,5rem) var(--gutter);
}
.hero__content h1 { margin: .5rem 0 1.1rem; font-size: clamp(2.5rem, 4.5vw, 3.7rem); }
.hero__content h1 em { font-style: italic; color: #c9b48a; white-space: nowrap; }
.hero__sub { font-size: 1.16rem; color: var(--cream-dim); max-width: 40ch; line-height: 1.6; }
.hero__sub--2 { margin-top: 1rem; }
.hero__sub .fade-ex { color: var(--cream-text); }
.signup__eyebrow { display: inline-block; font-size: clamp(0.92rem, 1.15vw, 1.06rem); font-weight: 700; letter-spacing: .09em; margin-bottom: 1rem; padding-bottom: .5rem; color: #e6c98a; border-bottom: 2px solid rgba(230,201,138,.5); }

.hero__media {
  position: relative;
  align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(5rem,10vh,7rem) clamp(1.5rem,4vw,4rem) clamp(2rem,6vh,4rem);
  background:
    radial-gradient(120% 90% at 70% 30%, rgba(141,123,171,.16), transparent 60%);
}
.hero__frame {
  background: #faf6ec;
  padding: 14px;
  border-radius: 2px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 8px 20px -8px rgba(0,0,0,.4);
  max-height: 82vh;
}
.hero__frame img { max-height: calc(82vh - 28px); width: auto; border-radius: 1px; }

/* email capture — the hero action */
.signup {
  margin-top: 2.4rem;
  border-top: 1px solid rgba(243,234,217,.18);
  padding-top: 1.8rem;
  max-width: 42ch;
}
.signup__label { font-family: var(--serif); font-size: 1.32rem; line-height: 1.25; color: #fff; font-style: italic; }
.signup__body { font-size: .96rem; color: var(--cream-dim); margin-top: .6rem; line-height: 1.55; }
.signup__body + .signup__body { margin-top: .9rem; }
.signup__form { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.signup__form input[type=email] {
  flex: 1 1 14rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(243,234,217,.32);
  border-radius: 2px;
  color: #fff;
  padding: .9em 1em;
  font-size: .95rem;
}
.signup__form input::placeholder { color: rgba(243,234,217,.5); }
.signup__form input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
.signup__note { font-size: .78rem; color: rgba(205,195,176,.7); margin-top: .8rem; }

/* ========================================================
   MISSION STRIP
   ======================================================== */
.mission { background: var(--paper-2); color: var(--forest); }
.mission .wrap { max-width: 880px; }
.mission p {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.4;
  color: var(--forest);
  max-width: 28ch;
  margin-inline: auto;
  font-weight: 400;
}

/* ---------- mission + forest row (quiet beat, not a second hero) ---------- */
.mission-row { background: var(--paper-2); padding-block: clamp(3.75rem,7.5vw,6.25rem); }
.mission-row__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.2rem,5vw,4.25rem); align-items: center; }
.mission-row__quote { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.62rem); line-height: 1.5; color: var(--forest); max-width: 40ch; font-weight: 400; }
.mission-row__quote + .mission-row__quote { margin-top: 1.1rem; }
.mission-row__media { display: flex; justify-content: center; }
.mission-row__media img { max-height: 510px; width: auto; max-width: 100%; border: 1px solid var(--line); }
@media (max-width: 760px) {
  .mission-row__grid { grid-template-columns: 1fr; gap: 2rem; }
  .mission-row__media img { max-height: 420px; }
}

/* utility: hide the honeybee clause on narrow screens (brief Section 6) */
.hide-narrow { display: inline; }
@media (max-width: 600px) { .hide-narrow { display: none; } }

/* ========================================================
   THE WORK / product grids
   ======================================================== */
.work__head { max-width: 56ch; margin-bottom: clamp(2.2rem,4vw,3.2rem); }
.work__head h2 { margin: .4rem 0 .8rem; }

.grid-prints {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.1rem, 2.4vw, 2rem);
}
.print { display: flex; flex-direction: column; }
.print__img {
  background: #fbf7ee;
  border: 1px solid var(--line);
  padding: 10px;
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.print__img { position: relative; }
.print__img img { height: 100%; width: 100%; object-fit: contain; transition: transform .5s var(--ease), opacity .35s var(--ease); }
.print__img .pi-2 { position: absolute; inset: 10px; opacity: 0; }
.print:hover .print__img img { transform: scale(1.02); }
.print:hover .print__img .pi-2 { opacity: 1; }
.print__name { font-family: var(--serif); font-size: 1.3rem; margin-top: .9rem; }
.print__meta { font-size: .85rem; color: var(--muted); margin-top: .15rem; }
.print__row { display: flex; align-items: center; justify-content: space-between; margin-top: .9rem; gap: 1rem; }
.print__price { font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.btn--buy { padding: .7em 1.2em; font-size: .72rem; }

/* the violet "coming soon / join the list" tile */
.tile-soon {
  grid-column: span 2;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fbf7ee;
}
.tile-soon__img { overflow: hidden; }
.tile-soon__img img { height: 100%; width: 100%; object-fit: contain; background: #fbf7ee; padding: 8px; }
.tile-soon__body { padding: clamp(1.4rem,2.5vw,2.2rem); display: flex; flex-direction: column; justify-content: center; }
.tile-soon__body .eyebrow { margin-bottom: .6rem; }
.tile-soon__body h3 { margin-bottom: .5rem; }
.tile-soon__body p { font-size: .92rem; color: var(--muted); margin-bottom: 1.2rem; }

/* ========================================================
   ATMOSPHERE band (full-bleed photo divider)
   ======================================================== */
.atmos { position: relative; min-height: 56vh; display: grid; place-items: center; overflow: hidden; }
.atmos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.atmos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,26,22,.25), rgba(20,26,22,.45)); }
.atmos__line { position: relative; z-index: 2; color: #fff; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem,3.4vw,2.6rem); text-align: center; max-width: 22ch; padding-inline: 1.5rem; text-shadow: 0 2px 24px rgba(0,0,0,.4); }

/* ========================================================
   PAGE HEADER (interior pages)
   ======================================================== */
.pagehead { padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(2rem,4vw,3rem); }
.pagehead h1 { font-size: clamp(2.4rem,5.5vw,4rem); margin-top: .5rem; }
.pagehead p { margin-top: 1rem; }

/* ========================================================
   ABOUT
   ======================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.about-figure img { border: 1px solid var(--line); }
.about-figure figcaption { font-size: .82rem; color: var(--muted); margin-top: .7rem; font-style: italic; }
.prose p { margin-bottom: 1.15rem; font-size: 1.06rem; }
.prose p strong { font-weight: 600; }
.prose .pull { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--forest); margin: 1.6rem 0; }

/* ========================================================
   CONTACT
   ======================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 2px;
  padding: .85em 1em; font: inherit; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.contact-detail { margin-bottom: 1.4rem; }
.contact-detail .k { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.contact-detail .v { font-family: var(--serif); font-size: 1.3rem; }

/* ========================================================
   LEGAL PAGES
   ======================================================== */
.legal { max-width: 760px; }
.legal__updated { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.legal h2 { font-size: clamp(1.25rem,2.3vw,1.6rem); margin: 2.3rem 0 .7rem; }
.legal p { margin-bottom: 1rem; }
.legal ul { margin: 0 0 1.2rem 1.3rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--gold-deep); border-bottom: 1px solid currentColor; }
.legal a:hover { color: var(--ink); }

/* ========================================================
   FOOTER
   ======================================================== */
.footer { background: var(--ink); color: var(--cream-dim); padding-block: clamp(3rem,6vw,4.5rem); }
.footer__cta { text-align: center; max-width: 560px; margin: 0 auto clamp(2.5rem,5vw,3.5rem); padding-bottom: clamp(2.5rem,5vw,3.5rem); border-bottom: 1px solid rgba(243,234,217,.12); }
.footer__cta .eyebrow { display: block; margin-bottom: .8rem; }
.footer__cta-title { font-family: var(--serif); font-size: clamp(1.75rem,3.2vw,2.4rem); color: var(--cream-text); margin-bottom: .7rem; }
.footer__cta-sub { color: var(--cream-dim); margin: 0 auto 1.5rem; max-width: min(44ch, 100%); font-size: 1rem; }
.footer__cta .footer__signup { margin-top: 0; }
.footer__cta .footer__signup-row { max-width: min(27rem, 100%); margin-inline: auto; }
.footer__top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
.footer__brand { max-width: 32rem; }
.footer__brandline { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem,2.6vw,1.9rem); color: var(--cream-text); max-width: none; width: 100%; margin-inline: auto; }
.footer__signup { margin-top: 1.7rem; }
.footer__signup-label { display: block; font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--cream-text); margin-bottom: .65rem; }
.footer__signup-row { display: flex; gap: .5rem; max-width: 23rem; }
.footer__signup-row input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(243,234,217,.3); border-radius: 2px; color: #fff; padding: .72em .9em; font-size: .9rem; }
.footer__signup-row input::placeholder { color: rgba(243,234,217,.5); }
.footer__signup-row input:focus { outline: none; border-color: var(--gold); }
.footer__signup-row .btn { padding: .72em 1.25em; font-size: .72rem; }
.footer__nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer__nav a { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.footer__nav a:hover { opacity: 1; color: var(--cream-text); }
.footer__legal { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(243,234,217,.12); }
.footer__legal a { font-size: .78rem; letter-spacing: .05em; opacity: .8; }
.footer__legal a:hover { opacity: 1; color: var(--cream-text); }
.footer__bottom { margin-top: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; }
.footer__bottom a { color: var(--cream-text); }

/* ========================================================
   LIGHTBOX
   ======================================================== */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,19,16,.92); display: none; align-items: center; justify-content: center; padding: 5vh 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox.has-more img { cursor: pointer; }
.lightbox__hint { display: none; position: absolute; bottom: 1.3rem; left: 0; right: 0; text-align: center; color: rgba(243,234,217,.85); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.lightbox.has-more .lightbox__hint { display: block; }
.lightbox__close { position: absolute; top: 1.4rem; right: 1.8rem; color: #fff; font-size: 2rem; background: none; border: 0; line-height: 1; }

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 900px) {
  .nav__links { display: none; position: fixed; inset: 0 0 auto 0; flex-direction: column; gap: 0; background: var(--ink); padding: 5.2rem var(--gutter) 2rem; }
  .nav__links.open { display: flex; }
  .nav__links a { color: var(--cream-text); padding: 1rem 0; border-bottom: 1px solid rgba(243,234,217,.12); width: 100%; font-size: .95rem; }
  /* keep mobile dropdown links visible on light/solid interior navs (dropdown is dark) */
  .nav.nav--light .nav__links a, .nav.is-solid .nav__links a { color: var(--cream-text); }
  .nav__toggle { display: block; z-index: 60; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { order: -1; padding: 5.8rem var(--gutter) 0; }
  .hero__frame { max-height: none; max-width: min(78%, 340px); padding: 10px; }
  .hero__frame img { max-height: none; width: 100%; }
  .hero__content { padding: 2.5rem var(--gutter) 3.5rem; }
  .hero__content h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero__sub { max-width: none; }
  .signup { max-width: none; }

  .grid-prints { grid-template-columns: repeat(2, 1fr); }
  .tile-soon { grid-column: span 2; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 26rem; order: -1; margin-inline: auto; }
  .footer__top { flex-direction: column; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .grid-prints { grid-template-columns: 1fr; }
  .tile-soon { grid-template-columns: 1fr; grid-column: auto; }
  .tile-soon__img { aspect-ratio: 4/3; }
  .hero__frame { max-width: min(82%, 300px); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
