/* =========================================================
   Tokens
   ========================================================= */
:root{
  --ease: cubic-bezier(.16,1,.3,1);
  --nav-h: 72px;
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
  --r: 18px;
  --arabic: "Amiri", "Noto Naskh Arabic", "Geeza Pro", serif;
  --nuqta: polygon(40% 0, 100% 36%, 60% 100%, 0 64%);
  --sec-pad: clamp(80px, 12vh, 148px);   /* one vertical rhythm for every section */
  color-scheme: light;
}
html[data-mode="dark"]{ color-scheme: dark; }

/* ---------- Font styles ---------- */
html[data-font="classic"]{
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
  --font-body: "Switzer", ui-sans-serif, system-ui, sans-serif;
  --d-weight: 500; --d-track: -0.012em; --d-lh: .92; --d-scale: 1;
  --em-style: italic; --em-weight: 500;
}
html[data-font="modern"]{
  --font-display: "Zodiak", Georgia, serif;
  --font-body: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --d-weight: 400; --d-track: -0.03em; --d-lh: .96; --d-scale: 1;
  --em-style: italic; --em-weight: 400;
}
html[data-font="minimal"]{
  --font-display: "General Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "General Sans", ui-sans-serif, system-ui, sans-serif;
  --d-weight: 500; --d-track: -0.045em; --d-lh: .95; --d-scale: .94;
  --em-style: normal; --em-weight: 500;
}

/* ---------- Colors: each has its own light and dark ---------- */
html[data-color="ink"][data-mode="light"]{
  --bg:#F7F6F2; --bg-2:#F2F0EA; --surface:#FFFFFF; --surface-2:#EBE8E1;
  --ink:#121211; --ink-2:#4A4843; --muted:#6B6860;
  --line:rgba(18,18,17,.14); --line-soft:rgba(18,18,17,.07);
  --accent:#121211; --accent-text:#121211; --on-accent:#F7F6F2;
  --shadow:24,20,14; --paper:#FCFBF8; --paper-ink:#121211; --cover-dark:#141312;
}
html[data-color="ink"][data-mode="dark"]{
  --bg:#0A0A0A; --bg-2:#121211; --surface:#161615; --surface-2:#141413;
  --ink:#F2F0EA; --ink-2:#B9B6AE; --muted:#8C897F;
  --line:rgba(242,240,234,.15); --line-soft:rgba(242,240,234,.075);
  --accent:#F2F0EA; --accent-text:#F2F0EA; --on-accent:#0A0A0A;
  --shadow:0,0,0; --paper:#ECEAE4; --paper-ink:#121211; --cover-dark:#1D1C1A;
}
html[data-color="gold"][data-mode="light"]{
  --bg:#F6F2EA; --bg-2:#EDE6D8; --surface:#FFFDF8; --surface-2:#EFE9DC;
  --ink:#17130D; --ink-2:#51493C; --muted:#8F8573;
  --line:rgba(23,19,13,.15); --line-soft:rgba(23,19,13,.075);
  --accent:#B08A3E; --accent-text:#8A6420; --on-accent:#17130D;
  --shadow:46,34,14; --paper:#FCF9F2; --paper-ink:#17130D; --cover-dark:#1A150D;
}
html[data-color="gold"][data-mode="dark"]{
  --bg:#0B0906; --bg-2:#13100B; --surface:#1A160F; --surface-2:#15120C;
  --ink:#F3EDE0; --ink-2:#C2B8A4; --muted:#857B68;
  --line:rgba(243,237,224,.15); --line-soft:rgba(243,237,224,.075);
  --accent:#D6B260; --accent-text:#D6B260; --on-accent:#0B0906;
  --shadow:0,0,0; --paper:#EEE7D8; --paper-ink:#17130D; --cover-dark:#221B10;
}
html[data-color="lapis"][data-mode="light"]{
  --bg:#F4F5F8; --bg-2:#E9ECF3; --surface:#FFFFFF; --surface-2:#ECEFF5;
  --ink:#0D1222; --ink-2:#3F4659; --muted:#7D8496;
  --line:rgba(13,18,34,.14); --line-soft:rgba(13,18,34,.07);
  --accent:#2340A8; --accent-text:#2340A8; --on-accent:#FFFFFF;
  --shadow:16,24,56; --paper:#FBFBFD; --paper-ink:#0D1222; --cover-dark:#101833;
}
html[data-color="lapis"][data-mode="dark"]{
  --bg:#06080F; --bg-2:#0B0F1B; --surface:#111626; --surface-2:#0D1220;
  --ink:#EEF1F8; --ink-2:#B3BACB; --muted:#737B90;
  --line:rgba(238,241,248,.15); --line-soft:rgba(238,241,248,.075);
  --accent:#7E99FF; --accent-text:#8FA6FF; --on-accent:#06080F;
  --shadow:0,0,0; --paper:#E9ECF3; --paper-ink:#0D1222; --cover-dark:#16204A;
}
html[data-color="emerald"][data-mode="light"]{
  --bg:#F3F5F1; --bg-2:#E7ECE4; --surface:#FFFFFF; --surface-2:#E9EEE7;
  --ink:#0C1A13; --ink-2:#3E4D45; --muted:#7C8981;
  --line:rgba(12,26,19,.14); --line-soft:rgba(12,26,19,.07);
  --accent:#0F5A43; --accent-text:#0F5A43; --on-accent:#F3F5F1;
  --shadow:10,32,22; --paper:#FBFCFA; --paper-ink:#0C1A13; --cover-dark:#0D2A20;
}
html[data-color="emerald"][data-mode="dark"]{
  --bg:#050C09; --bg-2:#0A1410; --surface:#0F1B16; --surface-2:#0C1713;
  --ink:#ECF2EE; --ink-2:#AFBDB5; --muted:#6F8077;
  --line:rgba(236,242,238,.15); --line-soft:rgba(236,242,238,.075);
  --accent:#55C79C; --accent-text:#62D0A6; --on-accent:#04100B;
  --shadow:0,0,0; --paper:#E8EEE9; --paper-ink:#0C1A13; --cover-dark:#0F3326;
}

