/* ==========================================================================
   Sammer Studios
   ========================================================================== */

:root {
  color-scheme: dark;   /* native dropdowns, scrollbars and date pickers follow the dark theme */
  --ink:        #0a0a0b;
  --ink-2:      #121214;
  --ink-3:      #1b1b1e;
  --line:       #2a2a2e;
  --paper:      #f4f2ef;
  --paper-dim:  #a4a09a;
  --paper-dimmer: #6f6c67;
  --gold:       #c9a227;
  --gold-soft:  #d8bb63;
  --red:        #d9614c;

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --pad: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1440px;
  --rule: 1px solid var(--line);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

::selection { background: var(--gold); color: var(--ink); }

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

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.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: 50%; translate: -50% -120%;
  z-index: 200; background: var(--paper); color: var(--ink);
  padding: .7rem 1.2rem; border-radius: 0 0 4px 4px; font-size: .85rem;
  transition: translate .2s var(--ease);
}
.skip-link:focus { translate: -50% 0; }

/* --------------------------------------------------------------- eyebrow */
.eyebrow {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--paper-dim);
  font-weight: 500;
  margin: 0 0 1.1rem;
}
.eyebrow--gold { color: var(--gold-soft); }

/* ---------------------------------------------------------------- header */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem var(--pad);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease),
              border-color .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-stuck,
.site-head.is-open {
  background: rgba(10, 10, 11, .88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: .85rem;
}
body.page-solid .site-head { background: rgba(10,10,11,.88); backdrop-filter: blur(14px); border-bottom-color: var(--line); }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif); font-size: 1.12rem; letter-spacing: .01em;
}
.brand-sub {
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--paper-dim); margin-top: .32rem;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  text-decoration: none; font-size: .82rem; letter-spacing: .06em;
  color: var(--paper-dim); transition: color .2s;
  position: relative; padding-block: .3rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); scale: 0 1; transform-origin: left;
  transition: scale .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a:hover::after, .nav a[aria-current="page"]::after { scale: 1 1; }

.nav-cta {
  border: var(--rule); border-color: var(--paper-dimmer);
  padding: .55rem 1.1rem !important; border-radius: 999px;
  color: var(--paper) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--paper); color: var(--ink) !important; border-color: var(--paper); }

.cart-pill {
  display: none; align-items: center; gap: .4rem;
  font-size: .78rem; color: var(--paper);
  border: var(--rule); border-radius: 999px; padding: .45rem .85rem;
  text-decoration: none; transition: border-color .2s, background .2s;
}
.cart-pill.is-visible { display: inline-flex; }
.cart-pill:hover { border-color: var(--gold); }
.cart-pill b { color: var(--gold-soft); font-weight: 600; }

.burger {
  display: none; background: none; border: 0; padding: .4rem; cursor: pointer;
  width: 40px; height: 34px;
}
.burger span {
  display: block; height: 1.5px; background: var(--paper); border-radius: 2px;
  transition: translate .3s var(--ease), rotate .3s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 7px; }
.site-head.is-open .burger span:nth-child(1) { translate: 0 8.5px; rotate: 45deg; }
.site-head.is-open .burger span:nth-child(2) { opacity: 0; }
.site-head.is-open .burger span:nth-child(3) { translate: 0 -8.5px; rotate: -45deg; }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink);   /* solid: never depends on backdrop-filter support */
    border-bottom: var(--rule);
    padding: .5rem var(--pad) 1.75rem;
    clip-path: inset(0 0 100% 0); pointer-events: none;
    transition: clip-path .4s var(--ease);
  }
  .site-head.is-open .nav { clip-path: inset(0 0 0 0); pointer-events: auto; }
  .nav a { padding: .95rem 0; font-size: 1rem; border-bottom: var(--rule); }
  .nav a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 1.1rem; border-color: var(--paper-dimmer) !important; }
}

