@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

.project-context { padding-block:48px 56px; border-top:1px solid var(--line); max-width:1120px; }
.project-context h2,.related-heading h2 { font-size:clamp(26px,3vw,38px); line-height:1.3; letter-spacing:-.04em; }
.project-contribution { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:24px 35px; margin:0; padding:0; }
.project-contribution > div { min-width:0; }
.project-contribution dt { font-size:13px; line-height:1.5; color:var(--muted); margin-bottom:8px; }
.project-contribution dd { font-size:16px; font-weight:500; line-height:1.6; margin:0; overflow-wrap:anywhere; white-space:pre-wrap; }
.detail-metadata { margin-top:36px; padding:28px 0; border-block:1px solid var(--line); }
.detail-metadata .detail-facts { margin:28px 0 0; padding:24px 0 0; border:0; border-top:1px solid var(--line); }
.detail-metadata .detail-facts small { font-size:13px; line-height:1.5; letter-spacing:0; margin-bottom:8px; }
.detail-metadata .detail-facts strong { font-size:16px; line-height:1.6; }
.freeform-project-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:32px; align-items:center; padding-block:32px; }
.freeform-intro-title span { font-size:13px; color:var(--muted); }
.freeform-intro-title h2 { font-size:clamp(24px,3vw,36px); line-height:1.35; letter-spacing:-.035em; margin:10px 0 0; overflow-wrap:anywhere; }
.freeform-project-intro .project-contribution { margin:0; }
.project-context .case-stories { margin-top:28px; }
@media(max-width:900px) { .freeform-project-intro { grid-template-columns:minmax(0,1fr); gap:20px; } }
@media(max-width:600px) {
  .project-contribution { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .project-contribution .contribution-project_role { grid-column:1/-1; }
  .detail-metadata { margin-top:28px; padding:24px 0; }
  .detail-metadata .detail-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .detail-metadata .detail-stack,.detail-metadata .detail-links { grid-column:1/-1; }
  .project-contribution dd { font-size:16px; }.freeform-project-intro { padding-block:24px; }
}
.case-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:24px; margin:28px 0 36px; padding:24px; background:rgba(255,255,255,.45); border:1px solid var(--line); border-radius:8px; }
.case-facts dt { color:var(--muted); font-size:14px; margin-bottom:10px; }
.case-facts dd { margin:0; line-height:1.7; overflow-wrap:anywhere; }
.case-stories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; }
.case-stories h3 { font-size:22px; margin:0 0 16px; }
.case-stories p { margin:0; }
.case-stories > section:only-child { grid-column:1/-1; max-width:800px; }
.case-stories p { white-space:pre-wrap; overflow-wrap:anywhere; color:var(--muted); line-height:1.85; }
.related-projects { padding-block:48px 72px; border-top:1px solid var(--line); max-width:1120px; }
.related-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-bottom:24px; }
.related-heading a { border-bottom:1px solid; padding-bottom:4px; }
.related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.related-grid article { min-width:0; }
.related-cover { position:relative; display:grid; place-items:center; aspect-ratio:4/3; overflow:hidden; background:#283c4d; color:#fff; font-size:80px; }
.related-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#e9e7e0; }
.related-grid h3 { font-size:23px; line-height:1.4; margin:18px 0 10px; min-height:2.8em; }
.related-grid a:hover h3 { text-decoration:underline; text-underline-offset:4px; }
.related-grid h3,.related-grid p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; }
.related-grid p { color:var(--muted); line-height:1.7; margin:0; }
@media(max-width:600px) {
  .case-facts,.case-stories,.related-grid { grid-template-columns:1fr; gap:24px; }
  .case-facts { padding:20px; }.case-stories { gap:32px; }
  .project-context,.related-projects { padding-block:32px; }
  .related-heading { gap:12px; margin-bottom:24px; }.related-heading h2 { margin:0; }
  .related-grid article { position:relative; padding:0 0 20px 124px; border-bottom:1px solid var(--line); min-height:112px; }
  .related-cover { position:absolute; left:0; top:0; width:104px; height:88px; aspect-ratio:auto; font-size:40px; }
  .related-grid h3 { margin:0 0 8px; min-height:0; font-size:19px; }.related-grid p { font-size:14px; }
}

