/* ==================================================================
   DYLAN SHALVARJIAN , FIELD LOG
   A personal dispatch, not a template. Concept: the site reads like
   an expedition log crossed with a finance memo , coordinates,
   numbered entries, stamped credentials, dashed routes, torn edges.
   Fraunces (display) / Inter (body) / JetBrains Mono (data & marginalia)
   ================================================================== */

:root {
  --bg: #14170f;
  --bg-2: #1b2015;
  --bg-3: #21281a;
  --paper: #f3eee0;
  --paper-dim: #e6dcc4;
  --ink: #171b13;
  --ink-soft: rgba(23, 27, 19, 0.62);
  --rust: #bf5f38;
  --rust-2: #de8352;
  --moss: #66805a;
  --moss-dim: #4b5f43;
  --gold: #a9822f;
  --line: rgba(243, 238, 224, 0.16);
  --line-dark: rgba(23, 27, 19, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: 'Fraunces', serif;
  --sans: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

/* film grain, fixed over everything, very low opacity */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- custom cursor (desktop, pointer:fine only) ---------- */

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9500;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--rust);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(191, 95, 56, 0.55);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cursor-ring.hover {
  width: 64px; height: 64px;
  background: rgba(191, 95, 56, 0.08);
  border-color: var(--rust);
}
@media (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
  body, a, button { cursor: none; }
}

/* ---------- typography ---------- */

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.04; letter-spacing: -0.01em; font-weight: 440; }
.italic { font-style: italic; font-weight: 400; }

.h-giant { font-size: clamp(3.4rem, 9vw, 8.5rem); }
.h-xl { font-size: clamp(2.6rem, 6vw, 5rem); }
.h-lg { font-size: clamp(2rem, 4vw, 3.1rem); }
.h-md { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.coords {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--rust-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.coords::before { content: '\2726'; font-size: 0.6rem; }

.entry-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  display: inline-block;
  margin-bottom: 18px;
}
.entry-tag span { color: var(--ink-soft); }
.section-dark .entry-tag span, .section-inv .entry-tag span { color: rgba(243,238,224,0.45); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 6vw; position: relative; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 6vw; }

section { position: relative; }
.section { padding: 130px 0; }
.section-tight { padding: 80px 0; }
.section-dark { background: var(--bg); color: var(--paper); }
.section-inv { background: var(--bg-2); color: var(--paper); }

.section-dark p, .section-inv p { color: rgba(243,238,224,0.68); }

/* giant margin index number, editorial page-marker */

.margin-num {
  position: absolute;
  top: 34px;
  right: 6vw;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--line-dark);
  line-height: 1;
  z-index: 0;
  user-select: none;
  max-width: 30vw;
  text-align: right;
  overflow: visible;
}
.section-dark .margin-num, .section-inv .margin-num { color: var(--line); }

/* ---------- drop cap ---------- */