/* ------------------------------------------------------------------ hero
   Layers are ordered by DOM position, not z-index: media, then scrim, then
   content. Positioned elements with z-index:auto paint in tree order, which
   avoids the compositing quirks that negative and stacked indices invite. */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  overflow: hidden; background: var(--ink-2);
  /* Content is bottom-aligned. On a short window it would otherwise overflow
     upward and collide with the fixed header, so reserve that space. */
  padding-top: 6.5rem;
}
.hero-media { position: absolute; inset: 0; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  /* Two layers: bottom-heavy so the caption row reads, left-heavy so the
     headline reads while the sky stays bright on the right. */
  background:
    linear-gradient(to bottom, rgba(10,10,11,.62) 0px, rgba(10,10,11,.2) 92px, rgba(10,10,11,0) 170px),
    linear-gradient(to top,   rgba(10,10,11,.94) 0%, rgba(10,10,11,.58) 26%, rgba(10,10,11,.16) 60%, rgba(10,10,11,.14) 80%, rgba(10,10,11,.5) 100%),
    linear-gradient(to right, rgba(10,10,11,.74) 0%, rgba(10,10,11,.46) 32%, rgba(10,10,11,0) 64%);
}
.hero-inner {
  position: relative;
  padding: 0 var(--pad) clamp(3rem, 8vh, 6rem);
  max-width: var(--maxw); margin-inline: auto; width: 100%;
}

/* On a narrow screen the text spans the full width, so the left-heavy layer
   stops helping. Darken the lower two thirds instead. */
@media (max-width: 700px) {
  .hero-scrim {
    background:
      linear-gradient(to bottom, rgba(10,10,11,.6) 0px, rgba(10,10,11,.16) 96px, rgba(10,10,11,0) 170px),
      linear-gradient(to top,    rgba(10,10,11,.95) 0%, rgba(10,10,11,.74) 30%, rgba(10,10,11,.46) 58%, rgba(10,10,11,.3) 80%, rgba(10,10,11,.42) 100%);
  }
}
/* Shadows keep the type readable if the hero photograph is ever swapped for
   a brighter one. */
.hero .eyebrow {
  color: rgba(244, 242, 239, .92);
  text-shadow: 0 1px 14px rgba(10, 10, 11, .85);
}
.hero h1 {
  font-size: clamp(2.9rem, 9.5vw, 8.5rem);
  letter-spacing: -0.035em; margin-bottom: .5rem;
  text-shadow: 0 2px 30px rgba(10, 10, 11, .55);
}
.hero-tag, .hero-meta { text-shadow: 0 1px 16px rgba(10, 10, 11, .8); }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-tag {
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  color: var(--paper); max-width: 34ch; margin: 0 0 2rem;
  text-wrap: balance;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--paper-dim);
  border-top: var(--rule); padding-top: 1.4rem; margin-top: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.scroll-cue {
  position: absolute; bottom: 1.4rem; right: var(--pad);
  writing-mode: vertical-rl; font-size: .64rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--paper-dim);
  display: flex; align-items: center; gap: .8rem;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 48px;
  background: linear-gradient(var(--paper-dim), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
/* Opacity only. Animating `scale` here inside a vertical writing mode makes
   some Chromium builds drop the hero image's compositor layer entirely. */
@keyframes cue { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase;
  padding: .95rem 1.9rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), translate .25s var(--ease);
}
.btn:hover { translate: 0 -2px; }
.btn:disabled { opacity: .45; cursor: not-allowed; translate: none; }
.btn--solid { background: var(--paper); color: var(--ink); }
.btn--solid:hover { background: var(--gold-soft); }
.btn--ghost { border-color: rgba(244,242,239,.42); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(244,242,239,.08); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--block { width: 100%; }
.btn--sm { padding: .68rem 1.3rem; font-size: .74rem; }

/* -------------------------------------------------------------- sections */
.section { padding-block: clamp(4.5rem, 11vh, 9rem); }
.section--tight { padding-block: clamp(3rem, 7vh, 5.5rem); }
.section--line { border-top: var(--rule); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 5vh, 3.5rem);
}
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.section-head p { color: var(--paper-dim); max-width: 46ch; margin: .9rem 0 0; }
.link-more {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--paper-dim);
  display: inline-flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid var(--line); padding-bottom: .35rem;
  transition: color .2s, border-color .2s, gap .2s;
}
.link-more:hover { color: var(--paper); border-color: var(--gold); gap: .85rem; }

