:root {
  --ink: #2c241c;
  --muted: #6f6256;
  --cream: #f7f3ec;
  --paper: #fffaf4;
  --rust: #9a4632;
  --rust-deep: #7d3828;
  --line: rgba(44, 36, 28, 0.1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html:not(.i18n-ready) body { visibility: hidden; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, .brand, .paper, .scraps p {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 22px;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-size: 1.15rem;
}

.brand img { width: 32px; height: 32px; border-radius: 9px; }

.nav-links { display: none; gap: 22px; align-items: center; font-weight: 500; }

.nav-links.open {
  display: flex;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  flex-direction: column;
  padding: 8px 22px 16px;
  background: rgba(247, 243, 236, 0.98);
  border-bottom: 1px solid var(--line);
}

.menu-btn,
.lang-btn {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.lang { position: relative; }

.lang-btn {
  min-width: 52px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 6;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(44, 36, 28, 0.12);
}

.lang-menu:not([hidden]) { display: grid; }

.lang-menu button {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lang-menu button[aria-selected="true"] {
  background: rgba(154, 70, 50, 0.12);
  font-weight: 600;
}

.hero {
  padding: 28px 22px 0;
  overflow: hidden;
  background: var(--cream);
}

.hero h1 {
  margin: 0;
  max-width: 11em;
  font-size: clamp(2.15rem, 8vw, 4.6rem);
  line-height: 1.05;
}

.hero-copy p {
  max-width: min(26rem, 100%);
  margin: 14px 0 0;
  color: #5c4b3e;
  font-size: 1.05rem;
}

.hero-photo {
  width: calc(100% + 44px);
  height: 280px;
  margin: 22px -22px 0;
  object-fit: cover;
  object-position: 72% 78%;
}

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.store {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 148px;
  min-height: 48px;
  padding: 7px 14px;
  border-radius: 12px;
  background: #161616;
  color: #fff;
  line-height: 1.15;
}

.store span { display: grid; }
.store small { font-size: 0.68rem; opacity: 0.8; font-weight: 400; }
.store b { font-weight: 600; font-size: 0.95rem; }

.stage { padding: 48px 22px 28px; }

.stage h2, .inside h2, .why h2, .cta h2 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3.3rem);
  line-height: 1.12;
  text-align: center;
}

.stage-frame { margin-top: 8px; }

.stage-phones {
  width: min(100%, 920px);
  height: auto;
  margin: 0 auto;
}

.stage-note { display: none; }

.step-no { display: none; }

.phones {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 4px auto 0;
}

.phones p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.step-copy { display: grid; gap: 2px; }

.phones strong { font-weight: 600; }
.phones span { color: var(--muted); font-size: 0.92rem; }
.phones .step-copy span,
.scraps p { text-wrap: balance; }

.inside {
  margin-top: 20px;
  padding: 48px 22px 36px;
  background:
    linear-gradient(180deg, rgba(247, 243, 236, 0.2), rgba(44, 36, 28, 0.18)),
    url("assets/hero-desktop.jpg") center 45% / cover;
}

.inside-copy { max-width: 50rem; }

.inside h2, .inside-copy > p { text-align: left; color: #2c241c; }

.inside-copy > p { max-width: 28rem; margin: 12px 0 0; }

.eyebrow {
  margin: 22px 0 10px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scraps { display: grid; gap: 12px; }

.scraps article {
  max-width: 18rem;
  padding: 16px 16px 12px;
  background: rgba(255, 250, 244, 0.92);
  box-shadow: 0 10px 24px rgba(44, 36, 28, 0.08);
}

.scraps article:nth-child(1) { transform: rotate(-1.2deg); }
.scraps article:nth-child(2) { transform: rotate(0.8deg); }
.scraps article:nth-child(3) { transform: rotate(-0.4deg); }

.scraps p { margin: 0; font-size: 1.2rem; line-height: 1.35; }
.scraps article > span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.85rem; }

.cta {
  padding: 56px 22px 28px;
  background: var(--rust);
  color: #fff8f3;
  text-align: center;
}

.cta .stores { justify-content: center; }

.why {
  padding: 64px 22px;
  background: #fff;
  text-align: center;
}

.why p {
  max-width: 38rem;
  margin: 14px auto 0;
  color: #4e433b;
  font-size: 1.05rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  padding: 20px 22px 36px;
  background: var(--rust);
  color: #fff8f3;
  border-top: 1px solid rgba(255, 248, 243, 0.35);
}

.foot .brand { color: inherit; }
.foot-rule { width: 1px; height: 18px; background: rgba(255, 248, 243, 0.45); }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.foot a { font-weight: 500; }
.foot nav a + a::before { content: "·"; margin: 0 0.7em; opacity: 0.75; }

.page { max-width: 40rem; margin: 0 auto; padding: 36px 22px 72px; }
.page h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.55rem); line-height: 1.12; max-width: 16em; }
.page h2 { margin: 1.7em 0 0; font-family: var(--serif); font-size: 1.28rem; font-weight: 520; line-height: 1.25; }
.page p, .page li { line-height: 1.65; }
.page p { margin: 12px 0 0; }
.page .updated { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }
.page .lede { margin-top: 18px; font-size: 1.06rem; }
.page ul { margin: 12px 0 0; padding-left: 1.15rem; }
.page li { margin-top: 6px; }
.page strong { font-weight: 600; }
.page a { color: #2d5e7b; }
.mail-line { margin-top: 18px; font-size: 1.05rem; font-weight: 600; }
.mail-line a { color: inherit; text-decoration: none; }
.mail-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 12px;
  background: #161616;
  color: #fff !important;
  font-weight: 500;
  text-decoration: none;
}
.page .note { color: var(--muted); }

@media (max-width: 859px) {
  .nav { padding-inline: 20px; gap: 8px; }
  .nav-links.open { padding-inline: 20px; }
  .brand { gap: 8px; font-size: 1.02rem; }
  .menu-btn, .lang-btn { min-height: 36px; padding-inline: 10px; }
  .lang-btn { min-width: 44px; }
  .lang, .menu-btn { flex-shrink: 0; }

  .hero { padding: 24px 20px 0; }
  .page { padding: 28px 20px 56px; }
  .hero h1,
  .hero-copy p,
  .stage h2,
  .inside h2,
  .why h2,
  .cta h2,
  .stage-note {
    text-wrap: balance;
  }
  .hero h1 { max-width: 12em; font-size: clamp(2.05rem, 8.4vw, 2.7rem); }
  .hero-copy p { max-width: 22em; font-size: 1.02rem; }
  .hero-photo {
    width: calc(100% + 40px);
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 18px -20px 0;
    object-fit: cover;
    object-position: center center;
  }

  .stores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .store {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 52px;
    justify-content: flex-start;
  }

  .stage { padding: 32px 20px 8px; }
  .stage-frame {
    margin: 4px -14px 0;
    overflow: hidden;
  }
  .stage-phones {
    width: 100%;
    max-width: none;
    margin: 0;
    transform: scale(1.08);
    transform-origin: center center;
  }
  .stage-note {
    display: block;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.4;
    text-align: center;
  }

  .phones { gap: 20px; margin-top: 20px; }
  .phones .step-copy span,
  .inside-copy > p,
  .why p { text-wrap: balance; }
  .scraps p { text-wrap: balance; }
  .scrap-break { display: block; }
  .phones p {
    grid-template-columns: 2rem 1fr;
    column-gap: 4px;
    align-items: start;
  }
  .phones .step-no {
    display: block;
    padding-top: 0.2em;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.2;
  }

  .inside { margin-top: 28px; padding: 32px 20px 28px; }
  .inside-copy { max-width: none; }
  .scraps { gap: 14px; }
  .scraps article {
    width: 100%;
    max-width: none;
    transform: none;
    background: rgba(255, 250, 244, 0.98);
  }

  .why { padding: 32px 20px 12px; }
  .cta { padding: 32px 20px 28px; }
  .cta .stores { margin-top: 18px; }

  .foot {
    flex-direction: column;
    gap: 8px;
    padding: 22px 20px 32px;
  }
  .foot .brand { margin-right: 0; }
  .foot-rule { display: none; }
  .foot nav {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    column-gap: 0;
    row-gap: 0;
  }
  .foot nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 2px;
  }
  .foot nav a + a::before { content: none; }
  .foot nav a:nth-child(1) { grid-area: 1 / 1; justify-content: flex-end; }
  .foot nav a:nth-child(2) { grid-area: 1 / 2; }
  .foot nav a:nth-child(3) { grid-area: 2 / 1; justify-content: flex-end; }
  .foot nav a:nth-child(4) { grid-area: 2 / 2; }
  .foot nav a:nth-child(2)::before,
  .foot nav a:nth-child(4)::before {
    content: "·";
    margin: 0 0.65em;
    opacity: 0.75;
  }
}

@media (min-width: 860px) {
  .menu-btn { display: none; }
  .nav { padding-inline: 40px; }
  .nav-links { display: flex; }

  .hero {
    display: flex;
    align-items: center;
    min-height: 82vh;
    padding: 72px 8vw;
    background:
      linear-gradient(90deg, rgba(255, 246, 236, 0.62) 0%, rgba(255, 246, 236, 0.16) 42%, transparent 64%),
      url("assets/hero-desktop.jpg") center 62% / cover no-repeat;
  }

  .hero-photo { display: none; }
  .hero-copy { max-width: 640px; }

  .stage, .why, .cta, .foot { padding-inline: 8vw; }
  .stage h2 { margin-bottom: 8px; }

  .phones {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
  }

  .inside { padding: 72px 8vw; }
  .scraps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 48rem);
  }
  .scraps article { max-width: none; }
}