:root {
  --paper: #f2f0e9;
  --ink: #171714;
  --muted: #62615c;
  --acid: #d9ff45;
  --orange: #ff5c35;
  --line: rgba(23, 23, 20, 0.2);
  --shell: min(1440px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', 'Noto Sans KR', sans-serif; font-size: 16px; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid #315cff; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 12px; top: -50px; z-index: 100; background: var(--ink); color: white; padding: 12px 18px; }
.skip-link:focus { top: 12px; }
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header { width: var(--shell); height: 96px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { font-weight: 800; font-size: 25px; letter-spacing: -2px; }
.brand span { color: var(--orange); font-size: 17px; vertical-align: 2px; margin-inline: 1px; }
.site-header nav { display: flex; gap: 40px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.site-header nav a, .back-link { position: relative; }
.site-header nav a::after, .back-link::after { content: ''; position: absolute; height: 1px; background: currentColor; left: 0; right: 100%; bottom: -5px; transition: right .25s; }
.site-header nav a:hover::after, .back-link:hover::after { right: 0; }
.header-status { display: flex; align-items: center; gap: 9px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.header-status i { width: 8px; height: 8px; border-radius: 99px; background: #51ad3b; box-shadow: 0 0 0 4px rgba(81,173,59,.12); }
.mobile-nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.mobile-nav-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .2s; }
.site-header.nav-open .mobile-nav-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.site-header.nav-open .mobile-nav-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

.eyebrow { display: flex; gap: 14px; align-items: center; margin: 0; font-size: 13px; letter-spacing: .11em; text-transform: uppercase; font-weight: 600; }
.eyebrow span { color: var(--muted); }
.eyebrow b { font: inherit; color: inherit; }
.eyebrow.light { color: #fff; opacity: .65; }
.hero { min-height: calc(100vh - 96px); padding: 70px 0 64px; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero h1 { font-family: 'Noto Sans KR', sans-serif; font-size: clamp(58px, 7.1vw, 116px); line-height: 1.18; letter-spacing: -.055em; margin: 48px 0 55px; font-weight: 700; max-width: 1100px; position: relative; z-index: 1; word-break: keep-all; overflow-wrap: break-word; }
.hero h1 em, .process h2 em, .about h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--orange); letter-spacing: -.04em; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 26px; position: relative; z-index: 1; }
.hero-work-link { display: inline-flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 500; }
.hero-work-link .circle-link { flex-shrink: 0; }
.hero-work-link:hover .circle-link { background: var(--ink); color: var(--paper); transform: rotate(-20deg); }
.hero-foot p { max-width: 420px; margin: 0; font-size: 17px; line-height: 1.7; color: #52514c; word-break: keep-all; }
.circle-link { width: 80px; height: 80px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; transition: .25s; }
.circle-link svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.circle-link:hover { background: var(--ink); color: var(--paper); transform: rotate(-20deg); }
.hero-orbit { position: absolute; right: 7%; top: 20%; width: 260px; height: 260px; border: 1px solid var(--line); border-radius: 50%; opacity: .45; animation: spin 18s linear infinite; }
.hero-orbit::before, .hero-orbit::after { content: ''; position: absolute; inset: 18%; border: 1px solid var(--line); border-radius: 50%; transform: rotate(58deg) scaleX(1.7); }
.hero-orbit::after { transform: rotate(-58deg) scaleX(1.7); }
.hero-orbit span { position: absolute; font-size: 10px; letter-spacing: .15em; }
.hero-orbit span:nth-child(1) { left: 42%; top: -6px; }.hero-orbit span:nth-child(2) { right: -20px; bottom: 25%; }.hero-orbit span:nth-child(3) { left: -12px; bottom: 15%; }
@keyframes spin { to { transform: rotate(360deg); } }

.marquee { overflow: hidden; background: var(--ink); color: var(--paper); padding: 18px 0; font-size: 14px; letter-spacing: .15em; white-space: nowrap; }
.marquee div { width: max-content; animation: marquee 24s linear infinite; }
.marquee b { color: var(--acid); margin: 0 25px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.work { padding: 96px 0 110px; }
.section-heading { display: grid; grid-template-columns: 1fr 1.35fr .65fr; gap: 40px; align-items: end; margin-bottom: 85px; }
.section-heading h2 { margin: 0; font-size: clamp(62px, 7vw, 110px); line-height: .8; letter-spacing: -.07em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.75; font-size: 16px; }
.work .section-heading { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 36px; }
.work .section-heading h2 { grid-column: 1; text-align: center; font-size: clamp(40px, 5vw, 72px); line-height: 1.2; word-break: keep-all; }
.work .section-heading > p:last-child { grid-column: 1; justify-self: center; }
.section-link { display: inline-block; margin-top: 12px; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.featured-slider { position: relative; width: min(920px, calc(100% - 100px)); margin-inline: auto; }
.featured-track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 0 30px; overscroll-behavior-inline: contain; }
.featured-track::-webkit-scrollbar { display: none; }
.featured-card { flex: 0 0 100%; scroll-snap-align: start; }
.featured-card .project-visual { aspect-ratio: 2/1; }
.featured-card .project-visual img { object-fit: contain; background: #e9e7e0; }
.featured-card .project-visual:hover img { transform: none; }
.featured-card .project-meta h3 { font-size: clamp(27px, 2.5vw, 36px); }
.featured-badge { border-radius: 99px; padding: 5px 9px; background: var(--orange); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.slider-arrow { position: absolute; z-index: 2; top: 0; margin-top: 25%; translate: 0 -50%; width: 54px; height: 54px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 19px; transition: background .2s,color .2s,opacity .2s; }
.slider-arrow:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.slider-arrow:disabled { opacity: .28; cursor: default; }
.slider-prev { left: -27px; }.slider-next { right: -27px; }
.slider-utility { width: min(920px, calc(100% - 100px)); margin: 8px auto 0; display: flex; justify-content: center; align-items: center; color: var(--muted); font-size: 13px; }
.slider-utility[hidden] { display: none; }
.slider-utility p { margin: 0; font-variant-numeric: tabular-nums; }
.featured-track > .loading,.featured-track > .empty-state { flex: 1 0 100%; }
.all-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 72px 24px; }
.project-card.project-wide { grid-column: 1 / -1; }
.project-visual { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; background: #d7d3c8; }
.project-wide .project-visual { aspect-ratio: 2.15/1; }
.project-visual img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.project-visual:hover img { transform: scale(1.035); }
.project-visual i { position: absolute; z-index: 2; right: 20px; bottom: 20px; background: var(--acid); color: var(--ink); border-radius: 99px; padding: 13px 18px; font-size: 13px; font-style: normal; transform: translateY(80px); transition: transform .3s; }
.project-visual:hover i { transform: translateY(0); }
.project-visual:focus-visible i { transform: translateY(0); }
.project-placeholder { width: 100%; height: 100%; position: relative; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 62% 37%, #ff7c58 0 12%, transparent 12.5%), linear-gradient(135deg, #1c2d3e, #5d6e80); }
.project-visual > .project-placeholder + img { position: absolute; inset: 0; }
.project-card.project-tone-plum .project-placeholder { background: radial-gradient(circle at 30% 60%, #d9ff45 0 10%, transparent 10.5%), linear-gradient(135deg, #593a68, #231d30); }
.project-placeholder b { font-family: Georgia, serif; font-size: clamp(100px, 16vw, 230px); font-weight: 400; opacity: .85; }
.project-placeholder span { position: absolute; left: 25px; bottom: 22px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.project-meta { padding-top: 24px; }
.project-card, .project-meta { min-width: 0; }
.project-meta > div:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.project-meta > div:first-child > span { display: inline-flex; align-items: center; min-height: 26px; font-size: 13px; color: var(--muted); }
.project-meta h3 { flex-basis: 100%; min-width: 0; margin: 4px 0 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -.035em; overflow-wrap: anywhere; }
.project-meta h3 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.featured-card .project-meta h3, .featured-card .project-meta > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.featured-card .project-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 40px; }
.featured-card .project-meta > div:first-child { grid-row: span 2; align-self: start; }
.featured-card .project-meta > p { margin: 0; align-self: start; }
.featured-card .project-meta > .tags { grid-column: 2; align-self: start; }
.project-meta > p { color: var(--muted); max-width: 540px; line-height: 1.65; margin: 15px 0; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tags span { max-width: 100%; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 99px; padding: 7px 11px; font-size: 13px; line-height: 1.4; }
.project-meta > p, .project-placeholder span { overflow-wrap: anywhere; }
.project-placeholder span { max-width: calc(100% - 50px); }
.loading, .empty-state { grid-column: 1 / -1; padding: 60px; border: 1px solid var(--line); color: var(--muted); text-align: center; }
.empty-state { margin: 0; width: 100%; line-height: 1.7; }
.empty-state strong { color: var(--ink); }
.empty-state button, .error-page button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 99px; background: transparent; color: var(--ink); cursor: pointer; }
.empty-state button:disabled, .error-page button:disabled { opacity: .5; cursor: wait; }

/* Projects index */
.project-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.project-filters label { display: grid; gap: 9px; color: var(--muted); font-size: 14px; min-width: 0; }
.project-search { flex: 1 1 320px; }
.project-category { flex: 0 1 240px; }
.project-filters input, .project-filters select { width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; color: var(--ink); background: #faf9f5; font-size: 16px; }
.project-filters button { min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; background: transparent; cursor: pointer; }
.project-results { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.project-results:empty { display: none; }
.project-list-options { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.project-list-options .project-results, .project-list-options .projects-toolbar { margin: 0; }
.projects-index { padding: 95px 0 160px; }
.projects-hero { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: end; padding-bottom: 75px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.projects-hero h1 { margin: 0; font-size: clamp(64px, 8vw, 125px); line-height: .86; letter-spacing: -.075em; text-align: center; }
.projects-hero > p:last-child { justify-self: end; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.projects-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 18px; margin-bottom: 48px; }
.projects-toolbar > span { color: var(--muted); font-size: 13px; }
.layout-switcher { display: flex; border: 1px solid var(--line); border-radius: 99px; padding: 4px; }
.layout-switcher button { border: 0; border-radius: 99px; padding: 9px 14px; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; }
.layout-switcher button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.layout-switcher button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.projects-index .all-project-grid .project-card { display: flex; flex-direction: column; height: 100%; grid-column: auto; margin-top: 0; }
.projects-index .all-project-grid[data-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.projects-index .all-project-grid[data-columns="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.projects-index .all-project-grid[data-columns="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; }
.projects-index .project-visual { aspect-ratio: 4/3; }
.projects-index .project-meta { display: flex; flex: 1; flex-direction: column; }
.projects-index .project-meta h3 { display: -webkit-box; min-height: 2.4em; overflow: hidden; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.projects-index .project-meta > p { display: -webkit-box; min-height: 4.95em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.projects-index .project-meta .tags { margin-top: auto; }
.projects-index .project-meta > div:first-child { min-height: 100px; align-content: start; }
.projects-pagination { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 80px; }
.projects-pagination p { margin: 0; color: var(--muted); font-size: 14px; }
.projects-pagination button { min-width: 220px; border: 1px solid var(--ink); border-radius: 99px; padding: 15px 20px; background: transparent; color: var(--ink); cursor: pointer; font-size: 14px; transition: background .2s, color .2s; }
.projects-pagination button span { margin-left: 12px; }
.projects-pagination button:hover { background: var(--ink); color: var(--paper); }
.projects-pagination button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.about { background: var(--ink); color: #fff; padding: 140px 0; }
.about-inner { display: grid; grid-template-columns: .8fr 1.4fr 1fr; gap: 70px; }
.about h2 { font-size: clamp(48px, 5.3vw, 82px); line-height: 1.05; letter-spacing: -.06em; margin: 0 0 42px; }
.about h2 em { color: var(--acid); }
.about-inner > div:nth-child(2) p { color: #a8a8a1; max-width: 610px; line-height: 1.85; font-size: 16px; }
.skill-list { border-top: 1px solid #3a3a36; align-self: end; }
.skill-list > div { display: grid; grid-template-columns: 35px 1fr; padding: 22px 0; border-bottom: 1px solid #3a3a36; }
.skill-list span { font-size: 12px; color: #85857d; }
.skill-list strong { font-weight: 500; }
.skill-list small { grid-column: 2; color: #92928a; margin-top: 7px; font-size: 13px; }

.process { padding: 150px 0; display: grid; grid-template-columns: .65fr 1.2fr 1fr; gap: 65px; }
.process h2 { margin: 0; font-size: clamp(45px, 4.8vw, 75px); line-height: 1.08; letter-spacing: -.06em; }
.process h2 em { color: var(--orange); }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 45px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { font-size: 12px; color: var(--muted); }
.process-list strong { font-size: 19px; }
.process-list p { margin: 7px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.contact { background: var(--orange); color: var(--ink); }
.contact .eyebrow.light { color: var(--ink); opacity: .72; }
.contact-inner { padding: 135px 0 125px; display: grid; grid-template-columns: .65fr 1.15fr 1fr; gap: 65px; }
.contact-copy h2 { margin: 0 0 50px; font-size: clamp(50px, 5vw, 78px); line-height: 1.08; letter-spacing: -.06em; }
.contact-copy > a { display: inline-block; border-bottom: 1px solid rgba(23,23,20,.55); padding-bottom: 7px; }
.contact-form label { display: block; margin-bottom: 26px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 8px; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(23,23,20,.5); background: transparent; color: var(--ink); border-radius: 0; resize: vertical; outline: none; font-size: 16px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(23,23,20,.64); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); }
.submit-button { border: 0; border-radius: 99px; background: var(--ink); color: #fff; padding: 17px 20px 17px 25px; min-width: 210px; display: flex; justify-content: space-between; cursor: pointer; }
.submit-button:disabled { opacity: .5; }
.form-status { min-height: 20px; font-size: 13px; }
.contact-help { margin: -8px 0 24px; font-size: 13px; line-height: 1.7; }
.form-status[data-state="loading"] { color: #523123; }
.form-status[data-state="success"] { color: #244f20; font-weight: 600; }
.form-status[data-state="error"] { color: #721f13; font-weight: 600; }
.site-footer { background: var(--ink); color: #aaa; min-height: 150px; padding: 45px max(40px, calc((100vw - 1440px)/2)); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.brand-footer { color: #fff; }.site-footer > div { display: flex; gap: 25px; }.site-footer a:hover { color: #fff; }
.site-footer.compact { min-height: 100px; }

/* Project detail */
.detail-page .site-header { position: static; }
.project-detail { padding: 90px 0 150px; }
.freeform-project { width:100%; overflow:hidden; background:#fff; }
.freeform-section { position:relative; width:100%; overflow:hidden; }
.freeform-stage { position:absolute; left:50%; top:0; transform-origin:top center; }
.freeform-element { position:absolute; display:flex; overflow:hidden; white-space:pre-wrap; line-height:1.25; }
.freeform-text { align-items:flex-start; margin:0; }
.freeform-image { object-fit:cover; }
.freeform-button { align-items:center; justify-content:center; padding:10px; text-decoration:none; }
.freeform-presentation { align-items:stretch; color:#fff; background:#181815; text-decoration:none; }
.freeform-presentation img { width:100%; height:100%; object-fit:cover; }
.freeform-presentation span { position:absolute; left:0; right:0; bottom:0; padding:12px 15px; background:linear-gradient(transparent,rgba(0,0,0,.78)); }
.freeform-presentation.is-empty { align-items:center; justify-content:center; color:#777; background:#ecebe6; }
.detail-hero h1 { font-size: clamp(64px, 9vw, 140px); line-height: .95; letter-spacing: -.075em; margin: 55px 0 30px; }
.detail-summary { font-size: clamp(20px, 2vw, 30px); line-height: 1.45; max-width: 850px; word-break: keep-all; }
.detail-hero h1, .detail-summary, .detail-story, .detail-facts, .contact-copy { overflow-wrap: anywhere; }
.detail-hero h1 { line-height: 1.12; }
.detail-facts > div { min-width: 0; }
.detail-links { flex-wrap: wrap; }
.detail-facts { margin-top: 90px; padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 35px; }
.detail-facts small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 12px; }
.detail-facts strong { font-size: 15px; font-weight: 500; }.detail-facts strong span + span::before { content: ', '; }
.detail-links { display: flex; gap: 20px; justify-content: flex-end; align-items: end; font-size: 14px; }.detail-links a { border-bottom: 1px solid; }
.detail-cover { aspect-ratio: 16/9; margin-top: 80px; overflow: hidden; background: #263547; }
.detail-cover { position: relative; }
.detail-cover img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #e9e7e0; }
.detail-placeholder { width: 100%; height: 100%; background: radial-gradient(circle at 70% 32%, var(--acid) 0 9%, transparent 9.5%), linear-gradient(135deg,#263547,#6f7f8f); color: white; display: grid; place-items: center; position: relative; }
.detail-placeholder b { font-family: Georgia, serif; font-size: 35vw; line-height: 1; opacity: .2; }.detail-placeholder span { position: absolute; left: 30px; top: 30px; text-transform: uppercase; font-size: 13px; letter-spacing: .12em; }
.detail-story { padding: 120px max(0px, 14%); display: grid; grid-template-columns: .5fr 1fr; gap: 45px; }
.detail-story h2 { margin: 0; font-size: 38px; letter-spacing: -.05em; }.detail-story > p:last-child { grid-column: 2; margin: 0; font-size: 17px; color: var(--muted); line-height: 1.9; }
.embedded-presentation { padding-top: 80px; border-top: 1px solid var(--line); }
.presentation-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 45px; }.presentation-heading h2 { font-size: 45px; margin: 25px 0 0; letter-spacing: -.05em; }.presentation-heading > a { font-size: 14px; border-bottom: 1px solid; padding-bottom: 5px; }
.embedded-viewer { position: relative; background: #cbc8bf; padding: 40px 100px 55px; }.embedded-viewer img { width: 100%; box-shadow: 0 18px 50px rgba(0,0,0,.18); }.embedded-viewer button { position: absolute; top: 50%; translate: 0 -50%; width: 55px; height: 55px; border: 1px solid rgba(0,0,0,.3); border-radius: 50%; background: transparent; cursor: pointer; }.embed-prev { left: 23px; }.embed-next { right: 23px; }.embedded-viewer p { text-align: center; margin: 20px 0 -35px; font-size: 12px; }
.slide-scroll { display: grid; gap: 35px; }.slide-scroll figure { margin: 0; position: relative; }.slide-scroll img { width: 100%; }.slide-scroll figcaption { position: absolute; right: -35px; top: 0; font-size: 12px; color: var(--muted); }
.slide-scroll figcaption { position: static; padding: 10px 0 0; text-align: right; font-size: 14px; }
.embedded-stage { aspect-ratio: 16/9; display: grid; place-items: center; min-width: 0; touch-action: pan-y; }
.embedded-stage > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.embedded-error { padding: 20px; text-align: center; line-height: 1.7; }
.embedded-viewer .embedded-error p { margin: 10px 0; font-size: 14px; }
.embedded-viewer .embedded-error button { position: static; translate: none; width: auto; height: auto; min-height: 44px; padding: 10px 16px; border-radius: 6px; }
.embedded-viewer > button:disabled { opacity: .3; cursor: default; }
.embedded-viewer > p { font-size: 14px; }
.viewer-error button { margin-top: 16px; }
.detail-next { padding-top: 120px; }.detail-next a { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 30px; }.detail-next span { color: var(--muted); font-size: 14px; }.detail-next strong { font-size: 35px; }
.error-page { text-align: center; padding: 12vh 20px; line-height: 1.7; }.error-page span { font-size: 14px; color: var(--muted); }.error-page h1 { font-size: clamp(28px, 4vw, 45px); line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }.error-page p { color: var(--muted); }.error-page > a { display: block; width: fit-content; margin: 24px auto 0; border-bottom: 1px solid; }.detail-loading { padding: 20vh 0; text-align: center; color: var(--muted); }

/* Full presentation viewer */
.viewer-page { min-height: 100vh; overflow: hidden; background: #11110f; color: #fff; display: grid; grid-template-rows: 75px 1fr 120px; }
.viewer-header { padding: 0 28px; border-bottom: 1px solid #33332f; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; }.brand-dark { color: white; }.viewer-header > div:nth-child(2) { text-align: center; }.viewer-header strong { font-size: 14px; }.viewer-header span { color: #92928a; font-size: 12px; margin-left: 15px; }.viewer-actions { display: flex; justify-content: flex-end; gap: 20px; align-items: center; font-size: 12px; }.viewer-actions button { color: #aaa; background: none; border: 0; cursor: pointer; }.viewer-main { min-height: 0; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; }.viewer-stage { height: calc(100vh - 220px); display: grid; place-items: center; }.viewer-stage img { max-height: 100%; max-width: 100%; box-shadow: 0 25px 70px #000; }.viewer-stage p { color: #92928a; }.viewer-arrow { width: 50px; height: 50px; margin: auto; border: 1px solid #3a3a36; border-radius: 50%; background: none; color: #fff; cursor: pointer; }.viewer-thumbs { border-top: 1px solid #33332f; display: flex; align-items: center; gap: 12px; overflow-x: auto; padding: 15px 28px; }.viewer-thumbs button { flex: 0 0 110px; border: 1px solid transparent; padding: 3px; background: #222; color: #92928a; cursor: pointer; position: relative; opacity: .55; }.viewer-thumbs button.active { border-color: var(--acid); opacity: 1; }.viewer-thumbs img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }.viewer-thumbs span { position: absolute; right: 5px; bottom: 4px; background: #111; padding: 2px 4px; font-size: 10px; }
.viewer-stage { touch-action: pan-y; }
.viewer-error { max-width: 360px; padding: 28px; border: 1px solid #3a3a36; color: #b9b9b2; text-align: center; line-height: 1.7; }
.viewer-error strong { display: block; margin-bottom: 7px; color: #fff; }
.viewer-error a { display: block; margin-top: 18px; color: var(--acid); }
.viewer-error button { min-height: 44px; border: 1px solid #888; padding: 10px 16px; background: transparent; color: white; cursor: pointer; }
.viewer-thumbs button { min-height: 68px; }
.viewer-thumbs button.image-missing { background: repeating-linear-gradient(135deg,#20201d,#20201d 8px,#292925 8px,#292925 16px); }
.viewer-arrow:disabled { opacity: .25; cursor: default; }

@media (min-width: 901px) and (max-width: 1200px) {
  .about-inner, .process, .contact-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .about-inner > .eyebrow, .process > .eyebrow, .contact-inner > .eyebrow { grid-column: 1 / -1; }
  .about h2, .process h2, .contact-copy h2 { font-size: 48px; line-height: 1.25; }
}

@media (max-width: 900px) {
  .featured-card .project-meta { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .featured-card .project-meta > div:first-child { grid-row: auto; }
  .featured-card .project-meta > .tags { grid-column: 1; }
  :root { --shell: calc(100vw - 36px); }
  .site-header { height: 75px; }.header-status { display: none; }.mobile-nav-toggle { display: block; }.site-header nav { position: absolute; top: 67px; right: 0; min-width: 210px; display: flex; flex-direction: column; gap: 0; padding: 9px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 45px rgba(23,23,20,.13); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }.site-header nav a { padding: 15px 16px; }.site-header.nav-open nav { visibility: visible; opacity: 1; transform: translateY(0); }
  .hero { min-height: calc(100svh - 75px); padding-top: 45px; }.hero h1 { max-width: 100%; font-size: clamp(40px, 10.5vw, 58px); line-height: 1.04; margin-top: 35px; word-break: keep-all; overflow-wrap: break-word; }.hero-foot p { font-size: 14px; max-width: 270px; }.circle-link { width: 58px; height: 58px; }.hero-orbit { display: none; }
  .work { padding: 90px 0; }.work .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 55px; }.work .section-heading h2 { grid-column: 1; width: 100%; font-size: clamp(42px, 13vw, 65px); }.work .section-heading > p:last-child { grid-column: 1; justify-self: center; text-align: center; }.featured-slider, .slider-utility { width: 100%; }.featured-card .project-visual { aspect-ratio: 16/10; }.slider-arrow { display: none; }.project-visual i { transform: translateY(0); }.all-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 20px; }.project-card.project-wide { grid-column: auto; }.project-wide .project-visual { aspect-ratio: 4/3; }.projects-index { padding: 70px 0 100px; }.projects-hero { grid-template-columns: 1fr; gap: 24px; padding-bottom: 50px; margin-bottom: 30px; }.projects-hero h1 { font-size: 63px; }.projects-hero > p:last-child { justify-self: start; }.projects-toolbar { display: none; }.projects-index .all-project-grid[data-columns] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { padding: 90px 0; }.about-inner { grid-template-columns: 1fr; gap: 50px; }.about h2 { font-size: 49px; }.process { padding: 90px 0; grid-template-columns: 1fr; gap: 45px; }.contact-inner { padding: 90px 0; grid-template-columns: 1fr; gap: 45px; }.site-footer { padding: 40px 18px; align-items: flex-start; flex-direction: column; gap: 25px; }
  .detail-hero h1 { font-size: 60px; }.detail-facts { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }.detail-links { justify-content: flex-start; }.detail-story { padding: 80px 0; grid-template-columns: 1fr; }.detail-story > p:last-child { grid-column: 1; }.presentation-heading { align-items: flex-start; gap: 25px; flex-direction: column; }.embedded-viewer { padding: 20px 45px 50px; }.embedded-viewer button { width: 36px; height: 36px; }.embed-prev { left: 5px; }.embed-next { right: 5px; }.detail-next strong { font-size: 23px; }
  .viewer-page { grid-template-rows: 62px 1fr 90px; }.viewer-header { padding: 0 14px; grid-template-columns: .5fr 2fr .7fr; }.viewer-header .brand { font-size: 18px; }.viewer-header > div:nth-child(2) { overflow: hidden; white-space: nowrap; }.viewer-header strong { font-size: 12px; }.viewer-header span, #fullscreen-button { display: none; }.viewer-main { grid-template-columns: 45px 1fr 45px; }.viewer-stage { height: calc(100svh - 180px); }.viewer-arrow { width: 35px; height: 35px; }.viewer-thumbs { padding: 10px 14px; }.viewer-thumbs button { flex-basis: 85px; }
}

@media (max-width: 600px) {
  .hero-foot #hero-intro { max-width: none; flex-basis: 100%; }
  .hero-work-link { gap: 14px; }
  .featured-card .project-meta h3 { font-size: 26px; }
  .project-search { flex-basis: 100%; }
  .project-category { flex: 1 1 180px; }
  .presentation-heading h2 { font-size: 30px; line-height: 1.35; word-break: keep-all; }
  .embedded-error { padding: 10px; font-size: 14px; }
  .embedded-viewer .embedded-error p { font-size: 13px; }
  .detail-next a { flex-wrap: wrap; gap: 18px; }
  .hero h1 { font-size: clamp(36px, 9.5vw, 54px); line-height: 1.22; }
  .hero-foot { gap: 18px; align-items: center; }
  .hero-foot p { font-size: 16px; min-width: 0; }
  .circle-link { flex: 0 0 54px; height: 54px; }
  .work .section-heading h2 { font-size: clamp(32px, 9vw, 48px); line-height: 1.25; }
  .about h2, .process h2, .contact-copy h2 { font-size: clamp(32px, 9vw, 46px); line-height: 1.28; }
  .about-inner > div, .process > *, .contact-inner > * { min-width: 0; }
  .detail-hero h1 { font-size: clamp(36px, 10vw, 58px); margin-top: 32px; }
  .detail-facts { margin-top: 42px; gap: 24px; }
  .project-detail { padding-top: 48px; padding-bottom: 80px; }
  .projects-hero .eyebrow { justify-content: center; }
  .projects-hero h1 { font-size: clamp(52px, 15vw, 70px); }
  .project-meta > p { font-size: 16px; }
  .loading, .empty-state { padding: 32px 20px; }
  .site-footer > div { flex-wrap: wrap; }
  .viewer-header #viewer-count { display: inline; font-size: 13px; }
  .viewer-header strong { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .viewer-header > div:nth-child(2) { min-width: 0; }
  .viewer-arrow { min-width: 40px; min-height: 44px; }
  .all-project-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 60px; }
  .projects-index .all-project-grid[data-columns] { grid-template-columns: 1fr; }
  .projects-index .project-meta h3, .projects-index .project-meta > p { min-height: 0; }
  .projects-pagination { margin-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
