/* ── About Sama, the studio videos, the footer ───────────────────────────
   All on the one table colour (--surface), navy type. */

/* ── about ─────────────────────────────────────────────────────────────
   One 12-column grid on the page's own margins (--gutter, 48 px at 1920, the
   same edge as "Our Collection"), so nothing floats in leftover space:
     head   cols 1–8   the headline set to fill them
     body   cols 1–6   the copy and a link, at reading size
     pic    cols 8–12  Sama, as tall as the screen, standing on the band
     feats  cols 1–12  six features across the full width, hairlines between */
.about {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  grid-template-rows: auto 1fr auto;
  padding: clamp(64px, 6.5vw, 128px) var(--gutter) 0;
  background: var(--surface); color: var(--navy-ink);
}
.about-head { grid-column: 1 / 9; grid-row: 1; }
.eyebrow { margin: 0 0 clamp(18px, 1.6vw, 30px); font: 500 14px / 1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.about-title { margin: 0; font: 400 clamp(56px, 6.6vw, 128px) / .98 var(--f-head); letter-spacing: -.015em; }
.about-title .script {
  /* La Monte's swashes reach far past its box (see site.css): its own line height */
  display: inline-block; font: 400 1.02em / 1 var(--f-script); letter-spacing: 0;
  color: #2a4254; margin: 0 0 0 .2em; vertical-align: -.14em;
}
.about-body { grid-column: 1 / 7; grid-row: 2; align-self: start; padding-top: clamp(40px, 3.6vw, 72px); }
.about-text { margin: 0 0 18px; font: 400 clamp(18px, 1.2vw, 23px) / 1.65 var(--f-body); }
.about-link {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding-bottom: 6px;
  border-bottom: 1px solid currentColor; color: inherit; text-decoration: none;
  font: 500 14px / 1 var(--f-body); letter-spacing: .2em; text-transform: uppercase;
}
.about-link span { transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.about-link:hover span { transform: translateX(6px); }

.about-pic { grid-column: 8 / 13; grid-row: 1 / 3; align-self: end; justify-self: center; margin: 0; width: 100%; max-width: 640px; position: relative; }
.about-pic img {
  display: block; width: 100%; height: auto; max-height: 92svh; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 34px 34px rgb(42 66 84 / .2));
  -webkit-mask-image: linear-gradient(to bottom, #181818 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, #181818 80%, transparent 100%);
}

/* the band: icon, name, one line, six across, hairlines between */
.feats {
  grid-column: 1 / -1; grid-row: 3; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgb(42 66 84 / .25); border-bottom: 1px solid rgb(42 66 84 / .25);
  position: relative; z-index: 1;
}
.feats li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(28px, 2.4vw, 44px) clamp(16px, 1.4vw, 28px); text-align: left; }
.feats li + li { border-left: 1px solid rgb(42 66 84 / .25); }
.feat-ico { width: clamp(52px, 3.6vw, 70px); height: auto; overflow: visible; margin-bottom: 8px; }
.feat-ico .sh * { fill: var(--navy-ink); stroke: var(--navy-ink); stroke-width: 5; stroke-linejoin: round; }
.feat-ico .fg * { fill: var(--surface); stroke: var(--navy-ink); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.feat-ico .fg path:not(:first-child), .feat-ico .sh path:not(:first-child) { fill: none; }
.feats b { font: 500 clamp(15px, 1vw, 18px) / 1.25 var(--f-body); letter-spacing: .04em; }
.feats span { font: 400 clamp(14px, .9vw, 16px) / 1.45 var(--f-body); opacity: .75; }

@media (max-width: 1100px) {
  .about-head { grid-column: 1 / -1; }
  .about-body { grid-column: 1 / 8; }
  .about-pic { grid-column: 8 / 13; grid-row: 2; }
  .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feats li:nth-child(4) { border-left: 0; }
  .feats li:nth-child(n+4) { border-top: 1px solid rgb(42 66 84 / .25); }
}
@media (max-width: 767px) {
  .about { grid-template-columns: 1fr; padding: 56px 20px 0; }
  .about-head, .about-body, .about-pic, .feats { grid-column: 1; grid-row: auto; }
  .about-pic { width: 82%; justify-self: center; margin-top: 28px; }
  .about-body { padding-top: 0; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats li { padding: 24px 14px; }
  .feats li + li { border-left: 0; }
  .feats li:nth-child(even) { border-left: 1px solid rgb(42 66 84 / .25); }
  .feats li:nth-child(n+3) { border-top: 1px solid rgb(42 66 84 / .25); }
}
@keyframes drift { from { transform: translateY(-8px) rotate(-.6deg); } to { transform: translateY(10px) rotate(.6deg); } }

/* ── studio videos: story circles, then a strip that moves on its own
   (after gestalten: 82 px rings, 3:4 cards 373 px wide at 1920, 10 px gaps,
   ~95 px a second, a small dark pill in the corner) ───────────────────── */
.reels { background: var(--surface); padding: 0 0 clamp(64px, 6vw, 120px); overflow: hidden; }
.stories { display: flex; justify-content: center; gap: clamp(16px, 2.2vw, 44px); padding: 0 16px 34px; flex-wrap: wrap; }
.story { display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--navy-ink); }
.story-ring {
  width: 92px; height: 92px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, #f7f3ee, #2a4254, #2a4254, #f7f3ee);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.story-ring img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); }
.story:hover .story-ring { transform: scale(1.06); }
.story-name { font: 500 12px / 1 var(--f-body); letter-spacing: .04em; }

.strip { overflow: hidden; }
.strip-track { display: flex; gap: 10px; width: max-content; will-change: transform; }
.reel {
  position: relative; flex: none; width: clamp(220px, 19.43vw, 420px); aspect-ratio: 3 / 4;
  border-radius: 22px; overflow: hidden; background: #7a5034;
}
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-pill {
  position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; background: rgb(24 24 24 / .62); color: #f7f3ee;
  font: 500 12px / 1 var(--f-body); text-decoration: none;
}
.reel-pill svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }

/* story viewer */
.viewer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgb(24 24 24 / .86); }
.viewer[hidden] { display: none; }
.viewer-card { position: relative; width: min(92vw, 460px); aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; }
.viewer-card video { width: 100%; height: 100%; object-fit: cover; }
.viewer-bar { position: absolute; inset: 10px 10px auto; height: 3px; border-radius: 3px; background: rgb(247 243 238 / .35); overflow: hidden; }
.viewer-bar i { display: block; height: 100%; width: 0; background: #f7f3ee; }
.viewer-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(24 24 24 / .4); color: #f7f3ee; font-size: 22px; cursor: pointer; }

@media (max-width: 767px) {
  .story-ring { width: 72px; height: 72px; }
  .stories { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 26px; scrollbar-width: none; }
  .reel { border-radius: 18px; }
}

/* ── footer (after his Duriza footer) ─────────────────────────────────── */
.foot {
  display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, .7fr)) 1.3fr; gap: 32px clamp(24px, 3vw, 56px);
  padding: clamp(56px, 6vw, 96px) clamp(24px, 6vw, 120px) 28px;
  background: var(--navy-ink); color: var(--ivory);
}
.foot h3 { margin: 0 0 10px; font: 400 clamp(28px, 2.2vw, 40px) / 1.1 var(--f-head); }
.foot-news p { margin: 0 0 22px; max-width: 26em; font: 400 15px / 1.6 var(--f-body); opacity: .8; }
.news { position: relative; display: flex; border-bottom: 1px solid rgb(247 243 238 / .5); max-width: 360px; }
.news input { flex: 1; padding: 12px 0; background: none; border: 0; color: inherit; font: 400 16px var(--f-body); outline: none; }
.news input::placeholder { color: rgb(247 243 238 / .6); }
.news button { background: none; border: 0; color: inherit; font-size: 22px; cursor: pointer; }
.news-done { display: none; position: absolute; top: 110%; font: 400 14px var(--f-body); color: var(--blush); }
.news.done .news-done { display: block; }
.foot-social { display: flex; gap: 16px; margin-top: 34px; }
.foot-social svg { width: 24px; height: 24px; fill: none; stroke: var(--ivory); stroke-width: 1.6; }
.foot-col { display: flex; flex-direction: column; gap: 14px; }
.foot-col h4 { margin: 0 0 6px; font: 500 13px / 1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.foot-col a { color: inherit; text-decoration: none; font: 400 16px / 1.2 var(--f-body); }
.foot-col a:hover { color: var(--blush); }
.foot-mark { margin: 0; align-self: start; justify-self: end; font: 400 clamp(40px, 3.2vw, 62px) / 1.6 var(--f-script); color: var(--blush); padding: .5em 1.3em 0 .4em; white-space: nowrap; }
.foot-legal { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid rgb(247 243 238 / .15); font: 400 13px var(--f-body); opacity: .6; }
@media (max-width: 1100px) { .foot { grid-template-columns: 1fr 1fr 1fr; } .foot-news, .foot-mark { grid-column: 1 / -1; } .foot-mark { justify-self: start; } }
@media (max-width: 767px) { .foot { grid-template-columns: 1fr 1fr; padding: 56px 20px 24px; } .foot-col:last-of-type { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { .about-pic img { animation: none; } }

/* ── story pop-ups (js/stories.js) ─────────────────────────────────────── */
.pop-veil { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgb(42 66 84 / .55); backdrop-filter: blur(6px); }
.pop-veil[hidden] { display: none; }
.pop {
  position: relative; width: min(560px, 100%); max-height: calc(100svh - 40px); overflow: auto;
  padding: clamp(28px, 3vw, 44px); border-radius: 30px; background: var(--ivory); color: var(--navy-ink);
  box-shadow: 0 40px 80px rgb(24 24 24 / .35); scrollbar-width: none;
}
.pop.wide { width: min(760px, 100%); }
.pop > *:not(.pop-x) { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s cubic-bezier(.22, 1, .36, 1); }
.pop.in > * { opacity: 1; transform: none; }
.pop.in > .pop-title { transition-delay: .05s; }
.pop.in > .pop-body { transition-delay: .12s; }
.pop-x { position: absolute; right: 16px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(42 66 84 / .08); color: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.pop-kicker { margin: 0 0 6px; font: 500 12px / 1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; opacity: .65; }
.pop-title { margin: 0 0 14px; font: 400 clamp(36px, 3.4vw, 52px) / 1.05 var(--f-head); }
.pop-lead { margin: 0 0 22px; font: 400 17px / 1.6 var(--f-body); }
.pop-cta { display: inline-block; margin-top: 8px; padding: 15px 28px; border-radius: 99px; background: var(--navy-ink); color: var(--ivory); text-decoration: none; font: 500 13px / 1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; }

/* products fanning out of the card, each from the centre to its place */
.pop-fan { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.pop-fan { --n: 3; }
.pop-fan:has(> :nth-child(4)) { --n: 4; }
.pop-fan:has(> :nth-child(2)):not(:has(> :nth-child(3))) { --n: 2; }
.pop-item {
  display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 12px; border-radius: 18px;
  background: var(--blush-card); color: inherit; text-decoration: none; text-align: center;
  opacity: 0; transform: translate(calc((var(--n) / 2 - var(--i) - .5) * 60%), 30%) rotate(calc((var(--i) - var(--n) / 2 + .5) * 9deg)) scale(.7);
  transition: opacity .45s, transform .75s cubic-bezier(.34, 1.4, .5, 1);
}
.pop.in .pop-item { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .07s); }
.pop-item:hover { background: #f7f3ee; }
.pop-item img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 10px rgb(42 66 84 / .18)); }
.pop-item b { font: 500 11.5px / 1.35 var(--f-body); letter-spacing: .07em; text-transform: uppercase; }
.pop-item span { font-size: 14px; }
.pop-item s { opacity: .5; }

.pop-video { margin: 0 0 20px; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; max-height: 56svh; }
.pop-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pop.wide .pop-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0 28px; align-items: center; }
.pop.wide .pop-video { grid-row: span 2; margin: 0; }
.pop-quote { font: 400 140px / .7 var(--f-head); color: var(--blush); height: 70px; }

/* Sama's messages, one by one */
.chat { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 4px 0 24px; min-height: 330px; }
.msg {
  margin: 0; max-width: 82%; padding: 11px 16px; border-radius: 20px 20px 20px 6px;
  background: var(--blush-card); font: 400 16px / 1.45 var(--f-body);
  opacity: 0; transform: translateY(12px) scale(.9); transform-origin: 0 100%; display: none;
}
.msg.on { display: block; animation: msg-in .45s cubic-bezier(.34, 1.5, .5, 1) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(12px) scale(.85); } to { opacity: 1; transform: none; } }
.msg:first-child { background: var(--navy-ink); color: var(--ivory); }
.typing { display: none; margin: 0; padding: 14px 16px; border-radius: 20px 20px 20px 6px; background: var(--blush-card); gap: 5px; }
.typing.on { display: inline-flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-ink); opacity: .35; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 767px) {
  .pop { padding: 26px 20px; border-radius: 24px; }
  .pop.wide .pop-body { display: block; }
  .pop.wide .pop-video { margin-bottom: 18px; max-height: 44svh; }
  .pop-fan:has(> :nth-child(4)) { --n: 2; }
  .chat { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .pop-item, .msg { transition: none; animation: none; } }

/* the rings grow on hover: give them room so the section's top edge never
   cuts them, and draw focus as a ring, not the browser's square */
.reels { padding-top: clamp(64px, 6vw, 112px); }
.stories { padding-top: 10px; }
.story { outline: none; border-radius: 50%; }
.story:focus-visible .story-ring { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--navy-ink); }
@media (max-width: 767px) { .stories { padding: 12px 16px 26px; } }
/* the footer on the same page edge */
.foot { padding-inline: var(--gutter); }
/* the band's first column starts on the page edge, like the text above it */
/* phones: the script's descender needs its own room above the copy */
@media (max-width: 767px) { .about-body { padding-top: 46px; } .about-title { font-size: 50px; } }