.lede-cap::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4.6rem;
  font-weight: 400;
  float: left;
  line-height: 0.75;
  padding: 0.06em 0.09em 0 0;
  color: var(--rust);
}

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-l { opacity: 0; transform: translateX(-30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-l.in { opacity: 1; transform: translateX(0); }
.reveal-r { opacity: 0; transform: translateX(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-r.in { opacity: 1; transform: translateX(0); }

/* ================= NAV ================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 6vw;
  background: linear-gradient(180deg, rgba(20,23,15,0.65) 0%, rgba(20,23,15,0) 100%);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.scrolled {
  padding: 16px 6vw;
  background: rgba(20,23,15,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f3eee0;
}
.nav-mark svg { width: 30px; height: 30px; }
.nav-mark .name { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }

.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-right .coords { color: #f3eee0; opacity: 0.8; }
.nav-right .coords::before { content: none; }

.menu-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(243,238,224,0.1);
  border: 1px solid rgba(243,238,224,0.28);
  border-radius: 999px;
  padding: 11px 18px 11px 20px;
  color: #f3eee0;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  cursor: pointer;
  z-index: 1200;
  position: relative;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.menu-btn:hover { background: rgba(243,238,224,0.18); border-color: rgba(243,238,224,0.5); }
.menu-btn .lines { display: flex; flex-direction: column; gap: 6px; }
.menu-btn .lines span { width: 26px; height: 2px; background: #f3eee0; border-radius: 1px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-btn.open .lines span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open .lines span:nth-child(2) { opacity: 0; }
.menu-btn.open .lines span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6vw;
  clip-path: circle(0% at calc(100% - 6vw) 44px);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}
.nav-overlay.open { clip-path: circle(150% at calc(100% - 6vw) 44px); pointer-events: auto; }

.nav-overlay-links { display: flex; flex-direction: column; gap: 6px; margin-bottom: 60px; }
.nav-overlay-links a {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  color: rgba(243,238,224,0.4);
  transition: color 0.3s var(--ease), padding 0.3s var(--ease);
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.nav-overlay-links a .n { font-family: var(--mono); font-style: normal; font-size: 0.85rem; color: var(--rust-2); }
.nav-overlay-links a:hover { color: var(--paper); padding-left: 14px; }

.nav-overlay-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(243,238,224,0.5);
}
.nav-overlay-foot a:hover { color: var(--rust-2); }

/* ================= BUTTONS ================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid currentColor;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease);
}
.btn span.fill {
  position: absolute;
  inset: 0;
  background: var(--rust);
  transform: translateY(102%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn:hover span.fill { transform: translateY(0); }
.btn:hover { color: var(--paper); }

.btn-dark { color: var(--ink); }
.btn-light { color: var(--paper); }
.btn-rust { color: var(--rust); border-color: var(--rust); }

.btn-arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translate(3px, -3px); }

/* ================= STAMP BADGE ================= */

.stamp {
  width: 108px; height: 108px;
  border: 1.5px dashed var(--rust);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--rust);
  transform: rotate(-9deg);
  flex-shrink: 0;
}

/* ================= COORD / ROUTE elements ================= */

.route {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.route::before {
  content: '';
  position: absolute;
  top: 10px; left: 0; right: 0;
  height: 0;
  border-top: 1px dashed var(--line-dark);
}
.section-dark .route::before, .section-inv .route::before { border-top-color: var(--line); }
.route-node { flex: 1; position: relative; padding-top: 30px; }
.route-node::before {
  content: '';
  position: absolute;
  top: 4px; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--rust);
}
.section-dark .route-node::before, .section-inv .route-node::before { background: var(--bg); }
.route-node .num { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.4rem); display: block; margin-bottom: 6px; }
.route-node .lbl { font-size: 0.85rem; color: var(--ink-soft); max-width: 20ch; }
.section-dark .route-node .lbl, .section-inv .route-node .lbl { color: rgba(243,238,224,0.55); }

/* ================= DUOTONE PHOTO ================= */

.photo {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) sepia(0.18) contrast(1.08) brightness(0.96);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(191,95,56,0.32) 0%, rgba(20,23,15,0.12) 55%, rgba(102,128,90,0.22) 100%);
  mix-blend-mode: color;
  pointer-events: none;
}
.photo:hover img { transform: scale(1.045); filter: grayscale(0.15) sepia(0.05) contrast(1.05) brightness(1); }

.photo-cap {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--paper);
  background: rgba(20,23,15,0.55);
  padding: 6px 12px;
  backdrop-filter: blur(3px);
}

/* washi tape accent */
.tape {
  position: absolute;
  top: -14px; left: 50%;
  width: 90px; height: 26px;
  background: rgba(191,95,56,0.55);
  transform: translateX(-50%) rotate(-3deg);
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ================= NEXT PAGE BAND ================= */

.next-band {
  display: block;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.next-band:hover { background: var(--bg-3); }
.next-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 44px 0;
}
.next-band .mono { color: var(--rust-2); }
.next-band h3 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  display: flex;
  align-items: center;
  gap: 14px;
}
.next-band:hover .btn-arrow { transform: translate(3px, -3px); }

/* ================= FOOTER (colophon) ================= */

.footer {
  background: var(--bg);
  color: rgba(243,238,224,0.55);
  padding: 90px 0 30px;
}
.footer-mark { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--paper); margin: 0 0 16px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.footer-col h5 { font-family: var(--mono); font-size: 0.68rem; line-height: 1; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); margin: 0 0 16px; }
.footer-col a, .footer-col span { display: block; font-size: 0.9rem; margin-bottom: 10px; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--rust-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.05em; }

