/* Mkellphotography · Pine & Paper (round 2, direction 8)
   Field Journal's calm, editorial page painted in Basecamp's colors: bone paper ground,
   deep forest for the header, footer and one band, moss as the quiet second color, ember only
   for primary actions and selection. Neutral motifs: thin rules and the logo's mountain mark. */
:root {
  --paper: #efe6d4;
  --paper-2: #e6dac3;
  --card: #f7f1e5;
  --sand: #dccbab;
  --forest: #1e2a21;
  --forest-2: #263529;
  --pine: #16201a;
  --moss: #4b5a3a;
  --moss-2: #5f6b52;
  --ember: #b4572b;
  --ember-dk: #9c4a24;
  --ember-lt: #de8a57;
  --ink: #1e2a21;
  --ink-2: #4c5446;
  --on-dark: #efe6d4;
  --on-dark-2: rgba(239, 230, 212, .74);
  --rule: rgba(30, 42, 33, .16);
  --rule-2: rgba(30, 42, 33, .32);
  --rule-d: rgba(220, 203, 171, .2);
  --error: #9a3a22;
  --f-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1200px;
  --hdr: 66px;
  --bar-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 1px rgba(30, 42, 33, .1), 0 10px 24px -8px rgba(30, 42, 33, .22);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .16 0 0 0 0 .13 0 0 0 .4 -.14'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 20px); }
body {
  margin: 0; color: var(--ink); background-color: var(--paper); background-image: var(--grain);
  font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.on-dark :focus-visible, .hdr :focus-visible, .ftr :focus-visible, .lb :focus-visible { outline-color: var(--ember-lt); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: var(--paper); padding: 12px 16px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
[hidden] { display: none !important; }
p { margin: 0; }

h1, h2, h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; line-height: 1; margin: 0; }
h1 { font-size: clamp(44px, 6.6vw, 92px); letter-spacing: .04em; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: .08em; line-height: 1.05; }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.ph { color: var(--moss); background: rgba(75, 90, 58, .1); padding: 1px 6px; border-radius: 2px; }
.sample { display: inline-block; font: 600 11px/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--moss); border: 1px solid rgba(75, 90, 58, .45); padding: 5px 7px 4px; border-radius: 2px; vertical-align: middle; white-space: nowrap; }
.on-dark .sample { color: var(--sand); border-color: rgba(220, 203, 171, .45); }

/* kicker: small caps label followed by a hairline rule (the page's main motif) */
.kicker { display: flex; align-items: center; gap: 14px; font: 600 13px/1 var(--f-head); letter-spacing: .24em; text-transform: uppercase; color: var(--moss); margin: 0 0 18px; }
.kicker b { color: var(--ink); font-weight: 700; letter-spacing: .1em; }
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--rule-2); }
.kicker.short::after { flex: 0 0 48px; }
.on-dark .kicker { color: var(--sand); }
.on-dark .kicker b { color: var(--paper); }
.on-dark .kicker::after { background: var(--rule-d); }

/* mountain mark from the logo, used sparingly */
.peak { display: flex; align-items: center; gap: 14px; color: var(--moss); }
.peak::before, .peak::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .5; }
.peak svg { width: 46px; height: 16px; flex: none; fill: currentColor; }

