/* ============================================================
   TSUMUGI Inc. — original studio-portfolio template
   Design system: warm paper / ink / vermilion accent
   Type: Space Grotesk (Latin) + Zen Kaku Gothic New (JA)
   ============================================================ */

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe7dd;
  --ink: #171511;
  --ink-2: #3a372f;
  --muted: #7d786e;
  --line: #d9d4c7;
  --accent: #d94f2b;
  --accent-ink: #b23c1d;
  --font-latin: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, "Microsoft JhengHei", sans-serif;
  --pad: clamp(20px, 4.5vw, 64px);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:lang(en) body,
body:lang(en) {
  font-family: var(--font-latin);
  letter-spacing: 0.01em;
  line-height: 1.7;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: var(--paper); }

.latin { font-family: var(--font-latin); }

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot { width: 8px; height: 8px; background: #fff; }
.cursor-ring {
  width: 36px; height: 36px; border: 1px solid #fff;
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), opacity 0.25s;
}
body.cursor-hover .cursor-ring { width: 64px; height: 64px; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  transition: background 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  font-family: var(--font-latin);
  font-weight: 700; font-size: 20px; letter-spacing: 0.04em;
  display: flex; align-items: baseline; gap: 3px;
}
.brand sup { font-size: 9px; font-weight: 500; color: var(--accent); }

.global-nav { display: flex; align-items: center; gap: 34px; }
.global-nav a {
  font-family: var(--font-latin);
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  position: relative; padding: 4px 0;
}
.global-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.global-nav a:hover::after,
.global-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.global-nav a .ext { font-size: 10px; vertical-align: super; color: var(--accent); }

.lang-switch {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-latin); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em;
}
.lang-switch .divider { color: var(--line); }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--accent); }
.lang-switch .active { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* hamburger */
.menu-btn {
  display: none; z-index: 210;
  width: 44px; height: 44px; position: relative;
}
.menu-btn span {
  position: absolute; left: 10px; width: 24px; height: 2px;
  background: var(--ink); transition: transform 0.35s var(--ease-out), opacity 0.25s, background 0.3s;
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 30px; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* fullscreen overlay menu */
.overlay-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out);
  visibility: hidden;
}
body.menu-open .overlay-menu { clip-path: inset(0 0 0% 0); visibility: visible; }
body.menu-open { overflow: hidden; }
body.menu-open .menu-btn span { background: var(--paper); }
.overlay-menu nav a {
  display: block;
  font-family: var(--font-latin);
  font-size: clamp(34px, 8vw, 56px); font-weight: 500;
  line-height: 1.5; letter-spacing: 0.02em;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
body.menu-open .overlay-menu nav a { opacity: 1; transform: none; }
.overlay-menu nav a:hover { color: var(--accent); }
.overlay-menu .overlay-foot {
  margin-top: 40px; display: flex; gap: 24px;
  font-family: var(--font-latin); font-size: 12px; letter-spacing: 0.08em;
  color: var(--muted);
}

@media (max-width: 860px) {
  .global-nav { display: none; }
  .menu-btn { display: block; }
}

/* ---------- hero carousel ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-media img, .hero-media svg {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 6s linear;
}
.hero-slide.active .hero-media img,
.hero-slide.active .hero-media svg { transform: scale(1); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23, 21, 17, 0.55), rgba(23, 21, 17, 0.05) 55%);
}
.hero-copy {
  position: relative; z-index: 2;
  padding: 0 var(--pad) clamp(90px, 14vh, 150px);
  color: var(--paper);
  max-width: 1100px;
}
.hero-copy .hero-cat {
  font-family: var(--font-latin); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.hero-copy .hero-cat::before {
  content: ""; width: 28px; height: 1px; background: var(--accent); display: inline-block;
}
.hero-copy h2 {
  font-size: clamp(30px, 5.2vw, 62px);
  font-weight: 700; line-height: 1.35; letter-spacing: 0.03em;
}
.hero-copy .hero-work {
  margin-top: 16px;
  font-family: var(--font-latin); font-size: 13px; letter-spacing: 0.06em;
  color: rgba(244, 241, 234, 0.75);
}
/* vertical JA accent line */
.hero-vertical {
  position: absolute; top: var(--header-h); right: calc(var(--pad) / 2);
  z-index: 3;
  writing-mode: vertical-rl;
  font-size: 12px; letter-spacing: 0.34em; color: var(--paper);
  mix-blend-mode: difference;
  padding-top: 24px;
}
/* pager */
.hero-pager {
  position: absolute; left: var(--pad); bottom: 36px; z-index: 5;
  display: flex; align-items: center; gap: 18px;
  color: var(--paper);
}
.hero-pager button {
  font-family: var(--font-latin); font-size: 12px; font-weight: 500;
  color: rgba(244, 241, 234, 0.5);
  padding: 6px 2px; letter-spacing: 0.1em;
  transition: color 0.3s;
}
.hero-pager button.active { color: var(--paper); }
.hero-progress {
  width: 120px; height: 2px; background: rgba(244, 241, 234, 0.25);
  overflow: hidden; border-radius: 2px;
}
.hero-progress i {
  display: block; height: 100%; width: 100%;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}
.hero.playing .hero-progress i { animation: heroBar 6s linear infinite; }
@keyframes heroBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-scroll {
  position: absolute; right: var(--pad); bottom: 36px; z-index: 5;
  font-family: var(--font-latin); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--paper);
  display: flex; align-items: center; gap: 10px;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 42px; background: var(--paper);
  display: block; animation: scrollHint 1.8s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  overflow: hidden; white-space: nowrap;
  padding: 14px 0; background: var(--paper);
}
.marquee-track {
  display: inline-flex; gap: 48px; padding-right: 48px;
  animation: marquee 28s linear infinite;
  font-family: var(--font-latin); font-size: 13px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.marquee-track .dot { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- section shell ---------- */
.section { padding: clamp(72px, 10vw, 140px) var(--pad); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-latin);
  font-size: clamp(40px, 7vw, 96px); font-weight: 500;
  letter-spacing: -0.01em; line-height: 1;
}
.section-title .count {
  font-size: 0.28em; font-weight: 500; color: var(--accent);
  vertical-align: super; letter-spacing: 0.05em; margin-left: 8px;
}
.section-sub { font-size: 14px; color: var(--muted); max-width: 440px; }

/* ---------- filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.filter-btn {
  font-family: var(--font-latin); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em;
  padding: 9px 20px; border: 1px solid var(--ink); border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}
.filter-btn:hover { background: var(--paper-2); }
.filter-btn.active { background: var(--ink); color: var(--paper); }

/* ---------- works grid ---------- */
.works-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(28px, 4vw, 56px) clamp(20px, 2.5vw, 40px);
}
.work-card { grid-column: span 4; }
.work-card.wide { grid-column: span 6; }
.work-card.feature { grid-column: span 8; }
@media (max-width: 1024px) {
  .work-card, .work-card.wide { grid-column: span 6; }
  .work-card.feature { grid-column: span 12; }
}
@media (max-width: 640px) {
  .work-card, .work-card.wide, .work-card.feature { grid-column: span 12; }
}
.work-card.hidden { display: none; }

