/* ============================================================
   Rolling Mango — Corporate site styles
   Editorial / gallery-quiet. White canvas, hairline rules,
   Montserrat for Latin display, Pretendard for Korean body.
   Mango Yellow is a pinpoint accent only.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--rm-font-body);
  background: var(--rm-bg);
  color: var(--rm-fg1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-user-select: none;
  user-select: none;
}
html { overflow-x: clip; scroll-snap-type: y proximity; scroll-padding-top: 76px; }
.hero, .section, .cta { scroll-snap-align: start; }
.site-footer { scroll-snap-align: end; }
::selection { background: var(--rm-mango-yellow); color: var(--rm-fg1); }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
:focus-visible { outline: 2px solid var(--rm-mango-green); outline-offset: 3px; }

/* ---------- layout primitives ---------- */
:root {
  --shell: 1360px;
  --gutter: clamp(20px, 5vw, 64px);
  --rule: var(--rm-border);
}
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.eyebrow {
  font-family: var(--rm-font-latin);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rm-fg3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow .idx { color: var(--rm-fg1); font-weight: 700; }
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 999px;
  flex: 0 0 auto;
  background: var(--rm-mango-yellow);
  box-shadow: 0 0 0 1.5px var(--rm-border-strong);
}
.mono {
  font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: 0.04em; color: var(--rm-fg3);
}
.display {
  font-family: var(--rm-font-latin);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: var(--rm-fg1);
}
.kr { font-family: var(--rm-font-body); }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,0);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--rule);
}
.nav {
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { height: 22px; width: auto; }
.brand .tag {
  font-family: var(--rm-font-latin); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rm-fg3);
  padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--rule);
}
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav-links a {
  font-family: var(--rm-font-latin); font-weight: 500; font-size: 13.5px;
  letter-spacing: 0.01em; color: var(--rm-fg2);
  position: relative; padding: 6px 0;
  transition: color .25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--rm-mango-yellow); transition: width .28s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover { color: var(--rm-fg1); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--rm-font-latin); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--rm-fg3);
}
.lang button {
  background: none; border: none; cursor: pointer; padding: 2px 2px;
  font: inherit; color: var(--rm-fg3); transition: color .2s ease;
}
.lang button.on { color: var(--rm-fg1); }
.lang .sep { color: var(--rm-light-grey-2); }
.btn-outline {
  font-family: var(--rm-font-latin); font-weight: 600; font-size: 13px;
  letter-spacing: 0.01em; color: var(--rm-fg1);
  border: 1.5px solid var(--rm-border-strong);
  background: var(--rm-white);
  padding: 10px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 9px;
  transition: transform .18s ease, background .25s ease, box-shadow .25s ease;
}
.btn-outline:hover { background: var(--rm-mango-yellow); box-shadow: var(--rm-shadow-sm); }
.btn-outline:active { transform: scale(0.97); }
.btn-outline .arr { transition: transform .25s ease; }
.btn-outline:hover .arr { transform: translateX(3px); }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--rm-fg1); margin: 5px 0; transition: transform .3s ease, opacity .25s ease; }

/* ============================================================
   HERO  — full-screen, WebGL water as background
   ============================================================ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.hero-frame {
  position: relative; z-index: 2;
  width: 100%; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 76px;
}
.hero-center { display: flex; flex-direction: column; gap: clamp(22px, 3.6vh, 40px); max-width: 24ch; }
.hero .eyebrow { white-space: nowrap; }
.hero h1 {
  margin: 0;
  font-size: clamp(46px, 9vw, 144px);
  line-height: 0.9;
  white-space: nowrap;
}
.hero h1 .ln { display: block; }
.hero h1 em { font-style: normal; font-family: inherit; font-weight: inherit; }
.hero h1 .t-sub { font-size: 0.56em; font-weight: 500; color: var(--rm-grey-2); }
.hero-center .hero-lede {
  max-width: 34ch;
  font-family: var(--rm-font-body); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.75; color: var(--rm-fg2); margin: 0;
}

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vh, 56px); z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hero .lead { display: flex; align-items: center; gap: 14px; }
.hero .lead .line { width: 52px; height: 1px; background: var(--rm-border-strong); }
.hero .scrolltxt { font-family: var(--rm-font-latin); font-weight: 700; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rm-mango-green); white-space: nowrap; }

@keyframes bob { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* ============================================================
   ABOUT
   ============================================================ */