/* ----------------------------------------------------------- photo tiles */
.tile {
  position: relative; display: block; overflow: hidden;
  background: var(--ink-2); text-decoration: none;
  border: 0; padding: 0; width: 100%; cursor: zoom-in;
  font: inherit; color: inherit; text-align: left;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: scale .9s var(--ease), filter .5s var(--ease);
  background-size: cover; background-position: center;
}
.tile:hover img, .tile:focus-visible img { scale: 1.045; }
.tile-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.6rem 1.15rem .95rem;
  background: linear-gradient(to top, rgba(10,10,11,.9), transparent);
  opacity: 0; translate: 0 8px;
  transition: opacity .3s var(--ease), translate .3s var(--ease);
  pointer-events: none;
}
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; translate: 0; }
.tile-cap b { display: block; font-family: var(--serif); font-size: 1.02rem; font-weight: 400; }
.tile-cap span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-dim); }

/* featured mosaic (home) */
.mosaic {
  display: grid; gap: clamp(.5rem, 1.1vw, 1rem);
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(90px, 12.5vw, 175px);
}
.mosaic .tile { height: 100%; }
.m-a { grid-column: span 4; grid-row: span 3; }
.m-b { grid-column: span 2; grid-row: span 3; }
.m-c { grid-column: span 2; grid-row: span 2; }
.m-d { grid-column: span 2; grid-row: span 2; }
.m-e { grid-column: span 2; grid-row: span 2; }
.m-f { grid-column: span 3; grid-row: span 3; }
.m-g { grid-column: span 3; grid-row: span 3; }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(80px, 20vw, 130px); }
  .m-a { grid-column: span 4; grid-row: span 3; }
  .m-b, .m-c, .m-d, .m-e { grid-column: span 2; grid-row: span 2; }
  .m-f, .m-g { grid-column: span 4; grid-row: span 3; }
}

/* masonry gallery (portfolio + shop) */
.masonry { columns: 4 300px; column-gap: clamp(.55rem, 1.1vw, 1rem); }
.masonry > * { break-inside: avoid; margin-bottom: clamp(.55rem, 1.1vw, 1rem); }
@media (max-width: 640px) { .masonry { columns: 2 150px; } }