/* =========================================================
   Base
   ========================================================= */
*,*::before,*::after{ box-sizing:border-box; }
[hidden]{ display:none !important; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:84px; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--font-body); font-size:18px; line-height:1.6;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility;
  overflow-x:hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; -webkit-tap-highlight-color:transparent; }
p{ margin:0; }
::selection{ background:var(--accent); color:var(--on-accent); }
:focus-visible{ outline:2px solid var(--accent-text); outline-offset:3px; border-radius:8px; }
.skip{ position:absolute; left:-9999px; top:12px; z-index:200; padding:10px 14px; border-radius:10px; background:var(--ink); color:var(--bg); }
.skip:focus{ left:12px; }
.vt-busy *, .vt-busy *::before, .vt-busy *::after{ transition:none !important; }

/* ---------- Type ---------- */
.display{
  font-family:var(--font-display); font-weight:var(--d-weight);
  letter-spacing:var(--d-track); line-height:var(--d-lh); margin:0;
  font-kerning:normal; text-wrap:balance;
}
.display em{ font-style:var(--em-style); font-weight:var(--em-weight); color:var(--accent-text); }
.h1{ font-size:calc(clamp(46px, 6vw, 96px) * var(--d-scale)); }
.h2{ font-size:calc(clamp(40px, 5vw, 72px) * var(--d-scale)); }
.lede{ color:var(--ink-2); max-width:30em; }

