/* ==========================================================================
   Paintashi — site styles
   Palette is pulled from the sculptures themselves: lily-pad green (frog),
   cobalt (crocodile's water base), sienna (monkey), on warm paper.
   ========================================================================== */

:root {
  color-scheme: light;

  /* colour */
  --paper: #fbf8f2;
  --paper-2: #f2ece0;
  --paper-3: #ffffff;
  --ink: #1b2a33;
  --ink-soft: #566970;
  --leaf: #43903a;
  --leaf-deep: #2c6524;
  --cobalt: #1f5fc4;
  --sienna: #b4561f;
  --line: #e3dbcb;
  --line-soft: #efe8da;

  /* type */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* space */
  --band-y: clamp(64px, 9vw, 116px);
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(27, 42, 51, .06), 0 4px 14px rgba(27, 42, 51, .05);
  --shadow-md: 0 2px 6px rgba(27, 42, 51, .07), 0 18px 44px rgba(27, 42, 51, .10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--cobalt); }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap-narrow { max-width: 760px; }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  margin: 0 0 14px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--leaf-deep);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 26px;
  border: 1px solid var(--leaf-deep);
  border-radius: 999px;
  transition: background-color .18s ease, transform .18s ease;
  cursor: pointer;
}
.btn:hover { background: #245420; border-color: #245420; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--paper-3); border-color: var(--ink-soft); }

.btn-small { padding: 9px 18px; font-size: .92rem; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

.text-link {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, .88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.wordmark {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]:not(.btn) {
  text-decoration: underline;
  text-decoration-color: var(--leaf);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.site-nav a.btn { color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 19px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before { content: ''; top: -6px; }
.nav-toggle-bars::after { content: ''; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

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

.hero {
  padding: clamp(40px, 6vw, 76px) 0 clamp(20px, 3vw, 40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.75rem);
  letter-spacing: -.015em;
  margin-bottom: 22px;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  color: var(--ink-soft);
}
.hero-facts strong {
  display: block;
  font-family: var(--display);
  font-variation-settings: 'SOFT' 30, 'WONK' 0;
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.hero-figure figcaption,
.card figcaption p,
.sizes-note {
  font-size: .9rem;
  color: var(--ink-soft);
}
.hero-figure figcaption {
  margin-top: 14px;
  max-width: 42ch;
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  padding: clamp(44px, 7vw, 88px) 0 clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(110% 140% at 0% 0%, #eef5ea 0%, var(--paper) 58%);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.3rem);
  letter-spacing: -.015em;
  margin-bottom: 16px;
}
.page-hero .lede { margin-bottom: 0; max-width: 58ch; }

/* ---------- bands ---------- */

.band { padding: var(--band-y) 0; }
.band-tight { padding: clamp(44px, 6vw, 72px) 0; }
.band-alt { background: var(--paper-2); }

.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 60ch; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -.012em;
}
.section-lede {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}
.section-foot {
  margin: clamp(28px, 4vw, 40px) 0 0;
}

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

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  margin: 0;
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; }
.card figcaption { padding: 20px 22px 24px; }
.card h3 {
  font-size: 1.22rem;
  margin-bottom: 7px;
}
.card figcaption p { margin: 0; }

.card-cta {
  justify-content: center;
  align-items: flex-start;
  padding: 32px 28px;
  background: var(--ink);
  color: #cfdade;
  border-color: var(--ink);
}
.card-cta h3 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.card-cta p { margin: 0 0 22px; }

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

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.steps li {
  padding-top: 22px;
  border-top: 2px solid var(--line);
}
.step-num {
  display: block;
  font-family: var(--display);
  font-variation-settings: 'SOFT' 20, 'WONK' 1;
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--sienna);
  margin-bottom: 12px;
}
.steps h3 { font-size: 1.16rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

.steps-long { grid-template-columns: 1fr; gap: 0; max-width: 760px; }
.steps-long li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.steps-long .step-num { grid-row: span 2; margin: 0; font-size: 2.2rem; }
.steps-long p + p { margin-top: 10px; }

/* ---------- sizes / products ---------- */

.sizes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.size-card {
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

/* proportional bar: height encodes the real ratio between 3", 5", 7", 10" */
.size-bar {
  height: 104px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--line);
}
.size-bar span {
  display: block;
  width: 34px;
  background: var(--leaf);
  border-radius: 6px 6px 0 0;
}
.h-30 span { height: 30%; }
.h-50 span { height: 50%; }
.h-70 span { height: 70%; }
.h-100 span { height: 100%; }

.size-card h3 { font-size: 1.28rem; margin-bottom: 7px; }
.size-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.product-card .price,
.panel .price {
  margin: 16px 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--display);
  font-variation-settings: 'SOFT' 30, 'WONK' 0;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
}
.product-card .price small,
.panel .price small {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: .82rem;
  color: var(--ink-soft);
}
.product-card .btn { margin-top: auto; }
.product-card.is-featured { border-color: var(--leaf); box-shadow: 0 0 0 1px var(--leaf), var(--shadow-sm); }
.product-card { position: relative; }
.badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  background: #e6f1e2;
  border-radius: 999px;
  padding: 3px 10px;
}

.sizes-note {
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.sizes-note a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- two-column info blocks ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.split h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 16px; }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line-soft);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 4px; top: 17px;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--leaf);
  border-bottom: 2.5px solid var(--leaf);
  transform: rotate(-45deg);
}

.panel {
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}
.panel h2, .panel h3 { margin-bottom: 12px; }
.panel h3 { font-size: 1.25rem; }
.panel p { color: var(--ink-soft); }
.panel p:last-child { margin-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ---------- about (dark band) ---------- */

.band-ink {
  background: var(--ink);
  color: #e9eef0;
}
.band-ink .eyebrow { color: #8fd07f; }
.band-ink h2 { color: #fff; }
.band-ink a:not(.btn) { color: #9fc3ff; }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 20px; }
.about-copy p { color: #cfdade; max-width: 54ch; }
.about-sign {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 50, 'WONK' 1;
  font-size: 1.1rem;
  color: #fff !important;
  margin-top: 26px;
}
.prose .about-sign { color: var(--ink) !important; }
.about-figure { margin: 0; }
.about-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

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

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--display);
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: 0 0 auto;
  width: 13px; height: 13px;
  border-right: 2px solid var(--leaf-deep);
  border-bottom: 2px solid var(--leaf-deep);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-3px, -3px);
}
.faq details p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  max-width: 68ch;
}
.faq details p:first-of-type { margin-top: -4px; }
.faq-group + .faq-group { margin-top: clamp(36px, 5vw, 56px); }
.faq-group > h2 { font-size: 1.5rem; margin-bottom: 14px; }

/* ---------- long-form text (policies) ---------- */

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.55rem; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: #33454e; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .updated { font-size: .9rem; color: var(--ink-soft); }

/* ---------- cta ---------- */

.cta {
  padding: var(--band-y) 0;
  background:
    radial-gradient(120% 130% at 50% 0%, #eef5ea 0%, var(--paper) 62%);
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 16px;
}
.cta-inner > p {
  color: var(--ink-soft);
  margin: 0 auto 28px;
  max-width: 52ch;
}
.cta-sub {
  font-size: .93rem;
  margin-top: 26px !important;
  margin-bottom: 0 !important;
}

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

.site-footer {
  background: var(--ink);
  color: #b9c7cd;
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-mark {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 10px;
}
.footer-fine { margin: 0; font-size: .88rem; max-width: 44ch; }
.footer-col h2 {
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #8fd07f;
  margin: 0 0 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #dbe4e7; text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- 404 ---------- */

.notfound { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.notfound h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 16px; }
.notfound p { color: var(--ink-soft); margin: 0 auto 28px; max-width: 46ch; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 30px; }
  .steps-long { grid-template-columns: 1fr; gap: 0; }
  .sizes { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 520px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 460px; }
  .split { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.02rem;
  }
  .site-nav a.btn {
    margin-top: 16px;
    border-bottom: none;
    align-self: flex-start;
    padding: 11px 22px;
  }
}

@media (max-width: 620px) {
  .gallery { grid-template-columns: 1fr; }
  .card { max-width: 480px; }
  .steps { grid-template-columns: 1fr; }
  .sizes { grid-template-columns: 1fr; gap: 16px; }
  .size-bar { height: 78px; }
  .hero-facts { gap: 14px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-long li { grid-template-columns: 48px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- collections (shop overview) ---------- */

.collection-card { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.collection-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.collection-card img { aspect-ratio: 4 / 5; object-fit: cover; }
.collection-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.collection-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.collection-body p { margin: 0 0 14px; color: var(--ink-soft); font-size: .96rem; }
.collection-body .from { font-weight: 700; color: var(--ink); margin-top: auto; }
.collection-body .from span { font-weight: 600; color: var(--ink-soft); font-size: .88rem; }
.collection-body .text-link { color: var(--cobalt); }
.img-placeholder {
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #eef5ea, var(--paper-2));
  color: var(--leaf-deep);
  font-family: var(--display); font-size: 1.4rem;
}

/* ---------- breadcrumbs ---------- */

.crumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }
.crumbs span { margin: 0 6px; }

/* ---------- price table ---------- */

.table-wrap { overflow-x: auto; margin: 18px 0 14px; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .97rem;
}
.price-table th, .price-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.price-table thead th { background: var(--paper-2); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.price-table tbody th { font-weight: 600; }
.price-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table tbody tr:last-child > * { border-bottom: none; }
.table-note { font-size: .92rem; color: var(--ink-soft); }
.panel .price { margin-top: 0; padding-top: 0; border-top: none; }
.panel-note { font-size: .88rem; margin-top: 10px; }
.panel .btn + .panel-note { margin-bottom: 22px; }

.sizes-2 { grid-template-columns: repeat(2, minmax(0, 340px)); }
.mt { margin-top: 28px; }

@media (max-width: 620px) {
  .sizes-2 { grid-template-columns: 1fr; }
}
