/* Little Corner Design — colours taken straight from the logo */
:root {
  --paper: #E8E3DE;
  --paper-2: #F2EEEA;
  --paper-3: #DDD6CF;
  --ink: #111111;
  --ink-soft: #3A3633;
  --muted: #6E6862;
  --clay: #C8714E;
  --clay-dark: #A85A3B;
  --line: rgba(17, 17, 17, 0.14);

  --font: "Jost", "Noto Sans JP", "Noto Sans TC", system-ui, sans-serif;
  --radius: 2px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

:lang(ja) { --font: "Jost", "Noto Sans JP", system-ui, sans-serif; }
:lang(zh-Hant) { --font: "Jost", "Noto Sans TC", system-ui, sans-serif; }

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

:lang(ja) body, :lang(zh-Hant) body { line-height: 1.85; letter-spacing: 0.02em; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.15; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 26px;
  background: var(--ink);
  color: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--clay); border-color: var(--clay); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper-2); }
.btn-small { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }
:lang(ja) .btn, :lang(zh-Hant) .btn { text-transform: none; letter-spacing: .06em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(232, 227, 222, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .3s;
  --brand-scale: 1.7;
}
.site-header.scrolled { border-color: var(--line); }
/* While the hero is on screen the logo is shown larger; it scales back once you scroll past.
   Scaling (not resizing) keeps the header height fixed, so the page doesn't jump. */
.site-header.in-hero { background-color: rgba(232, 227, 222, .6); border-color: transparent; }
.site-header.in-hero.on-play { background-color: rgba(251, 246, 234, .9); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
/* Over the hero photo: no background, light logo, nav and controls */
.brand-mark-light { display: none; }
.site-header.on-photo { background-color: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.on-photo .brand-mark:not(.brand-mark-light) { display: none; }
.on-photo .brand-mark-light { display: block; }
.on-photo .brand-name, .on-photo .brand-sub { color: #FBF8F5; }
.on-photo .nav a:not(.btn) { color: #FBF8F5; }
.on-photo .nav .btn { background: #FBF8F5; border-color: #FBF8F5; color: var(--ink); }
.on-photo .nav .btn:hover { background: var(--clay); border-color: var(--clay); color: #FBF8F5; }
.on-photo .lang-switch { background: rgba(251, 248, 245, .14); border-color: rgba(251, 248, 245, .35); }
.on-photo .lang-switch button { color: rgba(251, 248, 245, .85); }
.on-photo .lang-switch button[aria-pressed="true"] { background: #FBF8F5; color: var(--ink); }
.on-photo .nav-toggle { border-color: rgba(251, 248, 245, .45); }
.on-photo .nav-toggle span { background: #FBF8F5; }
.in-hero .brand { transform: translateY(var(--brand-drop, 14px)) scale(var(--brand-scale)); }
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.brand-sub {
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: .5em;
  text-transform: uppercase;
  margin-top: 5px;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a:not(.btn) {
  font-size: 15px;
  text-decoration: none;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 12px; }

.lang-switch, .currency-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--paper-2);
}
.lang-switch button, .currency-switch button {
  font: inherit;
  font-size: 13px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.lang-switch button[aria-pressed="true"],
.currency-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper-2); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s, top .25s;
}
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 96px); position: relative; overflow: hidden; }
/* faint square grid, fading out from the artwork side */
.hero[data-bg="grid"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 0%, transparent 75%);
  opacity: .55;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ---- Hero background ---- */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg > * { display: none; }
.hero .marquee { position: relative; z-index: 1; }

/* Photo: fills the whole hero (full width, screen height); text sits on a calm part of the photo */
.hero[data-bg="photo"] {
  padding-top: 0;
  margin-top: -73px;  /* run the photo up under the transparent header */
  --photo-pos: 50% 0%;
  --text-side: end;
  --photo-pos-mobile: 0% 0%;
}
.hero[data-bg="photo"] .bg-photo { display: block; }
.bg-photo { position: absolute; inset: 0 0 63px; }
.bg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-pos, 50% 50%); }
.hero[data-bg="photo"] .hero-art { display: none; }
.hero[data-bg="photo"] .hero-inner {
  grid-template-columns: minmax(0, 560px);
  justify-content: var(--text-side, start);
  min-height: calc(100vh - 63px);
  min-height: calc(100svh - 63px);
  align-content: var(--text-align, center);
  padding-top: calc(73px + 48px); padding-bottom: 56px;
}
.hero[data-bg="photo"] .marquee { margin-top: 0; }
.hero[data-bg="photo"] .hero-title:lang(en) { font-size: clamp(44px, 5.2vw, 80px); }
/* Hero promise: bigger so "no upfront payment" stands out */
.hero[data-bg="photo"] .hero-title { margin-bottom: 34px; }
/* What makes Little Corner different: the promise first, then two smaller points */
.diffs { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; max-width: 34em; }
.diffs li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.45; flex: 1 1 14em; }
.diffs li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--clay); }
.hero.photo-dark .diffs li { color: rgba(251, 248, 245, .9); }
.hero[data-bg="photo"] .promise-icon { width: 56px; height: 56px; font-size: 28px; }
.hero[data-bg="photo"] .promise-title { font-size: clamp(26px, 2.7vw, 34px); font-weight: 600; }
.hero[data-bg="photo"] .promise-body { font-size: 17px; }
/* ---- Playful hero (palette: cream, tomato red, ink, lavender, butter) ---- */
.hero[data-bg="play"] {
  --p-red: #C6423E; --p-ink: #1F1410; --p-cream: #FBF6EA; --p-sand: #F2EADB; --p-lav: #E7D9FC; --p-butter: #F0E7BF;
  background: var(--p-cream);
  color: var(--p-ink);
  padding-bottom: 0;
}
.hero[data-bg="play"] .hero-inner { min-height: calc(100vh - 72px - 63px); min-height: calc(100svh - 72px - 63px); padding-bottom: 40px; }
.hero[data-bg="play"] .hero-title:lang(en) { font-size: clamp(40px, 4.4vw, 66px); }
.hero[data-bg="play"] .t-big { white-space: nowrap; }
.hero[data-bg="play"] .eyebrow { color: var(--p-red); letter-spacing: .24em; }
.hero[data-bg="play"] .t-big { color: var(--p-red); }
.hero[data-bg="play"] .promise-icon { background: var(--p-red); }
.hero[data-bg="play"] .promise-title em::after { background: var(--p-butter); opacity: 1; }
.hero[data-bg="play"] .promise-body, .hero[data-bg="play"] .diffs li { color: rgba(31, 20, 16, .72); }
.hero[data-bg="play"] .diffs li::before { background: var(--p-red); }
.hero[data-bg="play"] .marquee { margin-top: 0; }

