/* ClimbingFish Visual — design v3 "classy gallery"
   Black wall, orange light on the work, thin lines as frames. */
:root {
  --bg: #0C0B0A;
  --card: #151312;
  --line: #2C2724;
  --orange: #FF7417;
  --orange-hover: #FF9A4D;
  --text: #F4EEE6;
  --muted: #A89E93;
  --serif: "Cormorant Garamond", Georgia, serif;
  --logo: "Cinzel", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
  --radius: 4px;
  --glow: 0 30px 80px -30px rgba(255, 116, 23, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hover); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.line-top { border-top: 1px solid var(--line); }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--orange); }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 18px; font-weight: 600;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--radius); border: 1px solid var(--orange);
  background: var(--orange); color: #120a04; font-weight: 700; font-size: .95rem;
  letter-spacing: .02em; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: var(--sans); min-height: 48px;
}
.btn:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #120a04; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--orange); color: var(--orange); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.text-link { font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(12, 11, 10, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { font-family: var(--logo); font-size: 1.15rem; letter-spacing: .12em; color: var(--text); white-space: nowrap; }
.logo span { color: var(--orange); }
.logo:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); font-size: .92rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: 0 1px 0 var(--orange); }
.nav .btn { padding: 10px 20px; min-height: 40px; color: #120a04; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; }
.menu-btn svg { margin: auto; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
}

/* Hero */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(255, 116, 23, .14), transparent 70%); pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero .lead { margin-bottom: 32px; }
.status {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: .85rem; color: var(--muted); margin-bottom: 28px; background: var(--card);
}
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #4CC37A; box-shadow: 0 0 0 4px rgba(76, 195, 122, .18); }
.status.closed .dot { background: #C9473B; box-shadow: 0 0 0 4px rgba(201, 71, 59, .18); }
.status strong { color: var(--text); font-weight: 600; }
.hero-art { position: relative; display: grid; grid-template-columns: 1fr; gap: 18px; }
.hero-art figure:first-child { margin-right: 18%; }
.hero-art figure:last-child { margin-left: 18%; margin-top: -60px; }

/* Framed artwork */
.frame { margin: 0; border: 1px solid var(--line); padding: 10px; background: var(--card); box-shadow: var(--glow); }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Proof */
.proof { padding: 0; }
.proof .wrap { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof div { padding: 34px 20px; text-align: center; }
.proof div + div { border-left: 1px solid var(--line); }
.proof b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--text); }
.proof b span { color: var(--orange); }
.proof small { color: var(--muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

/* Style cards */
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.style-card { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.style-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.style-card img { aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--line); }
.style-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.style-card h3 { margin-bottom: 8px; }
.style-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.price { font-family: var(--serif); font-size: 1.35rem; margin: 6px 0 20px; }
.price b { color: var(--orange); font-weight: 600; font-size: 1.7rem; }
.style-card .btn { align-self: flex-start; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps li { list-style: none; padding: 34px 28px 10px 0; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-style: italic; color: var(--orange); font-size: 2.4rem; line-height: 1; margin-bottom: 16px; }
.steps h3 { font-size: 1.35rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .95rem; }
ol.steps { padding: 0; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.tile {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: var(--card);
  cursor: zoom-in; position: relative; overflow: hidden; color: var(--text); text-align: left; font: inherit;
}
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease, filter .3s; filter: saturate(.95); }
.tile:hover img { transform: scale(1.04); filter: saturate(1.08); }
.tile::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s; pointer-events: none; }
.tile:hover::after { box-shadow: inset 0 0 0 1px var(--orange); }
.gallery figcaption { padding: 12px 2px 0; display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.gallery figcaption span { color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.gallery figure[hidden] { display: none; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filters button {
  background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 10px 20px;
  border-radius: 999px; cursor: pointer; font: 600 .9rem var(--sans); min-height: 44px;
}
.filters button:hover { color: var(--text); border-color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--orange); color: #120a04; border-color: var(--orange); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 7, 6, .94); }
.lightbox .lb-inner { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px 24px; gap: 14px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); object-fit: contain; border: 1px solid var(--line); }
.lightbox p { color: var(--muted); margin: 0; text-align: center; }
.lb-btn { position: absolute; background: rgba(21, 19, 18, .85); color: var(--text); border: 1px solid var(--line); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.lb-btn:hover { border-color: var(--orange); color: var(--orange); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { border: 1px solid var(--line); background: var(--card); padding: 30px; margin: 0; }
.review .stars { color: var(--orange); letter-spacing: .2em; margin-bottom: 14px; }
.review blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; }
.review cite { font-style: normal; color: var(--muted); font-size: .88rem; }

/* CTA */
.cta { text-align: center; }
.cta .box { border: 1px solid var(--line); padding: 72px 28px; background: radial-gradient(ellipse at center, rgba(255, 116, 23, .12), transparent 65%), var(--card); }
.cta .lead { margin: 0 auto 30px; }
.cta .btn-row { justify-content: center; }

/* Page head */
.page-head { padding: 72px 0 40px; }
.page-head .lead { margin-bottom: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--card); }
tr:last-child td { border-bottom: 0; }
td strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
td .from { color: var(--orange); font-weight: 700; white-space: nowrap; }
.note { border-left: 2px solid var(--orange); padding: 14px 20px; background: var(--card); color: var(--muted); font-size: .95rem; margin: 28px 0 0; }

/* Prose (terms, about) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.draft-badge { display: inline-block; border: 1px solid var(--orange); color: var(--orange); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 40px 26px 0; position: relative; font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; color: var(--orange); font-family: var(--sans); font-size: 1.6rem; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 40px 26px 0; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.about-grid .frame img { aspect-ratio: 1; }

/* Order */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 72px; }
.path { border: 1px solid var(--line); background: var(--card); padding: 34px; display: flex; flex-direction: column; }
.path p { color: var(--muted); flex: 1; }
.path.primary { border-color: var(--orange); }
.path .eyebrow { margin-bottom: 10px; }

.form-shell { border: 1px solid var(--line); background: var(--card); padding: clamp(22px, 4vw, 48px); max-width: 900px; }
.progress { display: flex; gap: 8px; margin-bottom: 36px; padding: 0; list-style: none; }
.progress li { flex: 1; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 12px; border-top: 2px solid var(--line); }
.progress li.active, .progress li.done { color: var(--text); border-color: var(--orange); }
.form-step[hidden] { display: none; }
.form-step h2 { font-size: 2rem; }
fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
legend, .label { display: block; font-weight: 600; margin-bottom: 12px; font-size: .98rem; }
.label small, legend small { color: var(--muted); font-weight: 400; }

.style-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.style-pick label { cursor: pointer; border: 1px solid var(--line); background: var(--bg); display: block; transition: border-color .2s; position: relative; }
.style-pick input { position: absolute; opacity: 0; pointer-events: none; }
.style-pick img { aspect-ratio: 4 / 3; object-fit: cover; }
.style-pick span { display: block; padding: 14px 16px; font-weight: 600; }
.style-pick small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.style-pick label:hover { border-color: var(--muted); }
.style-pick input:checked + img { outline: 0; }
.style-pick label:has(input:checked) { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.style-pick input:focus-visible ~ span { outline: 2px solid var(--orange); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .92rem; transition: all .2s; }
.chips span:hover { color: var(--text); border-color: var(--muted); }
.chips input:checked + span { background: var(--orange); border-color: var(--orange); color: #120a04; }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

input[type="text"], input[type="email"], input[type="url"], input[type="date"], textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius);
  padding: 14px 16px; font: 1rem var(--sans); min-height: 48px; color-scheme: dark;
}
input:focus, textarea:focus { outline: none; border-color: var(--orange); }
textarea { min-height: 150px; resize: vertical; }
.field { margin-bottom: 22px; }
.optional { border: 1px dashed var(--line); padding: 0 18px; margin-bottom: 30px; }
.optional summary { cursor: pointer; padding: 16px 0; color: var(--muted); font-weight: 600; }
.optional[open] { padding-bottom: 6px; }
.form-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.error { color: #FF8A73; font-size: .9rem; margin: 8px 0 0; min-height: 1em; }
.hp { position: absolute; left: -9999px; }

.result { border: 1px solid var(--orange); padding: 30px; margin-top: 10px; }
.result pre { white-space: pre-wrap; background: var(--bg); border: 1px solid var(--line); padding: 18px; font: .9rem/1.6 ui-monospace, Consolas, monospace; color: var(--text); max-height: 380px; overflow: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 120px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer .logo { display: inline-block; margin-bottom: 8px; }

/* Sticky mobile order button */
.sticky-order { display: none; }
@media (max-width: 860px) {
  .sticky-order {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .7);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .styles, .reviews { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .steps.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 64px; }
  .hero-art figure:first-child { margin-right: 10%; }
  .hero-art figure:last-child { margin-left: 10%; margin-top: -36px; }
  .proof .wrap { grid-template-columns: 1fr; }
  .proof div + div { border-left: 0; border-top: 1px solid var(--line); }
  .proof div { padding: 22px 10px; }
  .styles, .reviews, .gallery, .steps, .steps.four, .paths, .style-pick, .about-grid { grid-template-columns: 1fr; }
  .steps li { padding-right: 0; }
  .about-grid .frame { max-width: 220px; }
  .btn-row .btn { flex: 1 1 auto; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
