/* ============================================================
   Woolly Emily — single-page static site
   Design tokens (from design handoff, kept verbatim in oklch)
   ============================================================ */

:root {
  --bg: oklch(0.965 0.014 78);
  --band: oklch(0.945 0.018 78);
  --input-bg: oklch(0.985 0.008 78);
  --ink: oklch(0.29 0.02 60);
  --body: oklch(0.4 0.02 60);
  --muted: oklch(0.47 0.02 60);
  --accent: oklch(0.55 0.09 42);
  --accent-hover: oklch(0.46 0.09 42);
  --sage: oklch(0.9 0.035 150);
  --border: oklch(0.9 0.02 70);
  --border-strong: oklch(0.82 0.02 70);
  --radius-sm: 3px;
  --radius: 4px;
  --radius-lg: 6px;
  --radius-pill: 999px;
  --serif: "Newsreader", Georgia, serif;
  --sans: Karla, system-ui, sans-serif;
  --container: 1180px;
  --pad-x: clamp(18px, 4vw, 40px);
  --section-y: clamp(50px, 7vw, 96px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: oklch(0.42 0.08 42); }

input, textarea, button { font: inherit; color: inherit; }

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

/* Every photo scales proportionally inside its bounding box:
   never stretched, never cropped, never taller than the cap. */
.fit-box {
  width: auto;
  height: auto;
  max-width: 100%;
  justify-self: center;
  margin-inline: auto;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- shared ---------- */

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
}

.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--band);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 46px);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.pill {
  display: inline-block;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  letter-spacing: 0.02em;
}

.pill-solid {
  background: var(--accent);
  color: oklch(0.98 0.01 80);
}
.pill-solid:hover { background: var(--accent-hover); color: oklch(0.98 0.01 80); }

.pill-outline {
  border: 1px solid oklch(0.78 0.02 70);
  color: oklch(0.32 0.02 60);
}
.pill-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: oklch(0.965 0.014 78 / 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid oklch(0.88 0.02 70);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  font-size: 15px;
}

.site-nav > a:not(.pill) {
  color: oklch(0.38 0.02 60);
  text-decoration: none;
}
.site-nav > a:not(.pill):hover { color: var(--accent); }

.site-nav .pill { padding: 9px 18px; font-size: 14px; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-top: clamp(36px, 6vw, 84px);
  padding-bottom: clamp(30px, 5vw, 60px);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.06;
  margin: 0 0 22px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero-body {
  margin: 0 0 30px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  max-width: 46ch;
  color: var(--body);
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-note { margin: 26px 0 0; font-size: 14.5px; color: oklch(0.5 0.02 60); }

.hero-media {
  position: relative;
  width: fit-content;
  margin-inline: auto;
}

.hero-sage {
  position: absolute;
  inset: 14px -14px -14px 14px;
  border-radius: var(--radius-lg);
  background: var(--sage);
}

.hero-media img {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--radius-lg);
}

/* ---------- fact strip ---------- */

.fact-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 34px) var(--pad-x);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px 40px;
  font-size: 15.5px;
  color: oklch(0.42 0.02 60);
}

.fact-grid strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  display: block;
}

/* ---------- gallery ---------- */

#gallery { padding-bottom: clamp(30px, 4vw, 50px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section-side {
  margin: 0;
  max-width: 34ch;
  font-size: 15.5px;
  color: oklch(0.47 0.02 60);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2.4vw, 34px);
  align-items: start;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  justify-self: center;
  border-radius: var(--radius);
}

/* portrait tiles capped narrower so no tile exceeds ~390px tall */
.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(4),
.gallery-grid img:nth-child(5),
.gallery-grid img:nth-child(6) { max-width: 300px; }

/* staggered offset (design intent) — every other tile drops down */
.gallery-grid img:nth-child(2n) { margin-top: clamp(0px, 3vw, 44px); }

.gallery-foot {
  margin: clamp(24px, 3vw, 36px) 0 0;
  font-size: 15.5px;
  color: oklch(0.47 0.02 60);
}

/* ---------- pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(20px, 3vw, 40px);
}

.styles { display: grid; gap: 18px; margin-bottom: 26px; }

.styles h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 4px;
}

.styles p {
  margin: 0;
  font-size: 15.5px;
  color: oklch(0.44 0.02 60);
}

.price-list { display: grid; border-top: 1px solid oklch(0.85 0.02 70); }

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid oklch(0.88 0.02 70);
  padding: 14px 0;
}

.price-row > span:first-child {
  font-size: 15.5px;
  max-width: 40ch;
  color: oklch(0.34 0.02 60);
}

.price {
  font-family: var(--serif);
  font-size: 19px;
  white-space: nowrap;
}

.price-ship {
  font-family: var(--sans);
  font-size: 13px;
  color: oklch(0.52 0.02 60);
}

.price-note { margin: 18px 0 0; font-size: 14.5px; color: oklch(0.5 0.02 60); }

.pricing-img {
  width: 100%;
  max-width: 330px;
  height: auto;
  justify-self: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ---------- process ---------- */