/* buttons */
.btn {
  --bg: var(--ember); --fg: #fbf6ec; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 1px solid var(--bd); border-radius: 3px; background: var(--bg); color: var(--fg); text-decoration: none;
  font: 600 16px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:hover { --bg: var(--ember-dk); }
.btn:active { transform: translateY(1px); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-forest { --bg: var(--forest); --fg: var(--paper); }
.btn-forest:hover { --bg: var(--moss); }
.btn-line { --bg: transparent; --fg: var(--ink); --bd: var(--rule-2); }
.btn-line:hover { --bg: rgba(30, 42, 33, .06); --bd: var(--ink); }
.on-dark .btn-line, .hdr .btn-line, .lb .btn-line { --fg: var(--paper); --bd: rgba(239, 230, 212, .42); }
.on-dark .btn-line:hover, .hdr .btn-line:hover, .lb .btn-line:hover { --bg: rgba(239, 230, 212, .1); --bd: var(--paper); }
.btn-bone { --bg: var(--paper); --fg: var(--forest); }
.btn-bone:hover { --bg: #fff8ea; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.txt-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 15px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 1px solid currentColor; padding: 0; }
.txt-link:hover { color: var(--ember-dk); }
.on-dark .txt-link { color: var(--paper); }
.on-dark .txt-link:hover { color: var(--ember-lt); }

/* buy control: used on home tiles, portfolio tiles and in the lightbox */
.buy {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; flex: none;
  border: 1px solid var(--rule-2); border-radius: 3px; background: transparent; color: var(--ink);
  font: 600 15px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.buy svg { flex: none; }
.buy:hover { border-color: var(--ember); color: var(--ember-dk); }
.buy[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: #fbf6ec; }
.buy[aria-pressed="true"]:hover { background: var(--ember-dk); }

/* sale: the banner above the header, and the usual price struck through beside a sale price */
.sale-banner { display: flex; align-items: center; gap: 8px; background: var(--ember-dk); color: #fbf6ec; padding: 0 8px 0 calc(var(--gut) + 36px); }
.sale-banner p { flex: 1; margin: 0; padding: 10px 0; text-align: center; font: 600 17px/1.3 var(--f-head); letter-spacing: .06em; text-wrap: balance; }
.sale-banner button { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: inherit; cursor: pointer; border-radius: 3px; }
.sale-banner button:hover { background: rgba(0, 0, 0, .16); }
.sale-banner :focus-visible { outline-color: #fbf6ec; }
s.was { font-weight: 500; opacity: .62; text-decoration-thickness: 1px; }
.drawer-foot .sale-saved { color: var(--ember-dk); font-weight: 600; }
@media (max-width: 600px) { .sale-banner { padding-left: var(--gut); } .sale-banner p { text-align: left; font-size: 16px; } }

/* ---------- header (forest bar) ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--forest); color: var(--paper); border-bottom: 1px solid #0e140f; }
.hdr-in { display: flex; align-items: center; gap: 26px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand img { height: 30px; width: auto; }
.brand span { font: 600 21px/1 var(--f-head); letter-spacing: .1em; }
.nav { display: flex; gap: 2px; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; position: relative; font: 500 16px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 1px; background: var(--sand); }
.hdr-tools { display: flex; align-items: center; gap: 10px; }
.code-btn { min-height: 40px; padding: 0 14px; font-size: 15px; gap: 8px; }
.cart-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(239, 230, 212, .3); border-radius: 3px; background: none; color: var(--paper); }
.cart-btn:hover { border-color: var(--paper); }
.cart-n { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--ember); color: #fbf6ec; font: 700 12px/21px var(--f-body); text-align: center; }
.cart-n[data-zero] { display: none; }
.cart-n.bump { animation: bump .3s var(--ease); }
@keyframes bump { 50% { transform: scale(1.3); } }
.menu-btn { display: none; }
.menu-panel { display: none; }

@media (max-width: 960px) {
  :root { --hdr: 60px; }
  .hdr-in { gap: 8px; }
  .nav { display: none; }
  .menu-btn { order: 3; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; min-width: 44px; padding: 0 4px 0 10px; border: 0; background: none; color: var(--paper); font: 600 15px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; }
  .menu-btn i { width: 18px; height: 10px; border-top: 2px solid; border-bottom: 2px solid; transition: transform .2s; }
  .menu-btn[aria-expanded="true"] i { transform: scaleY(.4); }
  /* the v1/v2 dropdown: a panel that slides from under the bar, page still visible beneath */
  .menu-panel {
    display: block; position: absolute; top: 100%; left: 0; right: 0; padding: 6px var(--gut) 20px;
    background-color: var(--paper); background-image: var(--grain); color: var(--ink);
    border-bottom: 1px solid var(--rule-2); box-shadow: 0 26px 40px -22px rgba(14, 20, 15, .55);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .menu-panel.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .menu-panel a:not(.btn) { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: 1px solid var(--rule); text-decoration: none; font: 600 23px/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; }
  .menu-panel a:not(.btn) span { color: var(--moss); font-family: var(--f-body); font-weight: 400; }
  .menu-panel a[aria-current="page"] { color: var(--ember-dk); }
  .menu-panel .btn { width: 100%; margin-top: 18px; }
}
@media (max-width: 520px) {
  .brand span { display: none; }
  .brand img { height: 28px; }
  .code-btn { padding: 0 12px; font-size: 14px; letter-spacing: .12em; }
  .code-btn svg { display: none; }
}

/* ---------- footer ---------- */
.ftr { background: var(--forest); color: var(--on-dark); padding: 56px 0 calc(28px + var(--bar-h)); margin-top: clamp(56px, 8vw, 110px); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.ftr-grid img { width: 150px; height: auto; margin-bottom: 14px; }
.ftr-grid small { color: var(--on-dark-2); font-size: 15px; }
.ftr h4 { font: 600 13px/1 var(--f-head); letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin: 6px 0 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr ul a { display: inline-flex; align-items: center; min-height: 40px; color: var(--on-dark-2); text-decoration: none; }
.ftr ul a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.ftr .peak { color: var(--sand); margin: 40px 0 0; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 18px; font-size: 14px; color: var(--on-dark-2); }
.ftr-base a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark-2); }

/* ---------- ticket stub (v1's perforated card, in bone and forest) ---------- */
.stub-wrap { filter: drop-shadow(0 1px 1px rgba(14, 20, 15, .2)) drop-shadow(0 18px 26px rgba(14, 20, 15, .22)); }
.stub {
  --stub-w: 168px; --notch: 12px; position: relative; display: grid; grid-template-columns: 1fr var(--stub-w); background: var(--card);
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.stub-main { padding: 26px 30px 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 8px 32px; align-items: end; }
.stub-copy .kicker { margin-bottom: 12px; }
.stub h2, .stub h1 { font-size: clamp(28px, 2.6vw, 36px); margin: 0 0 8px; }
.stub .sub { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.stub-side {
  position: relative; background: var(--forest); color: var(--paper); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 18px 22px;
}
.stub-side::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; border-left: 2px dashed rgba(220, 203, 171, .5); }
.stub-side img { height: 24px; width: auto; opacity: .9; margin-bottom: 4px; }
.stub-side small { font: 600 11px/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--sand); }
.stub-side .code { font: 600 25px/1 var(--f-head); letter-spacing: .14em; }
.stub-side em { font-style: normal; font-size: 12.5px; line-height: 1.35; color: var(--on-dark-2); }
.code-field label { display: block; font: 600 12px/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--moss); margin-bottom: 8px; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; background: #fffaf0; border: 1px solid var(--rule-2); border-radius: 3px; font: 600 20px/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.code-row input::placeholder { font: 400 16px/1 var(--f-body); letter-spacing: .04em; text-transform: none; color: rgba(76, 84, 70, .7); }
.code-row input:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(180, 87, 43, .2); }
.code-row input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(154, 58, 34, .14); }
.code-row .btn { height: 52px; flex: none; }
.code-err { margin-top: 10px; font-size: 14.5px; line-height: 1.4; color: var(--error); }
.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* =========================================================
   HOME
   ========================================================= */
.hero { position: relative; height: clamp(500px, 75vh, 780px); background: var(--pine); color: var(--paper); overflow: hidden; }
.hero-slides > figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slides > figure.on { opacity: 1; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.hero-slides .blur { display: none; }
@media (min-width: 601px) { .hero-slides .phone-only { display: none; } }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 20, 15, .78) 0%, rgba(14, 20, 15, .45) 42%, rgba(14, 20, 15, 0) 72%), linear-gradient(0deg, rgba(14, 20, 15, .55), rgba(14, 20, 15, 0) 40%); }
.hero-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 132px; }
.hero .kicker { color: var(--sand); max-width: 460px; }
.hero .kicker::after { background: rgba(220, 203, 171, .4); }
.hero h1 { font-size: clamp(44px, 6.2vw, 88px); text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero .lede { color: rgba(239, 230, 212, .88); margin: 20px 0 28px; max-width: 30em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.hero-cap { position: absolute; z-index: 2; right: var(--gut); bottom: 26px; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); display: flex; align-items: center; gap: 12px; font: 600 12.5px/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: rgba(239, 230, 212, .82); }
.hero-cap .ticks { display: flex; gap: 5px; }
.hero-cap .ticks i { width: 18px; height: 2px; background: rgba(239, 230, 212, .35); }
.hero-cap .ticks i.on { background: var(--paper); }

.dock { position: relative; z-index: 5; margin-top: -92px; }
.dock .stub-wrap { max-width: 980px; }

.section { padding-top: clamp(64px, 8vw, 112px); }
.sec-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.sec-top .lede { margin-top: 14px; }

/* galleries strip (Basecamp's horizontal scroll, on paper) */
.arrows { display: flex; gap: 8px; flex: none; }
.arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--rule-2); border-radius: 50%; background: none; color: var(--ink); }
.arrow:hover:not(:disabled) { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.arrow:disabled { opacity: .3; cursor: default; }
.strip {
  display: flex; gap: clamp(14px, 1.8vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(var(--gut), (100vw - var(--max)) / 2) 18px; scroll-padding-inline: max(var(--gut), (100vw - var(--max)) / 2);
}
.strip::-webkit-scrollbar { display: none; }
.gcard { flex: 0 0 clamp(272px, 31vw, 410px); scroll-snap-align: start; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.gcard .ph-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.gcard .ph-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gcard:hover .ph-img img { transform: scale(1.035); }
.gcard .no { position: absolute; left: 14px; top: 12px; font: 600 13px/1 var(--f-head); letter-spacing: .2em; color: var(--paper); background: rgba(22, 32, 26, .72); padding: 7px 9px 6px; }
.gcard .body { padding: 18px 2px 0; border-top: 0; }
.gcard h3 { font-size: clamp(26px, 2.4vw, 32px); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gcard h3 small { font: 500 14px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.gcard p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.gcard .go { display: inline-flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); width: 100%; justify-content: space-between; font: 600 14px/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--moss); }
.gcard:hover .go { color: var(--ember-dk); }
.strip-track { height: 1px; background: var(--rule); position: relative; margin-top: 8px; }
.strip-track i { position: absolute; top: -1px; height: 3px; background: var(--forest); left: calc(var(--p, 0) * (100% - var(--vis, .3) * 100%)); width: calc(var(--vis, .3) * 100%); }

/* explainer: the one full-bleed forest band */
.band { background: var(--forest); color: var(--on-dark); padding: clamp(64px, 8vw, 104px) 0; margin-top: clamp(64px, 8vw, 112px); }
.band h2 { color: var(--paper); }
.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule-d); }
.explain > div { padding: 34px 0 0; display: flex; flex-direction: column; }
.explain > div + div { border-left: 1px solid var(--rule-d); padding-left: clamp(24px, 4vw, 56px); }
.explain > div:first-child { padding-right: clamp(24px, 4vw, 56px); }
.explain h3 { color: var(--paper); font-size: clamp(26px, 2.6vw, 34px); }
.explain .lede { color: var(--on-dark-2); margin: 12px 0 22px; font-size: 17px; }
.prices { list-style: none; margin: 0 0 26px; padding: 0; }
.prices li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--rule-d); font-size: 16.5px; }
.prices li::after { content: none; }
.prices .dots { flex: 1; border-bottom: 1px dotted rgba(220, 203, 171, .35); transform: translateY(-4px); }
.prices b { font: 600 20px/1 var(--f-head); letter-spacing: .08em; color: var(--paper); }
.prices em { font-style: normal; font-size: 13.5px; color: var(--sand); opacity: .8; }
.explain .act { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* selected work */
.sel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 36px) clamp(16px, 2vw, 28px); }
.tile { margin: 0; }
.tile .open { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; aspect-ratio: 3 / 2; overflow: hidden; }
.tile .open img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile .open:hover img { transform: scale(1.03); }
.tile figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 0; }
.tile .cap { min-width: 0; }
.tile .cap b { display: block; font: 600 17px/1.15 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.tile .cap small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.price-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--ink-2); font-size: 15.5px; }
.price-note strong { color: var(--ink); font-weight: 600; }

