/* =========================================================
   MA MEDIA — Direction F: Washi traditional
   Brand palette: paper · ink · crimson.
   ========================================================= */

:root {
  --washi: var(--paper);
  --washi-2: var(--paper-2);
  --sumi: var(--ink);
  --aged: var(--ink-80);
  --shadow: rgba(17, 17, 16, 0.15);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--sumi);
  background: var(--washi);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* washi paper fiber */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='f'><feTurbulence type='turbulence' baseFrequency='0.5' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.07  0 0 0 0 0.07  0 0 0 0 0.06  0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>");
  z-index: 9999; mix-blend-mode: multiply; opacity: 0.55;
}
/* seigaiha pattern */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 25px 25px, transparent 18px, var(--ink-40) 18px, var(--ink-40) 19px, transparent 19px);
  background-size: 50px 50px;
  z-index: 9998; opacity: 0.06;
}

.preview-nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px; background: var(--sumi); color: var(--washi);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  z-index: 100; overflow-x: auto;
}
.preview-nav__links { display: flex; gap: 14px; }
.preview-nav a { color: var(--washi); text-decoration: none; opacity: 0.55; white-space: nowrap; }
.preview-nav a:hover, .preview-nav a[aria-current] { opacity: 1; color: var(--accent); }
.preview-nav__label { opacity: 0.55; white-space: nowrap; padding-right: 16px; }

.page { padding-top: 42px; position: relative; z-index: 1; }

.wsh-header {
  padding: 30px 8vw 0;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px; align-items: center;
}
.wsh-header__seal {
  width: 54px; height: 54px;
  background: var(--accent); color: var(--washi);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 22px;
  border-radius: 3px;
  box-shadow: 2px 2px 0 var(--shadow);
  transform: rotate(-3deg);
}
.wsh-header__center {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600; font-style: italic;
  font-size: 13px;
  color: var(--aged);
  letter-spacing: 0.3em; text-transform: lowercase;
}
.wsh-header__right {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px; letter-spacing: 0.32em; text-transform: lowercase;
  color: var(--aged);
}

/* --- HERO --- */
.wsh-hero {
  padding: clamp(60px, 10vw, 130px) 8vw clamp(80px, 12vw, 160px);
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  position: relative;
}
.wsh-vertical {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5em;
  text-transform: lowercase;
  color: var(--aged);
  text-align: center;
  border-left: 1px solid var(--aged);
  padding-left: 16px;
  height: 280px;
  align-self: end;
}
.wsh-vertical span { color: var(--accent); }
.wsh-vertical--right {
  border-left: none; border-right: 1px solid var(--aged);
  padding-left: 0; padding-right: 16px;
  transform: rotate(180deg);
}

.wsh-hero__main { text-align: center; position: relative; }
.wsh-hero__brush {
  position: absolute;
  top: -30px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 70px;
  background: linear-gradient(to bottom, transparent 0%, var(--sumi) 30%, var(--sumi) 80%, transparent 100%);
}
.wsh-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 60px 0 32px;
  color: var(--sumi);
}
.wsh-hero__title em {
  font-style: italic; font-weight: 800;
  color: var(--accent);
}
.wsh-hero__lede {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px; line-height: 1.95;
  max-width: 56ch; margin: 0 auto;
  color: var(--aged);
  font-style: italic;
}
.wsh-hero__lede strong { color: var(--sumi); font-style: normal; font-weight: 600; }

.wsh-hero__signature {
  margin-top: 50px;
  display: inline-flex; gap: 18px; align-items: center;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 13px;
  color: var(--aged);
}
.wsh-hero__signature::before, .wsh-hero__signature::after {
  content: ""; width: 28px; height: 1px; background: var(--aged);
}

/* --- TRANSITION --- */
.wsh-cut {
  padding: 60px 8vw;
  text-align: center;
  position: relative;
}
.wsh-cut__brush {
  width: 240px; height: 8px; margin: 0 auto 30px;
  background: var(--sumi);
  border-radius: 50%;
  position: relative;
  transform: rotate(-1deg);
}
.wsh-cut__brush::before {
  content: ""; position: absolute;
  left: -8px; top: 1px; width: 14px; height: 4px;
  background: var(--sumi); border-radius: 50%;
}
.wsh-cut__brush::after {
  content: ""; position: absolute;
  right: -14px; top: 2px; width: 20px; height: 2px;
  background: var(--sumi); border-radius: 50%;
  filter: blur(0.5px);
}
.wsh-cut__label {
  font-family: var(--font-display);
  font-weight: 700; font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--sumi); margin: 0;
}
.wsh-cut__sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px; letter-spacing: 0.4em; text-transform: lowercase;
  color: var(--aged); margin-top: 8px;
}

/* --- BRIEF --- */
.wsh-brief {
  padding: clamp(60px, 10vw, 140px) 8vw clamp(80px, 12vw, 160px);
  max-width: 880px; margin: 0 auto;
}
.wsh-brief__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 36px;
  color: var(--sumi);
  text-align: center;
}
.wsh-brief__title span { color: var(--accent); font-style: italic; font-weight: 800; }
.wsh-brief__prose {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px; line-height: 2;
  color: var(--aged);
  max-width: 62ch; margin: 0 auto;
  text-align: center;
  font-style: italic;
}
.wsh-brief__prose strong { color: var(--sumi); font-style: normal; font-weight: 600; }
.wsh-brief__prose em { color: var(--accent); }

.wsh-brief__divider { width: 40px; height: 1px; background: var(--aged); margin: 60px auto; }

.wsh-brief__list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  max-width: 520px; margin: 0 auto;
}
.wsh-brief__list li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 20px; align-items: center;
  border-bottom: 1px solid var(--ink-20);
}
.wsh-brief__list li:last-child { border-bottom: none; }
.wsh-brief__list b {
  font-family: var(--font-display);
  font-style: italic; font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}
.wsh-brief__list span {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px; color: var(--sumi);
}
.wsh-brief__list em {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-40); font-style: normal;
}

/* --- FOOTER --- */
.wsh-footer {
  padding: 70px 8vw 100px;
  text-align: center;
  border-top: 1px solid var(--aged);
  display: grid;
  gap: 30px;
}
.wsh-footer__seal {
  width: 80px; height: 80px;
  margin: 0 auto;
  background: var(--accent); color: var(--washi);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: 32px;
  border-radius: 4px;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 var(--shadow);
}
.wsh-footer__meta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px; letter-spacing: 0.3em; text-transform: lowercase;
  color: var(--aged); line-height: 2.2;
  font-style: italic;
}

/* RTL */
[dir="rtl"] body { font-family: var(--font-arabic); }

@media (max-width: 900px) {
  .wsh-hero { grid-template-columns: 1fr; }
  .wsh-vertical { display: none; }
}