.work-thumb {
  position: relative; overflow: hidden; background: var(--paper-2);
  aspect-ratio: 4 / 3; border-radius: 2px;
}
.work-card.feature .work-thumb { aspect-ratio: 16 / 9; }
.work-thumb img, .work-thumb svg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.work-card a:hover .work-thumb img,
.work-card a:hover .work-thumb svg { transform: scale(1.05); }
.work-thumb .thumb-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-latin); font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  padding: 5px 12px; border-radius: 999px;
}
.work-meta { display: flex; gap: 14px; margin-top: 16px; align-items: baseline; }
.work-index {
  font-family: var(--font-latin); font-size: 11px; color: var(--accent);
  letter-spacing: 0.1em; min-width: 26px;
}
.work-title { font-size: 16px; font-weight: 700; line-height: 1.6; }
.work-client { font-size: 12px; color: var(--muted); margin-top: 2px; }
.work-card a:hover .work-title { color: var(--accent-ink); }

/* ---------- big CTA footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-cta {
  padding: clamp(80px, 12vw, 160px) var(--pad) clamp(56px, 8vw, 100px);
  border-bottom: 1px solid rgba(244, 241, 234, 0.15);
}
.footer-cta .kicker {
  font-family: var(--font-latin); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.footer-cta a.cta-line {
  font-family: var(--font-latin);
  font-size: clamp(44px, 9vw, 128px); font-weight: 500; line-height: 1.05;
  display: inline-block; position: relative;
}
.footer-cta a.cta-line .arrow { color: var(--accent); }
.footer-cta a.cta-line::after {
  content: ""; position: absolute; left: 0; bottom: 6px;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.footer-cta a.cta-line:hover::after { transform: scaleX(1); transform-origin: left; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px; padding: clamp(48px, 6vw, 80px) var(--pad);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--font-latin); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.footer-grid li { margin-bottom: 10px; font-size: 13px; }
.footer-grid a { opacity: 0.85; transition: opacity 0.3s, color 0.3s; }
.footer-grid a:hover { opacity: 1; color: var(--accent); }
.footer-brand-mark {
  font-family: var(--font-latin); font-size: 26px; font-weight: 700;
}
.footer-brand-note { font-size: 12px; color: var(--muted); margin-top: 14px; max-width: 320px; }
.office { font-size: 12.5px; line-height: 2; color: rgba(244, 241, 234, 0.8); margin-bottom: 20px; }
.office strong { display: block; font-family: var(--font-latin); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 22px var(--pad);
  border-top: 1px solid rgba(244, 241, 234, 0.15);
  font-family: var(--font-latin); font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-bottom a:hover { color: var(--paper); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top::after { content: "↑"; color: var(--accent); }

/* ---------- reveal animation ---------- */
.rv { opacity: 0; transform: translateY(30px); }
.rv.on {
  opacity: 1; transform: none;
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
}
.rv-d1.on { transition-delay: 0.08s; }
.rv-d2.on { transition-delay: 0.16s; }
.rv-d3.on { transition-delay: 0.24s; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) var(--pad) clamp(40px, 6vw, 80px);
}
.page-hero .crumb {
  font-family: var(--font-latin); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero .crumb::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.page-hero h1 {
  font-family: var(--font-latin);
  font-size: clamp(46px, 9vw, 128px); font-weight: 500; line-height: 0.98;
  letter-spacing: -0.01em;
}
.page-hero .page-lede {
  margin-top: clamp(24px, 3vw, 40px); max-width: 640px;
  font-size: clamp(15px, 1.6vw, 17px); line-height: 2.1;
}

/* ---------- about ---------- */
.statement {
  font-size: clamp(22px, 3.4vw, 40px); font-weight: 700; line-height: 1.9;
  max-width: 900px;
}
.statement em { font-style: normal; color: var(--accent); }
.about-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(48px, 7vw, 96px);
}
@media (max-width: 860px) { .about-cols { grid-template-columns: 1fr; } }
.about-cols p { color: var(--ink-2); }

