:root {
  --ink: #1a1a1a;
  --paper: #faf8f4;
  --muted: #6a6863;
  --rule: #d8d3c8;
  --accent: #c9461f; /* pyrrole orange, used sparingly */
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s ease, color 0.2s ease;
}
a:hover { border-color: var(--accent); color: var(--accent); }

/* ----- Header / Nav ----- */
.site-header {
  padding: 0.25rem 2rem;
  border-bottom: 1px solid var(--rule);
}
.site-header .inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: none;
  display: inline-flex;
  align-items: center;
}
.brand:hover { color: var(--ink); }
.brand img {
  height: 68px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}
@media (max-width: 600px) {
  .brand img { height: 50px; }
}

.nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a { border: none; color: var(--muted); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent); }
.nav a.active { color: var(--ink); font-weight: 500; border-bottom-color: var(--ink); }

/* ----- Layout ----- */
main { max-width: 1280px; margin: 0 auto; padding: 1rem 2rem 2rem; }
.prose { max-width: 38rem; margin: 0 auto; }
.prose p { margin: 0 0 1.25em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); margin: 0 0 0.7em; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}

/* ----- Hero (home) ----- */
.hero {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem 1.5rem;
}
.hero .name {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}
.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--muted);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}
.hero .enter {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.hero .enter:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* Split hero: text left, image right (above the fold) */
.hero.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3rem;
  text-align: left;
  place-items: stretch;
  min-height: 82vh;
  padding: 0.5rem 1rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}
.hero.hero-split .name {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}
.hero.hero-split .tagline {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}
.hero.hero-split .hero-image img {
  max-height: 86vh;
}
.hero.hero-split .hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
}
.hero.hero-split .hero-text .tagline {
  margin-left: 0;
  margin-right: 0;
}
.hero.hero-split .hero-image {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero.hero-split .hero-image img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero.hero-split .hero-image-caption {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 820px) {
  .hero.hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding: 2.5rem 1.25rem;
    gap: 2rem;
  }
  .hero.hero-split .hero-text .tagline { margin: 0 auto 2rem; }
  .hero.hero-split .hero-image img { max-height: 60vh; }
}

/* ----- Series index (home) ----- */
.series-index { margin-top: 5rem; }

.section-head {
  border-top: 1px solid var(--rule);
  padding-top: 2.25rem;
  margin-bottom: 1.75rem;
}
.section-head .eyebrow { margin: 0; }
.section-head.earlier { margin-top: 4rem; }

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem 2.5rem;
}
.series-grid a {
  border: none;
  display: block;
}
.series-grid .label {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 0 0 0.25rem;
}
.series-grid .desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}
/* Earlier work grid is visually quieter */
.series-grid.earlier .label {
  font-size: 1.15rem;
  color: var(--muted);
}
.series-grid.earlier .desc {
  font-size: 0.86rem;
}
.series-grid.earlier a:hover .label { color: var(--accent); }

/* ----- Availability line (home) ----- */
.availability {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
}
.availability a { color: var(--ink); border-bottom-color: var(--ink); }

/* ----- Work grid ----- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 3rem 2rem;
}
.work {
  display: block;
  border: none;
}
.work .plate {
  background: #ece8de;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
}
.work .plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work .meta {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.work .meta .title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
}
.work .meta .sub {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Variant: portrait orientation hint for irregular sizes */
.work.landscape .plate { aspect-ratio: 5 / 4; }
.work.tall .plate { aspect-ratio: 2 / 5; }

/* ----- Series page ----- */
.series-intro {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.series-intro .eyebrow { margin-bottom: 0.5rem; }
.series-intro h1 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.5rem; }