/* ================= HERO (home) , asymmetric, torn-edge photo ================= */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--bg);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 5vw 80px 6vw;
  position: relative;
  z-index: 3;
}
.hero-text h1 {
  color: var(--paper);
  font-size: clamp(3.6rem, 8.4vw, 7.4rem);
  margin: 6px 0 30px;
}
.hero-text h1 .line2 { display: block; margin-left: 0.6em; }
.hero-text p.lede { max-width: 460px; color: rgba(243,238,224,0.68); font-size: 1.06rem; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-photo {
  position: relative;
  height: 100%;
  min-height: 100vh;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-photo .photo { position: absolute; inset: 0; }
.hero-photo .photo img { height: 100%; }

.hero-index {
  position: absolute;
  bottom: 44px; left: 6vw;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-index .rule { width: 46px; height: 1px; background: rgba(243,238,224,0.4); }

.hero-coord-tag {
  position: absolute;
  bottom: 44px; right: 6vw;
  z-index: 4;
  writing-mode: vertical-rl;
  color: rgba(243,238,224,0.55);
}

/* ================= DISPATCH HEADER (interior pages) ================= */

.dispatch {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background: var(--bg);
  color: var(--paper);
  overflow: hidden;
  padding-bottom: 70px;
}
.dispatch-half {
  min-height: 40vh;
  padding-bottom: 40px;
}
.dispatch-half .dispatch-top { top: 100px; }
.dispatch-photo {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}
.dispatch-photo .photo { position: absolute; inset: 0; }
.dispatch-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,23,15,0.15) 0%, rgba(20,23,15,0.82) 100%);
}
.dispatch-top {
  position: absolute;
  top: 130px; left: 6vw; right: 6vw;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.dispatch-body { position: relative; z-index: 3; max-width: 800px; }
.dispatch-body h1 { color: var(--paper); margin-bottom: 22px; }
.dispatch-body p.lede { color: rgba(243,238,224,0.7); font-size: 1.08rem; max-width: 560px; }

/* ================= TIMELINE (experience) , dashed spine ================= */

.spine {
  position: relative;
  padding-left: 64px;
}
.spine::before {
  content: '';
  position: absolute;
  top: 8px; bottom: 8px; left: 13px;
  border-left: 1px dashed var(--line-dark);
}
.spine-item {
  position: relative;
  padding-bottom: 64px;
}
.spine-item:last-child { padding-bottom: 0; }
.spine-item::before {
  content: '';
  position: absolute;
  top: 6px; left: -64px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--rust);
}
.spine-item.current::before { background: var(--rust); }
.spine-year {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--rust);
  margin-bottom: 10px;
  display: block;
}
.spine-item h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 4px; }
.spine-org { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.03em; color: var(--ink-soft); text-transform: uppercase; margin-bottom: 18px; }
.spine-item ul { max-width: none; }
.spine-item li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.spine-item li::before { content: '\2013'; position: absolute; left: 0; color: var(--rust); }

.bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.bullets li::before { content: '\2013'; position: absolute; left: 0; color: var(--rust); }

.spine-case {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.spine-case:hover { background: var(--ink); color: var(--paper); }

/* ================= CORKBOARD (about , travel collage) ================= */

.corkboard { position: relative; padding: 40px 0; }
.cork-photo {
  position: relative;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.cork-photo img { width: 100%; }
.tilt-l { transform: rotate(-4deg); }
.tilt-r { transform: rotate(3deg); }
.tilt-s { transform: rotate(-1.5deg); }

/* ================= FANNED CARDS (toko agents) ================= */

.fan {
  display: flex;
  justify-content: center;
  padding: 30px 0 10px;
}
.fan-card {
  width: 210px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  padding: 26px 22px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}
.fan-card:not(:first-child) { margin-left: -54px; }
.fan-card:nth-child(1) { transform: rotate(-7deg) translateY(6px); z-index: 1; }
.fan-card:nth-child(2) { transform: rotate(-2deg); z-index: 2; }
.fan-card:nth-child(3) { transform: rotate(3deg); z-index: 3; }
.fan-card:nth-child(4) { transform: rotate(8deg) translateY(10px); z-index: 4; }
.fan-card:hover { transform: rotate(0deg) translateY(-14px); z-index: 9; box-shadow: 0 24px 50px rgba(0,0,0,0.3); }
.fan-card .n { font-family: var(--mono); font-size: 0.68rem; color: var(--rust); letter-spacing: 0.08em; margin-bottom: 14px; display: block; }
.fan-card h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 10px; }
.fan-card p { font-size: 0.84rem; color: var(--ink-soft); }

/* ================= ROLE GRID (toko agents, simplified) ================= */

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.role-card {
  background: var(--bg);
  padding: 32px 26px;
  transition: background 0.3s var(--ease);
}
.role-card:hover { background: var(--bg-2); }
.role-card .n { font-family: var(--mono); font-size: 0.68rem; color: var(--rust-2); letter-spacing: 0.08em; margin-bottom: 18px; display: block; }
.role-card h4 { font-family: var(--serif); font-size: 1.2rem; color: var(--paper); margin-bottom: 4px; }
.role-card .tag { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rust-2); display: block; margin-bottom: 14px; }
.role-card p { font-size: 0.85rem; color: rgba(243,238,224,0.6); }

