@charset "UTF-8";

:root {
    --bg: #191b1d;
    --surface: #24272a;
    --ink: #f3f2ed;
    --muted: #aaadb0;
    --accent: #deded7;
    --line: #ffffff24;
    --body: "Pretendard", sans-serif;
    --display: "Barlow Condensed", sans-serif;
    --gutter: clamp(22px, 4.2vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; word-break: keep-all; }
body.light { --bg: #f5f4f0; --surface: #e9e9e4; --ink: #272c30; --muted: #646b70; --accent: #424c55; --line: #272c3029; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; }
img, video { display: block; max-width: 100%; }
figure, p, h1, h2, h3, ol { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.3; letter-spacing: -.045em; }
p { color: var(--muted); }
em { font-style: normal; color: var(--accent); }
svg { display: inline-block; vertical-align: middle; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(100% - var(--gutter) * 2, 1440px); margin-inline: auto; }
.arrow { flex: 0 0 23px; width: 23px; height: 23px; }
.eyebrow { font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: .12em; }
.accent { color: var(--accent); }
.skip { position: fixed; top: 12px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--bg); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 90px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0; font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.04em; }
.brand-monogram { font-family: var(--display); font-size: 52px; font-weight: 500; line-height: 1; letter-spacing: -.07em; }
.brand-monogram > span { color: var(--accent); }
.brand small { display: block; font-size: 9px; letter-spacing: .06em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: clamp(22px, 2.5vw, 46px); font-size: 14px; font-weight: 500; }
.nav > a { padding-block: 16px; }
.nav > a[aria-current] { color: var(--accent); }
.nav > a:not(.nav-contact):hover { color: var(--accent); }
.nav > .nav-secondary { margin-left: 10px; padding-left: 24px; border-left: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.nav > .nav-secondary[aria-current] { color: var(--ink); }
.nav-contact { display: inline-flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--accent); }
.nav-contact .arrow { width: 17px; height: 17px; flex-basis: 17px; }
.mobile-menu { display: none; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 28px; padding: 14px 22px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 500; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.button:hover { background: transparent; color: var(--ink); }
.line-link { display: inline-flex; align-items: center; gap: 16px; padding-block: 12px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line); }
.line-link:hover { border-color: var(--accent); color: var(--accent); }
.hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.section-pad { padding-block: 100px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.4; }
.section-head > p { flex-shrink: 0; font-size: 15px; line-height: 1.9; }
.section-head h2.display-heading { font-family: var(--display); font-size: clamp(52px, 5.5vw, 82px); letter-spacing: -.015em; line-height: 1; }
.display-heading > span { color: var(--accent); }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 25px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { border: 1px solid var(--line); background: transparent; padding: 8px 18px; min-height: 42px; border-radius: 30px; font-size: 14px; }
.filters button[aria-pressed=true] { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.filters button:hover:not([aria-pressed=true]) { border-color: var(--accent); color: var(--accent); }
.result-count { white-space: nowrap; color: var(--muted); font: 400 15px var(--display); letter-spacing: .08em; }

/* Studio: large frames and an editorial work archive, not another gateway. */
.portfolio-hero { padding-top: 42px; }
.portfolio-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 40px; margin-bottom: 34px; }
.portfolio-heading .eyebrow { margin-bottom: 16px; color: var(--muted); font-size: 10px; }
.portfolio-heading h1 { font: 500 clamp(34px, 3.8vw, 56px)/1.26 var(--body); letter-spacing: -.055em; }
.portfolio-lead { padding-bottom: 3px; }
.portfolio-lead > p { color: var(--ink); font-size: 15px; line-height: 1.7; letter-spacing: -.02em; margin-bottom: 6px; }
.portfolio-lead > span { color: var(--muted); font-size: 13px; line-height: 1.8; }
.portfolio-lead .line-link { display: table; margin-top: 10px; }
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.featured-film { display: block; min-width: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.featured-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #08090a; }
.featured-image > img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s ease; }
.featured-film:hover .featured-image > img { transform: scale(1.025); }
.featured-image .play-disc { position: absolute; right: 16px; bottom: 16px; }
.featured-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 17px; }
.featured-caption .eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .02em; }
.featured-caption h2 { margin-top: 6px; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.45; }
.featured-caption > .arrow { width: 18px; height: 18px; flex-basis: 18px; color: var(--muted); }
.play-disc { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border: 1px solid #ffffff90; border-radius: 50%; color: #fff; font-size: 22px; background: #16181133; backdrop-filter: blur(5px); }
.client-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 24px; padding-block: 28px; border-bottom: 1px solid var(--line); color: #c6c9cc; font-size: 14px; }
.client-strip .eyebrow { max-width: 115px; color: var(--muted); font-size: 10px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px 24px; }
.project { min-width: 0; }
.project-image { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #24272a; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .6s; }
.project-image:hover img { transform: scale(1.04); opacity: .8; }
.project-image .image-index { position: absolute; top: 12px; left: 14px; color: #fff; text-shadow: 0 1px 7px #000; font: 400 17px var(--display); }
.project-image .play-disc { position: absolute; bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 18px; }
.project-meta { margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.project-title { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-top: 8px; }
.project-title h3 { font-size: 20px; line-height: 1.5; }
.project-title > .arrow { width: 18px; height: 18px; flex-basis: 18px; margin-top: 5px; color: var(--accent); }
.collaborations { background: #e9e9e4; color: #272c30; --line: #272c3029; --muted: #646b70; }
.collab-table { border-top: 1px solid #272c30; }
.collab-row { display: grid; grid-template-columns: 1fr 2.5fr 130px; align-items: baseline; gap: 28px; padding: 23px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.collab-row strong { font-weight: 600; }
.collab-row span { color: #596168; }
.collab-row time { color: #646b70; text-align: right; font-size: 13px; }
.contact-section { padding-block: 100px 60px; }
.contact-section > .eyebrow { margin-bottom: 22px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: end; }
.contact-grid h2 { font-family: var(--body); font-size: clamp(30px, 3vw, 44px); line-height: 1.45; }
.contact-grid > div { min-width: 0; }
.contact-grid p { font-size: 14px; margin-bottom: 20px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 400 clamp(23px, 2.7vw, 40px) var(--display); border-bottom: 1px solid var(--line); padding-bottom: 14px; overflow-wrap: anywhere; }
.social-links { display: flex; gap: 24px; font-size: 13px; padding-top: 20px; }
.cross-route { margin-top: 76px; padding: 26px 0; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cross-route > span { color: var(--muted); font-size: 15px; }
.cross-route strong { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 500; }

/* Personal commissions: warmer, quieter typography around real sample images. */
.personal-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; padding-block: 58px 68px; }
.personal-copy .eyebrow { margin-bottom: 24px; }
.personal-copy h1 { font-family: var(--body); font-size: clamp(30px, 3vw, 44px); line-height: 1.4; font-weight: 500; letter-spacing: -.05em; }
.personal-copy > p:not(.eyebrow) { margin-top: 24px; font-size: 16px; line-height: 1.95; }
.personal-note { display: flex; gap: 0; margin-top: 58px; font-size: 12px; color: var(--muted); }
.personal-note span + span { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--line); }
.personal-cover { position: relative; }
.personal-cover img { width: 100%; height: clamp(350px, 33vw, 480px); object-fit: cover; }
.personal-cover figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 15px; font-size: 11px; color: var(--muted); }
.personal-cover figcaption span { font: 400 13px var(--display); letter-spacing: .04em; }
.section-nav { display: flex; gap: 40px; align-items: center; border-block: 1px solid var(--line); padding-block: 22px; font-size: 14px; }
.section-nav a:last-child { margin-left: auto; color: var(--muted); }
.section-nav a:hover { color: var(--accent); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 52px 28px; }
.service-card > .service-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.service-card > .service-photo img { height: 100%; width: 100%; object-fit: cover; transition: transform .6s; }
.service-card > .service-photo[href^="event-memorial/"] img { object-position: center 20%; }
.service-card > .service-photo[href^="video/"] img { object-position: center 25%; }
.service-card > .service-photo:hover img { transform: scale(1.04); }
.service-en { position: absolute; bottom: 16px; left: 18px; padding: 5px 8px; color: #fff; background: #182015b3; font: 400 14px var(--display); letter-spacing: .05em; }
.service-card-title { display: flex; justify-content: space-between; align-items: center; margin-top: 21px; gap: 18px; }
.service-card-title h3 { font-size: 24px; }
.service-card > p { margin-top: 12px; font-size: 14px; }
.service-more { display: inline-block; margin-top: 14px; padding-block: 8px; font-size: 13px; border-bottom: 1px solid var(--line); }
.process-section { background: #e9e9e4; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
.steps li { border-top: 1px solid #8a9297; padding-top: 22px; }
.steps li > span { font: 400 50px/1 var(--display); color: #68737b; }
.steps h3 { margin: 30px 0 12px; font-size: 24px; }
.steps p { max-width: 300px; font-size: 15px; line-height: 1.85; }
.review-teaser { padding-block: 100px; position: relative; }
.review-teaser h2 { margin-top: 20px; font-family: var(--body); font-size: clamp(30px,3vw,42px); line-height: 1.45; font-weight: 500; }
.review-teaser > p:not(.eyebrow) { margin-top: 24px; font-size: 15px; line-height: 1.9; }
.review-teaser > .line-link { position: absolute; bottom: 110px; right: 0; }
.consult-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 50px 54px; margin-bottom: 65px; background: #272c30; color: #f5f4f0; }
.consult-box .eyebrow { color: #c2c8cb; margin-bottom: 14px; }
.consult-box h2 { font-size: clamp(25px,2.5vw,36px); }
.consult-box p:not(.eyebrow) { color: #c2c8cb; margin-top: 18px; font-size: 14px; }
.consult-box .button { color: #272c30; background: #f1f0eb; border-color: #f1f0eb; flex-shrink: 0; }
.consult-box .button:hover { background: transparent; color: #f1f0eb; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 42px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.detail-hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(30px,6vw,100px); padding-block: 40px 55px; }
.detail-hero .eyebrow { margin-bottom: 18px; }
.detail-hero h1 { font-family: var(--body); font-size: clamp(30px,2.8vw,40px); font-weight: 500; line-height: 1.4; }
.detail-intro { margin-top: 22px; max-width: 560px; font-size: 16px; line-height: 1.9; }
.detail-hero figure { position: relative; padding: 12px; border: 1px solid var(--line); }
.detail-hero figure > img { width: 100%; height: 365px; object-fit: cover; }
.service-event-memorial .detail-hero figure > img { object-position: center 20%; }
.service-video .detail-hero figure > img { object-position: center 25%; }
.detail-hero figcaption { font: 400 14px var(--display); letter-spacing: .06em; color: var(--muted); padding-top: 12px; }
.service-tabs { display: flex; border-block: 1px solid var(--line); overflow-x: auto; gap: 36px; scrollbar-width: thin; }
.service-tabs a { flex-shrink: 0; padding-block: 19px; border-bottom: 2px solid transparent; font-size: 14px; }
.service-tabs a[aria-current] { border-bottom-color: var(--accent); color: var(--accent); font-weight: 600; }
.service-tabs a:hover { color: var(--accent); }
.detail-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); align-items: start; gap: clamp(30px,6vw,100px); padding-block: 65px 85px; }
.detail-sidebar { position: sticky; top: 125px; }
.detail-sidebar h2 { font-size: 28px; margin: 18px 0 13px; }
.detail-sidebar > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; }
.detail-sidebar .button { margin-top: 28px; width: 100%; font-size: 14px; }
.detail-sidebar .line-link { margin-top: 12px; }
.detail-content { min-width: 0; }
.detail-content .section + .section { margin-top: 60px; padding-top: 45px; border-top: 1px solid var(--line); }
.sec-label { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 12px; }
.sec-heading { font-size: 29px; font-weight: 500; line-height: 1.45; margin-bottom: 28px; }
.portfolio-gallery { display: grid; gap: 24px; }
.ba-pair, .ba-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.ba-pair:has(> :nth-child(3)) { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ba-img-wrapper { display: block; min-width: 0; position: relative; overflow: hidden; background: #e2ded2; border: 1px solid var(--line); }
.ba-img-wrapper > img, .ba-img-wrapper > video { width: 100%; height: 360px; object-fit: contain; background: #e2ded2; }
a.ba-img-wrapper:hover { border-color: var(--accent); }
.ba-label { display: inline-block; position: absolute; left: 10px; top: 10px; padding: 5px 10px; background: #263020e6; color: #fff; font-size: 11px; letter-spacing: .02em; pointer-events: none; }
.ba-pair > .ba-row { grid-column: 1 / -1; }
.ba-row + .ba-img-wrapper { grid-column: 1 / -1; }
.ba-pair > .ba-row .ba-img-wrapper img { height: 260px; }
.detail-content video { max-height: 480px; }
.video-container { position: relative; aspect-ratio: 16 / 9; background: #23271e; }
.video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.detail-content iframe { max-width: 100%; }
.work-list, .process-list, .includes-list { display: grid; }
.work-item { display: flex; align-items: baseline; gap: 17px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.work-dot { width: 5px; height: 5px; flex: 0 0 5px; background: var(--accent); border-radius: 50%; }
.work-text { color: var(--muted); }
.work-text strong { color: var(--ink); font-weight: 600; }
.notice-list { margin: 0; padding-left: 20px; }
.notice-list li { padding: 8px 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.notice-list li::marker { color: var(--accent); }
.notice-list strong { color: var(--ink); }
.spec-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-item { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-label { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.spec-val { font-size: 17px; font-weight: 500; line-height: 1.8; }
.case-grid, .include-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.case-card, .include-item { padding: 26px; border: 1px solid var(--line); }
.case-num, .i-label { color: var(--accent); font: 400 17px var(--display); letter-spacing: .05em; }
.case-title, .i-name { font-size: 19px; font-weight: 500; margin-top: 14px; margin-bottom: 8px; }
.case-desc, .i-desc { font-size: 14px; color: var(--muted); line-height: 1.85; }
.inc-row { display: flex; align-items: baseline; gap: 24px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.inc-num { font: 400 24px var(--display); color: var(--accent); }
.inc-body { min-width: 0; }
.inc-name { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.inc-desc { color: var(--muted); font-size: 14px; line-height: 1.9; }
.inc-tag { display: inline-block; font-size: 12px; background: var(--surface); padding: 4px 9px; margin-top: 10px; }
.process-item { display: flex; align-items: baseline; gap: 22px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.process-step { font: 400 24px var(--display); color: var(--accent); }
.process-text { color: var(--muted); font-size: 15px; line-height: 1.9; }
.process-text strong { color: var(--ink); font-weight: 600; }
.process-text p { margin-top: 5px; font-size: 14px; }
.story-section { margin-top: 60px; }
.story-card { background: var(--surface); padding: 36px; }
.story-heading { font-family: var(--body); font-size: 27px; line-height: 1.5; margin-bottom: 24px; }
.story-text { font-size: 15px; line-height: 2.1; }
.features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat-item { padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat-icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 16px; }
.feat-title { font-size: 19px; margin-bottom: 10px; }
.feat-desc { font-size: 14px; line-height: 1.8; }
.next-service { display: flex; align-items: center; gap: 25px; border-top: 1px solid var(--line); padding-block: 30px; margin-bottom: 40px; }
.next-service > span { font: 400 15px var(--display); color: var(--muted); letter-spacing: .06em; }
.next-service > strong { margin-left: auto; font-size: 26px; font-weight: 400; }

/* Review originals remain legible and open in an accessible native dialog. */
.reviews-hero { padding-block: 36px 62px; }
.reviews-hero .eyebrow { margin-top: 20px; margin-bottom: 22px; }
.reviews-hero h1 { font-family: var(--body); font-weight: 500; font-size: clamp(30px,3vw,44px); line-height: 1.4; }
.reviews-hero > p:last-child { margin-top: 25px; }
.review-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.review-card { padding: 30px; background: #e9e9e4; border-top: 2px solid #69757e; }
.quote-icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 28px; }
.review-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; padding-bottom: 23px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.reviewer-info { display: grid; gap: 6px; }
.review-service { font-size: 12px; color: var(--accent); }
.reviewer-name { font-weight: 600; font-size: 15px; }
.review-date { font-size: 12px; color: var(--muted); }
.review-body { color: var(--muted); font-size: 15px; line-height: 2; }
.review-body strong { color: var(--ink); font-weight: 500; }
.review-masonry { columns: 4; column-gap: 20px; }
.review-image { display: block; break-inside: avoid; margin-bottom: 20px; border: 1px solid var(--line); background: #fff; }
.review-image img { width: 100%; height: auto; }
.review-image:hover { outline: 2px solid var(--accent); outline-offset: 3px; }

/* One clear entrance to the studio; personal commissions remain a secondary route. */
.page-gateway { background: radial-gradient(ellipse at 90% 0, #5b646b24, transparent 60%), var(--bg); }
.gateway-header { position: static; border: 0; background: transparent; }
.gateway-contact { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; color: var(--muted); font-size: 12px; }
.gateway-contact .arrow { width: 16px; height: 16px; flex-basis: 16px; }
.gateway { display: flex; flex-direction: column; justify-content: center; gap: 40px; min-height: calc(100svh - 164px); padding-block: 42px; }
.gateway-intro { max-width: 800px; }
.gateway-intro .eyebrow { color: var(--muted); font-size: 11px; letter-spacing: .16em; }
.gateway-intro h1 { margin: 20px 0 18px; font-family: var(--body); font-size: clamp(42px, 5.5vw, 78px); font-weight: 500; line-height: 1.12; letter-spacing: -.06em; }
.gateway-intro > p:not(.eyebrow) { font-size: 15px; }
.gateway-enter { margin-top: 30px; min-width: 252px; justify-content: space-between; }
.gateway-personal { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: min(100%, 610px); padding-top: 20px; border-top: 1px solid var(--line); }
.gateway-personal > p { font-size: 12px; }
.gateway-personal > a { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; min-height: 44px; font-size: 13px; }
.gateway-personal .arrow { width: 16px; height: 16px; flex-basis: 16px; }
.gateway-personal > a:hover, .gateway-contact:hover { color: var(--ink); }
.gateway-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; min-height: 74px; padding-block: 15px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.gateway-footer > span { padding-top: 13px; }
.gateway-footer details { max-width: 600px; }
.gateway-footer summary { min-height: 44px; display: flex; align-items: center; justify-content: flex-end; font-size: 11px; }
.gateway-footer details p { margin-top: 12px; font-size: 10px; line-height: 1.8; letter-spacing: 0; }

.site-footer { padding-block: 35px 22px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.footer-top > div { display: flex; flex-wrap: wrap; gap: 30px; font-size: 13px; }
.footer-top .brand { gap: 12px; font-size: 16px; }
.footer-top .brand-monogram { font-size: 36px; }
.site-footer p { font-size: 11px; line-height: 1.9; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .04em; color: var(--muted); }
.footer-bottom > a { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }

/* Award badge: a dark plaque with a gold hairline that follows the site's editorial tone. */
.award-float, .award-restore { --award-gold: #d8bb78; --award-gold-line: #d8bb7866; --award-surface: #17191bd9; position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom) + var(--award-lift, 0px)); z-index: 20; color: var(--ink); background: var(--award-surface); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid var(--award-gold-line); box-shadow: inset 0 1px 0 #ffffff14, 0 18px 40px -14px #000d, 0 0 0 1px #0000004d; }
body.light .award-float, body.light .award-restore { --award-gold: #8a6a2a; --award-gold-line: #8a6a2a66; --award-surface: #fbfaf7e6; box-shadow: 0 18px 40px -16px #0006; }
.award-float { isolation: isolate; display: grid; grid-template-columns: auto max-content; align-items: center; gap: 16px; width: max-content; max-width: calc(100% - 40px); min-height: 92px; padding: 12px 58px 12px 16px; border-radius: 18px; }
/* Thin gold light along the top edge, fading out at both ends. */
.award-float::before { content: ""; position: absolute; inset: -1px 18px auto; height: 1px; background: linear-gradient(90deg, transparent, var(--award-gold) 30%, var(--award-gold) 70%, transparent); pointer-events: none; }
.award-medal { position: relative; z-index: 1; display: grid; place-items: center; filter: drop-shadow(0 6px 10px #0009); }
.award-medal::before { content: ""; position: absolute; z-index: -1; width: 104px; height: 104px; border-radius: 50%; background: radial-gradient(circle, #d8bb7833, transparent 65%); pointer-events: none; }
.award-medal > img { width: 68px; height: auto; }
.award-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.award-year { color: var(--award-gold); font: 600 15px/1.2 var(--display); font-variant-numeric: lining-nums tabular-nums; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.award-copy > strong { display: block; color: var(--ink); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; white-space: nowrap; }
.award-close { isolation: isolate; position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); transform: translateY(-50%); transition: color .2s; }
.award-close::before { content: ""; position: absolute; z-index: -1; inset: 8px; border: 1px solid var(--line); border-radius: 50%; background: transparent; transition: border-color .2s, background .2s; }
.award-close > svg { width: 12px; height: 12px; }
.award-close:hover { color: var(--ink); }
.award-close:hover::before { border-color: var(--award-gold-line); background: #ffffff0a; }
.award-close:focus-visible, .award-restore:focus-visible { outline-color: var(--award-gold); outline-offset: -4px; }
.award-restore { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 9px 20px 9px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .01em; transition: border-color .2s; }
.award-restore::before { content: ""; flex-shrink: 0; width: 28px; height: 31px; background: url("assets/award-medallion.svg") center / contain no-repeat; }
.award-restore:hover { border-color: var(--award-gold); }
.modal-open { overflow: hidden; }
.media-dialog { width: min(1100px, calc(100% - 36px)); max-height: calc(100dvh - 36px); padding: 22px; border: 1px solid #ffffff40; background: #161914; color: #f4f0e6; }
.media-dialog::backdrop { background: #070907e8; backdrop-filter: blur(10px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 15px; }
.dialog-top h2 { font-size: 18px; line-height: 1.5; }
.dialog-close { flex-shrink: 0; border: 1px solid #ffffff40; background: transparent; min-height: 44px; padding: 8px 16px; font-size: 14px; }
.media-stage { display: grid; place-items: center; background: #0a0d08; }
.media-stage img { max-height: calc(100dvh - 200px); width: auto; object-fit: contain; }
.media-stage iframe { width: 100%; aspect-ratio: 16 / 9; max-height: calc(100dvh - 210px); border: 0; }
.media-source { display: inline-block; margin-top: 15px; font-size: 12px; color: #c5cbb9; text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 1600px) {
    .portfolio-hero { padding-top: 52px; }
    .portfolio-heading { margin-bottom: 38px; }
}

@media (max-width: 1100px) {
    .header-inner { gap: 20px; }
    .nav { gap: 20px; font-size: 13px; }
    .brand { gap: 11px; }
    .brand small { font-size: 8px; }
    .portfolio-heading { grid-template-columns: 1.3fr 1fr; gap: 30px; }
    .portfolio-heading h1 { font-size: 4.1vw; }
    .project-grid { gap: 40px 20px; }
    .project-title h3 { font-size: 18px; }
    .personal-hero { gap: 35px; }
    .personal-copy h1 { font-size: 3.1vw; }
    .personal-copy > p:not(.eyebrow) br { display: none; }
    .hero-buttons { gap: 14px; }
    .hero-buttons .button { padding-inline: 16px; gap: 15px; }
    .personal-note { margin-top: 34px; }
    .personal-cover figcaption { display: grid; }
    .detail-layout { grid-template-columns: 200px minmax(0,1fr); gap: 35px; }
    .detail-sidebar .button { gap: 10px; padding-inline: 12px; }
    .detail-hero { gap: 40px; }
    .detail-hero figure > img { height: 350px; }
    .ba-img-wrapper > img, .ba-img-wrapper > video { height: 300px; }
    .consult-box { padding: 38px; gap: 30px; }
    .consult-box .button { gap: 15px; padding-inline: 16px; }
    .service-tabs { gap: 26px; }
    .review-list { gap: 18px; }
    .review-card { padding: 22px; }
    .review-masonry { columns: 3; }
}

@media (max-width: 800px) {
    :root { --gutter: 26px; }
    html { scroll-padding-top: 88px; }
    .header-inner { min-height: 74px; }
    .brand { font-size: 15px; }
    .brand-monogram { font-size: 43px; }
    .brand small { font-size: 8px; }
    .nav { display: none; }
    .mobile-menu { display: block; }
    .mobile-menu > summary { display: flex; gap: 13px; align-items: center; padding: 12px 0 12px 12px; list-style: none; font-size: 12px; letter-spacing: .05em; }
    .mobile-menu > summary::-webkit-details-marker { display: none; }
    .mobile-menu > summary > span { font-size: 20px; }
    .mobile-menu > nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; background: var(--bg); padding: 12px var(--gutter) 22px; border-bottom: 1px solid var(--line); box-shadow: 0 15px 20px #0002; }
    .mobile-menu nav a { padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; }
    .mobile-menu nav a[aria-current] { color: var(--accent); }
    .mobile-menu nav .nav-secondary { margin-top: 8px; color: var(--muted); font-size: 13px; }
    .mobile-menu nav .nav-secondary[aria-current] { color: var(--ink); }
    .section-pad { padding-block: 68px; }
    .section-head { margin-bottom: 30px; gap: 25px; }
    .section-head > p { font-size: 13px; }
    .section-head h2 { font-size: 32px; }
    .portfolio-hero { padding-top: 32px; }
    .portfolio-heading { gap: 20px; align-items: start; grid-template-columns: 1fr; }
    .portfolio-heading h1 { font-size: 42px; }
    .portfolio-lead > p { font-size: 14px; margin-bottom: 4px; }
    .portfolio-lead > span { font-size: 12px; }
    .portfolio-lead .line-link { margin-top: 8px; width: fit-content; }
    .featured-grid { gap: 18px; }
    .featured-caption { gap: 12px; padding-top: 14px; }
    .featured-caption .eyebrow { font-size: 10px; }
    .featured-caption h2 { font-size: 18px; }
    .featured-image .play-disc { width: 38px; height: 38px; flex-basis: 38px; font-size: 18px; }
    .client-strip { justify-content: start; gap: 13px 28px; font-size: 13px; }
    .client-strip .eyebrow { max-width: unset; flex-basis: 100%; }
    .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .collab-row { grid-template-columns: 1fr 2fr; gap: 8px 25px; font-size: 14px; }
    .collab-row time { grid-column: 2; text-align: left; }
    .contact-section { padding-block: 65px 45px; }
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .contact-grid h2 { font-size: 38px; }
    .contact-email { font-size: 32px; }
    .cross-route { margin-top: 45px; }
    .cross-route > span { max-width: 240px; font-size: 13px; }
    .cross-route strong { gap: 12px; flex-shrink: 0; font-size: 13px; }
    .personal-hero { padding-block: 38px 45px; grid-template-columns: 1fr 1fr; gap: 25px; }
    .personal-copy h1 { font-size: 30px; }
    .personal-copy > p:not(.eyebrow) { font-size: 14px; margin-top: 18px; }
    .personal-cover img { height: 370px; }
    .personal-note { display: none; }
    .hero-buttons { margin-top: 24px; }
    .button { min-height: 50px; font-size: 14px; }
    .section-nav { gap: 24px; font-size: 12px; }
    .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px 24px; }
    .service-card-title h3 { font-size: 22px; }
    .steps { gap: 22px; }
    .steps h3 { font-size: 20px; }
    .steps p { font-size: 14px; }
    .review-teaser { padding-block: 68px; }
    .review-teaser > .line-link { bottom: 72px; }
    .consult-box { flex-direction: column; align-items: flex-start; padding: 34px; margin-bottom: 45px; }
    .detail-hero { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 25px; }
    .detail-hero h1 { font-size: 29px; }
    .detail-intro { font-size: 14px; }
    .detail-intro br { display: none; }
    .detail-hero figure > img { height: 335px; }
    .breadcrumb { margin-bottom: 26px; }
    .detail-layout { grid-template-columns: minmax(0,1fr); padding-block: 40px 60px; gap: 35px; }
    .detail-sidebar { position: static; display: none; }
    .detail-content .section + .section { margin-top: 42px; padding-top: 35px; }
    .ba-img-wrapper > img, .ba-img-wrapper > video { height: 360px; }
    .service-tabs { gap: 25px; }
    .service-tabs a { font-size: 13px; }
    .review-list { grid-template-columns: 1fr; }
    .review-card { padding: 30px; }
    .quote-icon { margin-bottom: 18px; }
    .reviewer-info { display: flex; gap: 15px; align-items: center; }
    .review-header { justify-content: start; gap: 25px; margin-bottom: 18px; padding-bottom: 18px; }
    .review-masonry { columns: 2; gap: 18px; }
    .gateway { min-height: calc(100svh - 148px); }
    .footer-top > div { gap: 20px; }
}

@media (max-width: 580px) {
    :root { --gutter: 22px; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 15px; }
    .section-head > p br { display: none; }
    .section-head h2 { font-size: 32px; }
    .section-head h2.display-heading { font-size: 52px; }
    .filter-bar { flex-wrap: wrap; gap: 15px; margin-bottom: 25px; padding-bottom: 20px; }
    .filters { gap: 7px; }
    .filters button { padding: 8px 13px; font-size: 12px; min-height: 40px; }
    .result-count { font-size: 13px; }
    .portfolio-heading { margin-bottom: 24px; gap: 25px; }
    .portfolio-heading h1 { font-size: clamp(29px, 8.1vw, 40px); }
    .portfolio-heading .eyebrow { font-size: 9px; margin-bottom: 14px; }
    .featured-grid { grid-template-columns: 1fr; gap: 28px; }
    .featured-caption h2 { font-size: 18px; }
    .client-strip { gap: 12px 19px; font-size: 12px; padding-block: 23px; }
    .project-grid { grid-template-columns: 1fr; gap: 34px; }
    .project-image { aspect-ratio: 16 / 9; }
    .project-title h3 { font-size: 20px; }
    .project-meta { margin-top: 14px; }
    .collab-row { grid-template-columns: 1fr; padding-block: 22px; gap: 7px; }
    .collab-row time { grid-column: auto; font-size: 12px; }
    .contact-grid h2 { font-size: 33px; }
    .contact-email { font-size: clamp(22px,6.9vw,35px); gap: 10px; }
    .contact-email > .arrow { width: 19px; height: 19px; flex-basis: 19px; }
    .cross-route { flex-direction: column; gap: 15px; }
    .cross-route > span { max-width: none; }
    .cross-route strong { justify-content: space-between; }
    .personal-hero { grid-template-columns: 1fr; padding-top: 32px; gap: 35px; }
    .personal-copy .eyebrow { margin-bottom: 20px; font-size: 10px; }
    .personal-copy h1 { font-size: clamp(27px,7.1vw,36px); }
    .personal-copy > p:not(.eyebrow) { font-size: 14px; }
    .personal-cover img { height: 355px; }
    .personal-cover figcaption { display: flex; flex-wrap: wrap; font-size: 10px; }
    .hero-buttons { gap: 12px 20px; }
    .hero-buttons .button { font-size: 13px; gap: 15px; padding: 12px 16px; }
    .hero-buttons .line-link { font-size: 13px; }
    .section-nav { flex-wrap: wrap; gap: 15px 25px; padding-block: 18px; }
    .section-nav a:last-child { margin-left: 0; width: 100%; font-size: 11px; }
    .service-grid { gap: 38px; grid-template-columns: 1fr; }
    .service-card-title { margin-top: 18px; }
    .service-card-title h3 { font-size: 24px; }
    .service-card > p { font-size: 14px; margin-top: 9px; }
    .service-more { margin-top: 8px; }
    .steps { grid-template-columns: 1fr; gap: 30px; }
    .steps li { display: grid; grid-template-columns: 44px 1fr; gap: 8px 24px; }
    .steps li > span { grid-row: span 2; font-size: 42px; }
    .steps h3 { margin: 0; font-size: 22px; }
    .steps p { max-width: none; }
    .review-teaser h2 { font-size: 32px; }
    .review-teaser > .line-link { position: static; margin-top: 22px; }
    .consult-box { padding: 30px 25px; gap: 25px; }
    .consult-box h2 { font-size: 27px; line-height: 1.55; }
    .consult-box .eyebrow { font-size: 10px; }
    .consult-box p:not(.eyebrow) { font-size: 13px; }
    .consult-box .button { width: 100%; font-size: 13px; }
    .detail-hero { grid-template-columns: 1fr; padding-block: 22px 34px; gap: 30px; }
    .detail-hero h1 { font-size: 32px; }
    .detail-hero .eyebrow { font-size: 11px; }
    .detail-hero figure > img { height: 320px; }
    .detail-hero figure { padding: 10px; }
    .detail-intro { font-size: 14px; margin-top: 20px; }
    .detail-layout { padding-top: 35px; }
    .sec-heading { font-size: 26px; margin-bottom: 24px; }
    .sec-label { font-size: 11px; }
    .ba-pair, .ba-row { gap: 8px; }
    .ba-pair:has(> :nth-child(3)) { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ba-pair:has(> :nth-child(3)) > :last-child { grid-column: 1 / -1; }
    .ba-img-wrapper > img, .ba-img-wrapper > video { height: 250px; }
    .ba-pair > .ba-row .ba-img-wrapper img { height: 220px; }
    .ba-label { padding: 4px 7px; top: 7px; left: 7px; font-size: 10px; }
    .spec-grid { grid-template-columns: 1fr; }
    .spec-item { padding: 22px; }
    .spec-val { font-size: 16px; }
    .case-grid, .include-grid { grid-template-columns: 1fr; gap: 14px; }
    .case-card, .include-item { padding: 24px; }
    .work-item, .notice-list li, .process-text { font-size: 14px; }
    .inc-row { gap: 16px; }
    .story-card { padding: 25px; }
    .story-heading { font-size: 24px; }
    .story-text { font-size: 14px; }
    .features { grid-template-columns: 1fr; }
    .next-service { gap: 16px; margin-bottom: 25px; }
    .next-service > span { font-size: 12px; }
    .next-service > strong { font-size: 23px; }
    .reviews-hero { padding-block: 24px 40px; }
    .reviews-hero h1 { font-size: 31px; }
    .reviews-hero > p:last-child { font-size: 14px; }
    .review-card { padding: 25px; }
    .review-header { gap: 10px; }
    .review-body { font-size: 14px; }
    .reviewer-info { gap: 12px; }
    .review-masonry { columns: 2; gap: 12px; }
    .review-image { margin-bottom: 12px; }
    .gateway { gap: 30px; padding-block: 32px; }
    .gateway-intro h1 { font-size: clamp(36px, 10.2vw, 52px); }
    .gateway-intro > p:not(.eyebrow) { font-size: 13px; }
    .gateway-enter { min-width: 240px; margin-top: 26px; }
    .gateway-personal { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 18px; }
    .gateway-personal > p { font-size: 11px; }
    .gateway-personal > a { font-size: 12px; }
    .gateway-footer { gap: 12px; font-size: 8px; }
    .gateway-footer details { max-width: 55%; }
    .gateway-contact { gap: 8px; font-size: 11px; }
    .footer-top { flex-direction: column; align-items: start; gap: 22px; }
    .footer-top > div { width: 100%; justify-content: space-between; gap: 10px; font-size: 12px; }
    .site-footer p { font-size: 10px; }
    .footer-bottom { flex-wrap: wrap; gap: 12px; font-size: 9px; }
    .award-float, .award-restore { right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom) + var(--award-lift, 0px)); }
    .award-float { max-width: calc(100% - 24px); min-height: 64px; gap: 11px; padding: 8px 46px 8px 11px; border-radius: 14px; }
    .award-float::before { inset: -1px 14px auto; }
    .award-medal::before { width: 64px; height: 64px; }
    .award-medal > img { width: 42px; }
    .award-copy { gap: 3px; }
    .award-year { font-size: 11px; letter-spacing: .16em; }
    .award-copy > strong { font-size: 14px; }
    .award-close { right: 1px; }
    .award-restore { max-width: calc(100% - 24px); min-height: 42px; gap: 8px; padding: 6px 14px 6px 8px; font-size: 11px; }
    .award-restore::before { width: 22px; height: 25px; }
    .media-dialog { padding: 15px; }
    .dialog-top h2 { font-size: 15px; }
    .dialog-close { font-size: 12px; padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