.hero-art.play-art { max-width: 500px; }
.play-art > * { position: absolute; }
.pc { border-radius: 26px; box-shadow: 0 30px 50px -34px rgba(31, 20, 16, .45); animation: pop .9s cubic-bezier(.2, .8, .2, 1.1) backwards, wobble 9s ease-in-out 1s infinite; }
.pc-lav { inset: 16% 30% 10% 2%; background: var(--p-lav); rotate: -9deg; animation-delay: .25s, 1s; }
.pc-butter { inset: 6% 2% 22% 26%; background: var(--p-butter); rotate: 7deg; animation-delay: .35s, 2s; animation-duration: .9s, 11s; }
@keyframes wobble { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.play-card {
  inset: 12% 10% 16% 12%;
  background: #FFFDF8;
  border: 1px solid rgba(31, 20, 16, .1);
  border-radius: 26px;
  padding: 7% 8%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 34px 60px -30px rgba(31, 20, 16, .45);
  animation: pop .9s cubic-bezier(.2, .8, .2, 1.1) .45s backwards;
}
.pc-top { display: flex; justify-content: space-between; align-items: center; }
.pc-tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--p-sand); letter-spacing: .04em; }
.pc-arrow { color: var(--p-red); font-size: 20px; }
.pc-title { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; margin: 7% 0 auto; font-weight: 500; letter-spacing: -.005em; }
:lang(ja) .pc-title, :lang(zh-Hant) .pc-title { font-size: clamp(19px, 2vw, 26px); line-height: 1.45; }

/* sound meter: bars bounce like a live audio level */
.meter { display: flex; align-items: flex-end; gap: 5px; height: 62px; margin: 6% 0; }
.meter i { flex: 1; height: 100%; border-radius: 4px; background: var(--p-ink); transform-origin: bottom; animation: level 1.1s ease-in-out infinite alternate; }
.meter i:nth-child(3n) { background: var(--p-red); }
.meter i:nth-child(1) { animation-delay: -.2s; } .meter i:nth-child(2) { animation-delay: -.7s; } .meter i:nth-child(3) { animation-delay: -.4s; }
.meter i:nth-child(4) { animation-delay: -.9s; } .meter i:nth-child(5) { animation-delay: -.1s; } .meter i:nth-child(6) { animation-delay: -.6s; }
.meter i:nth-child(7) { animation-delay: -.3s; } .meter i:nth-child(8) { animation-delay: -.8s; } .meter i:nth-child(9) { animation-delay: -.5s; }
.meter i:nth-child(10) { animation-delay: -1s; } .meter i:nth-child(11) { animation-delay: -.35s; } .meter i:nth-child(12) { animation-delay: -.75s; }
@keyframes level { 0% { transform: scaleY(.18); } 50% { transform: scaleY(.65); } 100% { transform: scaleY(1); } }

.pc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--p-sand); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; line-height: 1.1; }
.tile b { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; }
.tile small { font-size: 12px; margin-top: 6px; opacity: .75; }
.tile-red { background: var(--p-red); color: var(--p-cream); }

.sticker {
  right: -2%; bottom: 2%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--p-cream);
  border: 1.5px solid var(--p-ink);
  display: grid;
  place-items: center;
  animation: pop .7s cubic-bezier(.2, .8, .2, 1.3) .9s backwards;
}
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker text { font-family: "Jost", "Noto Sans JP", "Noto Sans TC", sans-serif; font-size: 15px; font-weight: 500; letter-spacing: .06em; fill: var(--p-ink); }
.sticker-core { color: var(--p-red); font-size: clamp(22px, 2.6vw, 34px); }

