/* Chaktee51 — Editorial homepage (index002) — layout from index.html */
:root {
  --paper: #f2f0eb;
  --ink: #111;
  --accent: #d94b22;
  --line: #c9c5bd;
  --muted: #6d6963;

  --hero-main-pos-x: 50%;
  --hero-main-pos-y: 50%;
  --hero-secondary-pos-x: 50%;
  --hero-secondary-pos-y: 28%;
  --archive-left-pos-x: 72%;
  --archive-left-pos-y: 48%;
  --archive-right-pos-x: 50%;
  --archive-right-pos-y: 38%;
  --strip-01-pos-x: 50%;
  --strip-01-pos-y: 50%;
  --strip-02-pos-x: 50%;
  --strip-02-pos-y: 50%;
  --strip-03-pos-x: 50%;
  --strip-03-pos-y: 50%;
  --strip-04-pos-x: 50%;
  --strip-04-pos-y: 50%;
  --strip-05-pos-x: 50%;
  --strip-05-pos-y: 50%;
  --strip-06-pos-x: 55%;
  --strip-06-pos-y: 35%;
  --strip-07-pos-x: 50%;
  --strip-07-pos-y: 40%;
  --strip-08-pos-x: 50%;
  --strip-08-pos-y: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.paper-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background:
    radial-gradient(ellipse 120% 80% at 12% 0%, rgba(255, 255, 255, 0.4), transparent 55%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.01) 3px,
      rgba(0, 0, 0, 0.01) 4px
    );
}

main {
  position: relative;
  z-index: 1;
}