/* ---------------------------------------------------------------- filter */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: clamp(1.6rem, 4vh, 2.6rem);
}
.filter {
  font: inherit; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  background: none; border: var(--rule); color: var(--paper-dim);
  padding: .6rem 1.15rem; border-radius: 999px; cursor: pointer;
  transition: all .22s var(--ease);
}
.filter:hover { color: var(--paper); border-color: var(--paper-dimmer); }
.filter[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* -------------------------------------------------------------- lightbox */
.lightbox {
  --lb-chrome: 190px;          /* top bar + caption row */
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6,6,7,.97);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; grid-template-rows: auto 1fr auto;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lb-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
}
.lb-count { font-size: .74rem; letter-spacing: .16em; color: var(--paper-dim); }
.lb-tools { display: flex; gap: .55rem; align-items: center; }
.lb-stage {
  position: relative; display: grid; place-items: center;
  padding: 0 clamp(.5rem, 5vw, 4.5rem); min-height: 0;
}
.lb-stage img {
  /* Height is capped in viewport units, which always resolve. A percentage
     height would not resolve against the lightbox's `1fr` row, and that is
     what let tall frames spill over the caption. --lb-chrome is the space the
     top bar and caption take up. */
  max-width: 100%;
  max-height: calc(100svh - var(--lb-chrome));
  width: auto; height: auto;
  object-fit: contain;
  opacity: 0; transition: opacity .3s var(--ease);
}
.lb-stage img.is-ready { opacity: 1; }
.lb-nav {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(244,242,239,.07); border: var(--rule);
  color: var(--paper); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s, scale .2s;
}
.lb-nav:hover { background: rgba(244,242,239,.16); border-color: var(--paper-dimmer); scale: 1.06; }
.lb-prev { left: clamp(.4rem, 1.6vw, 1.4rem); }
.lb-next { right: clamp(.4rem, 1.6vw, 1.4rem); }
.lb-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding: 1.1rem clamp(1rem, 3vw, 2rem) 1.6rem;
}
.lb-foot h3 { font-size: clamp(1.15rem, 2.4vw, 1.7rem); }
.lb-foot .meta { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-dim); margin-top: .4rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(244,242,239,.07); border: var(--rule); color: var(--paper);
  cursor: pointer; transition: background .2s, border-color .2s, rotate .3s;
}
.icon-btn:hover { background: rgba(244,242,239,.16); border-color: var(--paper-dimmer); }
.lb-close:hover { rotate: 90deg; }
@media (max-width: 640px) {
  .lightbox { --lb-chrome: 240px; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-foot { padding-bottom: 1.1rem; }
  .lb-foot .btn { width: 100%; }
}

/* ---------------------------------------------------------------- panels */
.card {
  background: var(--ink-2); border: var(--rule);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 3px;
}

.grid-3 { display: grid; gap: clamp(.9rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.grid-2 { display: grid; gap: clamp(1.5rem, 4vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }

/* service / package cards */
.pkg { display: flex; flex-direction: column; height: 100%; transition: border-color .3s var(--ease), translate .3s var(--ease); }
.pkg:hover { border-color: var(--paper-dimmer); translate: 0 -3px; }
.pkg h3 { font-size: 1.55rem; }
.pkg .price {
  font-family: var(--serif); font-size: 2rem; color: var(--gold-soft);
  margin: .9rem 0 .2rem;
}
.pkg .dur { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-dim); }
.pkg .sum { color: var(--paper-dim); font-size: .93rem; margin: 1.1rem 0 1.3rem; }
.pkg ul { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .55rem; }
.pkg li { font-size: .88rem; padding-left: 1.4rem; position: relative; color: var(--paper); }
.pkg li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold); opacity: .8;
}
.pkg .btn { margin-top: auto; }

/* ----------------------------------------------------------------- forms */
.field { display: grid; gap: .45rem; margin-bottom: 1.15rem; }
.field label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-dim); }
.field .req { color: var(--gold-soft); }
input, select, textarea {
  font: inherit; font-size: .95rem; color: var(--paper);
  background: var(--ink); border: var(--rule); border-radius: 3px;
  padding: .8rem .95rem; width: 100%;
  transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: var(--ink-3); }
input::placeholder, textarea::placeholder { color: var(--paper-dimmer); }
textarea { resize: vertical; min-height: 118px; }
option { background: var(--ink-2); color: var(--paper); }
select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a4a09a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem;
}
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--paper-dim); margin-top: 1rem; }
.form-status { margin-top: 1.1rem; font-size: .9rem; padding: .9rem 1.1rem; border-radius: 3px; display: none; }
.form-status.is-shown { display: block; }
.form-status.ok { background: rgba(201,162,39,.12); border: 1px solid rgba(201,162,39,.4); color: var(--gold-soft); }
.form-status.err { background: rgba(217,97,76,.12); border: 1px solid rgba(217,97,76,.4); color: var(--red); }

/* ------------------------------------------------------------------ shop */
.shop-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
@media (max-width: 1024px) { .shop-layout { grid-template-columns: 1fr; } }

.cart-panel {
  position: sticky; top: 92px;
  max-height: calc(100svh - 108px);
  overflow-y: auto; overscroll-behavior: contain;
  padding-right: .35rem;          /* room for the scrollbar */
  scrollbar-width: thin;
}
@media (max-width: 1024px) { .cart-panel { position: static; max-height: none; overflow: visible; } }
.cart-lines { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .9rem; }
.cart-line { display: grid; grid-template-columns: 46px 1fr auto; gap: .75rem; align-items: center; font-size: .85rem; }
.cart-line img { width: 46px; height: 46px; object-fit: cover; border-radius: 2px; }
.cart-line b { display: block; font-weight: 500; }
.cart-line span { color: var(--paper-dim); font-size: .76rem; }
.cart-line .rm {
  background: none; border: 0; color: var(--paper-dimmer); cursor: pointer;
  font-size: 1.2rem; line-height: 1; padding: .2rem .35rem; transition: color .2s;
}
.cart-line .rm:hover { color: var(--red); }
.cart-tot { border-top: var(--rule); padding-top: 1rem; display: grid; gap: .45rem; font-size: .88rem; }
.cart-tot .row { display: flex; justify-content: space-between; color: var(--paper-dim); }
.cart-tot .row.grand { color: var(--paper); font-size: 1.15rem; font-family: var(--serif); padding-top: .5rem; border-top: var(--rule); }
.cart-empty { color: var(--paper-dim); font-size: .9rem; text-align: center; padding: 1.6rem 0; }