/* confetti */
.cf { animation: drift 7s ease-in-out infinite; }
.cf-ring { left: 2%; top: 4%; width: 34px; height: 34px; border: 5px solid var(--p-red); border-radius: 50%; }
.cf-dot { right: 4%; top: 2%; width: 14px; height: 14px; background: var(--p-ink); border-radius: 50%; animation-delay: -2s; }
.cf-tri { left: 6%; bottom: 6%; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 24px solid var(--p-red); animation-delay: -4s; }
.cf-squig { left: 40%; bottom: 3%; width: 70px; animation-delay: -1s; }
.cf-squig path { fill: none; stroke: var(--p-ink); stroke-width: 3.5; stroke-linecap: round; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(6px, -10px) rotate(12deg); } }

/* ---- Editorial hero: big mixed serif/sans headline, tiny notes, a dropping word rotator ---- */
.hero[data-bg="editorial"] {
  --p-red: #C6423E; --p-ink: #1F1410; --p-cream: #FBF6EA; --p-butter: #F0E7BF;
  --serif: "Instrument Serif", "Noto Serif JP", "Noto Serif TC", Georgia, serif;
  background: var(--p-cream);
  color: var(--p-ink);
  padding-top: 0;
}
.hero[data-bg="editorial"] .marquee { margin-top: 0; }
.hero-inner.ed {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 72px - 63px);
  min-height: calc(100svh - 72px - 63px);
  padding-top: 28px; padding-bottom: 44px;
}
.ed-eyebrow { color: var(--p-red); margin: clamp(16px, 4vh, 48px) 0 18px; animation: rise .8s ease backwards; }
.ed-head { position: relative; }
.ed-title {
  font-family: "Jost", "Noto Sans JP", "Noto Sans TC", sans-serif;
  font-weight: 600;
  font-size: clamp(60px, 11.5vw, 158px);
  line-height: .9;
  letter-spacing: -.035em;
  margin: 0;
}
.ed-title > span { display: block; animation: rise .9s cubic-bezier(.2, .7, .2, 1) backwards; }
.ed-l2 { padding-left: 14%; animation-delay: .12s !important; }
.ed-title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.ed-l2 em { color: var(--p-red); }
:lang(ja) .ed-title, :lang(zh-Hant) .ed-title { font-size: clamp(40px, 6.6vw, 104px); line-height: 1.12; letter-spacing: .01em; font-weight: 700; }
:lang(ja) .ed-title em, :lang(zh-Hant) .ed-title em { font-style: normal; font-weight: 600; }
.ed-note {
  position: absolute;
  max-width: 13em;
  font-size: 11px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(31, 20, 16, .7);
  animation: rise .8s ease .5s backwards;
}
.ed-note { right: var(--nr, 0); top: var(--nt, 0); text-align: right; rotate: var(--nrot, 0deg); max-width: none; white-space: nowrap; }
.ed-n1 { --nt: 2.4em; }
.ed-n2 { --nt: 6.2em; }

/* Handwritten aside under the headline */
.ed-lead {
  margin: clamp(10px, 2vh, 22px) 0 0 clamp(8px, 9%, 140px);
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.15;
  color: var(--p-red);
  max-width: 24em;
  rotate: -2deg;
  transform-origin: left center;
  animation: rise .8s ease .3s backwards;
}
.ed-lead:lang(ja) { font-family: "Klee One", "Noto Sans JP", cursive; font-size: clamp(20px, 2vw, 28px); line-height: 1.45; }
.ed-lead:lang(zh-Hant) { font-family: "LXGW WenKai TC", "Noto Sans TC", cursive; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; }
.ed-rot { font-size: clamp(22px, 2.7vw, 38px); line-height: 1.3; margin: clamp(26px, 5vh, 52px) 0 0; animation: rise .8s ease .35s backwards; }
.rotator {
  display: inline-block;
  position: relative;
  height: 1.3em;
  vertical-align: bottom;
  clip-path: inset(0 -1em);  /* clip only top/bottom so long or italic words never get cut at the sides */
  transition: width .5s cubic-bezier(.6, 0, .2, 1);
  font-family: var(--serif);
  font-style: italic;
  color: var(--p-red);
  font-size: 1.12em;
}
:lang(ja) .rotator, :lang(zh-Hant) .rotator { font-style: normal; font-size: 1em; }
.ed-rot .rotator { margin: 0 .28em; }
:lang(ja) .ed-rot .rotator, :lang(zh-Hant) .ed-rot .rotator { margin: 0 .08em 0 .12em; }
:lang(ja) .rot-word, :lang(zh-Hant) .rot-word { padding-right: 0; }
.rot-word {
  position: absolute; left: 0; top: 0;
  white-space: nowrap;
  padding-right: .12em;
  transform: translateY(-105%);
  opacity: 0;
  transition: transform .6s cubic-bezier(.6, 0, .2, 1), opacity .45s;
}
.rot-word.in { transform: none; opacity: 1; }
.rot-word.out { transform: translateY(105%); opacity: 0; }