/* ─── Header (index.html) ─── */
.site-header {
  height: 100px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 10px 4vw;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  width: 90px;
  height: 76px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.header-note {
  font: 700 11px/1.2 "Courier New", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.social-link {
  font: 700 11px/1.2 "Courier New", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  white-space: nowrap;
}

.social-link:hover,
.social-link:focus-visible {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.pre-store-gap {
  padding: 40px 4vw;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.social-link--gap {
  font-size: 12px;
  letter-spacing: 0.16em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--ink);
  flex-shrink: 0;
}

.lang-switch button {
  min-width: 40px;
  min-height: 30px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 700 10px/1 "Courier New", monospace;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.lang-switch button:last-child {
  border-right: 0;
}

.lang-switch button.is-active {
  background: var(--ink);
  color: #fff;
}

.lang-switch button:hover:not(.is-active) {
  background: #e4e1da;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font: 700 11px/1.2 "Courier New", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-bottom-color: var(--ink);
}

.nav-links a.is-shop {
  color: var(--accent);
}

.nav-about {
  position: relative;
}

.nav-about-btn {
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: 700 11px/1.2 "Courier New", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-about-btn:hover,
.nav-about-btn:focus-visible,
.nav-about-btn[aria-expanded="true"] {
  border-bottom-color: var(--ink);
}

/* ─── Hero (index.html — 44% / 56%, no overlaps) ─── */
.hero {
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: 44% 56%;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: 7vh 4vw 5vh;
  display: flex;
  flex-direction: column;
}

.eyebrow {
  font: 700 11px/1 "Courier New", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 5vh;
}

.eyebrow > span:first-child {
  color: var(--accent);
  margin-right: 18px;
}

.hero-copy .eyebrow > span:last-child {
  color: inherit;
}

.hero h1 {
  margin: 0;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(52px, 5.8vw, 96px);
  line-height: 0.78;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.manifesto {
  margin: 5vh 0 4vh;
  max-width: 520px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(24px, 2.8vw, 42px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.manifesto strong {
  color: var(--accent);
  font-weight: inherit;
}

.hero-enter {
  margin-top: auto;
  max-width: 540px;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.hero-enter p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
}

.enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font: 700 12px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
}

.enter-btn span {
  color: var(--accent);
  font-size: 18px;
}

.enter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.enter-btn:hover span {
  color: #fff;
}

.visual-stage {
  position: relative;
  min-height: 720px;
  border-left: 1px solid var(--line);
  overflow: hidden;
  background: #d8d6d1;
}

.photo {
  margin: 0;
  position: absolute;
}

.photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.photo figcaption {
  position: absolute;
  padding: 8px 10px;
  background: var(--paper);
  font: 700 9px/1 "Courier New", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-main {
  inset: 0 31% 0 0;
}

.photo-main figcaption {
  left: 16px;
  bottom: 16px;
}

.photo-main img {
  object-position: var(--hero-main-pos-x) var(--hero-main-pos-y);
}

.photo-secondary {
  right: 0;
  top: 0;
  width: 31%;
  height: 54%;
  border-left: 6px solid var(--paper);
  border-bottom: 6px solid var(--paper);
}

.photo-secondary figcaption {
  right: 12px;
  bottom: 12px;
}

.photo-secondary img {
  object-position: var(--hero-secondary-pos-x) var(--hero-secondary-pos-y);
}

.hero-stamp {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 31%;
  height: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(28px, 3.2vw, 52px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: background 0.15s ease;
}

.hero-stamp:hover {
  background: var(--ink);
}

/* ─── Archive strip (index.html) ─── */
.archive-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.archive-strip > * {
  background: var(--paper);
}

.archive-heading {
  padding: 5vw 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.archive-heading .statement-eyebrow {
  margin-bottom: 24px;
  color: var(--accent);
}

.archive-heading h2,
.archive-heading .statement-headline {
  max-width: 420px;
  margin: 0;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.archive-body {
  max-width: 420px;
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: #3a3732;
}

.archive-kicker {
  max-width: 420px;
  margin: 28px 0 0;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--accent);
}

.archive-strip figure {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
}

.archive-strip img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.archive-left img {
  object-position: var(--archive-left-pos-x) var(--archive-left-pos-y);
}

.archive-right img {
  object-position: var(--archive-right-pos-x) var(--archive-right-pos-y);
}

/* ─── Image rail (index.html) ─── */
.image-rail {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.image-rail .rail-cell {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #d8d6d1;
}

.image-rail img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.crop-strip-01 { object-position: var(--strip-01-pos-x) var(--strip-01-pos-y); }
.crop-strip-02 { object-position: var(--strip-02-pos-x) var(--strip-02-pos-y); }
.crop-strip-03 { object-position: var(--strip-03-pos-x) var(--strip-03-pos-y); }
.crop-strip-04 { object-position: var(--strip-04-pos-x) var(--strip-04-pos-y); }
.crop-strip-05 { object-position: var(--strip-05-pos-x) var(--strip-05-pos-y); }
.crop-strip-06 { object-position: var(--strip-06-pos-x) var(--strip-06-pos-y); }
.crop-strip-07 { object-position: var(--strip-07-pos-x) var(--strip-07-pos-y); }
.crop-strip-08 { object-position: var(--strip-08-pos-x) var(--strip-08-pos-y); }

/* ─── About Us dropdown ─── */
.about-dropdown {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.3s ease;
}

.about-dropdown.is-open {
  max-height: 900px;
  opacity: 1;
}

.about-dropdown[hidden] {
  display: block;
  max-height: 0;
  opacity: 0;
}

.about-dropdown-inner {
  padding: 48px 4vw 56px;
  max-width: 720px;
}

.about-dropdown-title {
  margin: 0 0 28px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.about-dropdown-body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
  color: #2f2c27;
}

.about-dropdown-body p:last-child {
  margin-bottom: 0;
  margin-top: 28px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ─── Store transition ─── */
.store-transition {
  margin-top: 0;
  background: var(--ink);
  color: #fff;
  padding: 72px 4vw 80px;
}

.store-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.store-copy .eyebrow {
  font: 700 11px/1 "Courier New", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.store-copy h2 {
  margin: 0 0 20px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 0.86;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.store-copy p {
  margin: 0 0 32px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.store-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 24px;
  background: var(--accent);
  color: #fff;
  font: 700 12px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
}

.store-cta:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.store-cta span {
  font-size: 18px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.store-card {
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
}

.store-card-visual {
  aspect-ratio: 1;
  overflow: hidden;
  background: #2a2a2a;
}

.store-card-visual img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.store-card-visual--design {
  background: #fff;
  padding: 18px;
}

.store-card-visual--design img {
  object-fit: contain;
  filter: none;
}

.store-card-body {
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.store-card-body h3 {
  margin: 0 0 6px;
  font: 700 10px/1.2 "Courier New", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.store-card-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

/* ─── Footer (index.html) ─── */
footer {
  min-height: 100px;
  padding: 28px 4vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  font: 700 10px/1.4 "Courier New", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer :nth-child(2) {
  text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-links a {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-bottom-color: var(--ink);
}

footer :last-child {
  text-align: right;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .store-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 850px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  main {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .site-header {
    grid-template-columns: auto 1fr;
    align-items: center;
    height: auto;
    min-height: 72px;
    padding: 12px 16px;
    gap: 12px;
  }

  .header-note {
    display: none;
  }

  .header-actions {
    justify-self: end;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-links {
    gap: 14px;
  }

  .brand-mark {
    width: 64px;
    height: 54px;
    justify-self: start;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    min-height: 560px;
    padding: 50px 24px 36px;
  }

  .hero h1 {
    font-size: clamp(52px, 16vw, 88px);
  }

  .visual-stage {
    border-left: 0;
    border-top: 1px solid var(--line);
    min-height: 640px;
  }

  .archive-strip {
    grid-template-columns: 1fr 1fr;
  }

  .archive-heading {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .image-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: var(--paper);
  }

  .image-rail .rail-cell {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-sizing: border-box;
  }

  .image-rail .rail-cell:nth-child(4n) {
    border-right: 0;
  }

  .about-dropdown-inner {
    padding: 32px 24px 40px;
  }

  .pre-store-gap {
    padding: 32px 24px;
  }

  .store-transition {
    margin-top: 0;
    padding: 56px 24px 64px;
  }

  .store-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  footer :nth-child(2),
  footer :last-child {
    text-align: left;
  }

  .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-enter {
    max-width: 100%;
  }

  .visual-stage {
    min-height: 680px;
  }

  .photo-main {
    inset: 0 0 34% 0;
  }

  .photo-secondary {
    left: 0;
    right: auto;
    top: auto;
    bottom: 0;
    width: 50%;
    height: 34%;
    border-left: 0;
    border-bottom: 0;
    border-top: 6px solid var(--paper);
  }

  .hero-stamp {
    width: 50%;
    height: 34%;
  }

  .image-rail .rail-cell {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .image-rail .rail-cell:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .image-rail .rail-cell:nth-child(2n) {
    border-right: 0;
  }
}
