/* Frameone — design tokens (see prototype "Design tokens & states") */
:root {
  --surface-base: #e2e2e2;
  --surface-pill: #ededed;
  --surface-raised-dark: #121212;
  --surface-inverse: #000000;
  --surface-card: #2a2a2a;
  --text-primary: #121212;
  --text-secondary: #3d3d3d;
  --text-on-inverse: #ffffff;
  --text-on-inverse-muted: #d6d6d6;
  --text-on-inverse-body: #e6e6e6;
  --line-on-inverse: #5c5c5c;
  --text-divider: #6b6b6b;
  --accent: #2f5bff; /* logo blue */

  --font-sans: "Pretendard Variable", Pretendard, "Helvetica Neue", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: "Archivo", "Pretendard Variable", Pretendard, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-xs: 17px;
  --fs-sm: 19px;
  --fs-md: 20px;
  --fs-label: 13px;

  --gutter: clamp(16px, 3vw, 40px);
  --section-y: clamp(72px, 9vw, 120px);
  --max-w: 1440px;
  --radius-pill: 40px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }

:focus-visible { outline: 3px solid var(--text-primary); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--text-on-inverse); outline-offset: 4px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--text-primary);
  color: var(--text-on-inverse);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--gutter); }

.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.display {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.kr-heading { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.02em; }

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 24px;
  font-size: 14px;
  line-height: 1.4;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo { display: block; height: 28px; width: auto; overflow: visible; }

/* Logo symbol: the brackets lock onto the blue bar like the hero viewfinder. */
.logo-corner,
.logo-bar { transform-box: fill-box; }
.logo-corner-tl { --d: -1; }
.logo-corner-br { --d: 1; }
.logo-corner {
  animation: logo-lock 1s var(--ease-out) 0.1s both;
  transition: transform 0.45s var(--ease-out);
}
.logo-bar {
  transform-origin: 50% 100%;
  animation: logo-bar-grow 0.8s var(--ease-out) 0.45s both;
  transition: transform 0.45s var(--ease-out);
}
.brand:hover .logo-corner-tl,
.brand:focus-visible .logo-corner-tl { transform: translate(-12px, -12px); }
.brand:hover .logo-corner-br,
.brand:focus-visible .logo-corner-br { transform: translate(12px, 12px); }
.brand:hover .logo-bar,
.brand:focus-visible .logo-bar { transform: scaleY(1.22); }
@keyframes logo-lock {
  0% { opacity: 0; translate: calc(var(--d) * 16px) calc(var(--d) * 16px); }
  55% { opacity: 1; translate: calc(var(--d) * -3px) calc(var(--d) * -3px); }
  100% { translate: 0 0; }
}
@keyframes logo-bar-grow { from { scale: 1 0; } }
.site-nav { display: flex; justify-content: center; }
.site-nav ul {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--text-primary);
  border-radius: var(--radius-pill);
  background: var(--surface-pill);
  font-size: 15px;
  font-weight: 500;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.site-nav a:hover { background: var(--text-primary); color: var(--text-on-inverse); }
.site-nav a:active { background: var(--surface-inverse); color: var(--text-on-inverse); transform: scale(0.97); }
.menu-toggle { display: none; }

/* Mobile menu: hamburger + full-screen sheet (only when JS can drive it) */
@media (max-width: 760px) {
  .js .site-header { position: relative; z-index: 30; }
  .js .menu-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: -8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s;
  }
  .js .menu-icon { position: relative; width: 24px; height: 10px; }
  .js .menu-icon i {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
  }
  .js .menu-icon i:first-child { top: 0; }
  .js .menu-icon i:last-child { top: 8px; }
  .js .is-open .menu-toggle { color: var(--text-on-inverse); }
  .js .is-open .menu-icon i { top: 4px; }
  .js .is-open .menu-icon i:first-child { transform: rotate(45deg); }
  .js .is-open .menu-icon i:last-child { transform: rotate(-45deg); }

  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px var(--gutter) 48px;
    background: var(--surface-inverse);
    color: var(--text-on-inverse);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.35s var(--ease-out), visibility 0s linear 0.35s;
  }
  .js .is-open .site-nav { visibility: visible; opacity: 1; transition: opacity 0.35s var(--ease-out); }
  .js .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    counter-reset: menu;
  }
  .js .site-nav li { counter-increment: menu; border-bottom: 1px solid var(--line-on-inverse); }
  .js .site-nav a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    min-height: 88px;
    padding: 12px 0;
    border-radius: 0;
    font-size: clamp(44px, 14vw, 64px);
    font-weight: 800;
    letter-spacing: -0.04em;
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
  }
  .js .site-nav a::after {
    content: "(0" counter(menu) ")";
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-on-inverse-muted);
  }
  .js .site-nav li:nth-child(2) a { transition-delay: 0.05s; }
  .js .site-nav li:nth-child(3) a { transition-delay: 0.1s; }
  .js .is-open .site-nav a { transform: none; opacity: 1; }
  .js .site-nav a:hover,
  .js .site-nav a:active { background: none; color: var(--text-on-inverse-muted); transform: none; }
  .js.menu-open { overflow: hidden; }
}

