/* ============================================================
   ROTTEN BANANAS — handmade portraiture & wearable art
   Design system recreated from the Claude Design handoff,
   extended with original motion + interaction cues.
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #0e0d0b;   /* near-black */
  --bg-band:   #131109;   /* warm shop/services band */
  --bg-field:  #16140f;   /* inputs, image wells */

  /* ink */
  --text:      #e9e3d6;   /* bone */
  --text-dim:  #cfc8b9;
  --text-mute: #8f887a;
  --text-warm: #a8a091;   /* warm secondary body copy */
  --text-faint:#6f695d;

  /* lines */
  --line:   rgba(233,227,214,0.12);
  --line-2: rgba(233,227,214,0.14);
  --line-3: rgba(233,227,214,0.20);

  /* accent (swappable via the mood dock) */
  --accent: #b89240;      /* antique gold */
  --accent-soft: rgba(184,146,64,0.4);

  /* type */
  --serif-display: 'Cormorant Garamond', Georgia, serif;
  --serif-body: 'EB Garamond', Georgia, serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  /* motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  color: var(--text);
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection { background: var(--accent); color: var(--bg); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a271f; }

a { color: inherit; text-decoration: none; }
img { display: block; }
input, textarea, select, button { font-family: inherit; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* shared helpers ------------------------------------------------ */
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--accent);
}
.mono { font-family: var(--mono); }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 28px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity .3s, background .3s, border-color .3s, color .3s, transform .3s var(--ease);
  background: none;
}
.btn--solid { background: var(--accent); color: var(--bg); }
.btn--solid:hover { opacity: .82; }
.btn--ghost { border-color: var(--line-3); color: var(--text); }
.btn--ghost:hover { background: rgba(233,227,214,0.06); border-color: rgba(233,227,214,0.6); }
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.link-arrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
  padding-bottom: 3px;
  transition: color .3s, border-color .3s;
}
.link-arrow:hover { color: var(--text); border-color: var(--accent); }

/* skip link ----------------------------------------------------- */
.skip-link {
  position: fixed;
  left: 12px; top: -60px;
  z-index: 2000;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ============================================================
   GLOBAL TEXTURE + MOTION CUES
   ============================================================ */

/* film grain */
.grain {
  position: fixed; inset: 0; z-index: 900;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 7s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-4%, 3%); }
  40%  { transform: translate(3%, -5%); }
  60%  { transform: translate(-3%, 4%); }
  80%  { transform: translate(5%, 2%); }
  100% { transform: translate(0,0); }
}

/* scroll progress "rot" bar */
.scroll-rot {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  z-index: 1000;
  background: linear-gradient(90deg, transparent, var(--accent));
  box-shadow: 0 0 12px var(--accent);
  transition: width .12s linear;
  pointer-events: none;
}

/* soft cursor glow */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 380px; height: 380px;
  margin: -190px 0 0 -190px;
  z-index: 400;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .5s ease;
  will-change: transform;
}

/* reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 1s ease, transform 1s var(--ease);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 800;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(14,13,11,0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 13px; cursor: pointer; }
.brand-mark {
  height: 40px; width: auto;
  transition: transform .5s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.07); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.42em;
  color: var(--accent); text-transform: uppercase;
}
.brand-name {
  font-family: var(--serif-display); font-weight: 600; font-size: 25px;
  letter-spacing: 0.02em; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-mute);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); border-bottom-color: var(--accent); }

/* mobile menu toggle */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--line-3);
  cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--text);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HOME
   ============================================================ */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  padding: 70px 40px 90px; max-width: 1320px; margin: 0 auto;
}
.hero h1 {
  font-family: var(--serif-display); font-weight: 300;
  font-size: clamp(56px, 8vw, 92px); line-height: 0.94; letter-spacing: -0.01em;
  margin: 0 0 30px;
}
.hero h1 em { font-weight: 500; font-style: italic; }
.hero .kicker { display: block; margin-bottom: 28px; letter-spacing: 0.34em; }
.hero-lead {
  font-size: 21px; line-height: 1.65; max-width: 460px;
  color: var(--text-dim); margin: 0 0 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-figure { margin: 0; position: relative; }
.hero-frame { position: relative; overflow: hidden; background: #16140f; }
.hero-frame img {
  width: 100%; height: clamp(420px, 60vw, 620px); object-fit: cover;
  object-position: center 22%;
  filter: contrast(1.04) brightness(0.96);
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
}
.hero-figure:hover .hero-frame img { transform: scale(1.04); filter: contrast(1.08) brightness(1); }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,13,11,0.55) 100%);
}
.hero-cap {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute); margin-top: 12px;
  display: flex; justify-content: space-between; gap: 12px;
}
.hero-cap .featured { color: var(--accent); }

