/* ==========================================================
   Sara Baurley Photo — site styles
   ========================================================== */

:root {
  --bg: #f8f4ee;
  --surface: #fffdf9;
  --alt: #efe7db;
  --ink: #1d1b19;
  --muted: #625a51;
  --line: #ddd2c3;
  --accent: #8a5a30;
  --accent-strong: #6f4624;
  --accent-ink: #fffaf2;
  --accent-soft: #d6a468;
  --dark: #1f1b18;
  --dark-ink: #f3ece1;
  --dark-muted: #bfb4a5;
  --dark-line: #3a342f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 27, 25, .06), 0 16px 40px rgba(29, 27, 25, .12);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2.15rem, 4.6vw, 3.5rem); }
h3 { font-size: 1.6rem; line-height: 1.15; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.band :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-soft); }
section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }

.wrap { width: min(100% - 2rem, 1160px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 238, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--bg); font: 600 .95rem var(--serif); letter-spacing: .04em;
}
.brand-name { font: 600 1.45rem/1 var(--serif); letter-spacing: .01em; }
.brand-name em { font-weight: 500; color: var(--accent); }

.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
}
.bars, .bars::before, .bars::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  content: ""; transition: transform .25s ease, background .25s ease;
}
.bars { position: relative; }
.bars::before { position: absolute; top: -6px; }
.bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; gap: .15rem;
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem 1rem 1.5rem;
}
.nav.open { display: flex; }
.nav a { padding: .75rem .25rem; text-decoration: none; font-weight: 500; }
.nav .btn { margin-top: .6rem; align-self: flex-start; padding: .7rem 1.3rem; }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 1.9rem; padding: 0; border: 0; background: none; }
  .nav a { padding: 0; }
  .nav a:not(.btn):hover { color: var(--accent); }
  .nav .btn { margin: 0; padding: .6rem 1.2rem; font-size: .98rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink);
  font: 500 1rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-block { width: 100%; }

/* ---------- Shared type ---------- */
.eyebrow { font: 500 .8rem/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.1rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 38em; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-alt { background: var(--alt); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head .lede { margin: 1rem 0 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0; translate: 0 16px;
  transition: opacity .7s ease, translate .7s ease, box-shadow .25s ease, border-color .25s ease;
}
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; filter: blur(14px);
  background:
    radial-gradient(circle at 78% 18%, rgba(214, 164, 104, .34) 0 70px, transparent 71px),
    radial-gradient(circle at 94% 56%, rgba(214, 164, 104, .22) 0 110px, transparent 111px),
    radial-gradient(circle at 60% 88%, rgba(138, 90, 48, .14) 0 56px, transparent 57px),
    radial-gradient(circle at 6% 80%, rgba(214, 164, 104, .20) 0 90px, transparent 91px);
}
.hero-grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.hero .lede { margin: 1.4rem 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.points { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: var(--muted); font-size: .98rem; }
.points li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft); margin-right: .6rem; vertical-align: middle; }

.hero-art { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.08; margin-inline: auto; }
.print {
  position: absolute; margin: 0; width: 54%;
  background: var(--surface); padding: 10px 10px 40px; border-radius: 6px; box-shadow: var(--shadow);
}
.print svg { width: 100%; height: auto; border-radius: 2px; }
.print figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: italic 500 1.05rem var(--serif); color: var(--muted); }
.print-1 { left: 0; top: 6%; transform: rotate(-6deg); }
.print-1 figcaption { text-align: left; padding-left: 16px; }
.print-2 { right: 0; top: 0; transform: rotate(5deg); z-index: 2; }
.print-2 figcaption { text-align: right; padding-right: 16px; }
.print-3 { left: 27%; bottom: 0; transform: rotate(-1.5deg); z-index: 3; }
@media (max-width: 959px) {
  .print-3 { left: 20%; }
  .print-1 figcaption { padding-left: 10px; }
}

