@font-face {
  font-family: "Witty Fengya";
  src: url("/fonts/1.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Witty Longzhu";
  src: url("/fonts/2.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #101010;
  --ink-soft: #1a1a18;
  --muted: #66635d;
  --paper: #ffffff;
  --warm-gray: #f4f2ee;
  --surface: #ffffff;
  --gold: #d8b86a;
  --gold-dark: #9d7b34;
  --line: #dedbd4;
  --shadow: 0 24px 64px rgba(16, 16, 16, 0.12);
  --serif: "Witty Fengya", "Songti SC", "STSong", serif;
  --sans: "Witty Fengya", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --accent-font: "Witty Longzhu", "Witty Fengya", "PingFang SC", sans-serif;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  --scroll-progress: 0;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); letter-spacing: .008em; -webkit-font-smoothing: antialiased; }
main { min-height: 0; display: flex; flex: 1 0 auto; flex-direction: column; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font-family: inherit; }
.container { width: min(1360px, calc(100% - 96px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 30; color: #fff; background: rgba(16,16,16,.96); border-bottom: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(18px); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; background: var(--gold); transform: scaleX(var(--scroll-progress)); transform-origin: left center; opacity: .82; }
.nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { min-width: 250px; display: inline-flex; align-items: center; }
.brand-logo { width: 250px; height: 58px; max-width: 250px; display: block; flex: 0 0 auto; object-fit: contain; }
/* Keep pages rendered by a pre-restart server from expanding the old vertical logo. */
.brand-logo-crop { width: 48px; height: 48px; overflow: hidden; flex: 0 0 48px; background: #000; }
.brand-logo-crop img { width: 48px; height: auto; max-width: none; }
.brand-word { display: grid; line-height: 1; gap: 5px; font-family: Inter, "Arial Narrow", Arial, sans-serif; }
.brand-word strong { font-size: 17px; letter-spacing: .02em; }
.brand-word small { color: #bcb9b2; font-size: 8px; letter-spacing: .16em; }
.nav-links { display: flex; align-items: center; gap: clamp(24px, 4vw, 62px); color: #e7e4de; font-size: 16px; }
.nav-links a { padding: 12px 0; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }
.nav-dropdown { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav-dropdown-toggle { padding: 12px 0; display: inline-flex; align-items: center; gap: 7px; color: inherit; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: inherit; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.nav-dropdown-menu { min-width: 220px; position: absolute; top: calc(100% - 1px); right: -18px; z-index: 10; display: grid; gap: 2px; padding: 10px; color: #e7e4de; border: 1px solid rgba(216,184,106,.3); background: rgba(20,20,18,.98); box-shadow: 0 22px 48px rgba(0,0,0,.34); opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(0, 10px, 0); transition: opacity .22s ease, visibility .22s ease, transform .32s var(--motion-ease); }
.nav-dropdown-menu a { min-height: 44px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 0; background: transparent; }
.nav-dropdown-menu a span { color: var(--gold); font-family: Arial, sans-serif; font-size: 13px; transition: transform .25s ease; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { color: var(--ink); border: 0; background: var(--gold); outline: none; }
.nav-dropdown-menu a:hover span, .nav-dropdown-menu a:focus-visible span { color: var(--ink); transform: translate3d(3px, -3px, 0); }
.nav-dropdown-empty { padding: 13px 12px; color: #96928a; font-size: 13px; white-space: nowrap; }
.nav-dropdown:hover .nav-dropdown-toggle, .nav-dropdown:focus-within .nav-dropdown-toggle, .nav-dropdown.is-open .nav-dropdown-toggle { color: var(--gold); border-bottom-color: var(--gold); }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate3d(0, 0, 0); }

.hero-stage { --hero-parallax: 0px; min-height: 622px; position: relative; isolation: isolate; overflow: hidden; color: #fff; background-color: var(--ink); }
.hero-stage::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: url("/static/assets/witty-loong-hero.png"); background-repeat: no-repeat; background-position: center calc(50% + 30px + var(--hero-parallax)); background-size: cover; }
.hero-stage::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(16,16,16,.94) 0%, rgba(16,16,16,.76) 25%, rgba(16,16,16,.35) 49%, rgba(16,16,16,.04) 73%); }
.hero { min-height: 622px; position: relative; z-index: 1; display: flex; align-items: center; padding-block: 82px; }
.hero-copy { width: min(680px, 52%); }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 3.75vw, 62px); font-weight: 500; line-height: 1.36; letter-spacing: .015em; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.hero h1 span { color: var(--gold); }
.hero-text { margin: 26px 0 34px; color: #ddd9d2; font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif; font-size: 18px; line-height: 1.9; letter-spacing: .01em; }
.hero-text strong { color: var(--gold); font-weight: 700; }
.hero-actions, .admin-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.button { min-height: 54px; padding: 13px 26px; display: inline-flex; align-items: center; justify-content: center; gap: 32px; border: 1px solid var(--gold); border-radius: 2px; background: transparent; color: var(--gold); font-family: var(--accent-font); font-size: 16px; font-weight: 400; cursor: pointer; transition: transform .45s var(--motion-ease), background .25s ease, color .25s ease, box-shadow .45s var(--motion-ease); }
.button:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16,16,16,.14); }
.button > span, .text-link b { display: inline-block; transition: transform .45s var(--motion-ease); }
.button:hover > span, .text-link:hover b { transform: translateX(5px); }
.button.primary { background: var(--gold); color: var(--ink); box-shadow: 0 13px 30px rgba(216,184,106,.17); }
.button.ghost { background: rgba(16,16,16,.34); color: var(--gold); }
.button.dark-text { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: none; }

.section { padding-block: 68px; }
.tight { padding-top: 34px; }
.section-title-rule { display: flex; align-items: center; gap: 26px; margin-bottom: 34px; }
.section-title-rule h2, .section-heading h1, .admin-panel h1 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: .025em; }
.section-title-rule h2 { font-size: clamp(34px, 3vw, 48px); }
.section-title-rule > span { height: 1px; flex: 1; background: linear-gradient(90deg, var(--gold), rgba(216,184,106,.14)); }
.section-title-rule .text-link { flex: 0 0 auto; }
.text-link { color: var(--gold-dark); font-weight: 600; }
.text-link b { margin-left: 12px; }

.services { padding-bottom: 48px; }
.service-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-strip article { min-width: 0; display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 6px 28px; border-right: 1px solid var(--line); transition: color .35s ease, translate .55s var(--motion-ease); }
.service-strip article:hover { translate: 0 -5px; }
.service-strip article:first-child { padding-left: 0; }
.service-strip article:last-child { border-right: 0; padding-right: 0; }
.service-icon { width: 64px; height: 64px; display: grid; place-items: center; }
.service-icon svg { width: 54px; height: 54px; fill: none; stroke: var(--ink); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; transition: transform .55s var(--motion-ease), stroke .3s ease; }
.service-strip article:hover .service-icon svg { stroke: var(--gold-dark); transform: rotate(-4deg) scale(1.06); }
.service-strip h3 { margin: 3px 0 9px; font-family: var(--accent-font); font-size: 21px; font-weight: 400; }
.service-strip p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.latest { padding-top: 34px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; }
.work-card { min-width: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); background: var(--surface); transition: box-shadow .55s var(--motion-ease); }
.work-card:hover { box-shadow: 0 22px 48px rgba(16,16,16,.1); }
.work-thumb { height: 250px; position: relative; display: block; overflow: hidden; background: var(--ink-soft); }
.media-layer { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.work-card:hover .media-layer { transform: scale(1.025); }
.fallback-art { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; background: #181816; color: #fff; }
.fallback-art::before, .fallback-art::after { content: ""; position: absolute; width: 56%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: rotate(-27deg); }
.fallback-art::after { transform: rotate(31deg) translateY(34px); opacity: .6; }
.fallback-orbit { position: absolute; width: 76%; aspect-ratio: 2.2; border: 1px solid rgba(216,184,106,.46); border-radius: 50%; transform: rotate(-12deg); }
.fallback-1 .fallback-orbit { transform: rotate(15deg); }
.fallback-2 .fallback-orbit { width: 62%; transform: rotate(-32deg); }
.fallback-logo { z-index: 1; width: 98px; height: 98px; object-fit: contain; opacity: .94; filter: drop-shadow(0 0 24px rgba(216,184,106,.2)); }
.fallback-type { position: absolute; z-index: 1; left: 20px; bottom: 16px; color: var(--gold); font-size: 10px; letter-spacing: .24em; }
.work-body { flex: 1; padding: 21px 2px 24px; }
.work-body h3 { margin: 7px 0 10px; font-family: var(--accent-font); font-size: 23px; font-weight: 400; line-height: 1.4; }
.work-body p { margin: 0; color: var(--muted); line-height: 1.75; }
.meta { margin: 0; color: var(--gold-dark); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

.team-showcase { overflow: hidden; border-top: 1px solid var(--line); background: var(--warm-gray); }
.team-heading { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(360px, 1fr); gap: 18px 72px; align-items: end; margin-bottom: 34px; }
.team-heading .section-label, .partner-heading .section-label { grid-column: 1 / -1; margin-top: 0; }
.team-heading h2, .partner-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); font-weight: 500; line-height: 1.2; }
.team-heading > p:last-child, .partner-heading > p:last-child { margin: 0; justify-self: end; color: var(--muted); font-size: 16px; line-height: 1.8; text-align: right; }
.team-marquee { width: 100vw; overflow: hidden; padding-bottom: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.team-track { width: max-content; display: flex; animation: team-marquee 40s linear infinite; backface-visibility: hidden; will-change: transform; }
.team-marquee:hover .team-track, .team-marquee:focus-within .team-track { animation-play-state: paused; }
.team-set { display: flex; gap: 22px; padding-right: 22px; }
.team-card { width: clamp(390px, 33vw, 510px); min-height: 260px; display: grid; grid-template-columns: 43% 1fr; overflow: hidden; border: 1px solid #cfcbc2; background: #fff; box-shadow: 0 16px 46px rgba(16,16,16,.08); transition: border-color .35s ease, box-shadow .55s var(--motion-ease), transform .55s var(--motion-ease); }
.team-card:hover { border-color: var(--gold); box-shadow: 0 24px 54px rgba(16,16,16,.14); transform: translateY(-5px); }
.team-card:nth-child(even) { color: #fff; border-color: #2d2d29; background: var(--ink); }
.team-portrait { min-height: 260px; overflow: hidden; background: #d8d4cb; }
.team-portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.team-card:hover .team-portrait img { transform: scale(1.025); }
.portrait-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold-dark); font-family: var(--serif); font-size: 88px; background: linear-gradient(145deg, #e5e1d8, #c8c2b5); }
.team-placeholder-art { min-height: 260px; position: relative; display: grid; place-items: center; overflow: hidden; color: var(--ink); background: linear-gradient(145deg, #f0dfb1, #d8b86a); }
.team-placeholder-art::before { content: ""; width: 180px; height: 180px; position: absolute; border: 1px solid rgba(16,16,16,.22); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.16), 0 0 0 68px rgba(16,16,16,.055); }
.team-placeholder-art span { position: relative; z-index: 1; font-family: var(--accent-font); font-size: 54px; letter-spacing: .04em; }
.team-placeholder-art b { position: absolute; right: 18px; bottom: 12px; z-index: 1; font-family: Arial, sans-serif; font-size: 34px; font-weight: 300; }
.team-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 28px; }
.team-copy h3 { margin: 5px 0 16px; font-family: var(--accent-font); font-size: 29px; font-weight: 400; }
.team-copy > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.team-card:nth-child(even) .team-copy > p:last-child { color: #c9c6bf; }
.team-role { margin: 0; color: var(--gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.team-card:nth-child(even) .team-role { color: var(--gold); }
.friendly-empty { margin: 0; border: 1px dashed #c8c3b9; background: rgba(255,255,255,.55); }

.partners { color: #fff; border-top: 1px solid #2b2b28; background: var(--ink); }
.partner-heading { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(280px, .65fr); gap: 18px 72px; align-items: end; margin-bottom: 38px; }
.partner-heading h2 span { display: block; }
.partner-heading > p:last-child { color: #bdb9b1; }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #3b3a36; border-left: 1px solid #3b3a36; }
.partner-logo { min-width: 0; min-height: 90px; display: grid; place-items: center; padding: 20px; border-right: 1px solid #3b3a36; border-bottom: 1px solid #3b3a36; background: #f3f1ec; transition: background .3s ease, translate .55s var(--motion-ease), box-shadow .55s var(--motion-ease); }
a.partner-logo:hover, a.partner-logo:focus-visible { background: #fff; translate: 0 -5px; box-shadow: 0 18px 38px rgba(0,0,0,.2); }
.partner-logo img { width: auto; height: 50px; max-width: 100%; object-fit: contain; opacity: .9; transition: transform .55s var(--motion-ease); }
a.partner-logo:hover img, a.partner-logo:focus-visible img { transform: scale(1.055); }
.partner-wordmark { text-align: center; color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: .08em; }
.partners .friendly-empty { color: #aaa69e; border-color: #3b3a36; background: #151513; }

@keyframes team-marquee {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(7px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

.motion-ready .hero-copy > * { animation: hero-rise .95s var(--motion-ease) both; }
.motion-ready .hero-copy > :nth-child(2) { animation-delay: 110ms; }
.motion-ready .hero-copy > :nth-child(3) { animation-delay: 220ms; }
.motion-ready [data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0) scale(.992); filter: blur(6px); transition: opacity .78s var(--motion-ease), transform .9s var(--motion-ease), filter .78s var(--motion-ease); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }

.page-hero { padding-block: 86px; }
.page-hero.dark { color: #fff; background: var(--ink); border-bottom: 1px solid #2b2b28; }
.contact-page { display: flex; flex: 1 0 auto; align-items: center; }
.page-hero .compact { max-width: 900px; margin-left: max(48px, calc((100vw - 1360px) / 2)); }
.page-hero h1, .detail-layout h1 { margin: 0; font-family: var(--serif); font-size: clamp(46px, 6vw, 76px); font-weight: 500; line-height: 1.18; }
.page-hero p, .lead { max-width: 760px; color: #c6c2bb; font-size: 18px; line-height: 1.8; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { padding: 10px 19px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.filter.active { color: var(--ink); border-color: var(--gold); background: var(--gold); }
.empty-state { grid-column: 1 / -1; padding: 48px; text-align: center; color: var(--muted); background: var(--warm-gray); }

.detail-layout { max-width: 960px; padding-block: 72px; }
.detail-layout h1 { margin: 16px 0 20px; font-size: clamp(42px, 5vw, 68px); }
.detail-layout .lead { color: var(--muted); }
.detail-media, .detail-fallback { position: relative; height: auto; min-height: 430px; margin: 36px 0; overflow: hidden; background: var(--ink); }
.detail-media img, .detail-media video { width: 100%; max-height: 680px; object-fit: contain; }
.detail-download { margin: 36px 0; padding: 32px; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--surface); box-shadow: var(--shadow); }
.detail-download h2 { margin: 8px 0 10px; font-family: var(--serif); font-size: clamp(28px, 4vw, 38px); font-weight: 600; }
.detail-download > p:not(.meta) { margin: 0; color: var(--muted); line-height: 1.75; }
.detail-download-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; }
.detail-fallback { position: relative; inset: auto; }
.prose { color: #3c3a36; font-family: var(--serif); font-size: 19px; line-height: 2; }
.contact-hero { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start; }
.contact-card { padding: 34px; border: 1px solid rgba(216,184,106,.45); background: #181816; }
.contact-card h2 { margin-top: 0; font-family: var(--serif); font-weight: 500; }
.contact-card p { color: #c6c2bb; line-height: 1.7; }
.contact-card a { color: var(--gold); }

.admin-panel { min-height: 62vh; padding-block: 70px; }
.admin-panel.narrow { max-width: 760px; }
.admin-panel h1 { margin: 8px 0 18px; font-size: clamp(40px, 5vw, 58px); }
.admin-panel > p:not(.section-label):not(.flash) { color: var(--muted); line-height: 1.7; }
.section-label { margin: 24px 0 0; color: var(--gold-dark); font-family: var(--accent-font); font-size: 12px; font-weight: 400; letter-spacing: .18em; }
.section-heading { margin-bottom: 30px; }
.section-heading.split { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.admin-section { margin-top: 44px; }
.admin-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.admin-section-heading h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 600; }
.admin-section-heading p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.compact-button { min-height: 44px; padding: 9px 18px; font-size: 14px; }
.form-card, .table-card { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.form-card { display: grid; gap: 12px; margin-top: 28px; padding: 30px; }
.form-card.stacked { gap: 14px; }
label { font-size: 14px; font-weight: 700; }
input, textarea, select { width: 100%; padding: 13px 14px; border: 1px solid #cbc7be; border-radius: 0; background: #fff; color: var(--ink); font-size: 16px; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(216,184,106,.55); outline-offset: 1px; border-color: var(--gold-dark); }
textarea { resize: vertical; }
.current-media { padding: 16px; border-left: 3px solid var(--gold); background: var(--warm-gray); }
.current-media p { margin: 0 0 12px; color: var(--muted); overflow-wrap: anywhere; }
.current-media small { display: block; margin-top: 10px; color: var(--muted); line-height: 1.5; }
.check-row { display: flex; align-items: center; gap: 9px; }
.check-row input { width: auto; accent-color: var(--gold-dark); }
.flash { padding: 13px 16px; border: 1px solid var(--gold); background: #f7f0df; color: #5f4b20; font-weight: 700; }
.table-card { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.row-actions { display: flex; gap: 16px; white-space: nowrap; }
.row-actions a { color: var(--gold-dark); font-weight: 700; }
.row-actions .delete-action { padding-left: 16px; border-left: 1px solid var(--line); color: var(--ink); }
.table-empty { padding: 34px 16px; color: var(--muted); text-align: center; }
.admin-preview { width: 64px; height: 48px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: var(--warm-gray); }
.admin-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-preview.avatar-preview { width: 48px; border-radius: 50%; }
.admin-preview.logo-preview img { padding: 6px; object-fit: contain; }
.preview-fallback { color: var(--gold-dark); font-family: var(--serif); font-size: 20px; font-weight: 700; }
.managed-table td:nth-child(3) { max-width: 360px; }
.managed-table td { overflow-wrap: anywhere; }
.field-help { margin-top: -7px; color: var(--muted); line-height: 1.5; }
.confirmation-card { margin-top: 28px; padding: 34px; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--surface); box-shadow: var(--shadow); }
.confirmation-card h2 { margin: 8px 0 16px; font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); font-weight: 600; line-height: 1.35; }
.confirmation-card > p:not(.confirmation-kicker) { margin: 0; color: var(--muted); line-height: 1.8; }
.confirmation-kicker { margin: 0; color: var(--gold-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.confirmation-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.confirmation-actions form { margin: 0; }
.button.destructive { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: 0 13px 30px rgba(16,16,16,.14); }

.site-footer { padding-block: 42px; color: #b9b5ae; border-top: 1px solid #2b2b28; background: var(--ink); }
.footer-grid { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.site-footer p { margin: 6px 0; }
.footer-lockup { display: flex; align-items: flex-start; flex-direction: column; }
.footer-wordmark { position: relative; width: 226px; height: 30px; overflow: hidden; }
.footer-wordmark img { position: absolute; top: -9px; left: -83px; width: 319px; height: auto; max-width: none; display: block; }
.footer-studio { color: #c9c5bd; font-family: Arial, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .13em; line-height: 1.2; }
.footer-tagline { color: #b9b5ae; font-size: 14px; line-height: 1.55; }
.footer-meta { text-align: right; font-size: 13px; }
.footer-slogan { color: #e4e0d8; letter-spacing: .025em; }
.footer-filing { color: #8f8b84; font-size: 12px; }
.admin-settings-form { max-width: 760px; margin-top: 0; }

@media (max-width: 1080px) {
  .container { width: min(100% - 56px, 960px); }
  .hero-stage::before { background-position: 60% calc(50% + 24px + var(--hero-parallax)); }
  .hero-copy { width: min(620px, 70%); }
  .service-strip { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .service-strip article:nth-child(2) { border-right: 0; }
  .service-strip article:nth-child(3) { padding-left: 0; }
  .work-thumb { height: 210px; }
  .page-hero .compact { margin-left: 28px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-logo img { height: 48px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .site-header { position: relative; }
  .nav { min-height: 0; padding-block: 15px; align-items: flex-start; gap: 14px; }
  .brand { min-width: 0; flex: 0 1 190px; }
  .brand-logo { width: min(190px, 46vw); height: auto; }
  .brand-word small { display: none; }
  .nav-links { max-width: 220px; justify-content: flex-end; gap: 8px 18px; flex-wrap: wrap; font-size: 14px; }
  .nav-links a { padding: 7px 0; }
  .nav-dropdown { align-self: auto; }
  .nav-dropdown-toggle { padding: 7px 0; }
  .nav-dropdown-menu { min-width: 190px; top: calc(100% + 5px); right: -4px; }
  .nav-dropdown-menu a { padding: 10px 11px; }
  .hero-stage { min-height: 660px; }
  .hero-stage::before { background-position: 62% calc(50% + 16px + var(--hero-parallax)); background-size: cover; }
  .hero-stage::after { background: linear-gradient(180deg, rgba(16,16,16,.06) 18%, rgba(16,16,16,.42) 64%, rgba(16,16,16,.84) 100%); }
  .hero { min-height: 660px; align-items: flex-end; padding-block: 64px; }
  .hero-copy { width: 100%; padding: 22px; background: rgba(16,16,16,.78); backdrop-filter: blur(5px); }
  .hero h1 { font-size: clamp(34px, 9vw, 42px); }
  .hero-text { margin: 20px 0 26px; font-size: 16px; }
  .desktop-only { display: none; }
  .button { min-height: 48px; padding: 11px 18px; gap: 18px; }
  .section { padding-block: 48px; }
  .section-title-rule { gap: 14px; }
  .section-title-rule > span { display: none; }
  .section-title-rule .text-link { margin-left: auto; font-size: 13px; }
  .service-strip, .work-grid, .contact-hero { grid-template-columns: 1fr; }
  .service-strip { gap: 0; }
  .service-strip article { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-strip article:last-child { border-bottom: 0; }
  .work-thumb { height: min(62vw, 310px); }
  .team-heading, .partner-heading { grid-template-columns: 1fr; gap: 14px; }
  .team-heading > p:last-child, .partner-heading > p:last-child { justify-self: start; text-align: left; }
  .team-card { width: min(86vw, 390px); min-height: 230px; grid-template-columns: 38% 1fr; }
  .team-portrait { min-height: 230px; }
  .team-placeholder-art { min-height: 230px; }
  .team-copy { padding: 22px 20px; }
  .team-copy h3 { font-size: 25px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-logo { min-height: 74px; padding: 15px; }
  .partner-logo img { height: clamp(28px, 10vw, 42px); }
  .page-hero { padding-block: 58px; }
  .page-hero .compact { margin-left: 18px; }
  .contact-hero { gap: 32px; }
  .detail-media, .detail-fallback { min-height: 260px; }
  .detail-download { padding: 24px 20px; }
  .detail-download-actions { align-items: stretch; flex-direction: column; }
  .section-heading.split, .admin-section-heading, .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-meta { text-align: left; }
  .form-card { padding: 20px; }
  th:nth-child(2), td:nth-child(2), th:nth-child(3), td:nth-child(3) { display: none; }
  .managed-table th:nth-child(2), .managed-table td:nth-child(2) { display: table-cell; }
  .managed-table th:nth-child(3), .managed-table td:nth-child(3), .managed-table th:nth-child(4), .managed-table td:nth-child(4) { display: none; }
  th:last-child, td:last-child { width: 1%; }
  .row-actions { gap: 12px; }
  .row-actions .delete-action { padding-left: 12px; }
  .confirmation-card { padding: 24px 20px; }
  .confirmation-actions { align-items: stretch; flex-direction: column; }
  .confirmation-actions form, .confirmation-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .site-header::after { display: none; }
  .motion-ready .hero-copy > *, .motion-ready [data-reveal], .motion-ready [data-reveal].is-visible { opacity: 1; transform: none; filter: none; animation: none; }
  .service-strip article:hover, a.partner-logo:hover, a.partner-logo:focus-visible { translate: none; }
}