/* marquee */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 14px 0;
}
.marquee-track {
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: marquee 34s linear infinite;
}
.marquee-track span {
  font-family: var(--serif-display); font-style: italic; font-size: 22px;
  color: var(--text-faint); letter-spacing: 0.04em; padding: 0 1.2em;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* section scaffolding */
.section { max-width: 1320px; margin: 0 auto; padding: 90px 40px 40px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 40px;
}
.section-head h2 {
  font-family: var(--serif-display); font-weight: 400; font-size: clamp(34px, 5vw, 48px); margin: 0;
}

/* work grid (home + shop pages share the card) */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.piece { margin: 0; cursor: pointer; }
.piece-frame {
  position: relative; overflow: hidden; height: 380px;
  background: var(--wash, #16140f);
}
.piece-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  filter: contrast(1.03) saturate(0.82);
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}
/* image "rot bloom": desaturated at rest, saturates on hover */
.piece:hover .piece-frame img { transform: scale(1.05); filter: contrast(1.06) saturate(1.06); }
.piece-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 9px);
}
.piece-ph span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(233,227,214,0.55); text-align: center; padding: 0 20px;
}
.piece-cap {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; gap: 10px;
}
.piece-cap .title { font-family: var(--serif-display); font-size: 24px; font-style: italic; }
/* declare intrinsic aspect ratio so image boxes are reserved even if a frame height is removed */
.piece-frame img, .shop-frame img, .hero-frame img, .detail-media img { aspect-ratio: 905 / 1178; }
.piece-cap .meta {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); white-space: nowrap;
}

/* statement */
.statement { max-width: 900px; margin: 0 auto; padding: 100px 40px; text-align: center; }
.statement p {
  font-family: var(--serif-display); font-weight: 300;
  font-size: clamp(26px, 4vw, 38px); line-height: 1.35; margin: 0 0 32px;
}
.statement .kicker { display: block; margin-bottom: 28px; }
.statement .about-link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text); border-bottom: 1px solid var(--accent); padding-bottom: 4px;
  transition: color .3s;
}
.statement .about-link:hover { color: var(--accent); }

