/* Case-study pages (/work/*) — static, no JS. Brand: night / cream / gold, Italiana + Cormorant + Jost. */
@font-face { font-family: Italiana; src: url(/assets/work/italiana-400.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; src: url(/assets/work/cormorant-400i.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Jost; font-weight: 400; src: url(/assets/work/jost-400.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Jost; font-weight: 500; src: url(/assets/work/jost-500.woff2) format('woff2'); font-display: swap; }

:root { --night: #0C121E; --ink: #1E2638; --cream: #F5EFE4; --paper: #FBF7EF; --gold: #C39B5E; --pale: #E8CFA3; --legal: #B9B3A8; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--cream); font: 400 17px/1.65 Jost, system-ui, sans-serif; overflow-x: hidden; }
a { color: var(--pale); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--pale); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 9; background: var(--cream); color: var(--night); padding: 8px 14px; border-radius: 8px; }

.top { position: sticky; top: 0; z-index: 5; background: rgba(12, 18, 30, .86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(232, 207, 163, .12); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-family: Italiana, Georgia, serif; font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.brand span { color: var(--gold); }
.top nav { display: flex; align-items: center; gap: 18px; font-size: .92rem; }
.top nav a:not(.btn) { color: var(--cream); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--pale); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 500; text-decoration: none; transition: background .25s; }
.btn:hover { background: var(--pale); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid rgba(245, 239, 228, .35); }
.btn-ghost:hover { background: rgba(245, 239, 228, .08); }
.narrow { display: none; }
.btn-sm { white-space: nowrap;  min-height: 40px; padding: 8px 16px; font-size: .85rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.tag { display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; background: var(--gold); color: var(--night); }
.tag-std { background: transparent; color: var(--cream); border: 1px solid rgba(245, 239, 228, .45); }
h1, h2 { font-family: Italiana, Georgia, serif; font-weight: 400; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); margin-top: 16px; max-width: 20ch; }
h1 em, .tagline { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; color: var(--pale); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 14px; }
.lead { font-size: 1.12rem; max-width: 62ch; color: var(--cream); }
.tagline { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 18px 0 0; }
.note { color: var(--legal); max-width: 64ch; margin: 12px 0 0; font-size: .95rem; }
.crumbs { font-size: .85rem; color: var(--legal); margin-bottom: 26px; }
.crumbs a { color: var(--legal); }

.hero { padding: clamp(36px, 7vh, 80px) 0 clamp(40px, 8vh, 90px); background: radial-gradient(90% 70% at 85% 0%, color-mix(in srgb, var(--acc, #33465F) 26%, transparent), transparent 70%); }
.shot { display: block; margin-top: clamp(32px, 6vh, 56px); border-radius: 20px; overflow: hidden; border: 1px solid rgba(232, 207, 163, .18); box-shadow: 0 40px 80px -40px var(--acc, #000); }
.shot img { width: 100%; max-height: 78vh; object-fit: cover; object-position: top; }

.body { padding: clamp(40px, 8vh, 90px) 0; background: var(--paper); color: var(--night); }
.body a { color: #7A5A2C; }
.cols { display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: 1.4fr 1fr; }
.cols h2 + p, .cols p { margin: 0 0 30px; max-width: 62ch; }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; }
.ticks li { position: relative; padding: 0 0 12px 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid #7A5A2C; border-bottom: 2px solid #7A5A2C; transform: rotate(-45deg); }
aside { border-left: 1px solid rgba(12, 18, 30, .14); padding-left: clamp(20px, 3vw, 40px); }

.more { padding: clamp(48px, 9vh, 96px) 0 0; }
.more:last-of-type { padding-bottom: clamp(48px, 9vh, 96px); }
.grid { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 14px; border-radius: 20px; text-decoration: none; color: var(--cream); transition: background .25s; }
.card:hover { background: rgba(255, 255, 255, .04); }
.card img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; margin-bottom: 10px; border: 1px solid rgba(232, 207, 163, .15); }
.card .tag { position: absolute; right: 18px; top: 18px; }
.card-k { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.card strong { font-family: Italiana, Georgia, serif; font-weight: 400; font-size: 1.45rem; }
.card-s { font-size: .9rem; color: var(--pale); }

.cta { padding: clamp(56px, 10vh, 110px) 0; border-top: 1px solid rgba(232, 207, 163, .14); background: var(--ink); }
.cta .eyebrow { margin-bottom: 14px; }
.foot { padding: 32px 0 44px; font-size: .88rem; color: var(--legal); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; }
.foot a { color: var(--cream); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .cols { grid-template-columns: 1fr; }
  aside { border-left: 0; padding-left: 0; border-top: 1px solid rgba(12, 18, 30, .14); padding-top: 28px; }
  .top nav a:not(.btn) { display: none; }
  .brand { font-size: 1.05rem; }
  .wide { display: none; } .narrow { display: inline; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
