/* Messages for the Climb: gallery-wall design */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Anton"; src: url("/assets/fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --green: #14382a;
  --green-2: #1f4a38;
  --page: #fbfbf8;
  --wall: #e7e4dc;
  --ink: #1a2620;
  --muted: #56655b;
  --line: #dddcd4;
  --gold: #a8893a;
  --cream: #f3ebd8;
  --frame: #1b1c19;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--green); color: var(--cream); padding: 8px 14px; border-radius: 99px; z-index: 50; }
.skip:focus { left: 12px; }
.anchor { scroll-margin-top: 90px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .45em; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(251, 251, 248, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); white-space: nowrap; }
.wordmark:hover { color: var(--green); }
.mark { width: 34px; height: 22px; color: var(--green); flex: none; }
.wm-text { font-family: var(--serif); font-weight: 500; font-size: 1.28rem; letter-spacing: -0.005em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; }
.site-nav .nav-shop { border: 1px solid var(--green); color: var(--green); border-radius: 999px; padding: 7px 18px; }
.site-nav .nav-shop:hover { background: var(--green); color: var(--cream); text-decoration: none; }

/* buttons: pill shaped */
.btn { display: inline-block; background: var(--green); color: var(--cream); text-decoration: none; font: 600 1rem/1.2 var(--sans); padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer; text-align: center; transition: background .15s; }
.btn:hover { background: var(--green-2); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--green); }
.btn-cream:hover { background: #fff; color: var(--green); }
.btn-wide { width: 100%; max-width: 380px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.text-link { font-weight: 600; color: var(--green); }

/* frames: black moulding with a white mat */
.frame { display: block; background: var(--frame); padding: clamp(5px, .8vw, 10px);
  box-shadow: 0 1px 1px rgba(0,0,0,.25), 0 22px 34px -20px rgba(14,18,14,.6); }
.mat { display: block; background: #fff; padding: 9%; box-shadow: inset 0 2px 5px rgba(0,0,0,.12); }
.mat img { box-shadow: 0 0 0 1px rgba(0,0,0,.05); width: 100%; }

/* hero: one gallery wall, three prints hung on a shared centre line */
.hero { background: var(--wall) radial-gradient(ellipse 70% 55% at 55% 0%, rgba(255,255,255,.65), rgba(255,255,255,0) 70%); padding: clamp(48px, 7vw, 88px) 0 28px; overflow: hidden; }
.hero-copy h1 { max-width: 12em; }
.wall { margin-top: clamp(36px, 5vw, 64px); }
.wall-row { display: flex; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 72px); padding: 0 20px; }
.hang-main { width: min(34vw, 400px); }
.hang-side { width: min(19vw, 230px); }
.hang a, .hang .frame { display: block; }
.hero-note { margin: clamp(36px, 5vw, 56px) 0 0; font-size: .95rem; color: var(--muted); text-align: center; }

/* collections */
.collection { padding: clamp(56px, 8vw, 104px) 0; }
.collection + .collection { border-top: 1px solid var(--line); }
.sec-head { max-width: 40em; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head p { color: var(--muted); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); }
.card a { display: block; text-decoration: none; color: var(--ink); }
.card .frame { margin-bottom: 20px; }
.card-title { display: block; font-family: var(--serif); font-size: 1.22rem; line-height: 1.25; }
.card a:hover .card-title { text-decoration: underline; text-underline-offset: 4px; }
.card-sub { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; }

/* custom poster band */
.band { background: var(--green); color: var(--cream); padding: clamp(56px, 8vw, 100px) 0; }
.band h2 { color: var(--cream); }
.band p { color: rgba(243,235,216,.86); max-width: 32em; font-size: 1.1rem; }
.band-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.band-art { display: flex; justify-content: center; }
.band-art .mini-poster { width: min(100%, 280px); box-shadow: 0 30px 40px -24px rgba(0,0,0,.6); }

/* a small poster drawn in the letterpress style */
.mini-poster { aspect-ratio: 4 / 5; background: var(--cream); color: var(--green); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10% 9%; text-align: center; outline: 2px solid var(--green); outline-offset: -12px; font-size: 16px; overflow: hidden; }
.mp-brand { font: 600 .55em/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #8e6e22; margin-bottom: 6px; }
.mp-rule { width: 86%; height: 6px; border-top: 2px solid var(--green); border-bottom: 1px solid var(--green); margin: 8px 0; flex: none; }
.mp-big { font: 400 2.5em/1 "Anton", Impact, sans-serif; text-transform: uppercase; }
.mp-small { font: italic 400 1.3em/1 var(--serif); color: #8e6e22; }
.mp-words { font: 400 2.2em/1 "Anton", Impact, sans-serif; text-transform: uppercase; width: 100%; margin: .12em 0; }
.mp-line { font: 600 .62em/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.mp-line:empty { display: none; }
.mini-poster[data-theme="green"] { background: var(--green); color: var(--cream); outline-color: var(--cream); }
.mini-poster[data-theme="green"] .mp-rule { border-color: var(--cream); }
.mini-poster[data-theme="green"] .mp-brand { color: #d6bf7a; }

/* how ordering works: a real sequence, so it is numbered */
.how { padding: clamp(56px, 8vw, 100px) 0; }
.steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font: 400 2.4rem/1 var(--serif); color: var(--gold); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

/* print page */
.pp-wrap { background: var(--wall) radial-gradient(ellipse 60% 60% at 30% 0%, rgba(255,255,255,.6), rgba(255,255,255,0) 70%); }
.pp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); padding: clamp(40px, 6vw, 80px) 0; align-items: center; }
.pp-art .frame { max-width: 500px; margin-inline: auto; }
.crumbs { font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.pp-info h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.pp-sub { font: italic 400 1.3rem/1.35 var(--serif); color: var(--muted); margin-top: -.2em; }
.pp-desc { font-size: 1.12rem; max-width: 32em; }
.pp-facts { margin: 26px 0 30px; border-top: 1px solid rgba(26,38,32,.18); }
.pp-facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(26,38,32,.18); }
.pp-facts dt { font-weight: 600; }
.pp-facts dd { margin: 0; color: var(--muted); }
.pp-note { font-size: .93rem; color: var(--muted); margin-top: 14px; }

/* custom poster page */
.custom-wrap { background: var(--wall); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); }
.custom-intro { max-width: 46em; }
.steps-tight { margin: 32px 0 clamp(36px, 5vw, 56px); }
.custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.req { background: var(--page); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 36px); }
.req label, .req legend { display: block; font-weight: 600; margin: 18px 0 8px; }
.req > label:first-child { margin-top: 0; }
.req-hint { font-weight: 400; color: var(--muted); font-size: .9rem; margin-left: 6px; }
.req input[type="text"], .req textarea { width: 100%; font: 400 1.05rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #c8cbc1; border-radius: 10px; padding: 12px 14px; }
.req textarea { resize: vertical; min-height: 84px; }
.req input:focus, .req textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.req fieldset { border: 0; padding: 0; margin: 18px 0 0; }
.req legend { margin: 0 0 8px; padding: 0; }
.req .choice { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 8px 0; }
.req .choice input { width: 18px; height: 18px; accent-color: var(--green); }
.req .btn { margin-top: 26px; }
.req-error { color: #8a2a1c; font-weight: 600; margin: 16px 0 0; }
.preview { position: sticky; top: 100px; }
.preview-label { font-weight: 600; margin-bottom: 14px; }
.frame-preview { max-width: 420px; }
.mini-poster.big { font-size: clamp(14px, 1.9vw, 22px); }

/* prose pages */
.prose { max-width: 720px; padding: clamp(48px, 7vw, 96px) 0; }
.prose h1 { margin-bottom: .5em; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.6em; }
.prose p { max-width: 38em; }
.notfound { padding-bottom: 12px; }
.more { padding-top: clamp(48px, 6vw, 80px); }

/* footer */
.site-foot { background: var(--green); color: var(--cream); padding: 56px 0 26px; font-size: .97rem; }
.site-foot a { color: var(--cream); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.site-foot .wordmark, .site-foot .mark { color: var(--cream); }
.site-foot .mark path:last-child { fill: var(--green); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 14px; max-width: 24em; color: rgba(243,235,216,.8); }
.foot-grid nav, .foot-contact { display: flex; flex-direction: column; gap: 8px; }
.foot-legal { border-top: 1px solid rgba(243,235,216,.2); margin-top: 40px; padding-top: 18px; font-size: .86rem; color: rgba(243,235,216,.7); }

/* responsive */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { gap: 18px; }
}
@media (max-width: 820px) {
  .pp, .band-grid, .custom-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .preview { position: static; }
  .frame-preview { margin-inline: auto; }
}
@media (max-width: 700px) {
  .head-row { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 0 12px; }
  .site-head { position: static; }
  .site-nav { gap: 16px; flex-wrap: wrap; }
  .site-nav a { font-size: .93rem; }
  .site-nav .nav-shop { padding: 5px 14px; }
  .hang-side { display: none; }
  .hang-main { width: min(72vw, 340px); }
  .grid { gap: 36px 18px; }
  .card-title { font-size: 1.05rem; }
  .lede { font-size: 1.08rem; }
  .mat { padding: 8%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