/* shop teaser band */
.band { background: var(--bg-band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-inner { max-width: 1320px; margin: 0 auto; padding: 80px 40px; }
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.teaser { cursor: pointer; }
.teaser-frame {
  position: relative; overflow: hidden; height: 260px;
  display: flex; align-items: center; justify-content: center;
  /* hatch on top, per-tile colour wash beneath — layered so the shorthand can't clobber the wash */
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 9px),
    var(--wash, linear-gradient(#16140f, #16140f));
}
.teaser-frame span {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(233,227,214,0.55); text-align: center; padding: 0 16px;
}
.teaser-cap { margin-top: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.teaser-cap .title { font-family: var(--serif-display); font-size: 20px; font-style: italic; }
.teaser-cap .price { font-family: var(--mono); font-size: 11px; color: var(--accent); }

/* services teaser (home) */
.svc-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.svc-teaser h2 {
  font-family: var(--serif-display); font-weight: 400; font-size: clamp(38px, 5vw, 54px);
  line-height: 1.02; margin: 0 0 26px;
}
.svc-teaser p { font-size: 20px; color: var(--text-dim); max-width: 420px; margin: 0 0 34px; }
.svc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc-tile {
  border: 1px solid var(--line-2); padding: 26px 22px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.svc-tile:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, transparent); transform: translateY(-3px); }
.svc-tile .no { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--accent); }
.svc-tile .t { font-family: var(--serif-display); font-size: 25px; font-style: italic; line-height: 1.1; }

/* ============================================================
   PAGE HEADS (gallery / shop / services / contact)
   ============================================================ */
.page { max-width: 1320px; margin: 0 auto; padding: 64px 40px 40px; }
.page-title {
  font-family: var(--serif-display); font-weight: 300;
  font-size: clamp(52px, 8vw, 76px); margin: 0 0 40px;
}
.page-title--tight { margin-bottom: 20px; }
.page-intro { max-width: 560px; font-size: 19px; color: var(--text-dim); margin: 0 0 44px; }
.page .kicker { display: block; margin-bottom: 16px; }

/* gallery filters */
.filters {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 46px;
  border-bottom: 1px solid var(--line); padding-bottom: 26px;
}
.filter {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 9px 18px; background: transparent; color: var(--text-dim);
  border: 1px solid var(--line-3); cursor: pointer; transition: all .25s;
}
.filter:hover { border-color: var(--accent); color: var(--text); }
.filter.is-active { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* gallery masonry */
.masonry { column-count: 3; column-gap: 28px; }
.masonry .piece { margin: 0 0 28px; break-inside: avoid; }
.masonry .piece-frame { height: var(--h, 440px); }
.masonry .piece-cap .title { font-size: 23px; } /* gallery cards 1px smaller than home per design */

/* ============================================================
   ARTWORK DETAIL
   ============================================================ */
.detail { max-width: 1320px; margin: 0 auto; padding: 40px; }
.back-link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-mute); display: inline-block; margin-bottom: 34px; transition: color .3s;
}
.back-link:hover { color: var(--text); }
.detail-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 60px; align-items: start; }
.detail-media { position: relative; overflow: hidden; background: var(--wash, #16140f); }
.detail-media img { width: 100%; max-height: 780px; object-fit: cover; filter: contrast(1.03); }
.detail-media .ph {
  height: 640px; display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 9px);
}
.detail-media .ph span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(233,227,214,0.55); text-align: center; padding: 0 30px;
}
.detail-info { position: sticky; top: 100px; }
.detail-info .eyebrow {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.detail-info h1 {
  font-family: var(--serif-display); font-weight: 400; font-size: clamp(40px, 6vw, 56px);
  font-style: italic; line-height: 1; margin: 0 0 26px;
}
.detail-info .desc { font-size: 19px; color: var(--text-dim); margin: 0 0 30px; }
.spec { margin: 0 0 34px; border-top: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; }
.spec .row {
  display: flex; justify-content: space-between; padding: 13px 0;
  border-bottom: 1px solid rgba(233,227,214,0.1); text-transform: uppercase; color: var(--text-mute);
}
.spec .row dd { margin: 0; color: var(--text); }
.detail-price { font-family: var(--serif-display); font-size: 34px; margin-bottom: 24px; display: block; }
.detail-actions { display: flex; flex-direction: column; gap: 12px; }
.detail-actions .btn { text-align: center; padding: 16px; }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.shop-card { display: flex; flex-direction: column; }
.shop-frame {
  position: relative; overflow: hidden; height: 340px; background: var(--wash, #16140f);
}
.shop-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  filter: contrast(1.03) saturate(0.85);
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}
.shop-card:hover .shop-frame img { transform: scale(1.05); filter: contrast(1.06) saturate(1.05); }
.shop-frame .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 9px);
}
.shop-frame .ph span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(233,227,214,0.55); text-align: center; padding: 0 20px;
}
.shop-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(14,13,11,0.8); padding: 5px 9px;
}
.shop-card .row { margin-top: 15px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.shop-card .title { font-family: var(--serif-display); font-size: 24px; font-style: italic; }
.shop-card .price { font-family: var(--mono); font-size: 13px; color: var(--accent); white-space: nowrap; }
.shop-card .sub { font-family: var(--serif-body); font-size: 15px; color: var(--text-mute); margin-top: 4px; }
.shop-card .buy {
  text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 13px; margin-top: 16px;
  border: 1px solid var(--line-3); color: var(--text);
  transition: background .3s, border-color .3s, color .3s;
}
.shop-card .buy:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.svc {
  border: 1px solid var(--line-2); padding: 38px 34px; display: flex; flex-direction: column;
  transition: border-color .3s, background .3s;
}
.svc:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 3%, transparent); }
.svc .no { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.svc h2 { font-family: var(--serif-display); font-weight: 400; font-size: 34px; font-style: italic; margin: 0 0 14px; }
.svc p { font-size: 17.5px; color: var(--text-dim); margin: 0 0 24px; flex: 1; }
.svc .pricing { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-mute); padding-top: 18px; border-top: 1px solid var(--line); }