/* Hero */
.hero { padding-top: 72px; }
.hero-lead {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.hero-sub {
  max-width: 620px;
  margin: 20px auto 0;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.wordmark {
  margin-top: 56px;
  font-size: clamp(96px, 25vw, 380px);
  line-height: 0.82;
}
.wordmark-line { display: block; }
.wordmark-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

.viewfinder {
  position: relative;
  flex: 1 1 320px;
  align-self: stretch;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-sans);
  font-stretch: 100%;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}
.viewfinder::before,
.viewfinder::after,
.viewfinder-corners::before,
.viewfinder-corners::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 0 solid var(--text-primary);
}
.viewfinder::before { top: var(--pinch); left: var(--pinch); border-top-width: 2px; border-left-width: 2px; --dx: -1; --dy: -1; }
.viewfinder::after { top: var(--pinch); right: var(--pinch); border-top-width: 2px; border-right-width: 2px; --dx: 1; --dy: -1; }
.viewfinder-corners::before { bottom: var(--pinch); left: var(--pinch); border-bottom-width: 2px; border-left-width: 2px; --dx: -1; --dy: 1; }
.viewfinder-corners::after { bottom: var(--pinch); right: var(--pinch); border-bottom-width: 2px; border-right-width: 2px; --dx: 1; --dy: 1; }
.viewfinder-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec .dot { width: 8px; height: 8px; animation: rec-blink 1.6s steps(2, start) 1.8s infinite; }
@keyframes rec-blink { to { visibility: hidden; } }
.timecode { margin-left: 4px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.verb { padding: 1px 4px; border-radius: 4px; transition: background-color 0.12s, color 0.12s; }
.verb.is-active { background: var(--text-primary); color: var(--text-on-inverse); }

@property --pinch { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --fill { syntax: "<percentage>"; inherits: true; initial-value: 0%; }

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--text-primary);
  border-radius: var(--radius-pill);
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.1s;
}
.sound-toggle:hover,
.sound-toggle[aria-pressed="true"] { background: var(--text-primary); color: var(--text-on-inverse); }
.sound-toggle:active { transform: scale(0.97); }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound-bars i { width: 2px; height: 3px; background: currentColor; }
.sound-toggle[aria-pressed="true"] .sound-bars i { animation: sound-bar 0.9s ease-in-out infinite alternate; }
.sound-bars i:nth-child(2) { animation-delay: -0.3s; }
.sound-bars i:nth-child(3) { animation-delay: -0.6s; }
.sound-bars i:nth-child(4) { animation-delay: -0.15s; }
@keyframes sound-bar { from { height: 3px; } to { height: 12px; } }