.section { padding-block: clamp(72px, 12vh, 150px); border-top: 1px solid var(--rule); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 7vh, 88px); }
.about-statement {
  font-family: var(--rm-font-latin); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(34px, 6vw, 96px); line-height: 1.02; color: var(--rm-fg1);
  max-width: 16ch;
}
.about-statement .g { color: var(--rm-light-grey-2); }

/* ----- About: centered quote-card composition ----- */
.about { text-align: center; position: relative; overflow: hidden; }
.about-mark {
  position: absolute; z-index: 0; pointer-events: none;
  left: clamp(-130px, -6vw, -60px); bottom: clamp(-60px, -3vw, -22px);
  width: clamp(300px, 44vw, 680px); height: auto;
  opacity: 0.07;
}
.about-wrap { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.about-eyebrow { margin-bottom: clamp(30px, 5vh, 56px); }
.year-strip { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); margin-bottom: clamp(34px, 6vh, 64px); }
.year-strip span {
  font-family: var(--rm-font-latin); font-size: clamp(15px, 1.6vw, 19px); font-weight: 500;
  color: var(--rm-grey-1); letter-spacing: 0.02em;
}
.year-strip span.on {
  position: relative; color: var(--rm-fg1); font-weight: 700;
  width: clamp(42px, 4.2vw, 52px); height: clamp(42px, 4.2vw, 52px);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rm-mango-yellow); border: 1.5px solid var(--rm-border-strong);
  border-radius: 999px;
}
.about-display {
  font-family: var(--rm-font-display); letter-spacing: -0.015em;
  font-size: clamp(48px, 9.2vw, 138px); line-height: 0.92;
  display: flex; flex-direction: column; gap: 0;
}
.about-display .l { color: var(--rm-light-grey-2); font-weight: 500; }
.about-display .l strong { color: var(--rm-fg1); font-weight: 700; }
.quote-glyph {
  font-family: var(--rm-font-display); font-weight: 700;
  font-size: clamp(42px, 5vw, 66px); line-height: 0.6; height: 0.5em;
  color: var(--rm-mango-yellow);
  -webkit-text-stroke: 1.5px var(--rm-border-strong);
  margin: clamp(34px, 5.5vh, 60px) 0 clamp(22px, 3.4vh, 34px);
}
.about-quote {
  font-family: var(--rm-font-body); font-weight: 400;
  font-size: clamp(16px, 1.7vw, 20px); line-height: 1.95; color: var(--rm-fg2);
  max-width: 50ch; margin: 0; text-align: center; word-break: keep-all; text-wrap: balance;
}
.about-quote strong { color: var(--rm-fg1); font-weight: 700; }
.about-attr {
  font-family: var(--rm-font-body); font-weight: 700; font-size: 13px; color: var(--rm-fg1);
  margin: clamp(46px, 6vh, 74px) 0 0; letter-spacing: 0.02em;
}
.about-attr .en { color: var(--rm-fg3); font-family: var(--rm-font-latin); font-weight: 500; }
.about-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(22px, 4vw, 60px);
  margin-top: clamp(52px, 8vh, 100px); padding-top: clamp(30px, 4vh, 44px);
  border-top: 1px solid var(--rule); width: 100%; max-width: 880px;
}
.about-meta .m { display: flex; flex-direction: column; gap: 8px; }
.about-meta .k { font-family: var(--rm-font-latin); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rm-fg3); }
.about-meta .v { font-family: var(--rm-font-body); font-size: 14.5px; color: var(--rm-fg1); }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.svc {
  position: relative; padding: clamp(28px, 4vw, 52px) clamp(8px, 2vw, 40px);
  border-top: 1px solid var(--rule);
  cursor: default;
  transition: background .4s ease;
}
.svc:nth-child(odd) { border-right: 1px solid var(--rule); }
.svc::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0;
  background: var(--rm-mango-yellow); transition: width .4s cubic-bezier(.16,1,.3,1);
}
.svc:hover::before { width: 100%; }
.svc:hover { background: #fcfdfc; }
.svc .num { font-family: var(--rm-font-latin); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--rm-fg3); }
.svc h3 {
  font-family: var(--rm-font-latin); font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(24px, 3vw, 40px); line-height: 1.06; margin: 28px 0 14px; color: var(--rm-fg1);
  text-transform: uppercase;
}
.svc .ko { font-family: var(--rm-font-body); font-weight: 600; font-size: 15px; color: var(--rm-fg2); margin: 0 0 16px; }
.svc p { font-family: var(--rm-font-body); font-size: 15px; line-height: 1.7; color: var(--rm-fg2); margin: 0; max-width: 42ch; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.svc .tags span {
  font-family: var(--rm-font-latin); font-size: 11px; letter-spacing: 0.04em; color: var(--rm-fg2);
  border: 1px solid var(--rule); border-radius: 999px; padding: 5px 12px;
  transition: border-color .3s ease, color .3s ease;
}
.svc:hover .tags span { border-color: var(--rm-light-grey-2); color: var(--rm-fg1); }

/* ============================================================
   WORK / PORTFOLIO
   ============================================================ */
.work-tabs { display: flex; gap: 10px; }
.work-tabs button {
  font-family: var(--rm-font-latin); font-weight: 600; font-size: 12.5px; letter-spacing: 0.04em;
  border: 1.5px solid var(--rule); background: var(--rm-white); color: var(--rm-fg2);
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background .25s ease, transform .15s ease;
}
.work-tabs button:hover { border-color: var(--rm-light-grey-2); color: var(--rm-fg1); }
.work-tabs button.on { background: var(--rm-fg1); color: var(--rm-white); border-color: var(--rm-fg1); }
.work-tabs button:active { transform: scale(.97); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(32px, 5vh, 56px); }
.work-card { cursor: pointer; position: relative; }
.work-card .work-link { position: absolute; inset: 0; z-index: 3; }
.work-thumb {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--rm-radius-md);
  overflow: hidden; border: 1px solid var(--rule);
  background-color: #f3f3f3;
  background-image: repeating-linear-gradient(45deg, #ececec 0 2px, transparent 2px 11px);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.work-card:hover .work-thumb { transform: translateY(-4px); box-shadow: var(--rm-shadow-md); }
.work-thumb .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.work-thumb .ph .mono { color: var(--rm-grey-1); }
.work-info .badge {
  flex: none; display: inline-flex; align-items: center; line-height: 1;
  font-family: var(--rm-font-latin); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--rm-white); color: var(--rm-fg1); padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--rule);
}
.work-info .badge.own { background: var(--rm-mango-yellow); border-color: var(--rm-border-strong); }
.work-thumb .arrow {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 999px;
  background: var(--rm-white); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center; color: var(--rm-fg1);
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.work-card:hover .arrow { opacity: 1; transform: none; }
.work-info { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.work-info h4 { font-family: var(--rm-font-body); font-weight: 700; font-size: 17px; color: var(--rm-fg1); margin: 0; }
.work-info .yr { font-family: var(--rm-font-latin); font-size: 12px; color: var(--rm-fg3); margin-left: auto; }
.work-info p { width: 100%; }
.work-card .cat { font-family: var(--rm-font-latin); font-size: 12px; letter-spacing: 0.04em; color: var(--rm-fg3); margin: 4px 0 0; }
.work-hidden { display: none !important; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta {
  margin-block: clamp(60px, 10vh, 120px);
}
.cta-band {
  background: var(--rm-mango-yellow);
  border-radius: var(--rm-radius-xl);
  border: 1.5px solid var(--rm-border-strong);
  padding: clamp(40px, 7vw, 88px);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px;
  position: relative; overflow: hidden;
}
.cta-band h2 {
  font-family: var(--rm-font-display); font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(28px, 4.4vw, 60px); line-height: 1.05; color: var(--rm-fg1); margin: 0;
}
.cta-band p { font-family: var(--rm-font-body); font-size: 16px; color: rgba(36,36,36,.72); margin: 16px 0 0; max-width: 40ch; }
.btn-dark {
  font-family: var(--rm-font-latin); font-weight: 600; font-size: 15px;
  background: var(--rm-fg1); color: var(--rm-white); border: none; cursor: pointer;
  padding: 16px 28px; border-radius: 999px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .18s ease, box-shadow .25s ease;
}
.btn-dark:hover { box-shadow: 0 12px 28px rgba(36,36,36,.25); }
.btn-dark:active { transform: scale(.97); }
.btn-dark .arr { transition: transform .25s ease; }
.btn-dark:hover .arr { transform: translateX(4px); }
.cta-band .wm { position: absolute; right: -40px; bottom: -50px; width: 240px; opacity: .14; pointer-events: none; }

.site-footer { border-top: 1px solid var(--rule); padding-block: clamp(48px, 7vh, 80px); }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: clamp(28px, 4vw, 72px); align-items: start; }
.foot-rule { width: 1px; height: 72px; background: var(--rm-border); align-self: center; justify-self: center; }
.foot-brand { display: flex; flex-direction: column; align-items: center; gap: 20px; width: fit-content; margin-top: 14px; }
.foot-brand svg { height: 26px; width: auto; margin-bottom: 18px; }
.foot-brand .cr { font-family: var(--rm-font-latin); font-size: 12px; color: var(--rm-fg3); }
.foot-col h5 { font-family: var(--rm-font-latin); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rm-fg3); margin: 0 0 18px; font-weight: 600; }
.foot-col a { display: block; width: fit-content; font-family: var(--rm-font-body); font-size: 14.5px; color: var(--rm-fg1); padding: 7px 0; transition: color .2s ease, transform .2s ease; }
.foot-col a:hover { color: var(--rm-mango-green); transform: translateX(5px); }
.foot-col .ln-txt { display: block; font-family: var(--rm-font-body); font-size: 14.5px; color: var(--rm-fg2); padding: 7px 0; }
.foot-mark { display: flex; align-items: flex-start; justify-content: flex-end; }
.foot-mark img { width: 64px; height: 64px; border-radius: 18px; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--rm-white);
  transform: translateY(-100%); transition: transform .5s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column; padding: 24px var(--gutter);
}
.mobile-menu.open { transform: none; }
.mobile-menu .mm-top { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .mm-close { background: none; border: none; font-size: 26px; cursor: pointer; color: var(--rm-fg1); line-height: 1; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; }
.mobile-menu nav a {
  font-family: var(--rm-font-latin); font-weight: 700; font-size: clamp(32px, 9vw, 56px);
  letter-spacing: -0.01em; color: var(--rm-fg1); padding: 12px 0; border-bottom: 1px solid var(--rule);
}
.mobile-menu nav a .n { font-family: var(--rm-font-latin); font-size: 13px; color: var(--rm-fg3); vertical-align: super; margin-right: 12px; letter-spacing: 0.04em; }

/* ============================================================
   LEGAL MODAL (Terms / Privacy)
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(36, 36, 36, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-panel {
  position: relative; width: 100%; max-width: 720px; max-height: 86vh;
  display: flex; flex-direction: column;
  background: var(--rm-white);
  border: 1.5px solid var(--rm-border-strong);
  border-radius: var(--rm-radius-lg);
  box-shadow: var(--rm-shadow-lg);
  overflow: hidden;
  transform: translateY(16px) scale(.985);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.modal-overlay.open .modal-panel { transform: none; }
.modal-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3.4vw, 34px);
  border-bottom: 1px solid var(--rule);
}
.modal-head h3 {
  position: relative; margin: 0; padding-bottom: 6px;
  font-family: var(--rm-font-body); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.01em; color: var(--rm-fg1);
}
.modal-head h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 32px; height: 3px; border-radius: 2px; background: var(--rm-mango-yellow);
}
.modal-close {
  flex: none; margin: -6px; padding: 6px; background: none; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--rm-fg3); transition: color .2s ease;
}
.modal-close:hover { color: var(--rm-fg1); }
.modal-body {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: clamp(22px, 3.4vw, 34px);
}

.legal h4 {
  margin: 28px 0 10px;
  font-family: var(--rm-font-body); font-weight: 700; font-size: 16px; line-height: 1.5;
  color: var(--rm-fg1);
}
.legal h4:first-child { margin-top: 0; }
.legal p {
  margin: 0 0 12px;
  font-family: var(--rm-font-body); font-weight: 400; font-size: 14px; line-height: 1.78;
  color: var(--rm-fg2);
}
.legal ol, .legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li {
  margin: 0 0 6px;
  font-family: var(--rm-font-body); font-weight: 400; font-size: 14px; line-height: 1.78;
  color: var(--rm-fg2);
}
.legal .legal-table { margin: 0 0 16px; overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 13px; }
.legal th, .legal td {
  border: 1px solid var(--rm-border); padding: 9px 12px; text-align: left; vertical-align: top;
  font-family: var(--rm-font-body); line-height: 1.6; color: var(--rm-fg2);
}
.legal th { background: var(--rm-bg-soft); font-weight: 600; color: var(--rm-fg1); white-space: nowrap; }
.legal .effective {
  margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--rm-fg3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .nav-links, .nav-right .lang, .nav-right .btn-outline { display: none; }
  .burger { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc:nth-child(odd) { border-right: none; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  /* Contact | Follow | Legal in one row under the stacked brand (Legal to the RIGHT of Follow).
     Contact gets ~2x width because it holds the long address; equal 1fr columns would squeeze
     it into ragged 3-line wraps while the short Follow/Legal lists waste space. */
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-rule { display: none; }
  .foot-mark { display: none; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-meta { text-align: left; max-width: none; }
  .side-label { display: none; }
  .hero .float-mark { bottom: clamp(150px, 26vh, 220px); }
}
@media (max-width: 767px) {
  /* below 768 the 4-col About meta squeezes each value to 4-6 lines; drop to a 2x2 grid so
     every value settles back to 2 lines. .rm-scope beats index.html's inline `.about-meta`. */
  .rm-scope .about-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; gap: 10px; }
  /* keep the branded two-line title ("Rolling Ideas." / "Growing Value.") on mobile: the narrow
     title column (.hero-center max-width:24ch) would break each line per-word once the type grows,
     so relax it and pin each .ln to one line. Size itself comes from the continuous inline curve
     in index.html (no per-breakpoint font-size here, so the 560px boundary has no jump). */
  .hero-center { max-width: none; }
  .hero h1 .ln { display: block; white-space: nowrap; }
  /* stack the foot once it goes column: DIVE DEEPER on top, EST. line left-aligned beneath it
     (drop the desktop flex-end so both items share the left edge for a clean column). */
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-foot .mono { align-self: flex-start; }
  /* halve the rule before DIVE DEEPER to match the tighter column layout */
  .hero .lead .line { width: 26px; }
  /* shrink the waterline eyebrow so the single line fits a phone gutter (keep wide tracking).
     .hero prefix raises specificity above index.html's inline `.hero-eyebrow .eyebrow{font-size:14px}`. */
  .hero .hero-eyebrow .eyebrow { font-size: clamp(9.5px, 3.05vw, 11px); letter-spacing: .15em; gap: 8px; }
  .hero .hero-eyebrow .eyebrow .dot { width: 6px; height: 6px; }
}