/* order modal */
.modal {
  position: fixed; inset: 0; z-index: 320; display: grid; place-items: center;
  background: rgba(6,6,7,.9); backdrop-filter: blur(6px);
  padding: 1rem; opacity: 0; pointer-events: none; transition: opacity .28s var(--ease);
  overflow-y: auto;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--ink-2); border: var(--rule); border-radius: 4px;
  width: min(620px, 100%); max-height: 92vh; overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  translate: 0 14px; transition: translate .28s var(--ease);
}
.modal.is-open .modal-box { translate: 0; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.modal-head h2 { font-size: 1.8rem; }

/* size picker inside lightbox / shop */
.size-list { display: grid; gap: .5rem; margin: 1rem 0 1.4rem; }
.size-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border: var(--rule); border-radius: 3px; padding: .8rem 1rem; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.size-opt:hover { border-color: var(--paper-dimmer); }
.size-opt input { width: auto; margin: 0; accent-color: var(--gold); }
.size-opt.is-on { border-color: var(--gold); background: rgba(201,162,39,.07); }
.size-opt .lbl { display: flex; align-items: center; gap: .7rem; font-size: .92rem; }
.size-opt .ratio { color: var(--paper-dimmer); font-size: .74rem; }
.size-opt .amt { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-soft); }
.fam-tabs { display: flex; gap: .4rem; margin-bottom: 1rem; }
.fam-tab {
  flex: 1; font: inherit; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  background: none; border: var(--rule); color: var(--paper-dim);
  padding: .6rem; border-radius: 3px; cursor: pointer; transition: all .2s;
}
.fam-tab[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.fam-note { font-size: .8rem; color: var(--paper-dim); margin: 0 0 1.2rem; }

/* --------------------------------------------------------------- toast */
.toast {
  position: fixed; left: 50%; bottom: 1.6rem; translate: -50% 130%;
  z-index: 400; background: var(--paper); color: var(--ink);
  padding: .85rem 1.5rem; border-radius: 999px; font-size: .86rem; font-weight: 500;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  transition: translate .4s var(--ease);
  display: flex; align-items: center; gap: .6rem;
}
.toast.is-up { translate: -50% 0; }

/* ---------------------------------------------------------------- footer */
.site-foot { border-top: var(--rule); padding-block: clamp(3rem, 7vh, 5rem) 2rem; }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { color: var(--paper-dim); max-width: 34ch; font-size: .92rem; margin: 1rem 0 0; }
.foot-col h4 { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--paper-dim); font-family: var(--sans); font-weight: 500; margin-bottom: 1.1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot-col a { text-decoration: none; font-size: .92rem; color: var(--paper); transition: color .2s; }
.foot-col a:hover { color: var(--gold-soft); }
.foot-base {
  margin-top: clamp(2.5rem, 6vh, 4rem); padding-top: 1.6rem; border-top: var(--rule);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .78rem; color: var(--paper-dimmer);
}
.ig { display: inline-flex; align-items: center; gap: .5rem; }
.ig svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ------------------------------------------------------------- utilities */
/* Hidden only once JS has confirmed it will animate them. Without this guard a
   scripting failure would leave whole sections invisible. */
.reveal-ready .reveal { opacity: 0; translate: 0 22px; }
.reveal { transition: opacity .8s var(--ease), translate .8s var(--ease); }
.reveal-ready .reveal.is-in { opacity: 1; translate: 0; }
@media (prefers-reduced-motion: reduce) { .reveal-ready .reveal { opacity: 1; translate: 0; } }

.lede { font-size: clamp(1.1rem, 2.1vw, 1.5rem); line-height: 1.5; color: var(--paper); text-wrap: pretty; }
.prose p { color: var(--paper-dim); margin: 0 0 1.2rem; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }

.page-head { padding-top: clamp(7.5rem, 15vh, 11rem); }
.page-head h1 { font-size: clamp(2.6rem, 7.5vw, 6rem); letter-spacing: -.03em; }
.page-head .lede { max-width: 52ch; margin-top: 1.4rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  border: var(--rule); border-radius: 999px; padding: .45rem 1rem; color: var(--paper-dim);
}

/* ------------------------------------------------------------- experience
   The client strip under the hero. Quiet by design: it is a credential list,
   not a logo wall, and inventing logos would be worse than none. */
.experience {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  background: var(--line);
  border: var(--rule);
  border-radius: 3px; overflow: hidden;
}
.exp {
  background: var(--ink); padding: 1.4rem 1.3rem;
  display: flex; flex-direction: column; gap: .4rem;
  transition: background .3s var(--ease);
}
.exp:hover { background: var(--ink-2); }
.exp b {
  font-family: var(--serif); font-size: 1.08rem; font-weight: 400;
  color: var(--paper); letter-spacing: .005em;
}
.exp span { font-size: .82rem; color: var(--paper-dim); line-height: 1.45; }

/* ------------------------------------------------------------ collections
   Bigger and more visual than the old card row: full-bleed imagery with the
   name and blurb sitting on the picture. */
.coll-group + .coll-group { margin-top: clamp(2.5rem, 6vh, 4rem); }
.coll-group-title {
  font-family: var(--sans); font-size: .68rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--paper-dim);
  margin: 0 0 1.2rem; padding-bottom: .9rem; border-bottom: var(--rule);
}
.coll-grid {
  display: grid; gap: clamp(.6rem, 1.2vw, 1rem);
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.coll-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; text-decoration: none;
  background: var(--ink-2); border-radius: 3px;
}
.coll-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: scale .9s var(--ease);
}
.coll-card:hover img, .coll-card:focus-visible img { scale: 1.05; }
.coll-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,10,11,.96) 0%, rgba(10,10,11,.82) 20%, rgba(10,10,11,.42) 48%, rgba(10,10,11,.06) 78%);
}
.coll-text {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.4rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.coll-text b { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 400; }
.coll-text em {
  font-style: normal; font-size: .87rem; color: var(--paper-dim); line-height: 1.5;
  max-width: 34ch;
}
.coll-text i {
  font-style: normal; font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-soft); margin-top: .3rem;
}
@media (max-width: 700px) { .coll-card { aspect-ratio: 3 / 2; } }