/* ---------- Services ---------- */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: .7rem;
}
.card:hover { border-color: var(--accent-soft); box-shadow: var(--shadow); }
.card .num { font: italic 500 1.5rem var(--serif); color: var(--accent); }
.card p { color: var(--muted); margin: 0; }
.card .more { margin-top: auto; padding-top: .9rem; align-self: flex-start; font-weight: 500; color: var(--accent-strong); text-decoration: none; border-bottom: 1px solid currentColor; }
.note { margin: 2rem 0 0; color: var(--muted); }
.note a { color: var(--accent-strong); }

/* ---------- Gallery ---------- */
.gallery { columns: 3 260px; column-gap: 14px; }
.shot { margin: 0 0 14px; break-inside: avoid; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: var(--alt); cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.shot img { width: 100%; height: auto; transition: transform .5s ease; }
.shot button:hover img { transform: scale(1.03); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(15, 12, 10, .9); }
.lb-inner {
  position: relative; width: 100%; height: 100%; display: grid; place-items: center;
  grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
  padding: 3.5rem 3.5rem 4.5rem;
}
.lb-inner img { max-width: 100%; max-height: calc(100vh - 8rem); max-height: calc(100dvh - 8rem); object-fit: contain; border-radius: 4px; }
@media (max-width: 600px) { .lb-inner { padding: 4rem .75rem 4.5rem; } }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 1.25rem; margin: 0; text-align: center; color: #e9dfd0; font-size: .95rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .35); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

/* ---------- Process (dark band) ---------- */
.band { background: var(--dark); color: var(--dark-ink); }
.band .eyebrow { color: var(--accent-soft); }
.band .lede { color: var(--dark-muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.steps li { border-top: 1px solid var(--dark-line); padding-top: 1.4rem; }
.steps .n { display: block; font: italic 500 2.3rem/1 var(--serif); color: var(--accent-soft); margin-bottom: .6rem; }
.steps h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.steps p { color: var(--dark-muted); margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } }
.pull { font: italic 500 clamp(1.75rem, 3.3vw, 2.6rem)/1.25 var(--serif); color: var(--ink); margin: 0; }
.about-grid h2 { margin-bottom: 1.2rem; }
.facts { margin: 1.75rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts span:first-child { color: var(--muted); }
.facts span:last-child { text-align: right; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 4.5rem; align-items: start; } }
.contact-grid h2 { margin-bottom: 1rem; }
.tips { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; color: var(--muted); }
.tips li { padding-left: 1.4rem; position: relative; }
.tips li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); }
.contact-list { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.contact-list li > :first-child { min-width: 5.5rem; color: var(--muted); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 500; font-size: .95rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: inherit; background: #fff;
  border: 1px solid #9a8d7c; border-radius: 10px; padding: .8rem .9rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field ::placeholder { color: #7d746a; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin: 0; color: #9b2c1f; font-weight: 500; }
.form-status:not(:empty) { margin-top: .9rem; }
.fine { margin: .9rem 0 0; font-size: .9rem; color: var(--muted); }
.fine a { color: var(--accent-strong); }
.form-done { text-align: center; padding: 2.5rem 1rem; }
.form-done h3 { font-size: 2.2rem; margin-bottom: .6rem; }
.form-done p { color: var(--muted); margin: 0; }
.form-done:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-ink); padding: 3.5rem 0 2rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand { font: 600 1.7rem/1.1 var(--serif); margin: 0 0 .5rem; }
.foot-brand em { font-weight: 500; color: var(--accent-soft); }
.foot-note { color: var(--dark-muted); margin: 0; max-width: 24rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { text-decoration: none; color: var(--dark-ink); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  border-top: 1px solid var(--dark-line); margin-top: 2.5rem; padding-top: 1.25rem;
  color: var(--dark-muted); font-size: .9rem;
}

/* ---------- Inner pages (privacy, terms, thanks, 404) ---------- */
.page-head { width: min(100% - 2rem, 760px); padding: clamp(3rem, 7vw, 5rem) 0 1.5rem; }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.page-head .meta { color: var(--muted); margin: .8rem 0 0; }
.prose { width: min(100% - 2rem, 760px); margin: 0 auto; padding-bottom: clamp(3rem, 7vw, 5rem); }
.prose h2 { font-size: 1.9rem; margin: 2.2rem 0 .6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--accent-strong); }
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 4rem 1rem; }
.center-page .lede { margin: 1.2rem auto 2rem; }