/* Hero motion — the camera finds its frame */
.hero-lead,
.hero-sub { animation: rise-in 0.9s var(--ease-out) both; }
.hero-sub { animation-delay: 0.12s; }

.wordmark-line { white-space: nowrap; clip-path: inset(-0.3em -1em 0 -1em); }
.wordmark .ch {
  display: inline-block;
  animation: letter-rise 1s var(--ease-out) both;
  animation-delay: calc(0.25s + var(--i) * 0.07s);
}
.wordmark-one .ch { animation-delay: calc(0.35s + var(--i) * 0.07s); }

/* ONE: an outlined counterpart to the solid FRAME — drops in from above and
   fills with the logo blue like a recording meter, one third per frame. */
.wordmark-one { clip-path: inset(0 -1em -0.3em -1em); }
.wordmark-one .ch {
  color: transparent;
  -webkit-text-stroke: max(2px, 0.012em) var(--text-primary);
  background: linear-gradient(to top, var(--accent) var(--fill), transparent var(--fill));
  -webkit-background-clip: text;
  background-clip: text;
  animation-name: letter-drop;
  transition: --fill 0.9s var(--ease-out) calc((var(--i) - 5) * 0.09s);
}
html:not(.js) .wordmark-one { --fill: 100%; }
@keyframes letter-drop { from { transform: translateY(-105%); } }

.viewfinder::before,
.viewfinder::after,
.viewfinder-corners::before,
.viewfinder-corners::after { animation: corner-lock 1.2s var(--ease-out) 0.8s both; }

.viewfinder-row { --row-delay: 1.45s; animation: rise-in 0.7s var(--ease-out) var(--row-delay) both; }
.viewfinder-row + .viewfinder-row { --row-delay: 1.6s; }


@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes letter-rise { from { transform: translateY(105%); } }
@keyframes corner-lock {
  0% { opacity: 0; transform: translate(calc(var(--dx) * 48px), calc(var(--dy) * 48px)); }
  45% { opacity: 1; transform: translate(calc(var(--dx) * -6px), calc(var(--dy) * -6px)); }
  60% { transform: translate(calc(var(--dx) * 3px), calc(var(--dy) * 3px)); }
  72% { opacity: 1; transform: none; }
  78% { opacity: 0.15; }
  84% { opacity: 1; }
  90% { opacity: 0.15; }
  100% { opacity: 1; transform: none; }
}

