
@font-face {
  font-family: "Out Base Sans";
  src: url("outbase-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #efeddc;
  --ink: #171717;
  --yellow: #ffe517;
  --font: "Out Base Sans", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --ease: cubic-bezier(.22, .75, .25, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.7; letter-spacing: -.025em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, .frames:focus-visible { outline: 3px solid #2360c5; outline-offset: 4px; }
header, footer, .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
header { padding: 14px clamp(20px, 4vw, 64px); border-bottom: 1px solid var(--ink); background: var(--paper); }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: 56px; height: 90px; object-fit: contain; transition: transform 300ms var(--ease); }
.brand:hover img { transform: rotate(-3deg); }
nav { display: flex; gap: clamp(18px, 3vw, 48px); }
nav a { position: relative; padding: 8px 0; font-size: 15px; font-weight: 650; letter-spacing: -.015em; }
nav a::after { content: ""; position: absolute; bottom: 4px; left: 0; width: 100%; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease); }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }
.cover { position: relative; isolation: isolate; overflow: hidden; background: #24241f; color: white; touch-action: pan-y; }
.cover > img { width: 100%; height: clamp(430px, 43vw, 690px); object-fit: cover; display: block; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #080c10a6, transparent 85%), linear-gradient(0deg, #080a0cb0, transparent 48%); pointer-events: none; }
.covertext, .pager { position: absolute; z-index: 1; left: clamp(20px, 4vw, 64px); }
.covertext { bottom: 23%; right: 24px; pointer-events: none; }
.covertext small { font-size: 13px; font-weight: 550; letter-spacing: .04em; }
.cover h1 { max-width: 15ch; font-size: clamp(36px, 4.8vw, 76px); font-weight: 800; letter-spacing: -.055em; line-height: 1.16; margin: 14px 0 28px; word-break: keep-all; text-wrap: balance; }
.btn { display: inline-flex; align-items: center; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 650; line-height: 1.5; transition: background 200ms, color 200ms, transform 250ms var(--ease); }
.cover .btn { background: var(--yellow); color: var(--ink); pointer-events: auto; }
.btn:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.cover .btn:hover { background: var(--paper); }
.pager { right: clamp(20px, 4vw, 64px); bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pager b { font-size: 12px; line-height: 1.6; font-weight: 500; }
.pager > div { display: flex; gap: 6px; flex-shrink: 0; }
.pager button { border: 1px solid #ffffff80; border-radius: 50%; width: 42px; height: 42px; background: #17171765; color: white; transition: background 200ms, color 200ms; }
.pager button:hover { background: var(--yellow); color: var(--ink); }
.covertext.is-changing { animation: text-arrive 500ms var(--ease) both; }
.cover > .leaving { position: absolute; inset: 0; pointer-events: none; animation: image-leave 600ms ease both; }
main .content { max-width: 1800px; margin-inline: auto; padding: clamp(56px, 5vw, 88px) clamp(16px, 2vw, 40px) 12px; }
.tag, #about > small, #contact > small { font-size: 11px; font-weight: 650; letter-spacing: .13em; line-height: 1.5; }
.content h2 { margin: 10px 0 28px; font-size: clamp(34px, 4.1vw, 64px); font-weight: 800; line-height: 1.12; letter-spacing: -.055em; text-wrap: balance; }
.vehicleGrid, .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.fleetRow, .gallery article { min-width: 0; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--paper); transition: box-shadow 280ms var(--ease); }
@media (hover: hover) {
  .fleetRow:hover, .gallery article:hover { box-shadow: 0 6px 0 #17171712; }
}
.frames { position: relative; aspect-ratio: 3/2; overflow: hidden; border-bottom: 2px solid var(--ink); touch-action: pan-y; background: #f6f5ed; }
.strip { position: relative; width: 100%; height: 100%; }
.strip figure { position: absolute; inset: 0; margin: 0; overflow: hidden; background: #f6f5ed; opacity: 0; transition: opacity 400ms ease-in-out; }
.strip figure.is-active { opacity: 1; }
.strip img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 7%; pointer-events: none; user-select: none; }
.strip .onsite img { object-fit: cover; padding: 0; }
.strip .zoom img { transform: scale(1.85); transform-origin: 35% center; }
.strip figcaption { position: absolute; bottom: 14px; left: 14px; background: #171717b3; color: white; border-radius: 20px; padding: 4px 9px; font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.frames output { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: white; text-shadow: 0 1px 4px #111; font-size: 15px; line-height: 1; font-weight: 650; font-variant-numeric: tabular-nums; }
.frames .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; padding: 0; background: var(--paper); color: var(--ink); transition: background 200ms, transform 220ms var(--ease); }
.arrow.back { left: 20px; }
.arrow.forward { right: 20px; }
.arrow svg { width: 17px; height: 17px; transition: transform 220ms var(--ease); }
.arrow:hover { background: var(--yellow); }
.arrow.forward:hover svg { transform: translateX(2px); }
.arrow.back:hover svg { transform: translateX(-2px); }
.arrow:active { transform: translateY(-50%) scale(.94); }
.caseInfo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; padding: 22px 20px 24px; }
.identity { border-right: 1px solid #171717; padding-right: 18px; min-width: 0; }
.caseInfo h3 { font-size: clamp(21px, 1.85vw, 29px); font-weight: 750; letter-spacing: -.045em; line-height: 1.3; margin: 0 0 8px; word-break: keep-all; overflow-wrap: anywhere; }
.caseInfo span { display: block; font-size: 13px; font-weight: 500; line-height: 1.65; color: #46463d; word-break: keep-all; }
.story { min-width: 0; }
.caseInfo p { margin: 0; font-size: clamp(14px, 1.06vw, 16px); line-height: 1.8; font-weight: 400; letter-spacing: -.025em; word-break: keep-all; overflow-wrap: anywhere; }
.caseInfo button { position: relative; display: inline-block; margin: 22px 0 0; padding: 0 0 4px; border: 0; background: transparent; font-size: 13px; font-weight: 650; line-height: 1.6; text-align: left; }
.caseInfo button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink); transform: scaleX(.22); transform-origin: left; transition: transform 300ms var(--ease), background 300ms; }
.caseInfo button:hover::after, .caseInfo button:focus-visible::after { transform: scaleX(1); background: #c2a900; }
.projects { padding-bottom: 48px !important; border-bottom: 1px solid #b6b5a5; }
#about > p, #contact p, details p { max-width: 66ch; font-size: 16px; line-height: 1.9; word-break: keep-all; }
#about h2 { max-width: 18ch; }
#contact a { text-underline-offset: 5px; transition: background 220ms; }
#contact a:hover { background: var(--yellow); }
details { border-top: 1px solid #a8a897; padding: 20px 0; }
summary { cursor: pointer; font-size: 16px; font-weight: 600; }
details[open] p { animation: text-arrive 300ms var(--ease) both; }
footer { margin-top: 60px; border-top: 1px solid var(--ink); padding: 24px clamp(20px, 4vw, 64px); font-size: 13px; }
footer img { width: 45px; height: 72px; object-fit: contain; }
footer b { font-weight: 600; }
dialog { width: min(500px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 26px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #12130fb8; }
dialog[open] { animation: panel-open 300ms var(--ease) both; }
dialog img { width: 100%; height: 180px; object-fit: contain; margin: 16px 0; }
dialog button { background: var(--paper); border: 1px solid var(--ink); border-radius: 3px; padding: 8px 12px; font-size: 13px; }
dialog button:hover { background: var(--yellow); }
dialog h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.04em; margin: 12px 0; }
dialog p { line-height: 1.85; font-size: 15px; word-break: keep-all; }
#caseDialog { width: min(650px, calc(100vw - 32px)); }
#caseDialog img { height: auto; display: block; }
#caseDialog small { font-size: 11px; }
.reveal.is-entering { animation: space-arrive 650ms var(--ease) both; animation-delay: var(--entry-delay, 0ms); }
@keyframes space-arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes text-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes image-leave { from { opacity: 1; } to { opacity: 0; } }
@keyframes panel-open { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 949px) {
  .vehicleGrid, .gallery { grid-template-columns: 1fr; }
  .caseInfo h3 { font-size: clamp(21px, 3.3vw, 28px); }
  .caseInfo p { font-size: 15px; }
}
@media (max-width: 600px) {
  header { padding: 12px 16px; gap: 16px; }
  .brand img { width: 42px; height: 67px; }
  nav { gap: 14px; }
  nav a { font-size: 12px; }
  .cover > img { height: 440px; object-position: 58% center; }
  .covertext { bottom: 27%; left: 20px; }
  .cover h1 { font-size: clamp(32px, 8.5vw, 46px); margin: 12px 0 22px; }
  .pager { left: 20px; right: 20px; bottom: 20px; gap: 12px; }
  .pager b { font-size: 10px; max-width: 19ch; }
  .pager button { width: 36px; height: 36px; }
  .content h2 { margin-bottom: 24px; }
  .caseInfo { padding: 18px 14px; gap: 14px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .identity { padding-right: 12px; }
  .caseInfo h3 { font-size: 20px; }
  .caseInfo span { font-size: 12px; }
  .caseInfo p { font-size: 13px; line-height: 1.85; }
  .caseInfo button { font-size: 12px; margin-top: 18px; }
  .arrow.back { left: 12px; }
  .arrow.forward { right: 12px; }
  .strip figcaption { font-size: 9px; bottom: 10px; left: 10px; }
  .frames output { font-size: 13px; bottom: 13px; }
  footer { flex-wrap: wrap; gap: 18px; font-size: 11px; }
  #about > p, #contact p, details p { font-size: 14px; }
  summary { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

