/* Studio East · Liquid Glass-inspired web design · ver 19 */
:root {
  --navy: #102c50; --navy-deep: #071c35; --ink: #172c46;
  --gray: #5c6d80; --accent: #547398; --line: rgba(58,92,128,.13);
  --card: #eff4f8; --pad: clamp(22px,5vw,64px);
  --glass: rgba(255,255,255,.64); --glass-edge: rgba(255,255,255,.88);
  --glass-shadow: 0 16px 48px -22px rgba(30,64,105,.22), inset 0 1px 0 rgba(255,255,255,.95);
}
html { scroll-padding-top: 118px; }
body.liquid-site {
  background: radial-gradient(ellipse at 8% 10%,rgba(202,226,242,.54),transparent 32%),
    radial-gradient(ellipse at 93% 38%,rgba(216,211,242,.34),transparent 31%),
    linear-gradient(140deg,#f8fafc,#edf3f8 55%,#f5f6fa);
  background-attachment: fixed; color: var(--ink);
}
h1,h2 { font-weight: 600; letter-spacing: -.045em; }
h3,h4 { font-weight: 600; }
section { padding: clamp(64px,7vw,108px) 0; }
section.tight { padding: 50px 0; }
.wrap { max-width: 1400px; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px,3.4vw,46px); line-height: 1.25; }
.section-head p { line-height: 1.8; }
.eyebrow { font-size: 11px; letter-spacing: .19em; margin-bottom: 16px; }
.bg-alt { background: linear-gradient(135deg,rgba(238,245,251,.3),rgba(255,255,255,.3)); }
/* A floating, optically edged navigation surface. */
.site-header {
  top: 16px; margin: 16px auto 0; width: calc(100% - 48px); max-width: 1300px;
  border: 1px solid var(--glass-edge); border-radius: 26px;
  background: linear-gradient(135deg,rgba(255,255,255,.83),rgba(247,251,255,.55));
  -webkit-backdrop-filter: blur(28px) saturate(165%); backdrop-filter: blur(28px) saturate(165%);
  box-shadow: var(--glass-shadow); isolation: isolate;
}
.site-header .wrap { height: 70px; padding: 0 24px; }
.brand { flex-shrink: 0; }
.brand span { font-size: 13px; letter-spacing: .025em; }
.brand img { height: 25px; }
.main-nav a { padding: 10px 13px; font-size: 13px; font-weight: 500; }
.main-nav a.active { background: rgba(255,255,255,.8); box-shadow: 0 3px 12px rgba(25,52,84,.07),inset 0 1px 0 #fff; }
.main-nav a:hover { background: rgba(255,255,255,.66); }
.main-nav .nav-cta {
  color: #fff !important; background: linear-gradient(150deg,#315679,#173652) !important;
  border: 1px solid rgba(255,255,255,.33); box-shadow: inset 0 1px 0 rgba(255,255,255,.3),0 6px 16px rgba(19,51,87,.12);
}
.nav-toggle { border-radius: 50%; background: rgba(255,255,255,.62); }
.nav-toggle span { transition: transform .2s,opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav-mobile { display: none; }
/* The film stays sharp; its controls float above it. */
.liquid-hero {
  position: relative; max-width: 1440px; margin: 24px auto 0; width: calc(100% - 48px);
  border-radius: 36px; overflow: hidden; background: #10263c; isolation: isolate;
  min-height: clamp(520px,72vh,820px); padding: 0; border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 30px 80px -35px rgba(24,57,91,.35),inset 0 1px 0 rgba(255,255,255,.6);
}
.liquid-hero .hero-video-frame { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.liquid-hero .hero-video-frame video { width: 100%; height: 100%; object-fit: cover; }
.liquid-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,rgba(4,19,34,.78),rgba(4,19,34,.2) 70%),linear-gradient(0deg,rgba(4,19,34,.3),transparent 65%);
}
.liquid-hero-content { position: relative; z-index: 2; color: #fff; padding: clamp(48px,7vw,100px); max-width: 940px; }
.hero-kicker {
  display: inline-flex; padding: 10px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: 10px; font-weight: 500; letter-spacing: .13em; box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.liquid-hero-content h1 { font-size: clamp(36px,4.8vw,66px); line-height: 1.25; margin-top: 32px; }
.liquid-hero-content p { margin-top: 26px; font-size: clamp(14px,1.4vw,17px); color: #e0e9f2; line-height: 1.85; }
.hero-actions { gap: 12px; margin-top: 32px; }
.showreel-label {
  position: absolute; bottom: 28px; right: 28px; z-index: 2; display: flex; align-items: center; gap: 9px;
  border-radius: 999px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.3); color: #fff;
  background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  font-size: 9px; letter-spacing: .12em; box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.reel-dot { width: 6px; height: 6px; border-radius: 50%; background: #e3f1ff; box-shadow: 0 0 12px #e3f1ff; }
.clients-section .logo-strip { gap: 28px 40px; }
/* Tactile glass controls and restrained, readable content surfaces. */
.btn, .jumpnav a, .gallery-filter button, .tag {
  border: 1px solid var(--glass-edge); border-radius: 999px;
  background: linear-gradient(135deg,rgba(255,255,255,.88),rgba(255,255,255,.5));
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 6px 20px -10px rgba(38,72,107,.19),inset 0 1px 0 rgba(255,255,255,.95);
  transition: background .25s,box-shadow .25s,transform .25s;
}
.btn { gap: 20px; padding: 14px 25px; font-size: 13px; }
.btn-primary { color: #123250; background: linear-gradient(150deg,rgba(255,255,255,.97),rgba(224,237,248,.8)); }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }
.btn-outline { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.42); }
.btn-outline:hover { background: rgba(255,255,255,.19); }
.btn-dark,.gallery-filter button.active,.jumpnav a:hover {
  color: #fff; background: linear-gradient(135deg,#315b81,#173856); border-color: rgba(255,255,255,.4);
}
.jumpnav { gap: 10px; }
.jumpnav a { font-size: 12px; padding: 10px 19px; }
.card,.project-card,.webproject-card,.software-card,.step {
  border-radius: 27px; border: 1px solid var(--glass-edge);
  background: radial-gradient(circle at var(--shine-x,20%) var(--shine-y,0%),rgba(255,255,255,.93),transparent 75%),rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(16px) saturate(135%); backdrop-filter: blur(16px) saturate(135%);
  box-shadow: var(--glass-shadow);
}
.card { padding: 34px; position: relative; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { line-height: 1.8; font-size: 14px; }
a.card { transition: transform .3s,box-shadow .3s; }
a.card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -22px rgba(28,64,107,.25),inset 0 1px 0 #fff; }
a.card::after { content: "↗"; position: absolute; top: 27px; right: 28px; color: #52769a; font-size: 20px; font-weight: 300; }
.card-num,.project-card .card-num { color: #4e6e90; font-size: 11px; font-weight: 500; }
.project-card .card-num { background: rgba(215,229,243,.54); padding: 5px 12px; }
.project-card h3 { font-size: 20px; font-weight: 600; }
.project-card .cap { padding: 24px 25px 29px; }
.project-card:hover { box-shadow: 0 25px 55px -25px rgba(23,59,94,.32),inset 0 1px 0 #fff; }
.feature-photo-card,.card-photo-inner,.masonry figure { border-radius: 26px; }
.feature-photo-card { border: 1px solid rgba(255,255,255,.8); box-shadow: 0 16px 36px -22px rgba(20,43,78,.24); }
.feature-photo-card .fp-overlay { background: linear-gradient(0deg,rgba(8,24,42,.86),rgba(8,24,42,.16) 65%,transparent); }
.feature-photo-card h3 { font-size: 20px; font-weight: 600; }
.step { padding: 27px 23px; transition: color .5s,background .5s; }
.step.active { background: linear-gradient(145deg,rgba(57,91,123,.96),rgba(15,40,66,.98)); border-color: rgba(255,255,255,.65); }
.step.active .n { color: #d8e8f7; }
.stat .num { font-weight: 600; }
/* Photo widths continue to follow each image's intrinsic ratio. */
.marquee-track .snap-thumb { border-radius: 20px; background: transparent; box-shadow: 0 8px 20px -14px rgba(30,63,97,.25); }
.video-cat-title { font-size: 12px; color: #526f8f; border-bottom-color: rgba(74,108,144,.15); }
.snap-note { color: #6d7a88; font-size: 12px; }
/* Dark photographic glass panels, distinct from the content underneath. */
.page-hero,.bg-navy {
  width: calc(100% - 48px); max-width: 1440px; margin: 24px auto; border-radius: 34px;
  border: 1px solid rgba(255,255,255,.82); background: linear-gradient(135deg,#213e5b,#0d253f);
  box-shadow: 0 24px 56px -32px rgba(28,62,98,.37),inset 0 1px 0 rgba(255,255,255,.45); isolation: isolate;
}
.page-hero { padding: 106px 0 64px; }
.page-hero::after,.bg-navy::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(ellipse at 8% 0,rgba(222,239,255,.17),transparent 62%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5),inset 0 -1px 0 rgba(255,255,255,.1);
}
.page-hero h1 { font-size: clamp(34px,4.8vw,60px); font-weight: 600; line-height: 1.25; }
.page-hero .lede { max-width: 720px; line-height: 1.85; }
.page-hero .eyebrow,.bg-navy .eyebrow { color: #d3e6f9; }
.page-hero .eyebrow { display: inline-flex; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.navy-photo-overlay { opacity: .22; }
.contact-info-card { border-radius: 28px; background: linear-gradient(145deg,#305171,#122f4c); border: 1px solid rgba(255,255,255,.55); box-shadow: var(--glass-shadow); }
.field input,.field select,.field textarea { border-radius: 17px; border: 1px solid rgba(160,181,202,.35); background: rgba(255,255,255,.68); padding: 15px 17px; font-size: 16px; }
.field input:focus,.field select:focus,.field textarea:focus { outline: 2px solid #688cae; outline-offset: 2px; }
.timeline .items { border-left-color: rgba(82,118,157,.18); }
/* A quiet frosted footer, with the studio identity kept in navy. */
.site-footer {
  width: calc(100% - 48px); max-width: 1440px; margin: 24px auto; padding: 52px 0 25px;
  border-radius: 32px; border: 1px solid var(--glass-edge); color: #65788c;
  background: linear-gradient(135deg,rgba(255,255,255,.78),rgba(240,247,253,.6));
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: var(--glass-shadow);
}
.footer-brand .brand span,.footer-col h5 { color: var(--navy); }
.footer-brand p,.footer-col a,.footer-col p { color: #60748b; }
.footer-col a:hover { color: #153757; }
.footer-bottom { border-top-color: rgba(86,115,146,.15); font-size: 11px; }
.kakao-float { background: rgba(254,229,0,.85); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.67); box-shadow: 0 10px 28px -10px rgba(86,74,0,.25),inset 0 1px 0 rgba(255,255,255,.6); }
.lightbox { background: rgba(9,25,43,.78); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); }
.lightbox-close,.lightbox-prev,.lightbox-next { background: rgba(255,255,255,.13); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: rgba(255,255,255,.36); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
:focus-visible { outline: 2px solid #3c719c; outline-offset: 4px; }
.bg-navy :focus-visible,.liquid-hero :focus-visible { outline-color: #eff7ff; }
#recent-work { scroll-margin-top: 116px; }
@media (max-width: 1100px) {
  .main-nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .main-nav-mobile {
    display: flex; position: fixed; top: 100px; left: 24px; right: 24px; bottom: auto;
    flex-direction: column; align-items: stretch; z-index: 99; overflow-y: auto;
    transition: opacity .2s,transform .2s;
    max-height: calc(100dvh - 124px); padding: 18px; border-radius: 26px; border: 1px solid var(--glass-edge);
    background: rgba(246,250,254,.94); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
    box-shadow: 0 24px 64px -20px rgba(22,53,91,.3),inset 0 1px 0 #fff;
    transform: translateY(-8px); opacity: 0; pointer-events: none; gap: 4px;
  }
  .main-nav-mobile.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav-mobile a { border: 0; border-radius: 14px; padding: 13px 17px; font-size: 15px; }
  .main-nav-mobile .nav-cta { margin: 8px 0 0; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 96px; }
  body.liquid-site { background-attachment: scroll; }
  .site-header { top: 10px; margin-top: 10px; width: calc(100% - 24px); border-radius: 22px; }
  .site-header .wrap { height: 62px; padding: 0 15px; }
  .main-nav-mobile { top: 84px; left: 12px; right: 12px; max-height: calc(100dvh - 108px); }
  .liquid-hero,.page-hero,.bg-navy,.site-footer { width: calc(100% - 24px); border-radius: 27px; margin-top: 18px; margin-bottom: 18px; }
  .liquid-hero { min-height: 610px; }
  .liquid-hero-content { padding: 58px 26px 86px; }
  .hero-kicker { font-size: 8px; padding: 9px 12px; letter-spacing: .09em; }
  .liquid-hero-content h1 { font-size: clamp(30px,8.4vw,46px); margin-top: 32px; }
  .liquid-hero-content p { margin-top: 24px; }
  .hero-actions { gap: 10px; flex-direction: column; align-items: flex-start; }
  .showreel-label { bottom: 23px; right: 23px; font-size: 8px; padding: 10px 14px; }
  .page-hero { padding: 64px 0 46px; }
  .page-hero .wrap,.bg-navy .wrap,.site-footer .wrap { padding-left: 25px; padding-right: 25px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero .lede { font-size: 14px; }
  .navy-photo-overlay { opacity: .15; }
  .card,.project-card,.webproject-card,.software-card,.step { border-radius: 23px; }
  .card { padding: 29px; }
  .feature-photo-card .fp-overlay { padding: 22px; }
  .feature-photo-card h3 { font-size: 18px; }
  .section-head { margin-bottom: 30px; }
  .marquee-track .snap-thumb { border-radius: 16px; }
  .project-card .cap { padding: 20px; }
  .footer-cols { gap: 24px 38px; }
  .site-footer { padding: 38px 0 23px; }
  .clients-section .logo-strip { gap: 20px 25px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header,.card,.step,.project-card,.software-card,.webproject-card,.site-footer { background: #f6f9fc; }
  .main-nav-mobile { background: #f6f9fc; }
  .step.active { background: #173856; }
  .btn-primary { background: #edf5fc; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-header,.main-nav-mobile,.card,.step,.project-card,.software-card,.webproject-card,.site-footer { background: #f8fafc; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .step.active { background: #173856; }
  .btn,.jumpnav a,.tag { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .navy-photo-overlay { opacity: .1; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; }
  .btn,.card,.project-card,.webproject-card,.step { transition: none; }
  a.card:hover,.project-card:hover,.btn-primary:hover { transform: none; }
}