/* -------------------------------------------------------------- filmstrip
   Clips keep their own aspect ratio and share a common height, so the
   vertical phone footage and the landscape desk footage sit together. */
.filmstrip {
  display: flex; gap: clamp(.6rem, 1.2vw, 1rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  padding-bottom: .6rem; scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}
.filmstrip .clip {
  height: clamp(240px, 38vh, 440px); width: auto; flex: 0 0 auto;
  border-radius: 3px; background: var(--ink-2);
  scroll-snap-align: start;
  object-fit: cover;
}

/* --------------------------------------------------------------- note band
   Pricing small print, centred. The border is even on all four sides and the
   text block is centred in the panel: a heavier accent on one edge, or a
   measure that hugs the left of a full-width box, both read as lopsided. */
.note-band {
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
  border: var(--rule); border-radius: 3px; background: var(--ink-2);
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.3rem, 3vw, 2.2rem);
  text-align: center;
}
.note-band .eyebrow { margin-bottom: .9rem; }
.note-band p:last-child {
  margin: 0 auto; color: var(--paper-dim); font-size: .95rem;
  line-height: 1.7; max-width: 68ch; text-wrap: pretty;
}
/* A short centred rule instead of the old left edge accent. */
.note-band::before {
  content: ""; display: block; width: 42px; height: 2px;
  background: var(--gold); margin: 0 auto 1.1rem; opacity: .85;
}

/* ----------------------------------------------------------- filter rows */
.filter-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin-bottom: .7rem;
}
.filter-row + .filter-row { margin-top: .3rem; }
.filter-label {
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--paper-dimmer); margin-right: .5rem;
  min-width: 8.5rem;
}
@media (max-width: 560px) {
  .filter-label { min-width: 100%; margin-bottom: .1rem; }
}