.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
@media (max-width: 720px) { .stats-strip { grid-template-columns: 1fr 1fr; } }
.stat {
  padding: clamp(28px, 4vw, 48px) clamp(16px, 2vw, 32px);
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-latin);
  font-size: clamp(38px, 5.5vw, 72px); font-weight: 500; line-height: 1;
}
.stat .num .unit { font-size: 0.4em; color: var(--accent); margin-left: 4px; }
.stat .label { margin-top: 12px; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }

.service-list { border-top: 1px solid var(--ink); }
.service-item {
  display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 24px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 720px) { .service-item { grid-template-columns: 1fr; gap: 10px; } }
.service-item .no { font-family: var(--font-latin); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; }
.service-item h3 { font-family: var(--font-latin); font-size: clamp(20px, 2.6vw, 30px); font-weight: 500; }
.service-item p { font-size: 13.5px; color: var(--ink-2); }

.profile-table { border-top: 1px solid var(--ink); }
.profile-table .row {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
@media (max-width: 640px) { .profile-table .row { grid-template-columns: 1fr; gap: 4px; } }
.profile-table .row dt { color: var(--muted); font-family: var(--font-latin); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 3px; }

/* ---------- workflow ---------- */
.flow-list { position: relative; }
.flow-step {
  display: grid; grid-template-columns: 140px 1fr; gap: clamp(20px, 4vw, 64px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .flow-step { grid-template-columns: 1fr; gap: 14px; } }
.flow-step .step-no {
  font-family: var(--font-latin); font-size: clamp(40px, 5vw, 64px);
  font-weight: 500; color: var(--accent); line-height: 1;
}
.flow-step h3 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; margin-bottom: 14px; }
.flow-step h3 .en {
  font-family: var(--font-latin); font-weight: 500; font-size: 0.6em;
  color: var(--muted); margin-left: 14px; letter-spacing: 0.12em; text-transform: uppercase;
}
.flow-step p { max-width: 640px; color: var(--ink-2); }
.flow-step .step-points { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.flow-step .step-points span {
  font-size: 11.5px; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 14px; color: var(--muted);
}

/* ---------- work detail ---------- */
.work-hero-img {
  margin: 0 var(--pad);
  aspect-ratio: 21 / 9; overflow: hidden; border-radius: 2px; background: var(--paper-2);
}
@media (max-width: 720px) { .work-hero-img { aspect-ratio: 4 / 3; } }
.work-hero-img img, .work-hero-img svg { width: 100%; height: 100%; object-fit: cover; }

.work-detail-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: clamp(32px, 5vw, 56px) var(--pad);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) { .work-detail-meta { grid-template-columns: 1fr 1fr; } }
.work-detail-meta dt {
  font-family: var(--font-latin); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.work-detail-meta dd { font-size: 14px; }

.work-body { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--pad); }
.work-body h2 {
  font-size: clamp(20px, 2.6vw, 28px); font-weight: 700;
  margin: clamp(40px, 6vw, 72px) 0 20px;
  display: flex; align-items: center; gap: 14px;
}
.work-body h2::before { content: ""; width: 20px; height: 2px; background: var(--accent); flex: none; }
.work-body h2:first-child { margin-top: 0; }
.work-body p { color: var(--ink-2); margin-bottom: 1.4em; }

.work-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px);
  padding: 0 var(--pad) clamp(56px, 8vw, 110px);
}
@media (max-width: 640px) { .work-gallery { grid-template-columns: 1fr; } }
.work-gallery figure {
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--paper-2);
}
.work-gallery figure.full { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.work-gallery img, .work-gallery svg { width: 100%; height: 100%; object-fit: cover; }

.next-work {
  display: block; border-top: 1px solid var(--ink);
  padding: clamp(48px, 7vw, 90px) var(--pad);
  transition: background 0.4s;
}
.next-work:hover { background: var(--paper-2); }
.next-work .nw-label {
  font-family: var(--font-latin); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.next-work .nw-title {
  font-family: var(--font-latin);
  font-size: clamp(30px, 5.5vw, 72px); font-weight: 500; line-height: 1.1;
}
.next-work .nw-title .arrow { color: var(--accent); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .big-mail {
  font-family: var(--font-latin);
  font-size: clamp(20px, 2.8vw, 32px); font-weight: 500;
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
  display: inline-block; margin: 18px 0 32px;
}
.contact-info .big-mail:hover { color: var(--accent-ink); }
.contact-note { font-size: 13px; color: var(--muted); max-width: 380px; }

.form-field { margin-bottom: 28px; }
.form-field label {
  display: block; font-family: var(--font-latin); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.form-field label .req { color: var(--accent); margin-left: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: transparent;
  border: 0; border-bottom: 1px solid var(--ink);
  padding: 10px 2px; font: inherit; color: var(--ink);
  border-radius: 0; outline: none;
  transition: border-color 0.3s;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-bottom-color: var(--accent);
}
.submit-btn {
  font-family: var(--font-latin); font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 16px 48px;
  transition: background 0.3s, color 0.3s;
}
.submit-btn:hover { background: var(--ink); color: var(--paper); }
.form-done { display: none; padding: 24px; border: 1px solid var(--accent); border-radius: 2px; font-size: 14px; }
.form-done.show { display: block; }

/* ---------- journal teaser (home) ---------- */
.journal-teaser { background: var(--paper-2); }
.journal-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .journal-links { grid-template-columns: 1fr; } }
.journal-card {
  border: 1px solid var(--line); border-radius: 2px; padding: 28px;
  background: var(--paper); display: block;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.journal-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(23, 21, 17, 0.08); }
.journal-card time {
  font-family: var(--font-latin); font-size: 11px; letter-spacing: 0.12em;
  color: var(--muted);
}
.journal-card h3 { font-size: 15px; font-weight: 700; margin-top: 12px; line-height: 1.8; }
.journal-card .jc-tag { color: var(--accent); font-size: 11px; margin-top: 14px; display: inline-block; }

/* ---------- utilities ---------- */
.tar { text-align: right; }
.mt-l { margin-top: clamp(48px, 7vw, 96px); }
.pill-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-latin); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: 999px; padding: 12px 28px;
  transition: background 0.3s, color 0.3s;
}
.pill-link:hover { background: var(--ink); color: var(--paper); }
.pill-link .arrow { color: var(--accent); transition: transform 0.3s; }
.pill-link:hover .arrow { transform: translateX(4px); color: var(--paper); }

/* page load fade */
#page { opacity: 0; transition: opacity 0.7s ease; }
#page.loaded { opacity: 1; }

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