:root {
  color-scheme: dark;
  --bg: #100f0e;
  --surface: #1a1917;
  --line: rgba(244, 241, 234, 0.13);
  --ink: #f4f1ea;
  --muted: #a8a39a;
  --accent: #ff6b3d;
  --on-accent: #100f0e;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: none; }
ul { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 60px); }

.wrap { width: min(1280px, 100% - 64px); margin-inline: auto; }
.eyebrow { color: var(--muted); font-size: 14px; font-weight: 500; }
.lead { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 34em; text-wrap: pretty; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(16, 15, 14, 0.82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-size: 19px; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 99px; }
.lang button { min-width: 38px; padding: 4px 8px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Hero */
.hero { padding-top: clamp(56px, 9vw, 112px); overflow: hidden; }
.hero h1 { font-size: clamp(50px, 9.2vw, 136px); line-height: .97; letter-spacing: -0.022em; margin-top: 20px; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px 64px; margin-top: clamp(32px, 4vw, 52px); }
.stats { display: flex; gap: clamp(28px, 4vw, 52px); }
.stats dd { margin: 0; font: 700 clamp(36px, 4vw, 52px)/1 var(--display); letter-spacing: -0.03em; }
.stats dt { color: var(--muted); font-size: 14px; margin-top: 6px; }
.stats div { display: flex; flex-direction: column-reverse; }

.wall { display: grid; gap: 16px; margin-top: clamp(48px, 7vw, 88px); }
.wall-row { display: flex; gap: 16px; width: max-content; animation: drift 70s linear infinite; }
.wall-row:nth-child(2) { animation-direction: reverse; margin-left: -60px; }
.wall img { width: clamp(84px, 9vw, 128px); height: clamp(84px, 9vw, 128px); border-radius: 23%; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .wall-row { animation: none; }
  html { scroll-behavior: auto; }
}

/* Featured title */
.feature { padding-top: clamp(72px, 10vw, 132px); }
.feature-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.feature-icon { width: 76px; height: 76px; border-radius: 19px; margin: 18px 0 22px; }
.feature h2 { margin-bottom: 16px; }
.feature-shot { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.feature .stores { margin-top: 26px; }
.store {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 12px;
  background: var(--ink); color: var(--bg);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .15s;
}
.store:hover { background: var(--accent); }
.store svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* Grid */
.work { padding-top: clamp(80px, 11vw, 148px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 40px; margin-bottom: 36px; }
.filters { display: flex; gap: 6px; }
.filters button { padding: 8px 15px; border: 1px solid var(--line); border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .15s, border-color .15s; }
.filters button:hover { color: var(--ink); border-color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.card { display: block; width: 100%; text-align: left; }
.card-media { position: relative; display: block; height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--surface); isolation: isolate; }
.card-tint { position: absolute; inset: -70px; z-index: -1; background-size: cover; background-position: center; filter: blur(46px) saturate(1.35) brightness(.72); }
.card-shots { position: absolute; left: 50%; top: 30px; display: flex; gap: 10px; transform: translateX(-50%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.card-shots img { height: 380px; width: auto; border-radius: 16px; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.card:hover .card-shots { transform: translate(-50%, -12px); }
.card-info { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; margin-top: 16px; }
.card-icon { grid-row: span 3; width: 60px; height: 60px; border-radius: 14px; }
.card-name { font: 700 20px/1.2 var(--display); letter-spacing: -0.015em; }
.card:hover .card-name { color: var(--accent); }
.card-desc { color: var(--muted); font-size: 15px; line-height: 1.4; margin-top: 4px; text-wrap: pretty; }
.card-meta { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; margin-top: 8px; }
.card-meta span { display: inline-flex; gap: 5px; align-items: center; }
.card-meta svg { width: 12px; height: 12px; fill: currentColor; }

/* Studio */
.studio { padding-top: clamp(88px, 12vw, 164px); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
.pillars article { border-top: 1px solid var(--line); padding-top: 20px; }
.pillars h3 { font-size: 26px; margin-bottom: 10px; }
.pillars p { color: var(--muted); text-wrap: pretty; }

/* Contact */
.contact { margin-top: clamp(88px, 12vw, 164px); padding-block: clamp(56px, 8vw, 104px); background: var(--accent); color: var(--on-accent); }
.contact-mail { display: inline-block; font: 700 clamp(30px, 6.8vw, 92px)/1.05 var(--display); letter-spacing: -0.02em; margin-top: 12px; text-underline-offset: .12em; text-decoration-thickness: .05em; overflow-wrap: anywhere; }
.contact h2 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; }
.contact-list { display: grid; grid-template-columns: auto 1fr auto; gap: 28px clamp(32px, 6vw, 88px); margin-top: clamp(40px, 6vw, 72px); }
.contact-list dt { font-size: 14px; font-weight: 600; opacity: .72; }
.contact-list dd { margin: 4px 0 0; font-weight: 500; }

/* Footer */
.foot { padding-block: 26px; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px; }
.foot-links { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* App sheet */
.sheet {
  width: min(960px, 100% - 32px); max-height: min(880px, 100dvh - 32px);
  margin: auto; padding: clamp(22px, 3.5vw, 40px);
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 26px;
}
.sheet[open] { display: flex; flex-direction: column; gap: 22px; overflow-y: auto; animation: rise .22s ease-out; }
.sheet::backdrop { background: rgba(0, 0, 0, .72); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.sheet-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(244, 241, 234, .1); }
.sheet-close:hover { background: rgba(244, 241, 234, .2); }
.sheet-head { display: flex; gap: 20px; align-items: center; padding-right: 44px; }
.sheet-icon { flex: none; width: 88px; height: 88px; border-radius: 21px; }
.sheet-head h2 { font-size: clamp(25px, 3.4vw, 36px); margin: 2px 0 6px; line-height: 1.08; }
.sheet-head p:last-child { color: var(--muted); }
.gallery { display: flex; gap: 12px; flex: none; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; border-radius: 14px; }
.gallery img { height: min(52vh, 480px); width: auto; flex: none; border-radius: 14px; scroll-snap-align: start; background: var(--bg); }

@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-media { order: -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { display: none; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .contact-list { grid-template-columns: 1fr; gap: 20px; }
  .filters button { padding: 7px 13px; }
  .sheet-head { align-items: flex-start; gap: 14px; }
  .sheet-icon { width: 64px; height: 64px; border-radius: 15px; }
}
