/* Shared design foundation and homepage composition. */
:root {
    color-scheme: dark;
    --bg: #121412;
    --surface: #1c1f1b;
    --ink: #f1eee5;
    --muted: #adafa5;
    --accent: #d9ed9a;
    --line: #363a32;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 16px; background: var(--accent); color: var(--bg); }
.skip-link:focus { top: 16px; }

.site-header { display: flex; align-items: center; min-height: 112px; border-bottom: 1px solid var(--line); gap: 54px; }
.brand { flex-shrink: 0; }
.brand img { width: 100px; height: 76px; object-fit: contain; mix-blend-mode: screen; }
.site-header nav { display: flex; gap: 32px; font-size: 13px; }
.site-header nav a { padding-block: 12px; }
.site-header nav a:hover, .text-link:hover { color: var(--accent); }
.site-header .active { color: var(--accent); }
.active span { margin-left: 12px; }
.header-note { margin-left: auto; color: var(--muted); font-size: 12px; }

.intro { display: grid; grid-template-columns: 1fr 230px; gap: 48px; align-items: center; padding: 24px 0; }
.homepage .site-header { min-height: 92px; }
.intro h1 { font-size: clamp(36px, 3.6vw, 52px); margin: 16px 0 12px; letter-spacing: -2px; }
.intro .intro-description { font-size: 14px; line-height: 1.6; margin: 8px 0; }
.intro .explore-link { margin-top: 4px; }
.eyebrow { margin: 0; color: var(--muted); text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: 1.9px; line-height: 1.8; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin: 0 10px 1px 0; }
h1 { margin: 26px 0 22px; font-weight: 500; font-size: clamp(42px, 4.7vw, 68px); line-height: 1.05; letter-spacing: -3px; }
h1 em { color: var(--accent); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.intro-description { color: var(--muted); font-size: 15px; line-height: 1.8; }
.explore-link { display: inline-flex; align-items: center; gap: 34px; margin-top: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--accent); font-size: 12px; }
.explore-link span { color: var(--accent); font-size: 19px; }
.intro-mark { position: relative; border: 1px solid var(--line); padding: 18px 22px; transform: rotate(3deg); background: linear-gradient(135deg, #252b20, #181b17); }
.mark-top, .mark-bottom { display: block; font-size: 8px; letter-spacing: 2px; color: var(--muted); }
.mark-word { display: block; font-size: 50px; font-weight: 900; letter-spacing: -3px; line-height: .94; margin: 16px 0; }
.mark-word > span { color: var(--accent); }
.mark-bottom { border-top: 1px solid var(--line); padding-top: 12px; font-size: 7px; letter-spacing: .7px; }

.work { padding-bottom: 64px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 25px 0; }
.section-heading h2 { margin: 0; font-size: 16px; font-weight: 500; }
.section-heading > span { color: var(--muted); font-size: 11px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.category-card { background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.category-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.card-visual { position: relative; height: 245px; overflow: hidden; background: #272b23; }
.card-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #0007, transparent 40%, #000b); }
.card-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.65); transition: transform .4s, filter .4s; }
.category-card:hover img { transform: scale(1.04); filter: saturate(1); }
.card-number, .card-label { position: absolute; z-index: 1; left: 18px; color: #fff; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.card-number { top: 18px; }
.card-label { bottom: 18px; }
.card-copy { padding: 21px 18px 25px; }
.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-title-row h3 { margin: 0; font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.5px; }
.card-arrow { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #52584a; border-radius: 50%; color: var(--accent); flex-shrink: 0; }
.card-copy p { margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

/* Graphic covers stay intentional while the photo archive is being restored. */
.graphic { position: absolute; inset: 0; overflow: hidden; }
.graphic-production { background: radial-gradient(ellipse at 80% 20%, #73754a, #252b22 65%); }
.graphic-music { background: radial-gradient(ellipse at 30% 30%, #a15c39, #38221b 80%); }
.graphic-construction { background: #404b39; }
.graphic-awards { background: #514331; }
.graphic-orbit { position: absolute; width: 180px; height: 180px; border: 1px solid #e8ecc370; border-radius: 50%; top: 22px; left: 35px; box-shadow: 0 0 0 18px #e8ecc310, 0 0 0 38px #e8ecc310; }
.graphic-line { position: absolute; height: 220px; width: 80px; border: 1px solid #eee7c660; transform: rotate(38deg); top: -10px; left: 90px; }
.graphic-type { position: absolute; bottom: 36px; left: 9px; font-size: 92px; letter-spacing: -8px; font-weight: 900; color: #ffffff20; }
.graphic-music .graphic-orbit { border-width: 35px; border-color: #151711; box-shadow: 0 0 0 1px #bfa99270, 0 0 0 9px #12130f, 0 0 0 11px #bfa99250, 0 0 0 18px #12130f; }
.graphic-music .graphic-line { width: 16px; background: #d9c399; border: 0; transform: rotate(22deg); top: 20px; left: 200px; }
.has-photo .graphic { display: none; }

.about { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; border-top: 1px solid var(--line); padding: 44px 0 55px; }
.about h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 32px; font-weight: 400; margin: 0 0 15px; }
.about p:not(.eyebrow) { max-width: 650px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.text-link { display: inline-block; font-size: 12px; margin-top: 8px; }
.text-link span { margin-left: 12px; color: var(--accent); }
.site-footer { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 25px; font-size: 10px; color: var(--muted); }
.site-footer a { color: var(--ink); }

@media (min-width: 1051px) and (max-height: 850px) {
    .homepage .intro { padding-block: 16px; }
    .homepage .section-heading { padding-block: 20px; }
    .homepage .category-card .card-visual { height: 200px; }
}
@media (max-width: 1050px) {
    .site-header { gap: 28px; }
    .header-note { display: none; }
    .wrap { width: calc(100% - 56px); }
    .intro { grid-template-columns: 1fr 230px; gap: 28px; }
    .mark-bottom { letter-spacing: .5px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card-visual { height: 260px; }
    .card-title-row h3 { font-size: 25px; }
}
@media (max-width: 650px) {
    .wrap { width: calc(100% - 36px); }
    .site-header { min-height: 92px; gap: 0; flex-wrap: wrap; padding-top: 12px; }
    .brand img { width: 76px; height: 60px; }
    .site-header nav { width: 100%; justify-content: space-between; gap: 8px; font-size: 11px; padding-bottom: 8px; }
    .header-note, .intro-mark { display: none; }
    .intro { display: block; padding: 24px 0; }
    .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
    h1 { font-size: clamp(36px, 8.4vw, 54px); letter-spacing: -1.8px; margin-top: 22px; }
    .intro-description { font-size: 13px; }
    .desktop-break { display: none; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
    .category-grid { gap: 14px; }
    .card-visual { height: 190px; }
    .card-copy { padding: 15px 12px 20px; }
    .card-title-row h3 { font-size: 18px; }
    .card-arrow { width: 23px; height: 23px; font-size: 13px; }
    .card-copy p { font-size: 11px; }
    .card-number, .card-label { left: 12px; font-size: 8px; }
    .graphic-type { font-size: 70px; }
    .about { grid-template-columns: 1fr; gap: 20px; padding-block: 34px; }
    .site-footer { flex-direction: column; gap: 14px; }
}
@media (max-width: 380px) {
    .category-grid { grid-template-columns: 1fr; }
    .card-visual { height: 230px; }
    .card-title-row h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