/* ---------- Buttons ---------- */
.btn{
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:12px;
  height:54px; padding:0 26px; border-radius:6px;
  background:var(--accent); color:var(--on-accent);
  font-size:16px; font-weight:500; letter-spacing:.01em; white-space:nowrap;
  box-shadow:0 1px 2px rgba(var(--shadow),.10), 0 10px 24px -14px rgba(var(--shadow),.32);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.btn .arrow{ display:inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow{ transform:translateX(4px); }
.btn:hover{ box-shadow:0 1px 2px rgba(var(--shadow),.10), 0 14px 30px -16px rgba(var(--shadow),.38); }
.btn-sm{ height:44px; padding:0 20px; font-size:16px; }

/* =========================================================
   Nav
   ========================================================= */
/* A plain bar in the page colour; a hairline appears once the page scrolls under it.
   The name sits at the left edge of the screen; icons, links and Shop are grouped at the right edge. */
.nav{
  position:sticky; top:0; z-index:50;
  display:grid; grid-template-columns:1fr auto; align-items:center; gap:24px;
  height:var(--nav-h); padding:0 var(--pad);
  background:var(--bg);
  box-shadow:0 1px 0 transparent;
  transition: background-color .5s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled{ box-shadow:0 1px 0 var(--line-soft); }
.brand{ display:flex; align-items:center; gap:12px; justify-self:start; }
.brand-mark{
  width:36px; height:36px; border-radius:50%; flex:none;
  display:grid; place-items:center; background:var(--ink); color:var(--bg);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.brand-mark img{ width:auto; height:26px; margin-left:1px; }
.brand-name{
  font-family:var(--font-display); font-weight:var(--d-weight); letter-spacing:var(--d-track);
  font-size:calc(24px * var(--d-scale)); line-height:1;
}
.nav-links{ display:flex; gap:24px; font-size:14px; color:var(--ink-2); }
.nav-links a{ position:relative; padding:6px 0; transition: color .3s var(--ease); }
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:currentColor;
  transform:scaleX(0); transform-origin:right; transition: transform .35s var(--ease);
}
.nav-links a:hover{ color:var(--ink); }
.nav-links a:hover::after{ transform:scaleX(1); transform-origin:left; }
.nav-links a[aria-current="page"]{ color:var(--ink); }
.nav-links a[aria-current="page"]::after{ transform:scaleX(1); }
.nav-end{ display:flex; align-items:center; gap:4px; justify-self:end; grid-column:2; }
.nav-end .nav-links{ margin-left:16px; }
.icon-link{ width:38px; height:40px; display:grid; place-items:center; color:var(--ink-2); transition: color .3s var(--ease), transform .3s var(--ease); }
.icon-link:hover{ color:var(--ink); transform:translateY(-1px); }
.icon-link svg{ width:17px; height:17px; }
/* Shop in the bar: a thin outlined rectangle, so it stays lighter than the brand name; it fills on hover */
.nav-end .btn{
  margin-left:24px; height:36px; padding:0 16px; border-radius:6px; font-size:14px;
  background:transparent; color:var(--ink);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--ink) 40%, transparent);
}
.nav-end .btn:hover{ background:var(--ink); color:var(--bg); box-shadow:inset 0 0 0 1px var(--ink); }
.nav .icon-link{ width:32px; }

/* =========================================================
   Hero: one centred column that fills the first screen
   ========================================================= */
.hero{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  min-height:calc(100vh - var(--nav-h));
  min-height:calc(100svh - var(--nav-h));
  padding:40px var(--pad) 0;
}
.hero .h1{ margin-top:auto; }   /* together with the strip's auto margin, centres the text above the strip */
.h1 .line{ display:block; overflow:hidden; padding:0 .14em .12em 0; margin:0 -.14em -.12em 0; }
.h1 .line > span{ display:inline-block; transform:translateY(112%); transition: transform 1.2s var(--ease); }
.is-loaded .h1 .line > span{ transform:none; }
.h1--name{ font-size:calc(clamp(72px, min(66px + 7.6vw, 26vw), 176px) * var(--d-scale)); font-weight:500; letter-spacing:-0.02em; line-height:.9; }
/* the space below the description holds the name and description at their established height on the screen */
.hero-lede{ margin:28px 0 81px; font-size:clamp(18px, 1.4vw, 20px); line-height:1.55; color:var(--ink-2); text-wrap:balance; }
.handle{ color:var(--ink); background:linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease); }
.handle:hover{ background-size:0 1px; background-position:100% 100%; }

/* ---------- Product-update sign-up: a soft rounded field with its button inside, floating above the follower strip ---------- */
.hero-foot{ position:relative; align-self:stretch; margin:auto calc(var(--pad) * -1) 0; }
.notify{
  position:absolute; bottom:100%; left:0; right:0; width:min(486px, calc(100% - 2 * var(--pad)));
  margin:0 auto clamp(20px, calc(9vh - 28px), 80px);
}
.notify-box{
  display:flex; gap:6px; padding:6px; border-radius:999px;
  background:color-mix(in srgb, var(--ink) 6%, transparent);
  box-shadow:inset 0 0 0 1px transparent; transition: box-shadow .3s var(--ease);
}
.notify-box:focus-within{ box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--ink) 35%, transparent); }
.notify input{ flex:1; min-width:0; height:48px; padding:0 18px; border:0; background:transparent; font:inherit; font-size:16px; color:var(--ink); outline:none; }
.notify input::placeholder{ color:var(--muted); }
.notify button{
  flex:none; height:48px; padding:0 24px; border-radius:999px; background:var(--ink); color:var(--bg);
  font-size:14px; font-weight:600; white-space:nowrap; transition: background-color .3s var(--ease);
}
.notify button:hover{ background:var(--ink-2); }
.notify-note{ margin-top:16px; font-size:14px; color:var(--ink-2); }