#process .eyebrow { margin-top: 0; }
#process > h2 { margin: 0 0 clamp(28px, 4vw, 48px); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.step {
  border-top: 1px solid oklch(0.82 0.02 70);
  padding-top: 16px;
}

.step-n {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 23px;
  margin: 8px 0 10px;
}

.step p {
  margin: 0;
  font-size: 15.5px;
  color: oklch(0.44 0.02 60);
  text-wrap: pretty;
}

.photo-guide {
  margin-top: clamp(30px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.photo-guide h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 0 0 12px;
}

.guide-intro {
  margin: 0;
  font-size: 16px;
  color: oklch(0.42 0.02 60);
  max-width: 44ch;
  text-wrap: pretty;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.guide-card {
  background: var(--band);
  border: 1px solid oklch(0.89 0.02 70);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2vw, 26px);
  display: grid;
  justify-items: start;
  gap: 14px;
}

.guide-card svg {
  width: 64px;
  height: 64px;
}

.guide-card h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.3;
  margin: 0;
  max-width: 22ch;
}

/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.about-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  justify-self: center;
  border-radius: var(--radius);
}

.about-p {
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--body);
  max-width: 52ch;
  text-wrap: pretty;
}
.about-p:last-child { margin-bottom: 0; }

/* ---------- faq ---------- */

.faq { border-bottom: none; }

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
}

.faq-inner h2 { margin: 0 0 clamp(24px, 3vw, 40px); }

.faq-row { border-top: 1px solid oklch(0.85 0.02 70); padding: 20px 0; }
.faq-row:last-child { border-bottom: 1px solid oklch(0.85 0.02 70); }

.faq-q {
  all: unset;
  cursor: pointer;
  display: flex;
  width: 100%;
  gap: 20px;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 23px);
  color: var(--ink);
}

.faq-sign {
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
  flex: none;
}

.faq-a {
  margin: 12px 0 0;
  font-size: 16.5px;
  color: oklch(0.42 0.02 60);
  max-width: 62ch;
  text-wrap: pretty;
}

.faq-a[hidden] { display: none; }

/* ---------- instagram ---------- */

.ig { border-top: 1px solid var(--border); }

.ig-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 70px) var(--pad-x);
}

.ig-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.ig-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
}

.ig-head a { font-size: 15px; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.ig-grid img {
  width: 100%;
  max-width: 300px;
  height: auto;
  justify-self: center;
  margin-inline: auto;
  border-radius: var(--radius-sm);
}

/* ---------- enquire ---------- */

.enquire {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(30px, 4vw, 64px);
}

.enquire-intro {
  margin: 0 0 26px;
  font-size: 17px;
  color: oklch(0.42 0.02 60);
  max-width: 44ch;
  text-wrap: pretty;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
}

.contact-btn {
  text-decoration: none;
  color: oklch(0.32 0.02 60);
  border: 1px solid oklch(0.82 0.02 70);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.contact-btn:hover { border-color: var(--accent); color: var(--accent); }

.form-card {
  background: var(--band);
  border: 1px solid oklch(0.89 0.02 70);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
}

.enquiry-form { display: grid; gap: 16px; }

/* `hidden` must win over the display rules above */
.enquiry-form[hidden],
.form-success[hidden] { display: none; }

.enquiry-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: oklch(0.42 0.02 60);
}

.enquiry-form input,
.enquiry-form textarea {
  border: 1px solid oklch(0.84 0.02 70);
  background: var(--input-bg);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus { border-color: var(--accent); }

.enquiry-form textarea { resize: vertical; }

.form-helper { margin: 0; font-size: 13.5px; color: oklch(0.52 0.02 60); }

/* honeypot — hidden from people, visible to bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0;
  font-size: 14.5px;
  color: var(--accent-hover);
  text-wrap: pretty;
}

.form-error[hidden] { display: none; }

.pill-submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.pill-submit {
  border: none;
  cursor: pointer;
  justify-self: start;
}

.form-success {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.form-success h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin: 0;
}

.form-success p {
  margin: 0;
  font-size: 16.5px;
  color: oklch(0.42 0.02 60);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--band);
}

.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 34px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  justify-content: space-between;
  align-items: center;
  font-size: 14.5px;
  color: oklch(0.5 0.02 60);
}

.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { text-decoration: none; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