/* Scroll: the frame zooms out as you leave */
@supports (animation-timeline: scroll()) {
  .wordmark-frame,
  .wordmark-one {
    animation: var(--scroll-anim) linear both;
    animation-timeline: scroll(root);
    animation-range: 0 85vh;
  }
  .wordmark-frame { --scroll-anim: split-left; }
  .wordmark-one { --scroll-anim: split-right; }
  .viewfinder-row {
    animation: rise-in 0.7s var(--ease-out) var(--row-delay) both, fade-out linear both;
    animation-timeline: auto, scroll(root);
    animation-range: normal, 0 55vh;
  }
  .viewfinder::before,
  .viewfinder::after,
  .viewfinder-corners::before,
  .viewfinder-corners::after {
    animation: corner-lock 1.2s var(--ease-out) 0.8s both, corner-zoom linear both;
    animation-timeline: auto, scroll(root);
    animation-range: normal, 0 85vh;
  }
}
@keyframes split-left { to { translate: -14vw 0; } }
@keyframes split-right { to { translate: 14vw 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes corner-zoom { to { translate: calc(var(--dx) * 8vw) calc(var(--dy) * 6vw); } }

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--text-primary);
  font-size: 14px;
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  background: var(--surface-inverse);
  color: var(--text-on-inverse);
}
.marquee-track {
  display: flex;
  width: max-content;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee-track span { padding-right: 48px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Statement */
.statement { padding-block: var(--section-y); text-align: center; }
.statement .label { margin-bottom: 40px; }
.statement h2 {
  font-size: clamp(36px, 6vw, 96px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.045em;
}
.circled {
  display: inline-block;
  padding: 0 0.3em;
  border: 3px solid var(--accent);
  border-radius: 50%;
}
.statement-body { max-width: 680px; margin: 56px auto 0; font-size: var(--fs-sm); line-height: 1.7; }
.statement-en { max-width: 680px; margin: 24px auto 0; color: var(--text-secondary); }

/* Services */
.services { padding-block: var(--section-y); background: var(--surface-raised-dark); color: var(--text-on-inverse); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-on-inverse);
}
.section-head h2 { display: flex; flex-direction: column; gap: 16px; }
.section-head .display { font-size: clamp(64px, 11vw, 168px); line-height: 0.85; letter-spacing: -0.03em; }
.section-head sup { margin-left: 12px; font-family: var(--font-mono); font-size: 20px; font-weight: 400; font-stretch: 100%; letter-spacing: 0; vertical-align: top; }
.section-head p { text-align: right; font-size: 15px; color: var(--text-on-inverse-muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px 32px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
}
.service { display: flex; flex-direction: column; gap: 18px; }
.service-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface-card);
}
.slider {
  position: absolute;
  inset: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.slider::-webkit-scrollbar { display: none; }
.on-dark .slider:focus-visible { outline-offset: -4px; }
.slides { display: flex; height: 100%; padding: 0; list-style: none; }
.slide {
  flex: 0 0 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.slider-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-inverse);
}
html:not(.js) .slider-controls { display: none; }
.slider-count { min-width: 5.5em; text-align: center; font-variant-numeric: tabular-nums; }
.slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-on-inverse);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.6);
  color: inherit;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s, color 0.2s, transform 0.1s;
}
.slider-btn:hover { background: var(--text-on-inverse); color: var(--surface-inverse); }
.slider-btn:active { transform: scale(0.94); }
.service-media img {
  width: 58%;
  height: auto;
  margin-bottom: -18%;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s ease;
}
.service:hover .service-media img { transform: translateY(-12px); }
.service-index {
  position: absolute;
  pointer-events: none;
  top: 16px;
  left: 16px;
  font-size: 64px;
  line-height: 1;
  color: var(--text-on-inverse);
}
.service-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-on-inverse-muted); }
.service h3 { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; }
.service p { line-height: 1.7; color: var(--text-on-inverse-body); }
.service-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-top: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.service-link:hover { border-bottom-width: 3px; }

/* Principles */
.principles { padding-block: var(--section-y); }
.principles > h2 { display: flex; flex-direction: column; gap: 20px; }
.principles .display { font-size: clamp(88px, 20vw, 300px); line-height: 0.82; }
.indent { display: inline-block; padding-left: 12vw; }
.principle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px 40px;
  margin-top: 80px;
  padding: 40px 0 0;
  border-top: 1px solid var(--text-primary);
  list-style: none;
}
.principle { display: flex; flex-direction: column; gap: 14px; }
.principle h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.principle p { font-size: 18px; line-height: 1.7; }
.principle .en { font-size: 15px; color: var(--text-secondary); }

/* What we do */
.capabilities { padding-bottom: var(--section-y); }
.capabilities-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--text-primary);
  font-size: 15px;
}
.capabilities-head h2 { font-size: 15px; font-weight: 700; }
.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
  font-size: clamp(34px, 5.2vw, 80px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.capability-list li:not(:last-child)::after {
  content: "/";
  margin-left: 28px;
  font-weight: 300;
  color: var(--text-divider);
}

/* Contact + footer */
.contact { padding: var(--section-y) 0 28px; background: var(--surface-inverse); color: var(--text-on-inverse); }
.contact .eyebrow { font-size: 15px; color: var(--text-on-inverse-muted); }
.contact h2 { display: flex; flex-direction: column; gap: 28px; margin-top: 24px; }
.contact .display { font-size: clamp(80px, 16vw, 240px); line-height: 0.84; }
.contact .kr { font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.03em; }
.contact-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; margin-top: 48px; }
.contact-row p { max-width: 520px; font-size: var(--fs-sm); }