/* ── feedback wall (js/feedback.js) ───────────────────────────────────── */
.wall { background: var(--surface); color: var(--navy-ink); padding: clamp(64px, 6vw, 112px) 0 clamp(72px, 7vw, 128px); overflow: hidden; }
.wall[hidden] { display: none; }
.wall-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 0 var(--gutter) clamp(36px, 3.4vw, 60px); align-items: end; }
.wall-head .eyebrow { grid-column: 1 / -1; }
.wall-title { grid-column: 1 / 8; margin: 0; font: 400 clamp(48px, 5.2vw, 100px) / 1 var(--f-head); letter-spacing: -.01em; }
.wall-title em { font-style: italic; }
.wall-note { grid-column: 9 / 13; margin: 0; font: 400 clamp(16px, 1.05vw, 19px) / 1.6 var(--f-body); opacity: .8; }
.wall-rows { display: flex; flex-direction: column; gap: clamp(16px, 1.4vw, 26px); }
.wall-row { overflow: visible; }
.wall-track { display: flex; align-items: flex-start; gap: clamp(16px, 1.4vw, 26px); width: max-content; will-change: transform; padding: 10px 0; }
.shot {
  flex: none; width: clamp(200px, 14.5vw, 280px); padding: 0; border: 0; cursor: zoom-in;
  border-radius: 22px; overflow: hidden; background: #f7f3ee;
  transform: rotate(var(--r)); box-shadow: 0 18px 34px rgb(42 66 84 / .16), 0 2px 6px rgb(42 66 84 / .12);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s;
}
.shot:hover { transform: rotate(0) translateY(-6px) scale(1.03); box-shadow: 0 28px 48px rgb(42 66 84 / .24); }
.shot img { display: block; width: 100%; height: auto; }
.shot-zoom { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; background: rgb(42 66 84 / .7); backdrop-filter: blur(6px); cursor: zoom-out; }
.shot-zoom[hidden] { display: none; }
.shot-zoom img { max-width: min(92vw, 520px); max-height: 90svh; border-radius: 22px; box-shadow: 0 40px 80px rgb(24 24 24 / .35); }
.shot-zoom button { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(247 243 238 / .15); color: #f7f3ee; font-size: 26px; cursor: pointer; }
@media (max-width: 767px) {
  .wall-head { grid-template-columns: 1fr; padding: 0 20px 30px; row-gap: 14px; }
  .wall-title, .wall-note { grid-column: 1; }
  .shot { width: 168px; border-radius: 18px; }
}
.shot-mini { padding: 0; overflow: hidden; background: #f7f3ee; }
.shot-mini img { aspect-ratio: 9 / 13; object-fit: cover; object-position: top; filter: none; }
/* long screenshots: the card shows the top of the chat, the click shows it all */
.shot img { max-height: clamp(300px, 24vw, 460px); object-fit: cover; object-position: top; }
/* short chats sit in the middle of a card of the same height as the rest */
.shot { display: grid; place-items: center; min-height: clamp(220px, 17vw, 330px); background: #181818; }
.shot img { max-height: clamp(300px, 24vw, 460px); }
.wall-track { align-items: center; }
/* cards now hug their chat: no forced height, rows aligned to the middle */
.shot { min-height: 0; display: block; }
.wall-track { align-items: center; }
.wall-row + .wall-row .shot { width: clamp(240px, 18vw, 340px); }
.wall-track { align-items: flex-start; }
/* the snippet row stays one short height, so no empty band under it */
.wall-row + .wall-row .shot img { max-height: clamp(150px, 11vw, 220px); }

/* ── features band, its own section just above the footer ──────────────── */
.feats-band { background: var(--surface); color: var(--navy-ink); padding: 0 var(--gutter) clamp(48px, 4vw, 80px); }
.feats-band .feats { margin: 0; padding: 0; }
/* hairlines: one rule across the top and bottom, edge to edge on the gutter, and a full-height
   rule between every two cells; every cell has the same inner padding so the rules sit evenly */
.feats { border-block: 1px solid rgb(42 66 84 / .25); }
.feats li { padding: clamp(30px, 2.4vw, 44px) clamp(18px, 1.6vw, 30px); }
.feats li + li { border-left: 1px solid rgb(42 66 84 / .25); }
/* the strip of videos ends close to the band, no empty field between them */
.reels { padding-bottom: clamp(40px, 3.4vw, 64px); }
.about { padding-bottom: clamp(56px, 5vw, 100px); }