.steps-band { background: var(--bg-band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 60px; }
.steps-band .band-inner h2 {
  font-family: var(--serif-display); font-weight: 400; font-size: clamp(34px, 5vw, 46px);
  margin: 0 0 50px; text-align: center;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 40px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .n { font-family: var(--serif-display); font-size: 46px; color: var(--accent); line-height: 0.8; font-style: italic; }
.step h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin: 4px 0 10px; }
.step p { font-size: 16.5px; color: var(--text-warm); margin: 0; }

.svc-quote { max-width: 780px; margin: 0 auto; padding: 90px 40px; text-align: center; }
.svc-quote p { font-family: var(--serif-display); font-weight: 300; font-style: italic; font-size: clamp(26px, 4vw, 34px); line-height: 1.35; margin: 0 0 34px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.about-portrait {
  position: relative; overflow: hidden; height: 620px;
  background: linear-gradient(155deg, #241f2c, #14120d);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: contrast(1.03); }
.about-portrait .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 9px);
}
.about-portrait .ph span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(233,227,214,0.5); text-align: center; padding: 0 24px;
}
.about-body h1 { font-family: var(--serif-display); font-weight: 300; font-size: clamp(44px, 7vw, 68px); line-height: 0.98; margin: 0 0 30px; }
.about-body p { color: var(--text-dim); margin: 0 0 22px; }
.about-body p:first-of-type { font-size: 21px; }
.about-body p.dim { font-size: 19px; color: var(--text-warm); }
.mediums-block { border-top: 1px solid var(--line-2); padding-top: 26px; margin-top: 18px; }
.mediums-block .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.mediums { display: flex; flex-wrap: wrap; gap: 10px; }
.mediums span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; padding: 8px 14px;
  border: 1px solid var(--line-3); color: var(--text-dim); transition: border-color .3s, color .3s;
}
.mediums span:hover { border-color: var(--accent); color: var(--text); }
.about-actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { max-width: 1120px; margin: 0 auto; padding: 64px 40px 40px; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.contact-aside { position: sticky; top: 100px; }
.contact-aside h1 { font-family: var(--serif-display); font-weight: 300; font-size: clamp(44px, 7vw, 60px); line-height: 0.98; margin: 0 0 26px; }
.contact-aside p { font-size: 19px; color: var(--text-dim); margin: 0 0 34px; }
.contact-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-warm); line-height: 2; }
.contact-meta a { color: var(--accent); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute);
}
.field input, .field select, .field textarea {
  background: var(--bg-field); border: 1px solid var(--line-3); color: var(--text);
  padding: 13px 14px; font-size: 17px; outline: none; transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; font-family: var(--serif-body); }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; margin-top: 6px; flex-wrap: wrap; }
.form-actions .note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--text-mute); }
.form-error {
  grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: #c98d92; margin: 0;
}

.sent-card { border: 1px solid var(--accent); padding: 60px 40px; text-align: center; }
.sent-card .big { font-family: var(--serif-display); font-style: italic; font-size: 40px; margin-bottom: 16px; }
.sent-card p { color: var(--text-dim); font-size: 18px; margin: 0 0 26px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 44px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo img { height: 42px; width: auto; }
.footer-logo span { font-family: var(--serif-display); font-weight: 600; font-size: 28px; }
.footer-brand p { font-size: 17px; color: var(--text-mute); max-width: 320px; margin: 0; }
.footer-head { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 16px; color: var(--text-dim); transition: color .3s; }
.footer-links a:hover { color: var(--accent); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; padding-bottom: 40px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mute);
}

/* ============================================================
   MOOD DOCK (accent switcher — original cue)
   ============================================================ */
.mood-dock {
  position: fixed; right: 22px; bottom: 22px; z-index: 850;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 13px;
  background: rgba(14,13,11,0.78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}
.mood-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-mute); margin-right: 2px;
}
.mood-dot {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--dot); border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer; padding: 0; transition: transform .25s var(--ease), box-shadow .25s;
}
.mood-dot:hover { transform: scale(1.2); }
.mood-dot.is-active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--dot); transform: scale(1.15); }

/* ============================================================
   MOBILE NAV BACKDROP (scrim behind the off-canvas menu)
   ============================================================ */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 895;
  background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  body { font-size: 17px; }

  /* mobile nav */
  .nav-toggle { display: flex; position: relative; z-index: 950; }
  body.nav-open { overflow: hidden; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    height: 100vh; height: 100dvh; width: min(82vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    padding: 96px 40px 40px;
    background: rgba(14,13,11,0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .4s var(--ease);
    z-index: 900;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 15px; }

  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 70px; }
  .hero-figure { order: -1; }
  .section { padding: 64px 24px 30px; }
  .band-inner { padding: 60px 24px; }
  .svc-teaser { grid-template-columns: 1fr; gap: 40px; }
  .detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .detail-info { position: static; }
  .svc-list { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { height: 440px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .page { padding: 48px 24px 30px; }
  .detail { padding: 24px; }
  .statement { padding: 70px 24px; }
}

@media (max-width: 560px) {
  .work-grid, .teaser-grid, .shop-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .svc-tiles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }
  .form { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 8px; }
  .mood-label { display: none; }
  /* let portrait artwork scale to its natural aspect in a single narrow column
     instead of being cover-cropped by a fixed frame height */
  .masonry .piece-frame, .shop-frame { height: auto; }
  .masonry .piece-frame img, .shop-frame img { height: auto; }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .grain, .marquee-track { animation: none !important; }
  /* park the marquee as a centered static line, matching the design's static band */
  .marquee-track { justify-content: center; width: 100%; }
  .marquee-track span:nth-child(2) { display: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .cursor-glow { display: none !important; }
}