/* Contact CTA: a light orbits the pill border; hover sweeps in a white fill. */
@property --orbit { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 10px 10px 10px 32px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  color: var(--text-on-inverse);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.45s var(--ease-out), transform 0.15s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1.5px;
  border-radius: inherit;
  background:
    conic-gradient(from var(--orbit), transparent 0 48%, rgba(47, 91, 255, 0.95) 76%, #fff 87%, transparent 90%),
    linear-gradient(var(--line-on-inverse), var(--line-on-inverse));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: btn-orbit 3.6s linear infinite;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--text-on-inverse);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.btn-text { display: flex; flex-direction: column; }
.btn-label { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.btn-email { font-size: 14px; font-weight: 500; opacity: 0.7; }
.btn-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--text-on-inverse);
  color: var(--surface-inverse);
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out);
}
.btn-arrow-track { display: flex; gap: 34px; transform: translateX(26px); }
.btn-arrow-track svg { flex: none; }
.btn:hover,
.btn:focus-visible { color: var(--surface-inverse); }
.btn:hover::after,
.btn:focus-visible::after { transform: scaleX(1); }
.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow { background: var(--surface-inverse); color: var(--text-on-inverse); }
.btn:hover .btn-arrow-track,
.btn:focus-visible .btn-arrow-track { animation: btn-arrow 0.55s var(--ease-out) both; }
.btn:active { transform: scale(0.98); }
@keyframes btn-orbit { to { --orbit: 360deg; } }
@keyframes btn-arrow { from { transform: translateX(26px); } to { transform: translateX(-26px); } }

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-inverse);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-on-inverse-muted);
}
.site-footer strong { color: var(--text-on-inverse); }
.footer-logo { display: block; height: 24px; width: auto; }
.site-footer address { font-style: normal; }
.biz-info summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}
.biz-info summary::-webkit-details-marker { display: none; }
.biz-info summary:hover,
.biz-info[open] summary { color: var(--text-on-inverse); }
.biz-info summary svg { transition: transform 0.25s var(--ease-out); }
.biz-info[open] summary svg { transform: rotate(180deg); }
.biz-info-body { padding-bottom: 4px; }
.nowrap { white-space: nowrap; }


/* Back to top */
.to-top {
  position: fixed;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: max(var(--gutter), env(safe-area-inset-bottom));
  z-index: 20;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--text-primary);
  border-radius: 50%;
  background: var(--surface-pill);
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s, background-color 0.2s, color 0.2s;
}
.to-top.is-visible,
html:not(.js) .to-top {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), background-color 0.2s, color 0.2s;
}
.to-top:hover { background: var(--text-primary); color: var(--text-on-inverse); }
.to-top:active { transform: scale(0.94); }

@media (max-width: 760px) {
  html:not(.js) .site-header { flex-direction: column; }
  .section-head p { text-align: left; }
  .indent { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark-one { --fill: 100%; }
  .marquee-track,
  .rec .dot,
  .hero-lead,
  .hero-sub,
  .wordmark .ch,
  .wordmark-line,
  .viewfinder-row,
  .sound-bars i,
  .logo-corner,
  .logo-bar,
  .btn::before,
  .btn-arrow-track,
  .viewfinder::before,
  .viewfinder::after,
  .viewfinder-corners::before,
  .viewfinder-corners::after { animation: none; }
  .slider { scroll-behavior: auto; }
  .service-media img,
  .menu-icon i,
  .to-top,
  .logo-corner,
  .logo-bar,
  .btn,
  .btn::after,
  .btn-arrow,
  .biz-info summary svg,
  .site-nav,
  .site-nav a { transition: none !important; }
}