/* about + contact */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.logo-plate { background: var(--card); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.logo-plate img { width: 100%; max-width: 380px; margin: 0 auto; }
.about h2 { margin-bottom: 18px; }
.about p + p { margin-top: 14px; }
.about .lede strong { color: var(--ink); font-weight: 600; } /* Barlow is loaded up to 600 */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.contact h2 { margin-bottom: 16px; }
.contact .email { margin-top: 16px; font: 600 18px/1.2 var(--f-head); letter-spacing: .08em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full, .form .full { grid-column: 1 / -1; }
.field label { font: 600 12.5px/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--moss); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; background: #fbf6ec; border: 1px solid var(--rule-2); border-radius: 3px; font-size: 16px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(180, 87, 43, .18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-actions small { color: var(--ink-2); font-size: 14px; }
.form-actions small a { color: inherit; text-underline-offset: 3px; }
.form-err { font-size: 14.5px; line-height: 1.45; color: var(--error); }
.form-err a { color: inherit; }
.form .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
/* Turnstile takes no room (out of the grid, so no extra row gap) until Cloudflare asks for a click */
.ts:not(.on) { position: absolute; width: 300px; height: 0; overflow: hidden; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--card); border: 1px solid var(--moss); border-radius: 4px; }
.form-ok strong { display: block; font: 600 20px/1.1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }

/* =========================================================
   PORTFOLIO
   ========================================================= */
.page-head { padding-top: clamp(40px, 6vw, 80px); }
.page-head h1 { font-size: clamp(42px, 5.6vw, 76px); }
.page-head .lede { margin-top: 14px; }
.tabs { display: flex; gap: 0; margin-top: 30px; border-bottom: 1px solid var(--rule-2); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px; flex: none; text-decoration: none; position: relative; font: 600 18px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.tab small { font: 500 13px/1 var(--f-body); letter-spacing: 0; color: var(--moss-2); }
.tab:first-child { padding-left: 0; }
.tab:hover { color: var(--ink); }
.tab[aria-current="true"] { color: var(--ink); }
.tab[aria-current="true"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; background: var(--forest); }
.tab:first-child[aria-current="true"]::after { left: 0; }
.g-intro { display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; flex-wrap: wrap; padding: 26px 0 28px; }
.g-intro h2 { font-size: clamp(30px, 3.4vw, 44px); }
.g-intro p { color: var(--ink-2); margin-top: 8px; max-width: 34em; }
.g-intro .price-note { justify-content: flex-end; max-width: 520px; }
.pgrid { columns: 3 300px; column-gap: clamp(16px, 2vw, 28px); }
.pgrid .tile { break-inside: avoid; margin-bottom: clamp(22px, 2.4vw, 32px); }
.pgrid .tile .open { aspect-ratio: auto; }
.pgrid .tile .open img { height: auto; }
.pgrid .tile figcaption { padding-top: 10px; }
/* album cards on the portfolio and category pages (same card as the homepage Galleries strip) */
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(30px, 3.4vw, 48px) clamp(18px, 2.4vw, 32px); }
.agrid .gcard { flex: none; min-width: 0; }
.page-head .kicker a { color: inherit; text-decoration: none; }
.page-head .kicker a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.empty-note { color: var(--ink-2); padding: 20px 0 40px; }
.team-cta { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 26px 0; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); }
.team-cta h2 { font-size: clamp(24px, 2.4vw, 30px); }
.team-cta p { color: var(--ink-2); margin-top: 6px; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lb { position: fixed; inset: 0; z-index: 2147483100; background: #101711; color: var(--paper); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; transition: opacity .22s; }
.lb.open { opacity: 1; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 8px var(--gut); min-height: 64px; }
.lb-count { font: 600 14px/1 var(--f-head); letter-spacing: .24em; color: var(--sand); }
.lb-x { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(239, 230, 212, .35); border-radius: 50%; background: none; color: var(--paper); }
.lb-x:hover { background: var(--paper); color: var(--forest); }
.lb-stage { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 110px); overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.lb-fig { position: relative; margin: 0; display: grid; max-width: 100%; max-height: 100%; transform-origin: 50% 50%; }
.lb-fig.lb-anim { transition: transform .28s var(--ease); }
.lb-fig img { max-width: 100%; max-height: calc(100svh - 190px); width: auto; height: auto; object-fit: contain; -webkit-user-drag: none; }
@media (hover: hover) and (pointer: fine) {
  .lb-fig { cursor: zoom-in; }
  .lb-zoomed .lb-stage, .lb-zoomed .lb-fig { cursor: zoom-out; }
  .lb-panning .lb-stage, .lb-panning .lb-fig { cursor: grabbing; }
}
.lb-nav { z-index: 2; position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(239, 230, 212, .3); background: rgba(22, 32, 26, .6); color: var(--paper); }
.lb-nav:hover { background: var(--paper); color: var(--forest); }
.lb-prev { left: clamp(8px, 2vw, 32px); }
.lb-next { right: clamp(8px, 2vw, 32px); }
.lb-bot { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; padding: 14px var(--gut) calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule-d); }
.lb-cap { font: 600 19px/1.2 var(--f-head); letter-spacing: .1em; text-transform: uppercase; }
.lb-cap small { display: block; margin-bottom: 6px; font: 500 13.5px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--on-dark-2); }
.lb-buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lb-buy .note { font-size: 13.5px; color: var(--on-dark-2); }
.lb .buy { border-color: rgba(239, 230, 212, .45); color: var(--paper); min-height: 48px; padding: 0 18px; }
.lb .buy:hover { border-color: var(--paper); color: var(--paper); }
.lb .buy[aria-pressed="true"] { border-color: var(--ember); }