.ed-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 48px;
  margin-top: clamp(30px, 6vh, 64px);
  padding-top: 22px;
  border-top: 1px solid rgba(31, 20, 16, .18);
  animation: rise .8s ease .5s backwards;
}
.ed-bottom .diffs { margin: 0; flex: 1 1 28em; }
.hero[data-bg="editorial"] .promise-icon { background: var(--p-red); }
.hero[data-bg="editorial"] .promise-title em::after { background: var(--p-butter); opacity: 1; }
.hero[data-bg="editorial"] .promise-body, .hero[data-bg="editorial"] .diffs li { color: rgba(31, 20, 16, .72); }
.hero[data-bg="editorial"] .diffs li::before { background: var(--p-red); }

/* Featured work slideshow under the hero */
.hero[data-bg="editorial"] .hero-inner.ed { min-height: 0; padding-bottom: 56px; }
.fw { position: relative; padding-bottom: 0; }
.fw-head { display: flex; align-items: center; gap: 28px; margin-bottom: 20px; font-family: "Courier New", ui-monospace, monospace; font-size: 17px; letter-spacing: .02em; }
.fw-head i { flex: 1; height: 1.5px; background: var(--p-ink); }
.fw-stage { position: relative; height: min(78vh, 760px); overflow: hidden; background: var(--p-ink); }
.fw-slide {
  position: absolute; inset: 0;
  display: block;
  color: #fff;
  text-decoration: none;
  transform: translateY(-100%);
  transition: transform .9s cubic-bezier(.7, 0, .2, 1);
  z-index: 1;
}
.fw-slide.active { transform: none; z-index: 2; }
.fw-slide.leaving { transform: translateY(18%); z-index: 1; transition-duration: .9s; filter: brightness(.6); }
.fw-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.6) 100%); }
.fw-cover { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fw-pieces { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 3%; padding: 6% 8% 14%; }
.fw-pieces img { height: 100%; width: auto; max-width: 30%; object-fit: contain; box-shadow: 0 30px 50px -24px rgba(0,0,0,.6); }
.fw-pieces .fw-ig { border: 8px solid #111; border-radius: 22px; height: 82%; }
.fw-bobocat { background: #F0E7BF; }
.fw-thermo-site { background: #1F1410; }
.fw-browser { width: 58%; background: #FFFDF8; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 50px -24px rgba(0,0,0,.6); align-self: center; }
.fw-browser span { display: flex; gap: 6px; padding: 9px 12px; }
.fw-browser i { width: 8px; height: 8px; border-radius: 50%; background: #DDD6CF; }
.fw-pieces .fw-browser img { display: block; width: 100%; height: auto; max-width: none; box-shadow: none; }
.fw-pieces .fw-phone { height: 72%; border: 7px solid #111; border-radius: 22px; margin-left: -6%; position: relative; z-index: 1; }
.fw-littlei { background: #E7D9FC; }
.fw-thermo-brochure { background: #C6423E; }
.fw-thermo-brochure .fw-pieces img { max-width: 60%; rotate: -3deg; }
.fw-cap {
  position: absolute; left: max(16px, calc((100% - var(--container)) / 2 + var(--gutter))); bottom: 9%; right: 80px;
  z-index: 1;
  display: flex; flex-direction: column; gap: 10px;
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(0,0,0,.35);
}
.fw-cap b { font-size: 15px; letter-spacing: .2em; font-weight: 600; }
.fw-cap span { font-size: clamp(16px, 1.8vw, 22px); letter-spacing: .06em; font-weight: 400; }
.fw-dots { position: absolute; right: 22px; top: 50%; translate: 0 -50%; z-index: 3; display: flex; flex-direction: column; gap: 12px; }
.fw-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; transition: background .3s, scale .3s; }
.fw-dots button[aria-current] { background: #fff; scale: 1.35; }

/* Little Corner (quiet) vs BIG NOISE (loud) */
.hero-title .t-small { display: block; font-size: .46em; font-weight: 500; letter-spacing: .06em; line-height: 1.1; margin-bottom: .12em; }
.hero-title .t-big { display: block; font-size: 1.32em; font-weight: 800; letter-spacing: -.01em; line-height: .95; color: #F2A57F; }
.hero-title:lang(ja) .t-big, .hero-title:lang(zh-Hant) .t-big { font-size: 1.5em; font-weight: 700; letter-spacing: .02em; line-height: 1.1; }
.hero-title:lang(ja) .t-small, .hero-title:lang(zh-Hant) .t-small { font-size: .62em; }
/* light text for darker photos */
.hero.photo-dark .hero-copy { color: #FBF8F5; text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.hero.photo-dark .eyebrow { color: #F0B694; }
.hero.photo-dark .lead, .hero.photo-dark .promise-body { color: rgba(251, 248, 245, .88); }
.hero.photo-dark .promise-icon { text-shadow: none; }


/* staggered entrance */
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .18s; }
.hero-copy > :nth-child(4) { animation-delay: .28s; }
.hero-copy > :nth-child(5) { animation-delay: .38s; }
.hero-copy > :nth-child(6) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.eyebrow {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 22px;
}
:lang(ja) .eyebrow, :lang(zh-Hant) .eyebrow { letter-spacing: .12em; }

.hero-title {
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 26px;
}
:lang(ja) .hero-title, :lang(zh-Hant) .hero-title {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .02em;
}
.hero-title .nb { white-space: nowrap; }
.promise-title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.promise-title em::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: .02em;
  height: .42em;
  background: var(--clay);
  opacity: .85;
  z-index: -1;
  transform-origin: left;
  animation: draw .9s cubic-bezier(.6, 0, .2, 1) 1s backwards;
}
@keyframes draw { from { transform: scaleX(0); } }

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 36px;
}

/* The no-deposit promise */
.promise-card {
  display: flex;
  align-items: center;
  gap: 16px;
}
.promise-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--clay);
  color: var(--paper-2);
  font-size: 22px;
  font-weight: 600;
  flex-shrink: 0;
}
.promise-title { font-size: clamp(21px, 2.2vw, 26px); font-weight: 500; line-height: 1.25; letter-spacing: .01em; }
.promise-body { font-size: 16px; color: var(--ink-soft); line-height: 1.45; margin-top: 2px; }

/* Hero artwork: the logo with real client work floating around it.
   --px / --py (set from the pointer in main.js) shift each piece by its depth --d. */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  width: 100%;
  justify-self: center;
}
.hero-mark { position: absolute; inset: 16% 18% 16% 16%; animation: rise 1s cubic-bezier(.2, .7, .2, 1) .2s backwards; }
.mark-black {
  position: absolute;
  inset: 0 0 10% 9%;
  background: var(--ink);
  /* the notched top-right corner from the logo */
  clip-path: polygon(0 0, 75% 0, 75% 25%, 100% 25%, 100% 100%, 0 100%);
}
.mark-orange {
  position: absolute;
  left: 0; bottom: 0;
  width: 22.5%;
  aspect-ratio: 1;
  background: var(--clay);
}

.art, .stamp {
  position: absolute;
  transform: translate3d(calc(var(--px, 0) * var(--d) * 14px), calc(var(--py, 0) * var(--d) * 14px), 0);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  animation: pop .9s cubic-bezier(.2, .8, .2, 1.1) var(--delay) backwards, float 8s ease-in-out calc(var(--delay) + 1s) infinite;
}
.art { box-shadow: 0 26px 44px -20px rgba(17, 17, 17, .55); }
.art img { width: 100%; height: auto; display: block; }
@keyframes pop { from { opacity: 0; scale: .85; } }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.art-site {
  top: 6%; right: -2%;
  width: 62%;
  background: var(--paper-2);
  border-radius: 8px;
  overflow: hidden;
  rotate: 3deg;
}
.art-site .mb-bar { padding: 6px 9px; gap: 4px; }
.art-site .mb-bar i { width: 6px; height: 6px; }
.art-flyer {
  left: 0; bottom: 4%;
  width: 34%;
  rotate: -7deg;
  animation-duration: .9s, 9s;
}
.art-phone {
  right: 4%; bottom: 0;
  width: 27%;
  border: 6px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  rotate: 6deg;
  animation-duration: .9s, 7s;
}

.stamp {
  left: 2%; top: 2%;
  width: 31%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--clay);
  color: var(--paper-2);
  box-shadow: 0 18px 34px -16px rgba(168, 90, 59, .8);
  display: grid;
  place-items: center;
  z-index: 2;
}
.stamp svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}
.stamp text { font-family: "Jost", "Noto Sans JP", "Noto Sans TC", sans-serif; font-size: 15px; font-weight: 500; fill: currentColor; letter-spacing: .08em; }
.stamp-core { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.stamp-core b { font-size: clamp(34px, 5vw, 54px); font-weight: 500; font-family: "Jost", sans-serif; }
.stamp-core small { font-size: clamp(9px, 1vw, 12px); letter-spacing: .18em; text-transform: uppercase; margin-top: 2px; }
:lang(ja) .stamp-core small, :lang(zh-Hant) .stamp-core small { order: -1; margin: 0 0 2px; letter-spacing: .1em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Marquee */
.marquee {
  margin-top: clamp(48px, 7vw, 90px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 16px 0;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  font-size: 20px;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track i {
  width: 10px; height: 10px;
  background: var(--clay);
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-num {
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--clay-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-num::before {
  content: "";
  width: 12px; height: 12px;
  background: var(--clay);
}
.section h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
}
:lang(ja) .section h2, :lang(zh-Hant) .section h2 { font-weight: 500; line-height: 1.35; letter-spacing: .02em; }
.section-lead { color: var(--ink-soft); font-size: 18px; max-width: 38em; }

/* Regions */
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.region-card {
  padding: 32px 28px 36px 0;
  border-right: 1px solid var(--line);
}
.region-card + .region-card { padding-left: 28px; }
.region-card:last-child { border-right: 0; }
.region-top { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 26px; }
.region-code {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: .05em;
  line-height: 1;
}
.region-local { font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.region-card h3 { font-size: 22px; margin-bottom: 10px; }
.region-card p { color: var(--ink-soft); font-size: 16px; }

/* Landmarks (Tokyo Tower, Sky Tower, Taipei 101) at the far right of each card's code row */
.region-local { padding-bottom: 6px; }
.landmark { flex: none; margin-left: auto; height: 104px; width: auto; overflow: visible; }
.landmark * {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.6s cubic-bezier(.5, 0, .2, 1) .2s;
}
.landmark .lm-accent, .landmark .lm-accent * { stroke: var(--clay); }
.landmark g.lm-accent { stroke: none; }
/* draw in when the card scrolls into view */
.region-card.reveal:not(.in) .landmark * { stroke-dashoffset: 1; }

/* Services */
.services { background: var(--paper-2); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--paper);
  padding: 36px 30px;
  border-radius: var(--radius);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.service-card::after {
  /* little orange corner, like the logo */
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 18px; height: 18px;
  background: var(--clay);
  transform: scale(0);
  transform-origin: bottom left;
  transition: transform .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(17,17,17,.35); }
.service-card:hover::after { transform: scale(1); }
.service-card h3 { font-size: 24px; margin: 26px 0 12px; }
.service-card > p { color: var(--ink-soft); font-size: 16px; margin-bottom: 20px; }

.service-icon { height: 64px; display: flex; align-items: flex-end; gap: 4px; }
.icon-pamphlet span { width: 24px; height: 58px; background: var(--ink); }
.icon-pamphlet span:nth-child(2) { background: var(--clay); transform: skewY(-8deg); }
.icon-ig { display: grid; grid-template-columns: repeat(2, 28px); grid-template-rows: repeat(2, 28px); gap: 4px; align-content: end; align-items: stretch; }
.icon-ig span { background: var(--ink); }
.icon-ig span:nth-child(2) { background: var(--clay); }
.icon-web span { width: 70px; height: 54px; border: 4px solid var(--ink); border-top-width: 12px; position: relative; }
.icon-web span::after { content: ""; position: absolute; left: 6px; top: 6px; width: 22px; height: 22px; background: var(--clay); }

.ticks { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.ticks li {
  padding: 8px 0 8px 22px;
  border-top: 1px solid var(--line);
  position: relative;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  background: var(--clay);
}

.extras {
  margin-top: 20px;
  padding: 28px 30px;
  border: 1px dashed rgba(17,17,17,.3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: baseline;
}
.extras h3 { font-size: 20px; }
.extras p { color: var(--ink-soft); }

/* ---------- Work mockups ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-item { margin: 0; }
.work-stage {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.stage-sand { background: var(--paper-3); }
.stage-ink { background: var(--ink); }
.stage-clay { background: var(--clay); }
.work-item figcaption {
  margin-top: 14px;
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 2px 8px;
  border-radius: 999px;
}
.work-item .work-stage > * { transition: transform .4s ease; }
.work-item:hover .work-stage:not(.work-link) > * { transform: scale(1.03) rotate(-1deg); }

/* Real flyer (client work): front with the back peeking out behind */
.work-link { text-decoration: none; color: inherit; }
.real-flyer { position: relative; width: 56%; aspect-ratio: 900 / 1273; translate: -10% 0; }
.real-flyer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 24px 40px -20px rgba(17,17,17,.5);
  transition: transform .4s ease;
}
.rf-back { transform: translateX(30%) rotate(7deg); }
.rf-front { transform: rotate(-3deg); }
.work-link:hover .rf-back { transform: translateX(38%) rotate(9deg); }
.work-link:hover .rf-front { transform: translateX(-4%) rotate(-4deg); }
.work-open {
  position: absolute;
  right: 14px; bottom: 14px;
  font-size: 12px;
  letter-spacing: .1em;
  background: var(--ink);
  color: var(--paper-2);
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0;
  translate: 0 6px;
  transition: opacity .25s, translate .25s;
}
.work-link:hover .work-open, .work-link:focus-visible .work-open { opacity: 1; translate: 0 0; }
@media (hover: none) { .work-open { opacity: 1; translate: 0 0; } }
.tag-client { background: var(--clay); border-color: var(--clay); color: var(--paper-2); }

/* Instagram phone mock */
.mock-phone {
  width: 62%;
  background: var(--paper-2);
  border-radius: 18px;
  padding: 12px 8px 14px;
  box-shadow: 0 24px 40px -18px rgba(0,0,0,.7);
}
.mp-head { display: flex; align-items: center; gap: 8px; padding: 0 4px 10px; }
.mp-avatar { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper-2); box-shadow: 0 0 0 1.5px var(--clay); }
.mp-meta { display: flex; flex-direction: column; line-height: 1.2; font-size: 11px; }
.mp-meta small { font-size: 9px; color: var(--muted); }
.mp-post { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.mp-actions { display: flex; gap: 12px; padding: 8px 6px 0; font-size: 13px; line-height: 1; color: var(--ink); }
.work-link:hover .mock-phone { transform: scale(1.03) rotate(-1deg); }
.mock-phone { transition: transform .4s ease; }

/* Real brochure (client work): a sheet on top of a small stack */
.real-brochure { position: relative; width: 56%; aspect-ratio: 900 / 1273; }
.real-brochure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper-2);
  transform: rotate(5deg) translate(4%, 1%);
  box-shadow: 0 24px 40px -20px rgba(17,17,17,.45);
  transition: transform .4s ease;
}
.real-brochure img {
  position: relative;
  width: 100%;
  height: auto;
  transform: rotate(-2deg);
  box-shadow: 0 24px 40px -20px rgba(17,17,17,.5);
  transition: transform .4s ease;
}
.work-link:hover .real-brochure img { transform: rotate(-3deg) translateY(-2%); }
.work-link:hover .real-brochure::before { transform: rotate(7deg) translate(7%, 1%); }

/* Website (client work): desktop in a browser frame, phone overlapping */
.work-wide { grid-column: 1 / -1; }
.work-wide .work-stage { aspect-ratio: 2 / 1; }
.mock-site { position: relative; width: 60%; translate: -5% -2%; transition: transform .4s ease; }
.mock-browser {
  background: var(--paper-2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 50px -24px rgba(17,17,17,.5);
}
.mb-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; }
.mb-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--paper-3); }
.mb-bar span {
  flex: 0 1 260px;
  margin: 0 auto;
  font-size: 11px;
  color: var(--muted);
  background: var(--paper);
  border-radius: 999px;
  padding: 2px 12px;
  text-align: center;
}
.mock-browser img { width: 100%; height: auto; }
.mock-mobile {
  position: absolute;
  right: -10%; bottom: -8%;
  width: 21%;
  border: 6px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 24px 40px -18px rgba(17,17,17,.6);
  transition: transform .4s ease;
}
.mock-mobile img { width: 100%; height: auto; }
/* Mirrored version: phone on the left */
.mock-site.flip { translate: 5% -2%; }
.mock-site.flip .mock-mobile { right: auto; left: -10%; }
.work-link:hover .mock-site.flip .mock-mobile { transform: translateY(-4%) rotate(-2deg); }
.stage-ink .mock-browser { box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.stage-ink .mock-mobile { border-color: #2A2724; }
.work-link:hover .mock-site { transform: translateY(-2%); }
.work-link:hover .mock-mobile { transform: translateY(-4%) rotate(2deg); }

/* ---------- Pricing ---------- */
.pricing { background: var(--ink); color: var(--paper); }
.pricing .section-lead { color: rgba(232,227,222,.75); }
.pricing .section-num { color: #E9B48A; }

.pricing .currency-switch { background: transparent; border-color: rgba(232,227,222,.25); margin-bottom: 32px; }
.pricing .currency-switch button { color: rgba(232,227,222,.75); }
.pricing .currency-switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card {
  border: 1px solid rgba(232,227,222,.2);
  padding: 32px 26px;
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-desc { font-size: 14px; color: rgba(232,227,222,.7); min-height: 3.2em; }
.price {
  font-size: 34px;
  font-weight: 400;
  margin: 22px 0 22px;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  font-family: "Jost", sans-serif;
}
.price small { font-size: 15px; opacity: .7; margin-right: 4px; }
.price-card .ticks li { border-color: rgba(232,227,222,.15); font-size: 14px; }
.price-card.featured { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.price-card.featured .price-desc { color: var(--muted); }
.price-card.featured .ticks li { border-color: var(--line); }
.badge {
  position: absolute;
  top: -12px; left: 26px;
  background: var(--clay);
  color: var(--paper-2);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.price-note { margin-top: 28px; font-size: 14px; color: rgba(232,227,222,.65); max-width: 52em; }

/* ---------- Process ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.step { padding: 0 28px 0 0; position: relative; }
.step-num {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--clay-dark);
  margin-bottom: 22px;
}
.step-num::after { content: ""; flex: 1; height: 1px; background: var(--ink); }
.step:last-child .step-num::after { background: linear-gradient(90deg, var(--ink) 0 30%, transparent 30%); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 16px; }

/* ---------- About ---------- */
.about { background: var(--paper-2); }
.about-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
/* Portrait: round photo with the logo's little orange square tucked at its lower left */
.about-photo { position: relative; max-width: 420px; width: 100%; justify-self: center; }
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 30px 60px -32px rgba(17, 17, 17, .45);
  position: relative;
}
.about-photo::before {
  content: "";
  position: absolute;
  left: 7%; bottom: 7%;
  width: 14%;
  aspect-ratio: 1;
  background: var(--clay);
  z-index: 1;
}
.about-copy p:not(.section-num) { color: var(--ink-soft); font-size: 18px; }
.about-copy p:not(.section-num) + p { margin-top: 14px; }
.stats { display: flex; gap: 40px; margin: 36px 0 0; flex-wrap: wrap; }
.stats div { border-top: 1px solid var(--ink); padding-top: 12px; min-width: 110px; }
.stats dt { font-size: 13px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.stats dd { margin: 4px 0 0; font-size: 40px; font-weight: 300; line-height: 1; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.channels { list-style: none; padding: 0; margin: 36px 0 0; }
.channels li { display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.channels li:last-child { border-bottom: 1px solid var(--line); }
.ch-label { width: 90px; flex-shrink: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.channels a { text-decoration: none; border-bottom: 1px solid var(--clay); }
.channels a:hover { color: var(--clay-dark); }

.contact-form {
  background: var(--paper-2);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute;
  left: -14px; bottom: -14px;
  width: 44px; height: 44px;
  background: var(--clay);
  z-index: -1;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; letter-spacing: .06em; color: var(--ink-soft); padding: 0; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 16px;
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid transparent;
  border-bottom-color: rgba(17,17,17,.35);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field .invalid { border-color: var(--clay-dark); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(17,17,17,.3);
  border-radius: 999px;
  font-size: 14px;
  transition: background .2s, color .2s, border-color .2s;
}
.chip input:checked + span { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }

.form-note { font-size: 13px; color: var(--muted); }
.form-error { font-size: 14px; color: var(--clay-dark); }
.form-status { font-size: 15px; padding: 12px 14px; border-left: 3px solid var(--ink-soft); background: var(--paper); }
.form-status[data-type="success"] { border-color: var(--clay); }
.form-status[data-type="error"] { border-color: var(--clay-dark); color: var(--clay-dark); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--ink); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.footer-inner p { font-size: 14px; color: var(--muted); }
.footer-inner .copy { margin-left: auto; }
.brand-footer .brand-mark { width: 28px; height: 28px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .site-header { --brand-scale: 1.45; }
}

@media (max-width: 1080px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 20px; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; padding: 14px; font-size: 14px; }
  .header-tools { margin-left: auto; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; }
  /* phones and tablets: the photo sits below the text */
  .hero[data-bg="photo"] .hero-inner { justify-content: start; align-content: start; padding-top: calc(73px + 36px); }
  .hero[data-bg="photo"] .promise-body { font-size: 15px; }
  .fw-stage { height: 118vw; max-height: 640px; }
  .fw-cover { object-position: 30% 20%; }
  .fw-pieces { padding: 10% 6% 30%; }
  .fw-pieces img { max-width: 44%; }
  .fw-littlei .fw-pieces img:nth-child(2) { display: none; }
  .fw-browser { width: 78%; }
  .fw-pieces .fw-phone { height: 46%; margin-left: -18%; align-self: flex-end; margin-bottom: 4%; }
  .fw-dots { right: 14px; }
  .hero-inner.ed { min-height: 0; }
  .ed-note { position: static; display: block; max-width: none; margin-top: 14px; rotate: none; white-space: normal; }
  .ed-n1 { margin-top: 22px; }
  .ed-note { text-align: left; }
  .ed-lead { margin-left: 4px; }
  .ed-l2 { padding-left: 8%; }
  .hero[data-bg="play"] .hero-inner { min-height: 0; }
  .hero-art.play-art { max-width: 360px; width: 92%; margin: 8px auto 0; aspect-ratio: 4 / 5; }
  .hero[data-bg="play"] .hero-title:lang(en) { font-size: clamp(36px, 10vw, 54px); }
  .meter { height: 44px; }
  .hero[data-bg="photo"] .promise-icon { width: 48px; height: 48px; font-size: 24px; }
  /* the open mobile menu has its own background, so keep its links dark */
  .on-photo .nav.open a:not(.btn) { color: var(--ink); }
  .on-photo .nav.open .btn { background: var(--ink); border-color: var(--ink); color: var(--paper-2); }
  .bg-photo img { object-position: var(--photo-pos-mobile, var(--photo-pos, 50% 50%)); }
  .hero::before {
    -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 78%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 40% at 50% 78%, #000 0%, transparent 75%);
  }

  .region-grid, .service-grid, .work-grid { grid-template-columns: 1fr; }
  .region-card, .region-card + .region-card { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .work-stage { aspect-ratio: 5 / 4; }
  .real-flyer { width: 36%; }
  .mock-phone { width: 42%; }
  .real-brochure { width: 36%; }
  .work-wide .work-stage { aspect-ratio: 16 / 10; }
  .mock-site { width: 74%; }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 300px; justify-self: start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-text { display: none; }
  .site-header { --brand-scale: 1.4; --brand-drop: 9px; }
  .lang-switch button { padding: 5px 8px; font-size: 12px; }
  .price-grid, .steps, .field-row { grid-template-columns: 1fr; }
  .work-stage { aspect-ratio: 4 / 5; }
  .real-flyer { width: 54%; }
  .mock-phone { width: 70%; }
  .real-brochure { width: 54%; }
  .work-wide .work-stage { aspect-ratio: 4 / 3.4; }
  .mock-site { width: 78%; }
  .mock-mobile { width: 30%; border-width: 4px; border-radius: 14px; }
  .currency-switch button { padding: 5px 9px; font-size: 12px; }
  .footer-inner .copy { margin-left: 0; }
  .extras { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