/* ------------------------------------------------------------ pay panel */
.pay-panel {
  margin-top: 1.4rem; padding: 1.3rem;
  border: var(--rule); border-left: 2px solid var(--gold);
  border-radius: 3px; background: var(--ink);
}
.pay-btn + .pay-btn { margin-top: .6rem; }
.pay-panel .form-note { margin-top: .7rem; }

/* ------------------------------------------------------- instagram strip */
.ig-strip {
  display: grid; gap: clamp(.4rem, .9vw, .7rem);
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.ig-tile {
  position: relative; display: block; aspect-ratio: 1;
  overflow: hidden; border-radius: 2px; background: var(--ink-2);
}
.ig-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: scale .6s var(--ease), opacity .3s;
  opacity: .88;
}
.ig-tile:hover img { scale: 1.06; opacity: 1; }
.ig-play {
  position: absolute; right: .5rem; bottom: .4rem;
  font-size: .7rem; color: var(--paper);
  text-shadow: 0 1px 6px rgba(0,0,0,.8); pointer-events: none;
}

/* ---------------------------------------------------------- arabic mark
   Sammer writes Arabic calligraphy, so an Arabic wordmark belongs on the
   brand. Amiri is a classical Naskh typeface: this is set type, never passed
   off as his hand-lettering. */
.arabic-mark {
  font-family: "Amiri", "Geeza Pro", "Noto Naskh Arabic", serif;
  direction: rtl; unicode-bidi: isolate;
  font-size: 1.75rem; line-height: 1.6;
  color: var(--gold-soft); opacity: .82;
  margin: .9rem 0 0; letter-spacing: 0;
}
.arabic-mark--lg { font-size: clamp(2.4rem, 6vw, 4rem); opacity: .9; margin: 0; }
.arabic-rule {
  display: flex; align-items: center; gap: 1.2rem;
  margin-top: 1.4rem;
}
.arabic-rule::before, .arabic-rule::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

/* --------------------------------------------------- collection intro
   Spans the content width under the filters rather than sitting as a narrow
   left-hand column, and disappears entirely when there is nothing to say. */
.collection-intro {
  margin: .4rem 0 2rem;
  padding-top: 1.1rem;
  border-top: var(--rule);
  color: var(--paper-dim);
  font-size: 1rem; line-height: 1.6;
  max-width: 68ch;
}
.collection-intro[hidden] { display: none; }

/* ------------------------------------------------------------ photo grid
   A plain grid, not CSS columns. Columns left orphans: ten tiles across five
   columns came out 2/2/2/3/1 with one hanging below the rest. */
.photo-grid {
  /* Fixed column counts, not auto-fit: with auto-fit the column count drifts
     with the viewport and leaves a ragged final row. Four and two both divide
     the eight tiles cleanly. */
  display: grid; gap: clamp(.5rem, 1vw, .8rem);
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 640px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
.photo-grid .tile { aspect-ratio: 1; }
.photo-grid .tile img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------- testimonials */
.quotes {
  display: grid; gap: clamp(.9rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.quote {
  display: flex; flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: var(--rule); border-radius: 3px; background: var(--ink-2);
}
.quote blockquote {
  margin: 0 0 1.4rem; font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.55;
  color: var(--paper); text-wrap: pretty;
}
.quote blockquote::before { content: "\201C"; color: var(--gold); margin-right: .1em; }
.quote blockquote::after  { content: "\201D"; color: var(--gold); }
.quote cite {
  margin-top: auto; font-style: normal;
  font-size: .8rem; letter-spacing: .02em; color: var(--paper);
}
.quote cite span {
  display: block; font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-soft); margin-top: .35rem;
}

/* --------------------------------------------------------- vintage tag */
.vintage-tag { color: var(--gold-soft); }

/* ------------------------------------------------------- tagged clips */
.clip-wrap {
  position: relative; margin: 0; flex: 0 0 auto;
  scroll-snap-align: start;
}
.filmstrip .clip-wrap .clip { scroll-snap-align: none; }
.clip-tag {
  position: absolute; left: .55rem; bottom: .55rem;
  font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--paper); background: rgba(10,10,11,.72);
  backdrop-filter: blur(4px);
  padding: .3rem .55rem; border-radius: 2px;
  pointer-events: none;
}