/* =========================================================
   TEAM
   ========================================================= */
.locked { padding: clamp(48px, 8vw, 110px) 0 0; min-height: 50vh; }
.locked .stub-wrap { max-width: 860px; margin: 0 auto; }
.locked .stub-main { grid-template-columns: 1fr; align-items: start; gap: 20px; }
.locked-foot { max-width: 860px; margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--ink-2); font-size: 15px; }

.team-head { padding-top: clamp(36px, 5vw, 64px); display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; flex-wrap: wrap; }
.team-head h1 { font-size: clamp(52px, 7vw, 96px); }
.team-head .dateline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font: 600 15px/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.team-head .dateline span + span::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--rule-2); vertical-align: middle; margin-right: 18px; }
.relock { background: none; border: 0; padding: 0; min-height: 44px; color: var(--ink-2); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.relock:hover { color: var(--ink); }

.tiers { margin-top: 32px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--rule-2); background: var(--card); }
.tier { padding: 18px 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.tier + .tier { border-left: 1px dashed var(--rule-2); }
.tier .t { font: 600 14px/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--moss); }
.tier .p { font: 600 34px/1 var(--f-head); letter-spacing: .04em; }
.tier .s { font-size: 14px; color: var(--ink-2); }
.tier .s b { color: var(--ink); font-weight: 600; }
.tier.all { background: var(--forest); color: var(--paper); }
.tier.all .t { color: var(--sand); }
.tier.all .s { color: var(--on-dark-2); }
.tier.all .s b { color: var(--paper); }
.tier.all .btn { margin-top: 8px; min-height: 44px; padding: 0 14px; font-size: 15px; }
.tiers-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }

