:root {
  --ink: #0d2f70;
  --paper: #f4f6f7;
  --accent: #f58a3d;
  --navy: #0d2f70;
  --ice: #e9f0f4;
  --silver: #d9dee2;
  --acid: #f58a3d;
  --line: rgba(13, 47, 112, 0.2);
  --muted: #667184;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.section { padding: 8rem clamp(1.3rem, 5vw, 5.5rem); }
.eyebrow { margin: 0; font: 600 .73rem/1 "Manrope", sans-serif; letter-spacing: .14em; text-transform: uppercase; }

.site-header { position: absolute; z-index: 5; top: 0; left: 0; display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 1.5rem clamp(1.3rem, 5vw, 5.5rem); }
.wordmark { font: 700 1.25rem "Manrope"; }
.wordmark span { color: var(--accent); }
nav { display: flex; gap: 2rem; font-size: .88rem; }
nav a { border-bottom: 1px solid transparent; }
nav a:hover { border-color: currentColor; }

.hero { min-height: 94vh; display: flex; flex-direction: column; justify-content: space-between; padding-top: 9rem; background: linear-gradient(135deg, #fff 0%, #f2f4f5 58%, var(--ice) 100%); border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 1100px; margin: 3rem 0; font: 600 clamp(3.3rem, 8.4vw, 8.5rem)/.92 "Manrope", sans-serif; letter-spacing: -.065em; }
.hero h1 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
.hero .eyebrow { color: var(--accent); }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.hero-copy { max-width: 610px; margin: 0; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.45; }
.text-link { display: inline-flex; gap: .7rem; white-space: nowrap; border-bottom: 1px solid; padding-bottom: .3rem; }

.marquee { overflow: hidden; padding: 1rem 0; color: var(--paper); background: var(--ink); white-space: nowrap; }
.marquee div { width: max-content; font: 600 .78rem "Manrope"; letter-spacing: .13em; animation: slide 24s linear infinite; }
@keyframes slide { to { transform: translateX(-40%); } }

.achievements { padding-top: 5rem; padding-bottom: 5rem; border-bottom: 1px solid var(--line); }
.achievements .stats { margin-top: 2.5rem; border-color: var(--line); }
.achievements .stats div { padding-top: 1.5rem; }
.achievements .stats strong { color: var(--accent); }
.achievements .stats span { color: var(--muted); }
.achievement-note { margin: 1.5rem 0 0; color: var(--muted); font-size: .72rem; }

.section-heading { display: flex; align-items: start; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; }
.section-heading > p:last-child { max-width: 430px; margin: 0; font-size: 1.2rem; }
.project { padding: 0 0 5rem; opacity: 0; transform: translateY(20px); transition: .7s ease; }
.project.is-visible { opacity: 1; transform: none; }
.project-open { width: 100%; padding: 0; text-align: left; background: none; border: 0; cursor: pointer; }
.project-visual { position: relative; width: 100%; aspect-ratio: 16 / 9; display: flex; overflow: hidden; align-items: center; justify-content: center; padding: 2rem; background-color: #171713; background-position: 50% 50%; background-repeat: no-repeat; background-size: contain; }
.project-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.06) 46%, rgba(0,0,0,.34)); }
.project-visual::after { content: ""; position: absolute; inset: 0; opacity: 0; background: rgba(0,0,0,.12); transition: .35s; }
.project-open:hover .project-visual::after { opacity: 1; }
.blue { color: white; background: linear-gradient(135deg, #081f4d, #0d2f70); }
.red { color: white; background: linear-gradient(135deg, #b64f12, #f58a3d); }
.violet { color: white; background: linear-gradient(135deg, #23477d, #799bc4); }
.green { color: white; background: linear-gradient(135deg, #54647d, #aab8c8); }
.project-visual[style*="background-image"] {
  background-color: #171713;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
}
.visual-title { position: relative; z-index: 1; max-width: 80%; font: 600 clamp(3rem, 8vw, 8rem)/.9 "Manrope"; letter-spacing: -.06em; text-align: center; text-shadow: 0 2px 30px rgba(0,0,0,.22); }
.project-number, .visual-arrow { position: absolute; top: 1.6rem; z-index: 1; font: 600 .78rem "Manrope"; }
.project-number { left: 1.8rem; }
.visual-arrow { right: 1.8rem; font-size: 1.3rem; transition: transform .25s; }
.project-open:hover .visual-arrow { transform: translate(5px,-5px); }
.project-meta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; padding: 1.4rem 0 1rem; border-bottom: 1px solid var(--line); }
.project-meta h3 { margin: 0 0 .25rem; font: 600 1.25rem "Manrope"; }
.project-meta p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .45rem; }
.tags span { display: inline-flex; align-items: center; min-height: 1.75rem; padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 99px; font-size: .72rem; line-height: 1; white-space: nowrap; }
.project-summary { max-width: 650px; margin: 1.3rem 0 0; font-size: 1.05rem; line-height: 1.55; }

.events { color: #fff; background: linear-gradient(145deg, #0d2f70 0%, #17498d 100%); }
.event-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8vw; align-items: start; }
.event-intro h2 { max-width: 760px; margin: 3rem 0 0; font: 600 clamp(3rem, 6vw, 6.4rem)/.95 "Manrope"; letter-spacing: -.06em; }
.event-copy p { margin: 0 0 1.4rem; color: #dce8f4; font-size: 1.08rem; line-height: 1.65; }
.event-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.event-tags span { padding: .42rem .7rem; border: 1px solid rgba(255,255,255,.45); border-radius: 99px; font-size: .72rem; }
.instagram-feature { display: grid; grid-template-columns: 1fr minmax(300px, 540px); gap: 8vw; align-items: start; margin-top: 6rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,.3); }
.instagram-feature h3 { max-width: 600px; margin: 2rem 0 1rem; font: 600 clamp(2rem, 4vw, 4rem)/1 "Manrope"; letter-spacing: -.05em; }
.instagram-feature > div:first-child > p:last-child { max-width: 520px; color: #dce8f4; line-height: 1.6; }
.instagram-frame { width: 100%; }
.instagram-frame iframe { display: block; width: 100%; height: 710px; background: white; border: 0; border-radius: 12px; }
.instagram-frame a { display: inline-block; margin-top: .8rem; border-bottom: 1px solid currentColor; padding-bottom: .2rem; font-size: .82rem; }
.event-gallery { display: grid; grid-template-columns: .78fr 1fr 1fr; gap: 1rem; align-items: start; margin-top: 6rem; }
.event-gallery figure { margin: 0; }
.event-gallery img, .event-gallery video { display: block; width: 100%; height: auto; background: #171713; }
.event-portrait { grid-row: span 2; }
.event-concept { grid-column: span 2; }
.event-gallery figcaption { padding-top: .55rem; color: #c9daec; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }

.approach { color: var(--paper); background: #082458; }
.approach-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8vw; margin: 4rem 0 6rem; opacity: 0; transform: translateY(20px); transition: .7s; }
.approach-grid.is-visible { opacity: 1; transform: none; }
.approach h2 { margin: 0; font: 500 clamp(2.5rem, 5vw, 5rem)/1.02 "Manrope"; letter-spacing: -.05em; }
.approach-grid p { margin: 0 0 1.5rem; color: #c9c6bd; font-size: 1.08rem; line-height: 1.65; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #44443e; opacity: 0; transition: .8s; }
.stats.is-visible { opacity: 1; }
.stats div { padding: 2rem 2rem 0 0; }
.stats strong { display: block; color: #ff7130; font: 600 clamp(2.3rem, 4vw, 4rem) "Manrope"; }
.stats span { display: block; max-width: 170px; margin-top: .5rem; color: #aaa79f; font-size: .83rem; }

.experience-list { margin-top: 3rem; border-top: 1px solid var(--line); opacity: 0; transition: .8s; }
.experience-list.is-visible { opacity: 1; }
.experience-list article { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 2rem; align-items: baseline; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.experience-list span, .experience-list p { color: var(--muted); }
.experience-list h3, .experience-list p { margin: 0; }
.linkedin-link { display: inline-block; margin-top: 2rem; border-bottom: 1px solid currentColor; padding-bottom: .25rem; font-size: .9rem; }

.contact { color: #fff; text-align: center; background: var(--accent); }
.contact h2 { max-width: 850px; margin: 4rem auto 2rem; font: 600 clamp(3rem, 7vw, 7rem)/.95 "Manrope"; letter-spacing: -.06em; }
.contact-link { display: inline-flex; gap: .7rem; padding: 1rem 1.5rem; color: var(--ink); background: #fff; border-radius: 99px; }
.contact-note { margin: 4rem 0 0; font-size: .85rem; }
footer { display: flex; justify-content: space-between; padding: 1.5rem clamp(1.3rem, 5vw, 5.5rem); color: #b8c8dc; background: #082458; font-size: .78rem; }

dialog { width: min(900px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: clamp(1.5rem, 5vw, 4.5rem); color: var(--ink); background: var(--paper); border: 0; }
dialog::backdrop { background: rgba(10,10,8,.78); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 1.2rem; right: 1.2rem; padding: .4rem .7rem; background: transparent; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; }
dialog h2 { max-width: 720px; margin: 2rem 0 1.5rem; font: 600 clamp(3rem, 7vw, 6rem)/.95 "Manrope"; letter-spacing: -.06em; }
.dialog-lead { max-width: 680px; font-size: 1.3rem; line-height: 1.5; }
.role-callout { margin: 2.5rem 0 0; padding: 1.4rem 1.5rem; background: var(--ice); border-left: 3px solid var(--accent); }
.role-callout h3 { margin: 0 0 .55rem; font: 600 .75rem "Manrope"; letter-spacing: .12em; text-transform: uppercase; }
.role-callout p { max-width: 720px; margin: 0; line-height: 1.6; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin: 4rem 0; }
.case-grid h3 { margin: 0 0 .6rem; font: 600 .75rem "Manrope"; letter-spacing: .12em; text-transform: uppercase; }
.case-grid p { margin: 0; color: #55534d; line-height: 1.6; }
.source-link { display: inline-block; border-bottom: 1px solid; padding-bottom: .3rem; }
.case-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.campaign-link { display: inline-block; padding: .75rem 1rem; color: var(--paper); background: var(--ink); border-radius: 99px; }

@media (max-width: 760px) {
  .section { padding: 5.5rem 1.3rem; }
  nav { gap: 1rem; }
  .hero { min-height: 88vh; padding-top: 8rem; }
  .hero-bottom, .section-heading { display: block; }
  .text-link { margin-top: 2rem; }
  .section-heading > p:last-child { margin-top: 1.5rem; }
  .project-visual { aspect-ratio: 16 / 9; }
  .project-meta { grid-template-columns: 1fr auto; }
  .tags { grid-column: 1 / -1; grid-row: 2; }
  .approach-grid, .case-grid { grid-template-columns: 1fr; }
  .event-intro { grid-template-columns: 1fr; }
  .event-copy { margin-top: 2rem; }
  .instagram-feature { grid-template-columns: 1fr; }
  .instagram-frame { max-width: 540px; margin: 0 auto; }
  .instagram-frame iframe { height: 680px; }
  .event-gallery { grid-template-columns: 1fr; }
  .event-portrait, .event-concept { grid-column: auto; grid-row: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:last-child { grid-column: 1 / -1; }
  .experience-list article { grid-template-columns: 1fr; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