/* ================= BOARDING PASS (contact) ================= */

.pass {
  display: grid;
  grid-template-columns: 1fr 220px;
  background: var(--paper);
  color: var(--ink);
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
.pass::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: 220px;
  width: 0;
  border-left: 2px dashed var(--line-dark);
}
.pass-main { padding: 54px 50px; }
.pass-stub {
  padding: 54px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper-dim);
}
.pass-stub .stamp { margin: 0 auto; }
.pass-field { margin-bottom: 22px; }
.pass-field .k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 5px; }
.pass-field .v { font-family: var(--serif); font-size: 1.1rem; }

.pass-form .field { margin-bottom: 26px; }
.pass-form label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 10px; }
.pass-form input, .pass-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  font-family: var(--sans);
  font-size: 1.02rem;
  padding: 8px 2px;
  color: var(--ink);
}
.pass-form input:focus, .pass-form textarea:focus { outline: none; border-color: var(--rust); }
.pass-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ================= misc utility ================= */

.center { text-align: center; }
.mt { margin-top: 40px; }
.mt-lg { margin-top: 64px; }
.rel { position: relative; }
.n-select { user-select: none; }

.beyond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4vw; }

/* ================= TRAVEL TRIO (about, compact 1-left-2-right photo grid) ================= */

.travel-trio {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3vw;
}
.travel-trio .cork-photo {
  height: 440px;
}
.travel-trio-stack .cork-photo {
  height: 100%;
}
.travel-trio .photo-frame {
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.travel-trio .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) sepia(0.15) contrast(1.05);
}
.travel-trio-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 980px) {
  .travel-trio { grid-template-columns: 1fr; }
  .travel-trio .cork-photo { height: 300px; }
  .travel-trio-stack { gap: 16px; margin-top: 16px; height: auto; }
  .travel-trio-stack .cork-photo { height: 200px; }
}

/* ================= BRANCHING JOURNEY (toko project, phase 01 forking into 02/03) ================= */

.branch-origin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border: 1px dashed var(--line-dark);
  padding: 30px 34px;
}
.branch-origin .stamp { flex-shrink: 0; }

.branch-connector {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 0;
}
.branch-connector .line { flex: 1; height: 0; border-top: 1px dashed var(--line-dark); }

.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
}
.branch-card {
  border: 1px solid var(--line-dark);
  padding: 40px 32px 34px;
  background: var(--paper);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.branch-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }

/* ================= CRM PIPELINE DIAGRAM (toko project) ================= */

.crm-diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.crm-diagram svg { min-width: 640px; }

@media (max-width: 980px) {
  .beyond-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .split-photo { grid-template-columns: 1fr !important; }
  .split-photo-col { position: static !important; top: auto !important; max-width: 280px; margin: 0 auto 30px; }
  .branch-origin { flex-direction: column; align-items: flex-start; }
  .branch-origin .stamp { margin-top: 10px; }
  .branch-connector { flex-direction: column; gap: 10px; }
  .branch-connector .line { display: none; }
  .branch-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { clip-path: none; height: 46vh; position: relative; }
  .hero-text { padding-top: 120px; }
  .hero-coord-tag { display: none; }
  .spine { padding-left: 40px; }
  .spine::before { left: 5px; }
  .spine-item::before { left: -40px; }
  .fan { flex-direction: column; align-items: center; }
  .fan-card { margin-left: 0 !important; transform: none !important; margin-bottom: 20px; width: 260px; }
  .pass { grid-template-columns: 1fr; }
  .pass::before, .pass::after { display: none; }
  .pass-form .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .route { flex-direction: column; gap: 30px; }
  .route::before { display: none; }
  .nav-right .coords { display: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
  body, a, button { cursor: auto; }
}