.tgrid { margin-top: clamp(30px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px) clamp(12px, 1.6vw, 20px); }
.tcard { position: relative; }
.tcard .shot { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); aspect-ratio: 3 / 2; cursor: zoom-in; }
.tcard .shot img { width: 100%; height: 100%; object-fit: cover; }
.tcard .shot::after { width: 36%; }
.tcard .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; }
.tcard .row b { font: 600 16px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; }
.tcard.on .shot { outline: 3px solid var(--ember); outline-offset: 3px; }
.tcard .tick { position: absolute; z-index: 2; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--ember); color: #fbf6ec; display: none; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.tcard.on .tick { display: grid; }

/* sticky cart bar (team page always, other pages once something is in the cart) */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; visibility: hidden; background: var(--forest); color: var(--paper); border-top: 1px solid #0e140f; box-shadow: 0 -12px 30px -16px rgba(14, 20, 15, .6); transform: translateY(110%); transition: transform .3s var(--ease); }
.cartbar.show { transform: none; visibility: visible; }
.cartbar-in { display: flex; align-items: center; gap: 14px 24px; min-height: 76px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.cartbar .sum { flex: 1; min-width: 0; }
.cartbar .sum strong { display: block; font: 600 21px/1.1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.cartbar .sum span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.35; color: var(--on-dark-2); }
.cartbar .sum span b { color: var(--sand); font-weight: 600; }
.cartbar .btn { flex: none; }

/* cart drawer */
.drawer { position: fixed; inset: 0; z-index: 2147483000; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(14, 20, 15, .5); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background-color: var(--paper); background-image: var(--grain); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: -20px 0 50px rgba(14, 20, 15, .3); }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 22px; min-height: 68px; background: var(--forest); color: var(--paper); }
.drawer-head h2 { font-size: 26px; }
.drawer-x { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(239, 230, 212, .35); border-radius: 50%; background: none; color: var(--paper); }
.drawer-body { overflow-y: auto; padding: 6px 22px 22px; }
.cgroup { padding-top: 18px; }
.cgroup h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 18px; letter-spacing: .16em; padding-bottom: 10px; border-bottom: 1px solid var(--rule-2); }
.cgroup h3 small { font: 500 13.5px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.citems { list-style: none; margin: 0; padding: 0; }
.citems li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.citems .th { width: 64px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.citems .th img { width: 100%; height: 100%; object-fit: cover; }
.citems .c { font-size: 15px; line-height: 1.3; }
.citems .rm { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink-2); border-radius: 50%; }
.citems .rm:hover { background: rgba(30, 42, 33, .08); color: var(--ink); }
.priced { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.priced li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.priced li.tot { color: var(--ink); font-weight: 600; padding-top: 6px; }
.nudge { margin-top: 12px; padding: 12px 14px; background: var(--card); border: 1px solid rgba(180, 87, 43, .45); border-radius: 4px; font-size: 14.5px; line-height: 1.4; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nudge .btn { min-height: 44px; padding: 0 12px; font-size: 14px; letter-spacing: .12em; }
.cart-empty { padding: 28px 0; color: var(--ink-2); }
.cart-empty .txt-link { margin-top: 10px; }
.drawer-foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule-2); background: var(--card); }
.drawer-foot .total { display: flex; justify-content: space-between; align-items: baseline; font: 600 26px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.drawer-foot .saved { margin-top: 6px; font-size: 14px; color: var(--moss); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.drawer-foot .btn { width: 100%; margin-top: 14px; }
.drawer-foot .btn:disabled { opacity: .7; cursor: progress; }
.drawer-foot .cart-err { margin-top: 12px; padding: 10px 12px; border-radius: 6px; background: #f6e7e1; color: #7a2e17; font-size: 14px; line-height: 1.4; }
.drawer-foot .pay-note { margin-top: 8px; font-size: 12.5px; color: var(--ink-2); text-align: center; }

/* =========================================================
   ORDER (receipt)
   ========================================================= */
.order-wrap { padding-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.receipt-wrap { filter: drop-shadow(0 1px 1px rgba(30, 42, 33, .14)) drop-shadow(0 14px 22px rgba(30, 42, 33, .14)); position: sticky; top: calc(var(--hdr) + 20px); }
.receipt {
  --z: 9px; background: var(--card); padding: 30px 28px 34px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
}
.receipt .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 2px dashed var(--rule-2); }
.receipt .top img { height: 26px; width: auto; }
.receipt .top span { font: 600 13px/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--moss); }
.receipt h1 { font-size: clamp(36px, 4vw, 48px); margin: 22px 0 6px; }
.receipt .meta { list-style: none; margin: 18px 0 0; padding: 0; font-size: 15px; }
.receipt .meta li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--rule-2); }
.receipt .meta li span:first-child { color: var(--ink-2); }
.receipt .meta li span:last-child { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.receipt .lines { margin-top: 18px; }
.receipt .lines h3 { font-size: 15px; letter-spacing: .2em; color: var(--moss); margin: 14px 0 4px; }
.receipt .lines .priced { margin: 0; }
.receipt .grand { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--ink); font: 600 28px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.receipt .saved-line { margin-top: 8px; font-size: 14px; color: var(--moss); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.expires { margin-top: 20px; padding: 14px 16px; background: var(--forest); color: var(--paper); font-size: 15px; line-height: 1.45; }
.expires strong { color: var(--sand); font-weight: 600; }
.dl-head { display: flex; justify-content: space-between; align-items: end; gap: 14px 24px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--rule-2); }
.dl-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.dl-head p { color: var(--ink-2); margin-top: 8px; }
.dl-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-acts .btn[aria-disabled="true"] { opacity: .7; cursor: progress; }
.dl-help { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.dl-help b { color: var(--ink); font-weight: 600; }
.dl-note { margin-top: 10px; font-size: 14px; color: var(--moss); min-height: 1em; }
.dl-list { list-style: none; margin: 0; padding: 0; }
.dl-list li { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.dl-list img { width: 112px; aspect-ratio: 3 / 2; object-fit: cover; }
.dl-list .c b { display: block; font: 600 18px/1.15 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.dl-list .c small { display: block; margin-top: 4px; color: var(--ink-2); font-size: 14px; }
.dl-list .c small.done { color: var(--moss); }
.dl-list .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.empty { padding-top: clamp(48px, 8vw, 110px); }
.empty .stub-wrap { max-width: 820px; margin: 0 auto; }
.empty .stub-main { grid-template-columns: 1fr; gap: 14px; }
.empty .acts { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 8px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .stub-main { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .dock { margin-top: -120px; }
  .hero-in { padding-bottom: 150px; }
  .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .order-wrap { grid-template-columns: 1fr; }
  .receipt-wrap { position: static; max-width: 520px; }
}
@media (max-width: 820px) {
  .explain { grid-template-columns: 1fr; }
  .explain > div + div { border-left: 0; border-top: 1px solid var(--rule-d); padding-left: 0; margin-top: 40px; }
  .explain > div:first-child { padding-right: 0; }
  .explain .act { margin-top: 0; }
  .sel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .contact { grid-template-columns: 1fr; }
  .logo-plate { max-width: 360px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-grid > div:first-child { grid-column: 1 / -1; }
  .tiers { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier:nth-child(3) { border-left: 0; }
  .tier:nth-child(n+3) { border-top: 1px dashed var(--rule-2); }
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .hero { height: max(560px, 78svh); }
  .hero::after { background: linear-gradient(0deg, rgba(14, 20, 15, .9) 0%, rgba(14, 20, 15, .72) 40%, rgba(14, 20, 15, .25) 70%, rgba(14, 20, 15, .1) 100%); }
  .hero-in { justify-content: flex-end; padding-bottom: 104px; }
  .hero h1 { font-size: clamp(42px, 12.4vw, 58px); }
  .hero .lede { margin: 14px 0 22px; font-size: 16.5px; }
  .hero-cap { top: 14px; bottom: auto; font-size: 11px; letter-spacing: .16em; }
  .hero-slides img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  /* landscape photos on phones: whole photo at the top, a blurred copy fills the space behind the text */
  .hero-slides .ls img:not(.blur) { object-fit: contain; object-position: 50% 9%; }
  .hero-slides .ls .blur { display: block; filter: blur(28px) brightness(.55) saturate(1.1); transform: scale(1.15); }
  .hero-slides .desk-only { display: none; }
  .dock { margin-top: -72px; }
  .stub { --stub-h: 78px; grid-template-columns: 1fr; grid-template-rows: auto var(--stub-h);
    -webkit-mask: radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub-h)), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub-h)), #0000 98%, #000) right / 51% 100% no-repeat;
            mask: radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub-h)), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub-h)), #0000 98%, #000) right / 51% 100% no-repeat; }
  .stub-main { padding: 22px 20px 22px; }
  .stub-side { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 0 20px; display: grid; grid-template-columns: auto 1fr; }
  .stub-side::before { left: 18px; right: 18px; top: -1px; bottom: auto; border-left: 0; border-top: 2px dashed rgba(220, 203, 171, .5); }
  .stub-side img { grid-row: span 2; margin: 0 6px 0 0; height: 22px; }
  .stub-side em { display: none; }
  .stub-side .code { font-size: 22px; }
  .code-row { flex-direction: column; }
  .code-row input { flex: none; }
  .code-row .btn { width: 100%; }
  .sec-top { flex-direction: column; align-items: stretch; }
  .sec-top .arrows { display: none; }
  .hero-ctas .btn-line { display: none; }
  .tab { padding: 0 9px; font-size: 16px; letter-spacing: .1em; min-height: 48px; }
  .tab small { display: none; }
  .tab[aria-current="true"]::after { left: 9px; right: 9px; }
  .g-intro .price-note { justify-content: flex-start; }
  .gcard { flex-basis: 78vw; }
  .sel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .sel-grid .tile figcaption { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 10px; }
  .sel-grid .tile .cap b { font-size: 15.5px; }
  .sel-grid .tile .buy { justify-content: center; }
  .pgrid { columns: 1; }
  .tile figcaption { gap: 10px; }
  .form { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ftr-grid img { width: 130px; }
  .ftr-base { flex-direction: column; }
  .lb-stage { padding: 0; }
  .lb-nav { top: auto; bottom: 10px; transform: none; width: 48px; height: 48px; }
  .lb-prev { left: auto; right: calc(var(--gut) + 56px); }
  .lb-next { right: var(--gut); }
  .lb-fig img { max-height: calc(100svh - 300px); }
  .lb-stage { padding-bottom: 68px; }
  .lb-bot { flex-direction: column; align-items: stretch; }
  .lb-buy { flex-direction: column; align-items: stretch; gap: 8px; }
  .lb-buy .buy { justify-content: center; }
  .tiers { margin-top: 24px; }
  .tier { padding: 14px 14px; }
  .tier .p { font-size: 28px; }
  .tier.all .btn { width: 100%; }
  .tgrid { gap: 18px 12px; }
  .tcard .row { flex-direction: column; align-items: stretch; gap: 8px; }
  .tcard .row .buy { justify-content: center; }
  .cartbar-in { gap: 12px; min-height: 70px; }
  .cartbar .sum strong { font-size: 19px; }
  .cartbar .sum span { font-size: 13px; }
  .cartbar .btn { padding: 0 16px; font-size: 15px; letter-spacing: .12em; }
  .receipt { padding: 24px 20px 30px; }
  .dl-list li { grid-template-columns: 84px minmax(0, 1fr); gap: 8px 14px; }
  .dl-list img { width: 84px; grid-row: span 2; }
  .dl-list .btn { grid-column: 2; justify-self: start; }
  .dl-acts { width: 100%; flex-direction: column; }
  .dl-acts .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding-top: 10px; padding-bottom: 10px; }
  .drawer-panel { top: auto; height: min(88svh, 720px); width: 100%; transform: translateY(100%); border-radius: 10px 10px 0 0; overflow: hidden; }
  .drawer-head { padding: 8px 18px; }
  .drawer-body { padding: 4px 18px 18px; }
  .drawer-foot { padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* footer: credits + build note on one line (desktop), stacked on phones */
/* Privacy policy (privacy.html): one readable column */
.legal { padding-bottom: clamp(56px, 8vw, 110px); }
.legal .page-head { max-width: 46em; }
.legal .updated { margin-top: 14px; font-size: 14px; color: var(--moss); }
.legal section { max-width: 42em; margin-top: clamp(34px, 4vw, 48px); scroll-margin-top: 90px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: .08em; margin-bottom: 14px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.ftr-base a[aria-current="page"] { color: var(--paper); }
.ftr-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.ftr-build { color: var(--on-dark-2); }
.ftr-build a { min-height: 44px; color: var(--sand); text-underline-offset: 3px; }
.ftr-build a:hover { color: var(--paper); }
.contact .email a { display: inline-flex; align-items: center; min-height: 44px; }