/* ----- Series hub page ----- */
.series-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 3.5rem 2.5rem;
}
.series-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.series-card .thumb {
  display: block;
  border: none;
  margin-bottom: 1.25rem;
}
.series-card .thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  background: #ece8de;
}
.series-card .body h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin: 0 0 0.75rem;
}
.series-card .body h2 a {
  border: none;
  color: var(--ink);
}
.series-card .body h2 a:hover { color: var(--accent); }
.series-card .body p {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.series-card .body p:last-child {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.series-detail.earlier .series-card .body h2 {
  color: var(--muted);
}
@media (max-width: 720px) {
  .series-detail { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ----- Portrait (about page) ----- */
.portrait {
  margin: 0 0 3rem;
  text-align: center;
}
.portrait img {
  width: 100%;
  max-width: 28rem;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 2px;
}
.portrait figcaption {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* About intro: portrait + heading/lede/quote side by side */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 60rem;
  margin: 0 auto 1rem;
}
.portrait-small { margin: 0; }
.portrait-small img { max-width: 20rem; }
.about-intro-text { padding-right: 0.5rem; }
@media (max-width: 720px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .portrait-small img { max-width: 16rem; }
  .about-intro-text blockquote { text-align: center !important; }
}

/* ----- CV link ----- */
.cv-link {
  margin-top: 2rem;
  font-size: 0.95rem;
}
.cv-link a {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  color: var(--ink);
}
.cv-link a:hover { color: var(--accent); border-color: var(--accent); }

/* ----- In Spaces ----- */
.spaces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 3.5rem 2.5rem;
}
.space {
  margin: 0;
}
.space img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  background: #ece8de;
}
.space figcaption {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 600px) {
  .spaces { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ----- Pull quote ----- */
.pull-quote {
  margin: 0 0 3.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.pull-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
.pull-quote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Section eyebrows inside prose */
.section-eyebrow {
  margin-top: 3.5rem !important;
}

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.site-footer .inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer a { color: var(--muted); border: none; }
.site-footer a:hover { color: var(--accent); }

.ig-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  vertical-align: middle;
}
.ig-icon svg {
  width: 1.1em;
  height: 1.1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* ----- Featured (home page) ----- */
.feature {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.feature .image img {
  width: 100%;
  height: auto;
  display: block;
  background: #ece8de;
}
.feature .text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}
.feature .text p { line-height: 1.65; margin: 0 0 1.25em; }
.feature .text .enter {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  color: var(--ink);
}
.feature .text .enter:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; gap: 2rem; }
}

/* ----- Upcoming list ----- */
.upcoming {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
}
.upcoming-list { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.upcoming-item {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.upcoming-item .when {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
}
.upcoming-item .what {
  font-family: var(--serif);
  font-size: 1.25rem;
}
.upcoming-item .where {
  display: block;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
@media (max-width: 600px) {
  .upcoming-item { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ----- Contact layout (portrait left, form main) ----- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2.2fr;
  gap: 3rem;
  align-items: start;
  max-width: 64rem;
  margin: 0 auto;
}
.contact-portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.contact-main { min-width: 0; }
@media (max-width: 720px) {
  .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-portrait img { max-width: 14rem; margin: 0 auto; }
}

/* ----- Contact form ----- */
.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 32rem;
  margin: 3rem auto 0;
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
}
.contact-form label > span {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-family: var(--sans);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form button {
  font: inherit;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 0.95rem 2rem;
  cursor: pointer;
  margin-top: 0.5rem;
  justify-self: start;
  transition: background-color 0.2s ease;
}
.contact-form button:hover { background: var(--accent); }
.contact-form .form-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin: 0.5rem 0 0;
}

/* ----- Studio gallery (about page) ----- */
.studio-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2.5rem 0;
}
.studio-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.photo-credit {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

/* ----- Lightbox ----- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox-overlay.open {
  display: flex;
  animation: lb-fade 0.2s ease;
}
@keyframes lb-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-overlay .lb-image {
  max-width: min(96vw, 1800px);
  max-height: 84vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}
.lightbox-overlay .lb-caption {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ece8de;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  text-align: center;
  max-width: 60vw;
  pointer-events: none;
}
.lightbox-overlay .lb-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: #ece8de;
  font-size: 2.25rem;
  cursor: pointer;
  border: none;
  background: transparent;
  line-height: 1;
  padding: 0.25rem 0.6rem;
}
.lightbox-overlay .lb-close:hover { color: var(--accent); }
.lightbox-overlay .lb-inquire {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  color: #ece8de;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid #ece8de;
  padding-bottom: 2px;
  text-decoration: none;
}
.lightbox-overlay .lb-inquire:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 600px) {
  .lightbox-overlay .lb-caption { font-size: 0.92rem; max-width: 90vw; }
  .lightbox-overlay .lb-inquire { right: 1rem; font-size: 0.7rem; }
}

/* ----- Mobile ----- */

/* Tablet & below — moderate squeeze */
@media (max-width: 820px) {
  .site-header { padding: 0.4rem 1.25rem; }
  main { padding: 1rem 1.25rem 2rem; }
  .site-footer { padding: 1.25rem 1.25rem; }
}

/* Phone — stack header, larger tap targets, full-width primaries */
@media (max-width: 600px) {
  /* Header: stack brand on top, nav centered below */
  .site-header {
    padding: 0.5rem 1rem 0.35rem;
  }
  .site-header .inner {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }
  .brand img { height: 50px; }

  /* Nav — centered, wrapping, with comfortable tap targets */
  .nav {
    justify-content: center;
    gap: 0.5rem 1.1rem;
    font-size: 0.78rem;
    width: 100%;
    flex-wrap: wrap;
    row-gap: 0.25rem;
  }
  .nav a {
    padding: 0.45rem 0.25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Main — tighter horizontal padding so content uses screen width */
  main { padding: 1rem 1rem 1.5rem; }

  /* Headings — reduce dead space */
  h1 { font-size: clamp(1.85rem, 7vw, 2.4rem); margin: 0 0 0.5em; }
  h2 { font-size: clamp(1.4rem, 5.5vw, 1.9rem); margin: 0 0 0.55em; }

  /* Hero — tighter on phones */
  .hero { min-height: auto; padding: 2rem 1rem 1.5rem; }
  .hero.hero-split {
    padding: 1.25rem 0.75rem 1.5rem;
    gap: 1.5rem;
  }
  .hero.hero-split .hero-text { padding: 0; }
  .hero.hero-split .name {
    font-size: clamp(2.1rem, 8vw, 2.6rem);
  }
  .hero.hero-split .tagline {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }
  .hero.hero-split .hero-image img { max-height: 50vh; }
  .hero.hero-split .hero-image-caption { font-size: 0.85rem; }

  /* Series & work grids — let tiles stretch full width */
  .series-grid { gap: 1.75rem 1.5rem; }
  .series-grid .label { font-size: 1.2rem; }
  .work-grid { gap: 2rem 1.5rem; }

  /* Feature/in-studio sections — stack and remove side gaps */
  .feature { gap: 1.5rem; padding: 2rem 0; }

  /* Contact — stack, larger tap targets, full-width submit */
  .contact-layout { gap: 1.5rem; }
  .contact-portrait img { max-width: 12rem; }
  .contact-form { margin-top: 1.5rem; gap: 1rem; max-width: 100%; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* prevents iOS auto-zoom on focus */
    padding: 0.85rem 0.9rem;
  }
  .contact-form button {
    width: 100%;
    justify-self: stretch;
    padding: 1.05rem 1rem;
    font-size: 0.9rem;
  }

  /* Section spacing — pull next-up sections in closer */
  .series-index { margin-top: 3rem; }
  .availability { margin-top: 3rem; padding-top: 2rem; font-size: 1.05rem; }

  /* Footer — stack centered */
  .site-footer {
    padding: 1.25rem 1rem;
    text-align: center;
  }
  .site-footer .inner {
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
  }

  /* Lightbox close button — bigger tap area */
  .lightbox-overlay .lb-close {
    font-size: 2.5rem;
    padding: 0.5rem 0.9rem;
  }
}

/* Very small phones (≤375px iPhone SE width) — final tightening */
@media (max-width: 380px) {
  .nav { gap: 0.35rem 0.8rem; font-size: 0.72rem; }
  .brand img { height: 44px; }
  h1 { font-size: 1.7rem; }
  .hero.hero-split .name { font-size: 1.9rem; }
}
