:root {
    color-scheme: dark;
    --ink: #111212;
    --panel: #191a19;
    --paper: #f0eee9;
    --muted: #9c9b96;
    --line: rgba(240, 238, 233, .14);
    --orange: #f36a1b;
    --font-body: "DM Sans", sans-serif;
    --font-display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: absolute; z-index: 5; top: 0; left: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 24px 6.1vw; border-bottom: 1px solid rgba(255,255,255,.2); }
.site-header.fixed-header { position: fixed; height: 88px; padding-top: 16px; padding-bottom: 16px; background: rgba(17,18,18,.96); }
.brand { display: block; width: min(250px, 30vw); }
.brand img, .footer-brand img, .admin-brand img { display: block; width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.primary-nav > a:not(.nav-cta) { color: rgba(255,255,255,.78); transition: color .2s ease; }
.primary-nav > a:not(.nav-cta):hover { color: var(--orange); }
.nav-cta { padding: 12px 17px; border: 1px solid rgba(255,255,255,.45); transition: color .2s, border-color .2s; }
.nav-cta:hover { color: var(--orange); border-color: var(--orange); }
.nav-cta span { margin-left: 12px; color: var(--orange); }
.menu-toggle { display: none; }

.hero { position: relative; display: flex; align-items: center; min-height: min(850px, 100vh); min-height: min(850px, 100svh); overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { width: 100%; height: 135%; object-fit: cover; object-position: center top; transform: scale(1.015); transform-origin: center top; animation: hero-reveal 1.2s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(7,9,10,.9) 0%, rgba(7,9,10,.65) 45%, rgba(7,9,10,.22) 100%), linear-gradient(0deg, rgba(8,9,9,.65), transparent 30%, rgba(8,9,9,.3)); }
.hero-content { position: relative; z-index: 1; width: min(720px, 72vw); margin: 78px 0 0 12.5vw; animation: content-reveal .8s .15s ease-out both; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 13px; margin: 0; color: rgba(255,255,255,.7); font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.eyebrow-line { display: block; width: 29px; height: 1px; background: var(--orange); }
.hero h1, .contact h2, .auth-panel h1, .dashboard-heading h1 { margin: 27px 0 19px; font-family: var(--font-display); font-size: clamp(48px, 7.5vw, 100px); font-weight: 500; letter-spacing: -.075em; line-height: .99; }
.hero h1 em, .portfolio-heading h2 em, .contact h2 em, .auth-panel h1 em, .dashboard-heading h1 em { color: var(--orange); font-style: normal; }
.hero-copy { max-width: 430px; margin: 26px 0 32px; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero-contact { padding: 10px 0; font-size: 11px; font-weight: 600; }
.hero-contact span { margin-left: 8px; color: var(--orange); }
.hero-contact:hover { color: var(--orange); }
.hero-contact:focus-visible, .scroll-cue:focus-visible, .text-link:focus-visible, .primary-nav a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 52px; padding: 0 19px; font-size: 11px; font-weight: 700; letter-spacing: .03em; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.button span { font-size: 17px; font-weight: 400; }
.button-light { color: #141414; background: var(--paper); }
.button-light:hover { color: white; background: var(--orange); }
.button-orange { width: 100%; margin-top: 8px; color: #151515; background: var(--orange); border: 0; }
.button-orange:hover { color: white; background: #d95610; }
.hero-note { position: absolute; right: 6.1vw; bottom: 42px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.75); font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.hero-note span:first-child { color: var(--orange); }
.note-rule { width: 53px; height: 1px; background: rgba(255,255,255,.5); }
.scroll-cue { position: absolute; bottom: 20px; left: 6.1vw; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: rgba(255,255,255,.8); font-size: 10px; font-weight: 600; }
.scroll-cue span { width: 1px; height: 35px; background: var(--orange); }
.scroll-cue:hover { color: var(--orange); }

.section-wrap { width: min(1200px, 78vw); margin: 0 auto; }
.intro { position: relative; display: grid; grid-template-columns: 1fr 2fr; gap: 8vw; align-items: start; padding-top: 144px; padding-bottom: 153px; overflow: hidden; }
.section-kicker { align-self: start; padding-top: 12px; color: var(--muted); font-size: 9px; letter-spacing: .16em; }
.section-kicker > span { color: var(--orange); }
.intro-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-top: 26px; }
.intro-body { position: relative; z-index: 1; max-width: 720px; }
.intro h2, .portfolio-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 5.2vw, 67px); font-weight: 500; letter-spacing: -.07em; line-height: 1.1; }
.intro h2 span { color: #888782; }
.intro-body > p { max-width: 490px; margin: 30px 0 25px; color: #aaa9a4; font-size: 13px; line-height: 1.9; }
.text-link { display: inline-flex; gap: 20px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--orange); font-size: 11px; font-weight: 600; }
.text-link span { color: var(--orange); }
.intro-reportage { display: flex; align-items: center; gap: 20px; max-width: 490px; margin-top: 40px; padding: 18px 20px; border: 1px solid var(--line); border-left: 2px solid var(--orange); background: linear-gradient(110deg, rgba(243,106,27,.08), transparent 70%); }
.intro-focus { flex: 0 0 48px; width: 48px; height: 48px; color: var(--orange); }
.intro-reportage-copy { display: grid; min-width: 0; gap: 7px; }
.intro-reportage-copy span { color: #aaa9a4; font-size: 9px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; }
.intro-reportage-copy strong { color: var(--paper); font-family: var(--font-display); font-size: 16px; font-weight: 500; line-height: 1.3; }

.portfolio-section { padding: 115px 0 126px; background: #191a19; }
.portfolio-heading { display: flex; justify-content: space-between; align-items: end; gap: 42px; margin-bottom: 52px; }
.portfolio-heading h2 { margin-top: 19px; }
.portfolio-heading h2 em { color: var(--orange); }
.portfolio-lead { max-width: 310px; margin: 0 1px 5px 0; color: #aaa9a4; font-size: 12px; line-height: 1.85; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: -20px 0 34px; }
.portfolio-filter { padding: 9px 13px; border: 1px solid rgba(240,238,233,.2); background: transparent; color: #aaa9a4; font-size: 9px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.portfolio-filter:hover, .portfolio-filter.is-active { border-color: var(--orange); color: var(--paper); }
.portfolio-filter.is-active { background: rgba(243,106,27,.12); }
.portfolio-grid { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 25px; align-items: start; }
.portfolio-grid-live { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portfolio-card { min-width: 0; }
.portfolio-card:nth-child(3n + 2) { margin-top: 76px; }
.portfolio-card:nth-child(3n + 3) { margin-top: 32px; }
.portfolio-card.card-tall { margin-top: 76px; }
.portfolio-grid-mosaic .portfolio-card { margin-top: 0; }
.portfolio-grid-mosaic .portfolio-card:nth-child(3n + 2 of :not([hidden])) { margin-top: 32px; }
.portfolio-grid-mosaic .portfolio-card:nth-child(3n of :not([hidden])) { margin-top: 16px; }
.card-image { position: relative; display: block; width: 100%; height: clamp(230px, 29vw, 390px); padding: 0; overflow: hidden; border: 0; background: #282927; color: inherit; text-align: left; }
.viewer-trigger { cursor: zoom-in; }
.viewer-trigger:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.card-tall .card-image { height: clamp(290px, 35vw, 465px); }
.portfolio-grid-live .card-image, .portfolio-grid-live .card-tall .card-image { height: auto; }
.card-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; }
.portfolio-card:hover .card-image img { transform: scale(1.045); filter: saturate(1); }
.portfolio-grid-live .card-image img { height: auto; object-fit: contain; }
.portfolio-grid-live .portfolio-card:hover .card-image img { transform: none; }
.portfolio-grid-mosaic .card-image, .portfolio-grid-mosaic .card-tall .card-image { aspect-ratio: 3 / 2; background: #101111; }
.portfolio-grid-mosaic .card-image img { height: 100%; }
.card-index { position: absolute; top: 15px; left: 16px; color: white; font-size: 9px; letter-spacing: .12em; }
.card-photo-count { position: absolute; right: 13px; bottom: 13px; padding: 7px 9px; background: rgba(17,18,18,.8); color: white; font-size: 10px; }
.card-caption { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 0 0; }
.card-caption > div { min-width: 0; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.card-category { color: var(--orange); font-size: 8px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.card-date { color: #888782; font-size: 9px; white-space: nowrap; }
.card-caption h3 { margin: 7px 0 0; font-family: var(--font-display); font-size: 16px; font-weight: 500; letter-spacing: -.03em; overflow-wrap: anywhere; }
.card-arrow { align-self: end; color: #83827e; font-size: 15px; transition: color .2s, transform .2s; }
.portfolio-card:hover .card-arrow { color: var(--orange); transform: translate(2px, -2px); }
.card-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 18px; margin-top: 12px; }
.item-link, .share-controls > summary { color: var(--paper); font-size: 11px; font-weight: 600; line-height: 1.5; }
.item-link:hover, .share-controls > summary:hover { color: var(--orange); }
.item-link span, .share-controls > summary span { color: var(--orange); }
.share-controls { min-width: 0; }
.card-actions .share-controls[open] { flex: 1 0 100%; }
.share-controls > summary { list-style: none; cursor: pointer; }
.share-controls > summary::-webkit-details-marker { display: none; }
.share-controls > summary:focus-visible, .item-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.share-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); background: #111212; }
.share-options a, .share-options button { padding: 7px 9px; border: 1px solid var(--line); background: transparent; color: var(--paper); font-size: 10px; line-height: 1.4; cursor: pointer; }
.share-options a:hover, .share-options button:hover { border-color: var(--orange); }
.share-options button[hidden] { display: none; }
.share-url { flex: 1 0 100%; min-width: 0; padding: 8px; border: 1px solid var(--line); background: #191a19; color: var(--paper); font-size: 10px; }
.share-status { flex: 1 0 100%; color: #aaa9a4; font-size: 10px; line-height: 1.5; }
.share-status:empty { display: none; }
.portfolio-empty { margin: 0; padding: 35px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.portfolio-more { display: flex; align-items: center; justify-content: space-between; width: min(280px, 100%); margin: 49px auto 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid rgba(243,106,27,.6); color: var(--paper); font-size: 11px; font-weight: 600; transition: color .2s, border-color .2s; }
.portfolio-more span:last-child { color: var(--orange); font-size: 16px; }
.portfolio-more:hover { color: var(--orange); border-color: var(--orange); }
.filter-empty { margin: 48px 0; color: var(--muted); font-size: 12px; }
.portfolio-card[hidden] { display: none; }

.image-viewer { position: fixed; width: min(1050px, calc(100vw - 48px)); max-width: none; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); padding: 0; overflow: hidden; border: 1px solid rgba(240,238,233,.2); background: #151616; color: var(--paper); }
.image-viewer::backdrop { background: rgba(5,6,6,.86); backdrop-filter: blur(7px); }
.viewer-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr); grid-template-rows: minmax(0, 1fr); min-height: min(360px, calc(100vh - 48px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
.viewer-photo-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: min(360px, calc(100vh - 48px)); padding: 26px; background: #0b0c0c; }
.viewer-photo-stage { display: grid; place-items: center; min-width: 0; min-height: 0; width: 100%; }
.viewer-photo { display: block; max-width: 100%; max-height: calc(100vh - 230px); object-fit: contain; }
.viewer-thumbnails { display: flex; align-self: stretch; justify-content: safe center; gap: 9px; overflow-x: auto; padding: 2px 2px 6px; }
.viewer-thumbnails[hidden], .viewer-counter[hidden] { display: none; }
.viewer-thumbnail { flex: 0 0 76px; height: 55px; padding: 2px; overflow: hidden; border: 1px solid transparent; background: #242525; cursor: pointer; }
.viewer-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.viewer-thumbnail:hover img, .viewer-thumbnail[aria-pressed="true"] img { opacity: 1; }
.viewer-thumbnail[aria-pressed="true"] { border-color: var(--orange); }
.viewer-thumbnail:focus-visible { outline: 2px solid white; outline-offset: -4px; }
.viewer-counter { color: #aaa9a4; font-size: 10px; line-height: 1; }
.viewer-details { display: flex; flex-direction: column; align-items: flex-start; justify-content: safe center; min-width: 0; min-height: 0; padding: 44px 34px; overflow-y: auto; overscroll-behavior: contain; }
.viewer-details h2 { max-width: 100%; margin: 15px 0 14px; font-family: var(--font-display); font-size: clamp(25px, 3vw, 38px); font-weight: 500; letter-spacing: -.05em; line-height: 1.12; overflow-wrap: anywhere; }
.viewer-description { margin: 0; color: #b6b5b0; font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.viewer-sharing { align-self: stretch; margin-top: 22px; }
.viewer-sharing:empty { display: none; }
.viewer-date { margin: -4px 0 17px; color: #888782; font-size: 10px; }
.viewer-hint { margin-top: 40px; color: #777671; font-size: 9px; line-height: 1.6; }
.viewer-close { position: absolute; z-index: 1; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(240,238,233,.3); background: rgba(17,18,18,.8); color: white; font-size: 25px; cursor: pointer; }
.viewer-close:hover { border-color: var(--orange); color: var(--orange); }

.services { padding-top: 120px; padding-bottom: 120px; }
.services-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 45px; }
.services-heading h2 { margin: 19px 0 0; font-family: var(--font-display); font-size: clamp(38px, 5.2vw, 67px); font-weight: 500; letter-spacing: -.07em; line-height: 1.1; }
.services-heading h2 em { color: var(--orange); font-style: normal; }
.services-heading > p { max-width: 275px; margin: 0 0 5px; color: #aaa9a4; font-size: 12px; line-height: 1.85; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { min-width: 0; padding: 30px 26px; border: 1px solid var(--line); background: #191a19; }
.service-number { color: var(--orange); font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.service-card h3 { margin: 38px 0 13px; font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -.04em; }
.service-card p { margin: 0; color: #aaa9a4; font-size: 12px; line-height: 1.8; }
.services-link { margin-top: 32px; }

.contact { padding-top: 120px; padding-bottom: 125px; background: var(--panel); }
.contact-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr); align-items: start; gap: clamp(42px, 8vw, 110px); margin-top: 25px; }
.contact h2 { margin: 0; font-size: clamp(50px, 7vw, 90px); }
.contact-note { max-width: 420px; margin-top: 55px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-note-label { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.contact-note-label span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--orange); color: var(--orange); font-size: 18px; font-weight: 400; }
.contact-note p { max-width: 340px; margin: 22px 0; font-family: var(--font-display); font-size: clamp(20px, 2vw, 27px); line-height: 1.35; letter-spacing: -.04em; }
.contact-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-topics span { padding: 7px 10px; border: 1px solid var(--line); color: #aaa9a4; font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact-detail { width: 100%; max-width: 470px; }
.contact-detail > p { margin: 0 0 22px; color: #aaa9a4; font-size: 12px; line-height: 1.8; }
.contact-card { padding: 23px 25px 24px; border: 1px solid var(--line); background: #161717; }
.contact-card-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: #aaa9a4; font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.contact-card-mark { width: 6px; height: 6px; background: var(--orange); }
.contact-form { display: flex; flex-direction: column; gap: 14px; padding-top: 15px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.contact-field { display: flex; flex-direction: column; min-width: 0; }
.contact-form label { margin: 0 0 7px; color: #aaa9a4; font-size: 9px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 43px; padding: 11px 12px; outline: none; border: 1px solid rgba(240,238,233,.15); border-radius: 0; background: #111212; color: var(--paper); font-size: 11px; transition: border-color .2s, background .2s; }
.contact-form textarea { min-height: 105px; resize: vertical; line-height: 1.6; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #696964; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); background: #141515; }
.contact-form .button { width: 100%; margin-top: 2px; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-email { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #888782; font-size: 10px; transition: color .2s; }
.contact-email span { color: var(--orange); }
.contact-email:hover { color: var(--orange); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 6.1vw; border-top: 1px solid var(--line); color: #85847f; font-size: 9px; letter-spacing: .07em; }
.footer-brand { width: 142px; }
.site-footer p { margin: 0; }
.site-footer > a:not(.footer-brand) { transition: color .2s; }
.site-footer > a:not(.footer-brand):hover { color: var(--orange); }
.site-footer .back-top { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); color: var(--paper); font-size: 15px; }

/* Admin */
.admin-page { min-height: 100vh; background: #111212; }
.admin-header { display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding: 16px 6vw; border-bottom: 1px solid var(--line); }
.admin-brand { display: flex; align-items: center; gap: 21px; width: 270x; }
.admin-brand img { width: 155px; }
.admin-brand span, .admin-logout { color: #969590; font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.admin-header form { margin: 0; }
.admin-logout { padding: 10px 0; background: none; border: 0; cursor: pointer; }
.admin-logout:hover { color: var(--orange); }
.admin-logout span { margin-left: 9px; color: var(--orange); }
.admin-main { width: min(1130px, 86vw); min-height: calc(100vh - 160px); margin: 0 auto; padding: 80px 0 110px; }
.auth-panel { width: min(450px, 100%); margin: 25px auto; }
.auth-panel h1, .dashboard-heading h1 { margin: 25px 0 14px; font-size: clamp(44px, 6vw, 68px); }
.auth-panel > p, .dashboard-heading > p { margin: 0 0 30px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.admin-form { display: flex; flex-direction: column; }
.admin-form label { margin: 14px 0 8px; color: #aaa9a4; font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.admin-form input:not([type="hidden"]), .admin-form textarea { width: 100%; min-height: 47px; padding: 12px 13px; outline: none; border: 1px solid rgba(240,238,233,.17); border-radius: 0; background: #171818; color: var(--paper); font-size: 12px; transition: border-color .2s; }
.admin-form select { width: 100%; min-height: 47px; padding: 12px 13px; outline: none; border: 1px solid rgba(240,238,233,.17); border-radius: 0; background: #171818; color: var(--paper); font-size: 12px; transition: border-color .2s; }
.admin-form textarea { min-height: 85px; resize: vertical; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: var(--orange); }
.admin-form input::placeholder, .admin-form textarea::placeholder { color: #696964; }
.admin-form .file-input { padding: 9px; color: #aaa9a4; }
.file-input::file-selector-button { margin-right: 12px; padding: 8px 11px; border: 0; background: #30312f; color: var(--paper); cursor: pointer; }
.admin-form .button { margin-top: 23px; }
.notice { margin: 0 0 25px; padding: 14px 17px; border-left: 2px solid; font-size: 12px; line-height: 1.6; }
.notice-error { border-color: #ef6d62; background: rgba(239,109,98,.08); color: #f2a29b; }
.notice-success { border-color: var(--orange); background: rgba(243,106,27,.08); color: #f6a675; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 39px; }
.dashboard-heading h1 { margin-bottom: 0; }
.dashboard-heading > p { max-width: 285px; margin-bottom: 8px; }
.editor-layout { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.4fr); gap: 35px; align-items: start; }
.editor-card { padding: 25px; border: 1px solid var(--line); background: #161717; }
.editor-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.editor-card-heading .section-kicker { padding: 0; }
.upload-limit, .optional { color: #777671; font-size: 8px; }
.upload-watermark-note { margin: 8px 0 0; color: #85847f; font-size: 9px; line-height: 1.6; }
.optional { font-weight: 400; letter-spacing: 0; }
.ai-generator-note { margin: 7px 0 0; color: #85847f; font-size: 9px; line-height: 1.6; }
.ai-generate-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; margin-top: 12px; padding: 0 13px; border: 1px solid rgba(243,106,27,.65); background: transparent; color: var(--paper); font-size: 10px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.ai-generate-button:hover:not(:disabled) { background: var(--orange); color: #141414; }
.ai-generate-button:disabled { cursor: wait; opacity: .6; }
.ai-generate-button span { color: var(--orange); font-size: 14px; }
.ai-generate-button:hover:not(:disabled) span { color: inherit; }
.ai-generator-status { min-height: 14px; margin: 8px 0 0; color: #aaa9a4; font-size: 9px; line-height: 1.6; }
.editor-list-heading { display: flex; justify-content: space-between; padding: 3px 0 16px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.item-count { color: #85847f; font-family: var(--font-body); font-size: 10px; font-weight: 400; }
.empty-state { padding: 60px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.empty-icon { color: var(--orange); font-size: 23px; }
.empty-state h2 { margin: 15px 0 8px; font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.empty-state p { max-width: 280px; margin: 0 auto; color: var(--muted); font-size: 11px; line-height: 1.8; }
.editor-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.editor-item-summary { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 13px; list-style: none; cursor: pointer; }
.editor-item-summary::-webkit-details-marker { display: none; }
.editor-item-summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.editor-item-cover { width: 76px; height: 76px; object-fit: cover; background: #282927; }
.editor-item-info { display: grid; gap: 5px; min-width: 0; color: #aaa9a4; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.editor-item-info strong { color: var(--paper); font-size: 12px; }
.editor-item-toggle { padding: 9px 10px; border: 1px solid rgba(243,106,27,.65); color: var(--paper); font-size: 10px; white-space: nowrap; }
.editor-item-toggle::after { content: "+"; margin-left: 7px; color: var(--orange); }
.editor-item-editor[open] .editor-item-toggle::after { content: "−"; }
.editor-item-summary:hover .editor-item-toggle { background: var(--orange); color: #141414; }
.editor-item-summary:hover .editor-item-toggle::after { color: inherit; }
.editor-item-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 13px; padding-top: 18px; }
.item-edit { gap: 7px; }
.item-edit input:not([type="hidden"]), .item-edit textarea { min-height: 35px; padding: 8px 9px; font-size: 10px; }
.item-edit select { min-height: 35px; padding: 8px 9px; font-size: 10px; }
.item-edit textarea { min-height: 50px; }
.item-actions { display: flex; justify-content: flex-end; }
.small-button { padding: 8px 10px; border: 1px solid rgba(243,106,27,.65); background: transparent; color: var(--paper); font-size: 9px; cursor: pointer; }
.small-button:hover { background: var(--orange); color: #141414; }
.delete-form { align-self: start; }
.delete-button { padding: 5px 0; border: 0; background: none; color: #92918c; font-size: 9px; cursor: pointer; }
.delete-button:hover { color: #ef6d62; }
.editor-gallery { grid-column: 1 / -1; min-width: 0; padding: 12px; border: 1px solid var(--line); background: #161717; }
.editor-gallery > summary, .editor-replace > summary { color: var(--paper); font-size: 11px; font-weight: 600; cursor: pointer; }
.editor-gallery > summary span { margin-left: 5px; color: var(--orange); }
.editor-gallery-note { margin: 12px 0; color: #aaa9a4; font-size: 10px; line-height: 1.6; }
.editor-gallery-status { min-height: 16px; margin: 8px 0; color: var(--paper); font-size: 10px; line-height: 1.6; }
.editor-gallery-status[data-error="true"] { color: #ef6d62; }
.editor-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.editor-photo { min-width: 0; padding: 8px; border: 1px solid var(--line); }
.editor-photo-preview { position: relative; display: block; aspect-ratio: 4 / 3; background: #282927; }
.editor-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.editor-photo-preview span { position: absolute; bottom: 6px; left: 6px; padding: 4px 6px; background: rgba(17,18,18,.9); color: var(--paper); font-size: 9px; }
.editor-photo-order { display: flex; gap: 6px; margin-top: 10px; }
.editor-photo-order .small-button:disabled { opacity: .4; cursor: not-allowed; }
.editor-photo-order .small-button:disabled:hover { background: transparent; color: var(--paper); }
.editor-cover-form { margin-top: 10px; }
.editor-replace { margin-top: 10px; }
.editor-replace form { display: grid; gap: 8px; margin-top: 8px; }
.editor-replacement-file { width: 100%; min-width: 0; color: #aaa9a4; font-size: 10px; }
.editor-photo-required { display: block; margin-top: 8px; color: #aaa9a4; font-size: 9px; line-height: 1.5; }
.admin-footer { display: flex; justify-content: space-between; padding: 21px 6vw; border-top: 1px solid var(--line); color: #777671; font-size: 8px; letter-spacing: .1em; }
.admin-footer a:hover { color: var(--orange); }

/* Portfolio archive */
.archive-page .site-header.archive-header { position: relative; top: auto; left: auto; min-height: 88px; background: var(--ink); }
.archive-page .site-header.archive-header.fixed-header { position: fixed; top: 0; left: 0; }
.archive-fixed-header { padding-top: 88px; }
.archive-page .archive-intro { padding: 68px 0 72px; }
.archive-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 50px; margin-top: 24px; }
.archive-heading h1 { margin: 0; font-family: var(--font-display); font-size: clamp(56px, 8vw, 94px); font-weight: 500; letter-spacing: -.075em; line-height: .96; }
.archive-heading h1 em { color: var(--orange); font-style: normal; }
.archive-summary { max-width: 430px; padding-bottom: 5px; }
.archive-summary p { margin: 0 0 21px; color: #aaa9a4; font-size: 13px; line-height: 1.8; }
.archive-summary > span { display: inline-flex; align-items: center; gap: 10px; color: #888782; font-size: 9px; letter-spacing: .08em; }
.archive-summary i { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.portfolio-section.archive-section { padding-top: clamp(32px, 4vw, 56px); }
.archive-section .portfolio-filters { margin: 0 0 38px; }
.archive-section .portfolio-filter { max-width: 100%; min-height: 40px; padding: 10px 15px; font-size: 11px; line-height: 1.35; text-align: left; overflow-wrap: anywhere; }
.archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; column-gap: 26px; row-gap: 42px; }
.archive-grid .portfolio-card, .archive-grid .portfolio-card:nth-child(3n + 2), .archive-grid .portfolio-card:nth-child(3n + 3), .archive-grid .portfolio-card.card-tall { margin-top: 0; }
.archive-grid .card-image { background: #101111; }
.archive-grid .card-image img { filter: none; }
.archive-grid .portfolio-card:hover .card-image img { transform: none; filter: none; }
.archive-grid .card-caption { min-height: 65px; }
.archive-empty { padding: 80px 20px; border-top: 1px solid var(--line); text-align: center; }
.archive-empty h2 { margin: 13px 0 8px; font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.archive-empty p { margin: 0 auto 24px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.archive-empty .text-link { font-size: 10px; }
.photo-detail { padding: 65px 0 110px; }
.photo-back { display: inline-block; margin-bottom: 32px; }
.photo-detail-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .7fr); gap: 42px; align-items: start; }
.photo-detail-image { display: block; background: #101111; }
.photo-detail-image img { display: block; width: 100%; max-height: 75vh; object-fit: contain; }
.photo-detail-hint, .photo-detail-links { color: var(--muted); font-size: 11px; line-height: 1.6; }
.photo-detail-links a { color: var(--paper); text-decoration: underline; }
.photo-detail-copy h1 { margin: 14px 0; font-family: var(--font-display); font-size: clamp(30px, 3.5vw, 48px); font-weight: 500; letter-spacing: -.05em; line-height: 1.15; overflow-wrap: anywhere; }
.photo-detail-copy p { margin: 20px 0 25px; color: #b6b5b0; font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }

@keyframes hero-reveal { from { transform: scale(1.07); } to { transform: scale(1.015); } }
@keyframes content-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1500px) {
    .section-wrap { width: min(1320px, 78vw); }
}
@media (max-width: 900px) {
    .site-header { padding-right: 5vw; padding-left: 5vw; }
    .hero-content { margin-left: 9vw; }
    .section-wrap { width: 82vw; }
    .intro { grid-template-columns: .7fr 2fr; gap: 4vw; }
    .portfolio-grid { gap: 16px; }
    .portfolio-grid-live { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .portfolio-grid-live .portfolio-card:nth-child(3n + 2) { margin-top: 0; }
    .portfolio-grid-live .portfolio-card:nth-child(2n) { margin-top: 55px; }
    .portfolio-grid-mosaic .portfolio-card:nth-child(n of :not([hidden])) { margin-top: 0; }
    .portfolio-grid-mosaic .portfolio-card:nth-child(2n of :not([hidden])) { margin-top: 24px; }
    .contact-main { grid-template-columns: 1fr; gap: 28px; }
    .contact-detail { max-width: 580px; }
    .archive-heading { grid-template-columns: 1fr; gap: 24px; }
    .archive-summary { max-width: 530px; }
    .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .photo-detail-layout { grid-template-columns: 1fr; gap: 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card h3 { margin-top: 22px; }
    .editor-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    html { scroll-padding-top: 77px; }
    .site-header { height: 69px; padding: 13px 6vw; }
    .site-header.fixed-header { height: 69px; padding: 13px 6vw; }
    .archive-page .site-header.archive-header.fixed-header { min-height: 69px; }
    .archive-fixed-header { padding-top: 69px; }
    .brand { width: 190px; max-width: 64vw; }
    .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 39px; height: 39px; padding: 9px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.2); }
    .menu-toggle > span:not(.sr-only) { width: 100%; height: 1px; background: white; }
    .primary-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 69px); max-height: calc(100dvh - 69px); overflow-y: auto; padding: 12px 6vw 22px; background: #141515; }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
    .primary-nav .nav-cta { margin-top: 12px; padding: 13px; text-align: center; border: 1px solid rgba(255,255,255,.35); }
    .hero { min-height: 710px; min-height: 92svh; }
    .hero-image { object-position: 57% top; }
    .hero-shade { background: linear-gradient(90deg, rgba(7,9,10,.82), rgba(7,9,10,.4)), linear-gradient(0deg, rgba(8,9,9,.7), transparent 55%); }
    .hero-content { width: 87vw; margin: 73px auto 0; }
    .eyebrow { font-size: 8px; letter-spacing: .13em; }
    .hero h1 { margin-top: 26px; font-size: clamp(49px, 13vw, 70px); }
    .hero-copy { max-width: 355px; font-size: 12px; }
    .hero-note { right: 6vw; bottom: 28px; gap: 9px; font-size: 7px; }
    .note-rule { width: 26px; }
    .scroll-cue { left: 6vw; }
    .section-wrap { width: 88vw; }
    .intro { display: block; padding-top: 82px; padding-bottom: 92px; }
    .intro-photo { max-width: 300px; }
    .intro-body { margin-top: 31px; }
    .intro h2, .portfolio-heading h2 { font-size: clamp(38px, 10vw, 53px); }
    .intro-body > p { margin-top: 21px; font-size: 12px; }
    .portfolio-section { padding: 82px 0 88px; }
    .portfolio-heading { display: block; margin-bottom: 32px; }
    .portfolio-heading h2 { margin-top: 17px; }
    .portfolio-lead { max-width: 330px; margin-top: 16px; font-size: 11px; }
    .portfolio-grid, .portfolio-grid-live { grid-template-columns: 1fr; gap: 33px; }
    .portfolio-card, .portfolio-card:nth-child(3n + 2), .portfolio-card:nth-child(3n + 3), .portfolio-card.card-tall, .portfolio-grid-live .portfolio-card:nth-child(2n) { margin-top: 0; }
    .portfolio-grid-mosaic .portfolio-card:nth-child(n of :not([hidden])) { margin-top: 0; }
    .card-image, .card-tall .card-image { height: 75vw; max-height: 410px; }
    .portfolio-card:nth-child(2) .card-image { height: 93vw; max-height: 460px; }
    .portfolio-grid-live .portfolio-card .card-image, .portfolio-grid-live .portfolio-card:nth-child(2) .card-image { height: auto; max-height: none; }
    .card-caption h3 { font-size: 15px; }
    .portfolio-more { margin-top: 35px; }
    .archive-page .archive-intro { padding: 48px 0 50px; }
    .archive-heading { gap: 18px; margin-top: 20px; }
    .archive-heading h1 { font-size: clamp(52px, 14vw, 72px); }
    .archive-summary p { margin-bottom: 13px; font-size: 11px; }
    .archive-section .portfolio-filters { margin-bottom: 28px; }
    .archive-section .portfolio-filter { min-height: 44px; }
    .archive-grid { grid-template-columns: 1fr; gap: 33px; }
    .archive-grid .portfolio-card, .archive-grid .portfolio-card:nth-child(3n + 2), .archive-grid .portfolio-card:nth-child(3n + 3), .archive-grid .portfolio-card.card-tall { margin-top: 0; }
    .archive-grid .portfolio-card:nth-child(2) { width: 100%; margin-left: 0 !important; }
    .archive-empty { padding: 60px 10px; }
    .photo-detail { padding: 40px 0 80px; }
    .image-viewer { width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
    .viewer-layout { display: block; min-height: 0; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
    .viewer-photo-wrap { min-height: 0; padding: 18px; }
    .viewer-photo { max-height: min(45vh, 400px); }
    .viewer-thumbnail { flex-basis: 65px; height: 48px; }
    .viewer-details { padding: 26px 23px 24px; overflow: visible; }
    .viewer-details h2 { max-width: calc(100% - 25px); margin: 11px 0; font-size: 27px; }
    .viewer-description { font-size: 12px; }
    .viewer-hint { margin-top: 23px; }
    .viewer-close { top: 9px; right: 9px; width: 34px; height: 34px; }
    .services { padding-top: 82px; padding-bottom: 82px; }
    .services-heading { display: block; margin-bottom: 28px; }
    .services-heading h2 { font-size: clamp(38px, 10vw, 53px); }
    .services-heading > p { margin-top: 16px; }
    .service-card { padding: 24px; }
    .contact { padding-top: 82px; padding-bottom: 85px; }
    .contact-main { display: grid; grid-template-columns: 1fr; gap: 27px; margin-top: 26px; }
    .contact h2 { font-size: clamp(48px, 12vw, 70px); }
    .contact-note { margin-top: 30px; }
    .contact-detail { width: 100%; max-width: none; margin-top: 0; }
    .contact-detail > p { margin-bottom: 17px; }
    .contact-card { padding: 19px 17px; }
    .contact-form-row { grid-template-columns: 1fr; gap: 14px; }
    .contact-form { gap: 13px; }
    .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 15px; padding: 22px 6vw; font-size: 8px; }
    .footer-brand { width: 132px; }
    .site-footer p { grid-column: 1; grid-row: 2; }
    .site-footer > a:not(.footer-brand) { grid-column: 2; grid-row: 1; justify-self: end; }
    .site-footer .back-top { grid-column: 2; grid-row: 2; }
    .admin-header { min-height: 73px; padding: 12px 5vw; }
    .admin-brand { width: 180px; gap: 11px; }
    .admin-brand img { width: 125px; }
    .admin-brand span { font-size: 7px; }
    .admin-main { width: 90vw; padding: 53px 0 75px; }
    .auth-panel { margin: 8px auto; }
    .dashboard-heading { display: block; margin-bottom: 27px; }
    .dashboard-heading > p { margin-top: 15px; }
    .editor-card { padding: 18px; }
    .editor-card-heading { align-items: start; flex-direction: column; }
    .editor-item-summary { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 9px; }
    .editor-item-cover { width: 60px; height: 60px; }
    .admin-footer { padding: 18px 5vw; font-size: 7px; }
}
@media (max-width: 400px) {
    .hero-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