/* ---------- Followers: a slow strip near the bottom of the first screen, one figure per platform ---------- */
.ticker{
  margin:0 0 clamp(12px, calc(6vh - 16px), 48px); padding:22px 0; overflow:clip;
  border-block:1px solid var(--line-soft);
  -webkit-mask-image:linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image:linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track{ display:flex; justify-content:center; }
.ticker.is-looping .ticker-track{ width:max-content; justify-content:flex-start; animation: ticker linear infinite; }
.ticker:hover .ticker-track{ animation-play-state:paused; }
.ticker:has(:focus-visible) .ticker-track{ animation:none; }   /* keyboard users get the links standing still */
@keyframes ticker{ to{ transform:translateX(-50%); } }
.ticker-set{ display:flex; flex:none; list-style:none; margin:0; padding:0; }
.ticker-set li{ display:flex; align-items:center; white-space:nowrap; padding-right:80px; }
.t-item{ display:flex; align-items:baseline; gap:10px; }
.t-item svg{ width:24px; height:24px; margin-right:2px; align-self:center; color:var(--ink); }
.t-item svg + svg{ margin-left:-4px; }   /* the combined figure shows both marks as a pair */
.t-num{
  font-family:var(--font-display); font-weight:var(--d-weight); letter-spacing:var(--d-track);
  font-size:calc(40px * var(--d-scale)); line-height:1; color:var(--ink); font-variant-numeric:lining-nums tabular-nums;
}
.t-label{ font-size:16px; color:var(--ink-2); transition: color .3s var(--ease); }
.t-item:hover .t-label{ color:var(--ink); }

.fade{ opacity:0; transform:translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay:var(--d,0s); }
.is-loaded .fade{ opacity:1; transform:none; }

html[data-mode="dark"] .brand-mark img{ filter:brightness(0); }

/* =========================================================
   Sections
   ========================================================= */
/* One page colour throughout; a hairline marks where each section starts */
.sheet{ border-top:1px solid var(--line-soft); }
.section{ max-width:var(--max); margin:0 auto; padding:var(--sec-pad) var(--pad); }

.section-head{
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:24px 64px;
  margin-bottom:clamp(40px, 6vh, 64px);
}
.section-head .lede{ max-width:26em; padding-bottom:.4em; }

/* the Resources page starts close under the nav */
.section.page-top{ padding-top:clamp(40px, 7vh, 80px); }

/* ---------- Products ---------- */
.products{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:clamp(14px, 1.6vw, 22px); }
.product-media{
  position:relative; display:grid; place-items:center; aspect-ratio:4/5; border-radius:14px;
  background:var(--surface-2); overflow:hidden; isolation:isolate;
  container-type:inline-size;
  transition: background-color .5s var(--ease);
}

/* Every product image lifts slightly on hover, the same way */
.tilt{
  --lift:0px;
  transform:translateY(var(--lift));
  box-shadow:
    0 1px 2px rgba(var(--shadow),.06),
    0 14px 32px -16px rgba(var(--shadow),.2);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .5s var(--ease);
}
.product:hover .tilt{
  --lift:-3px;
  box-shadow:
    0 1px 2px rgba(var(--shadow),.06),
    0 22px 44px -20px rgba(var(--shadow),.26);
}

/* Framed calligraphy print */
.framed{ position:relative; width:64%; aspect-ratio:4/5; padding:4.5%; border-radius:2px; background:linear-gradient(145deg, #2b2824, #131210); }
html[data-mode="dark"] .framed{ background:linear-gradient(145deg, #3b362e, #1d1a16); }
.framed-mat{ position:relative; display:grid; place-items:center; width:100%; height:100%; background:#F7F3EA; box-shadow:inset 0 0 0 1px rgba(0,0,0,.05), inset 0 3px 9px rgba(0,0,0,.2); }
.framed-word{ direction:rtl; font-family:var(--arabic); font-weight:700; font-size:19cqi; line-height:1; color:#17130E; transform:translateY(-6%); }
.framed-seal{ position:absolute; right:13%; bottom:11%; width:4.2cqi; aspect-ratio:1; border-radius:1px; background:#A5372C; opacity:.92; }

/* Painting on canvas */
.canvas{
  position:relative; width:66%; aspect-ratio:4/5; display:grid; place-items:center; overflow:hidden; border-radius:2px;
  background:
    radial-gradient(55% 42% at 30% 32%, rgba(226,190,110,.95), rgba(226,190,110,0) 70%),
    radial-gradient(46% 38% at 74% 74%, rgba(190,88,58,.6), rgba(190,88,58,0) 72%),
    radial-gradient(70% 55% at 78% 18%, #2b3f6b, rgba(43,63,107,0) 70%),
    linear-gradient(165deg, #121a2e 0%, #1b1c24 55%, #2b1e14 100%);
}
.canvas::before{ /* canvas weave */
  content:""; position:absolute; inset:0; opacity:.3; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.canvas::after{ content:""; position:absolute; inset:0; box-shadow:inset 0 0 0 1px rgba(255,255,255,.06), inset 0 0 40px rgba(0,0,0,.35); }
.canvas-word{ position:relative; z-index:1; direction:rtl; font-family:var(--arabic); font-weight:700; font-size:17cqi; line-height:1; color:#F7ECD3; text-shadow:0 2px 14px rgba(0,0,0,.35); }

/* Printable letter chart */
.chart{ position:relative; width:58%; aspect-ratio:210/297; display:flex; flex-direction:column; gap:5%; padding:9% 8% 8%; border-radius:2px; background:var(--paper); color:var(--paper-ink); }
.chart-title{ font-size:2cqi; letter-spacing:.24em; text-transform:uppercase; text-align:center; opacity:.55; white-space:nowrap; }
.chart-grid{ flex:1; display:grid; grid-template-columns:repeat(4, 1fr); grid-auto-rows:1fr; direction:rtl; text-align:center; font-family:var(--arabic); font-size:5.4cqi; line-height:1; border-top:1px solid rgba(0,0,0,.12); }
.chart-grid span{ display:grid; place-items:center; border-bottom:1px solid rgba(0,0,0,.07); }
.cover{
  position:relative; width:58%; aspect-ratio:210/297;
  display:flex; flex-direction:column; justify-content:space-between; align-items:center;
  padding:9% 8% 8%; border-radius:3px 7px 7px 3px;
  background:var(--paper); color:var(--paper-ink);
}
.cover::before{ /* spine shading */
  content:""; position:absolute; inset:0 auto 0 0; width:7%; border-radius:3px 0 0 3px;
  background:linear-gradient(to right, rgba(0,0,0,.11), rgba(0,0,0,0));
}
.cover::after{ /* soft page sheen */
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(115deg, rgba(255,255,255,.35), rgba(255,255,255,0) 42%);
  mix-blend-mode:soft-light;
}
.cover-top{ font-size:2.05cqi; letter-spacing:.26em; text-transform:uppercase; opacity:.55; white-space:nowrap; }
.cover-glyph{ direction:rtl; font-family:var(--arabic); font-size:23cqi; line-height:1.1; }
.cover-bottom{ display:flex; flex-direction:column; align-items:center; gap:1.4cqi; text-align:center; }
.cover-title{ font-family:var(--font-display); font-weight:var(--d-weight); font-size:4.8cqi; line-height:1.05; letter-spacing:var(--d-track); }
.cover-meta{ font-size:1.75cqi; letter-spacing:.22em; text-transform:uppercase; opacity:.5; }

.product-info{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 14px; align-items:baseline; padding:14px 2px 0; }
.product-name{
  margin:0; font-family:var(--font-display); font-weight:var(--d-weight); letter-spacing:var(--d-track);
  font-size:calc(28px * var(--d-scale)); line-height:1.1;
}
.price{ font-size:16px; font-weight:500; font-variant-numeric:tabular-nums; }
.price--free{ color:var(--accent-text); }

/* ---------- About ---------- */
/* Square photo on the left, the artist's words on the right, the pair centred.
   Only the tops line up: the photo starts level with the tops of the title's capitals. */
.about{ display:grid; grid-template-columns:minmax(0,440px) minmax(0,34em); justify-content:center; gap:36px clamp(36px, 6vw, 104px); align-items:start; }
.about-photo{ margin:0; }
.about-photo img{ width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:14px; }
.about-copy h2{ margin-bottom:28px; text-box:trim-start cap alphabetic; }
.about-copy p{ max-width:34em; color:var(--ink-2); }
.about-copy p + p{ margin-top:16px; }
.about-copy [lang="ar"]{ font-family:var(--arabic); }
.about-copy span[lang="ar"]{ font-size:1.25em; line-height:1; }   /* Arabic reads small beside Latin text at the same size */
.about-copy .about-salam{ margin-top:24px; font-size:28px; line-height:1.6; text-align:left; color:var(--ink); }

/* ---------- Reviews (screenshot wall) ---------- */
.wall{ columns:3 280px; column-gap:22px; }
.shot{ break-inside:avoid; margin:0 0 26px; }
.shot-frame{
  border-radius:20px; overflow:hidden;
  box-shadow:0 1px 2px rgba(var(--shadow),.05), 0 16px 36px -22px rgba(var(--shadow),.22);
}
.shot figcaption{ display:flex; align-items:center; gap:8px; margin-top:11px; padding-left:4px; font-size:14px; color:var(--muted); }
.shot figcaption svg{ width:13px; height:13px; }
/* stand-in screenshots (real ones are the client's images) */
.ui{ font-family:-apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif; font-size:14px; line-height:1.38; letter-spacing:0; }
.ig{ background:#000; color:#F5F5F5; padding:14px 14px 18px; }
.ig .bar{ display:flex; align-items:center; gap:10px; padding:2px 2px 12px; margin-bottom:12px; border-bottom:1px solid #1f1f1f; font-weight:600; }
.ig .bar small{ display:block; font-weight:400; color:#8e8e8e; font-size:12px; }
.av{ width:30px; height:30px; border-radius:50%; flex:none; }
.ig .b{ width:fit-content; max-width:84%; padding:9px 14px; border-radius:20px; margin:4px 0; }
.ig .in{ background:#262626; }
.ig .out{ background:#3797F0; margin-left:auto; color:#fff; }
.ig .time{ text-align:center; color:#8e8e8e; font-size:11px; margin:4px 0 8px; }
.tt{ background:#fff; color:#161823; padding:16px 16px 14px; }
.tt .row{ display:flex; gap:11px; }
.tt .name{ color:#8A8B91; font-size:13px; }
.tt .txt{ margin:3px 0 7px; }
.tt .meta{ display:flex; gap:16px; color:#8A8B91; font-size:12px; }
.tt .like{ margin-left:auto; display:flex; flex-direction:column; align-items:center; color:#8A8B91; font-size:11px; gap:2px; }
.tt .like svg{ width:16px; height:16px; }
.tt .reply{ display:flex; gap:9px; margin:12px 0 0 41px; }
.tt .reply .av{ width:22px; height:22px; }
.tt .creator{ font-size:10px; color:#FE2C55; font-weight:600; margin-left:4px; }

/* =========================================================
   Footer
   ========================================================= */
/* One strip, edge to edge: spaced name and small lines on the left, icons on the right */
.footer-base{ display:flex; align-items:center; justify-content:space-between; gap:24px 40px; padding:40px var(--pad); }
.footer-mark{
  margin-bottom:18px; font-family:var(--font-display); font-weight:600;
  font-size:calc(28px * var(--d-scale)); line-height:1; letter-spacing:.32em; text-transform:uppercase;
}
.footer-line{ font-size:14px; line-height:1.75; color:var(--ink-2); }
.footer-line a{ text-underline-offset:4px; transition: color .3s var(--ease); }
.footer-line a:hover{ color:var(--ink); text-decoration:underline; }
.footer-sep{ margin:0 6px; color:var(--muted); }
.footer-social{ display:flex; gap:16px; margin-right:-10.6px; }   /* the icons, not their tap areas, meet the edge */
.footer-social .icon-link{ width:44px; height:44px; color:var(--ink); }
.footer-social .icon-link svg{ width:28px; height:28px; }

/* =========================================================
   Style picker
   ========================================================= */
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
.picker{
  position:fixed; left:50%; bottom:18px; z-index:80;
  display:flex; align-items:stretch;
  padding:12px 12px 12px 22px; border-radius:24px;
  font-family:var(--font-body); color:var(--ink);
  background:color-mix(in srgb, var(--surface) 84%, transparent);
  -webkit-backdrop-filter:blur(22px) saturate(1.4); backdrop-filter:blur(22px) saturate(1.4);
  box-shadow:0 0 0 1px var(--line), 0 30px 70px -24px rgba(var(--shadow),.55);
  transform:translateX(-50%);
  transition: transform .55s var(--ease), opacity .4s var(--ease), background-color .5s var(--ease);
}
.picker.collapsed{ transform:translate(-50%, calc(100% + 40px)); opacity:0; pointer-events:none; }
.p-head{ display:flex; flex-direction:column; justify-content:center; padding-right:22px; flex:none; }
.picker > *{ flex-shrink:0; }
.p-title{ font-size:14px; font-weight:600; letter-spacing:-.005em; white-space:nowrap; }
.p-sub{ margin-top:3px; font-size:12px; line-height:1.35; color:var(--muted); max-width:15em; }
.p-group{ display:flex; flex-direction:column; justify-content:center; padding:0 18px; border-left:1px solid var(--line-soft); }
.p-label{ display:flex; justify-content:space-between; gap:10px; margin-bottom:8px; font-size:10px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
.p-current{ color:var(--ink); letter-spacing:.08em; }
.p-actions{ display:flex; align-items:center; gap:6px; padding-left:18px; border-left:1px solid var(--line-soft); }
.p-hide{ width:36px; height:36px; flex:none; border-radius:50%; display:grid; place-items:center; color:var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease); }
.p-hide:hover{ background:var(--line-soft); color:var(--ink); }
.p-hide svg{ width:13px; height:13px; }
.seg{ position:relative; width:176px; display:grid; grid-template-columns:1fr 1fr; padding:4px; border-radius:999px; box-shadow:inset 0 0 0 1px var(--line); }
.seg-thumb{
  position:absolute; top:4px; bottom:4px; left:4px; width:calc(50% - 4px); border-radius:999px;
  background:var(--accent); transition: transform .5s var(--ease), background-color .4s var(--ease);
}
html[data-mode="dark"] .seg-thumb{ transform:translateX(100%); }
.seg button{
  position:relative; z-index:1; height:34px; border-radius:999px;
  display:flex; align-items:center; justify-content:center; gap:7px;
  font-size:13px; font-weight:500; color:var(--ink-2); transition: color .35s var(--ease);
}
.seg button svg{ width:15px; height:15px; }
.seg button[aria-checked="true"]{ color:var(--on-accent); }
.swatches{ display:flex; gap:7px; }
.swatch{ position:relative; display:block; border-radius:50%; }
.sw{
  position:relative; display:block; width:34px; height:34px; border-radius:50%; overflow:hidden;
  background:linear-gradient(135deg, var(--sa) 50%, var(--sb) 50%);
  box-shadow:0 0 0 1px var(--line);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.sw::after{ content:""; position:absolute; inset:31%; background:var(--sc); clip-path:var(--nuqta); }
.swatch:hover .sw{ transform:scale(1.06); }
.swatch[aria-checked="true"] .sw{ box-shadow:0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
.fonts{ display:flex; gap:6px; }
.fontopt{
  display:grid; place-items:center; width:50px; height:42px; border-radius:12px;
  box-shadow:inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.fontopt:hover{ background:var(--line-soft); }
.fontopt .aa{ font-size:21px; line-height:1; color:var(--ink); }
.fontopt[aria-checked="true"]{ box-shadow:inset 0 0 0 1.5px var(--ink); }
.picker-fab{
  position:fixed; left:50%; bottom:18px; z-index:79;
  display:inline-flex; align-items:center; gap:10px; height:46px; padding:0 18px; border-radius:999px;
  background:var(--ink); color:var(--bg); font-size:14px; font-weight:500; white-space:nowrap;
  box-shadow:0 18px 40px -16px rgba(var(--shadow),.6);
  opacity:0; transform:translate(-50%, 20px); pointer-events:none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.picker-fab.show{ opacity:1; transform:translate(-50%, 0); pointer-events:auto; }
.toast{
  position:fixed; left:50%; top:86px; z-index:90; transform:translate(-50%, -12px); opacity:0; pointer-events:none;
  padding:12px 18px; border-radius:999px; background:var(--ink); color:var(--bg); font-size:14px;
  box-shadow:0 18px 40px -16px rgba(var(--shadow),.6);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.toast.show{ opacity:1; transform:translate(-50%, 0); }

/* ---------- View transitions ---------- */
::view-transition-old(root), ::view-transition-new(root){ animation-duration:.55s; animation-timing-function:cubic-bezier(.16,1,.3,1); }
html.vt-circle::view-transition-old(root), html.vt-circle::view-transition-new(root){ animation:none; mix-blend-mode:normal; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px){
  .p-head{ display:none; }
  .g-mode{ border-left:0; padding-left:0; }
  .picker{ padding-left:14px; }
}
@media (max-width: 860px){
  .products{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 1279px){
  .about{ grid-template-columns:minmax(0,380px) minmax(0,34em); }
}
@media (max-width: 960px){
  .nav-links{ display:none; }
  .nav-end .btn{ margin-left:8px; }
  .section-head{ grid-template-columns:1fr; }
  .about{ grid-template-columns:1fr; }
  .about-photo{ width:100%; max-width:440px; justify-self:center; }
}
@media (max-width: 900px){
  .picker{
    left:8px; right:8px; bottom:8px; transform:none;
    display:grid; grid-template-columns:auto auto; justify-content:space-between;
    grid-template-areas:"color mode" "font act";
    gap:12px 14px; padding:12px 14px; border-radius:22px;
  }
  .picker.collapsed{ transform:translateY(calc(100% + 30px)); }
  .p-group, .p-actions{ border:0; padding:0; }
  .g-mode{ grid-area:mode; } .g-color{ grid-area:color; } .g-font{ grid-area:font; } .p-actions{ grid-area:act; align-self:end; }
  .g-mode .p-label, .p-actions{ justify-content:flex-end; }
  .g-mode{ align-items:flex-end; }
  .seg{ width:max-content; grid-template-columns:44px 44px; }
  .seg-txt{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}
@media (max-width: 720px){
  body{ font-size:17px; }
  :root{ --nav-h:60px; }
  .nav .icon-link{ display:none; }
  .t-num{ font-size:calc(32px * var(--d-scale)); }
  .hero-lede{ margin-bottom:77px; }
  .ticker{ padding:18px 0; }
  .ticker-set li{ padding-right:48px; }
  .t-item svg{ width:20px; height:20px; }
  .products{ gap:32px 14px; }
  .product-info{ grid-template-columns:1fr; }
  .product-name{ font-size:calc(20px * var(--d-scale)); }
  /* the first sentence uses the full width; the icons sit below it, on the right */
  .footer-base{ position:relative; padding-block:32px 28px; }
  .footer-sep{ display:none; }
  .footer-mark + .footer-line{ font-size:min(14px, 4.3vw); }   /* keeps the sentence on one row down to 320px */
  .footer-line a{ display:block; }
  .footer-social{ position:absolute; right:var(--pad); bottom:24.25px; gap:4px; }   /* icons rest on the © line's baseline */
  .hide-sm{ display:none; }
  .sw{ width:32px; height:32px; }
  .fontopt{ width:44px; height:40px; }
  .p-actions .btn{ padding:0 16px; }
  .picker-fab{ bottom:12px; }
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; transition-delay:0s !important; }
  html{ scroll-behavior:auto; }
  .fade{ opacity:1; transform:none; }
  /* no motion: show the figures once, centred */
  .ticker.is-looping .ticker-track{ width:auto; justify-content:center; animation:none; }
  .ticker-set[aria-hidden]{ display:none; }
  .ticker-set{ flex:0 1 auto; flex-wrap:wrap; justify-content:center; row-gap:8px; }
}
