:root {
  --ink: #101829;
  --navy: #08111f;
  --panel: #111d30;
  --paper: #f4f0e8;
  --mist: #d9e0e7;
  --muted: #8d99a8;
  --signal: #fe5a45;
  --line: rgba(218, 227, 237, .17);
  --display: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--mist); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #aeb9c8; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(254, 90, 69, .14); }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.05em; color: #fff; font-size: 19px; }
.brand-mark i { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-family: var(--display); font-style: normal; font-size: 16px; }

.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: rgba(8,17,31,.86); border-bottom: 1px solid var(--line); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #c4cbd5; font-size: 13px; font-weight: 700; }
.nav-links a { transition: color .18s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-call { border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 10px 15px; color: #fff; font-size: 12px; font-weight: 800; transition: transform .16s var(--ease), background .16s var(--ease), color .16s var(--ease); }
.nav-call:hover { background: #fff; color: var(--ink); transform: translateY(-1px); }
.menu-toggle { display: none; border: 0; background: transparent; color: #fff; font-size: 22px; }

.home-hero { position: relative; min-height: 710px; overflow: hidden; display: grid; align-items: end; padding: 126px 0 82px; background: radial-gradient(circle at 82% 18%, rgba(254,90,69,.24), transparent 23rem), linear-gradient(132deg, #07101e 5%, #13253d 58%, #08111f); }
.home-hero::before { content: ""; position: absolute; top: -19%; right: 8%; width: min(46vw, 620px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.15); border-radius: 42% 58% 57% 43% / 48% 42% 58% 52%; box-shadow: 0 0 0 38px rgba(255,255,255,.03), 0 0 0 112px rgba(255,255,255,.022); opacity: .8; pointer-events: none; }
.home-hero::after { content: ""; position: absolute; inset: 0; opacity: .36; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000, transparent); }
.home-hero .shell { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 60px; align-items: end; }
.hero-title { max-width: 800px; margin: 22px 0 22px; color: #fff; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 8vw, 114px); line-height: .91; letter-spacing: -.065em; }
.hero-title em { color: var(--signal); font-style: normal; }
.hero-copy { max-width: 520px; margin: 0; color: #bdc7d4; font-size: 17px; line-height: 1.7; }
.hero-archive { padding: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.045); }
.hero-archive small { color: #9cabbc; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; }
.hero-archive strong { display: block; margin-top: 14px; font-size: 42px; font-family: var(--display); color: #fff; font-weight: 400; }
.hero-archive p { margin: 12px 0 0; color: #b5bfcc; font-size: 13px; line-height: 1.6; }
.hero-scroll { margin-top: 78px; display: flex; align-items: center; gap: 14px; color: #a9b4c2; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.hero-scroll::after { content: ""; width: 66px; height: 1px; background: var(--signal); transform-origin: left; }

.statement { background: var(--paper); color: var(--ink); padding: 118px 0 110px; }
.statement-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 48px; }
.statement .eyebrow { color: #647080; }
.statement h2 { max-width: 835px; margin: -12px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5vw, 71px); letter-spacing: -.055em; line-height: 1.04; }
.statement h2 span { color: var(--signal); }
.statement p { max-width: 620px; margin: 34px 0 0; color: #586270; font-size: 16px; line-height: 1.75; }

.portfolio { padding: 122px 0; background: #0c1729; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head h2 { margin: 15px 0 0; color: #fff; font-family: var(--display); font-size: clamp(42px, 5vw, 68px); font-weight: 400; letter-spacing: -.055em; }
.section-head p { max-width: 340px; margin: 0; color: #98a6b5; font-size: 14px; line-height: 1.7; }
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.portfolio-card { position: relative; grid-column: span 4; min-height: 284px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); background: linear-gradient(155deg, var(--card-top, #193255), var(--card-bottom, #0c1729)); transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease); }
.portfolio-card:hover { transform: translateY(-5px); border-color: rgba(254,90,69,.75); box-shadow: 0 18px 36px rgba(0,0,0,.16); }
.portfolio-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-color: #fff; }
.portfolio-card:nth-child(1), .portfolio-card:nth-child(6) { grid-column: span 6; }
.portfolio-card::after { content: attr(data-index); position: absolute; right: -8px; bottom: -37px; color: rgba(255,255,255,.07); font: 190px/1 var(--display); letter-spacing: -.12em; transition: transform .28s var(--ease), opacity .28s var(--ease); }
.card-top, .card-bottom { position: relative; z-index: 1; }
.card-kicker { color: rgba(255,255,255,.64); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; font-weight: 800; }
.card-monogram { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; font: 23px var(--display); }
.card-badge-wrap { display: inline-flex; margin-top: 23px; }
.brand-badge { position: relative; display: grid; place-items: center; width: 62px; height: 62px; overflow: hidden; border: 1px solid rgba(255,255,255,.48); border-radius: 17px 17px 17px 4px; color: #fff; background: rgba(4,13,28,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.13); transition: transform .24s var(--ease), background .24s var(--ease), border-color .24s var(--ease); }
.brand-badge::after { content: ""; position: absolute; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; transform: translate(19px, 19px); }
.brand-badge svg { position: relative; z-index: 1; width: 37px; height: 37px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.brand-badge svg .badge-fill { fill: currentColor; stroke: none; }
.portfolio-card h3 { max-width: 280px; margin: 0; color: #fff; font-family: var(--display); font-weight: 400; font-size: clamp(29px, 3vw, 42px); letter-spacing: -.05em; }
.portfolio-card p { max-width: 380px; margin: 10px 0 0; color: #b9c3cf; font-size: 13px; line-height: 1.65; }
.card-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 25px; color: #fff; font-size: 12px; font-weight: 800; }
.card-link b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--signal); font-size: 16px; font-weight: 400; transition: transform .2s var(--ease); }
.portfolio-card:hover .brand-badge { transform: translateY(-3px) rotate(-3deg); border-color: rgba(255,255,255,.85); background: rgba(4,13,28,.28); }
.portfolio-card:hover::after { transform: translate(-7px, -7px); opacity: .78; }
.portfolio-card:hover .card-link b { transform: translateX(4px); }

.contact-block { padding: 120px 0; background: var(--signal); color: #1f1720; }
.contact-block .shell { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.contact-block h2 { max-width: 650px; margin: 18px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(45px, 6.4vw, 85px); line-height: .93; letter-spacing: -.07em; }
.contact-block p { max-width: 480px; margin: 26px 0 0; line-height: 1.7; }
.call-button { display: inline-flex; align-items: center; gap: 16px; padding: 15px 20px; border: 1px solid rgba(16,24,41,.45); color: var(--ink); font-size: 16px; font-weight: 800; transition: transform .16s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.call-button:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.call-button b { font-size: 21px; }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: #08111f; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #7f8c9c; font-size: 12px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: #fff; }

/* Brand page */
.brand-hero { position: relative; min-height: 548px; overflow: hidden; padding: 110px 0 70px; background: linear-gradient(135deg, var(--brand-dark), var(--brand-light)); }
.brand-hero::after { content: ""; position: absolute; right: -6vw; bottom: -7vw; width: min(53vw, 660px); height: min(53vw, 660px); border: 1px solid rgba(255,255,255,.19); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.045), 0 0 0 116px rgba(255,255,255,.035); }
.brand-hero .shell { position: relative; z-index: 1; }
.back-link { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.77); font-size: 12px; font-weight: 800; transition: color .18s var(--ease), transform .18s var(--ease); }
.back-link:hover { color: #fff; transform: translateX(-3px); }
.brand-hero-mark { position: absolute; top: 66px; right: 3%; }
.brand-hero-badge { width: 118px; height: 118px; border-radius: 32px 32px 32px 8px; background: rgba(5,12,27,.14); border-color: rgba(255,255,255,.52); }
.brand-hero-badge svg { width: 70px; height: 70px; stroke-width: 1.45; }
.brand-hero-badge::after { width: 67px; height: 67px; transform: translate(34px, 34px); }
.brand-title { max-width: 770px; margin: 75px 0 0; color: #fff; font: clamp(54px, 8vw, 108px)/.9 var(--display); letter-spacing: -.07em; }
.brand-lead { max-width: 590px; margin: 26px 0 0; color: rgba(255,255,255,.83); font-size: 17px; line-height: 1.7; }
.brand-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 70px; padding: 105px 0; }
.brand-intro h2 { margin: 18px 0 0; color: #fff; font: clamp(37px, 4vw, 60px)/1.03 var(--display); letter-spacing: -.05em; }
.brand-intro p { color: #aab6c3; font-size: 16px; line-height: 1.8; }
.brand-signals { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); align-self: start; }
.brand-signal { padding: 22px; background: #0c1729; }
.brand-signal b { display: block; color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.brand-signal span { display: block; margin-top: 9px; color: #aab6c3; font-size: 14px; line-height: 1.55; }
.brand-outbound { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px; background: var(--paper); color: var(--ink); }
.brand-outbound h3 { margin: 7px 0 0; font: 34px var(--display); letter-spacing: -.05em; }
.brand-outbound .eyebrow { color: #6a7280; }
.external-button { flex: none; display: inline-flex; align-items: center; gap: 11px; padding: 14px 18px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; transition: transform .16s var(--ease), background .16s var(--ease); }
.external-button:hover { background: var(--signal); transform: translateY(-2px); }
.external-button[aria-disabled="true"] { background: #7b8491; cursor: not-allowed; }

@media (max-width: 860px) {
  .shell { width: min(100% - 34px, 1200px); }
  .nav { height: 66px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 66px; left: 0; right: 0; display: none; padding: 18px 17px 22px; border-bottom: 1px solid var(--line); background: #08111f; flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-call { display: none; }
  .home-hero { min-height: 650px; padding-top: 88px; }
  .home-hero::before { width: 510px; right: -230px; top: -82px; }
  .hero-grid, .statement-grid, .brand-layout, .contact-block .shell { grid-template-columns: 1fr; gap: 34px; }
  .hero-archive { max-width: 390px; }
  .hero-scroll { margin-top: 45px; }
  .statement { padding: 85px 0; }
  .portfolio { padding: 86px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .portfolio-card, .portfolio-card:nth-child(1), .portfolio-card:nth-child(6) { grid-column: span 6; }
  .contact-block { padding: 84px 0; }
  .contact-block .shell { gap: 34px; }
  .call-button { justify-content: center; }
  .brand-layout { padding: 75px 0; }
  .brand-outbound { align-items: flex-start; flex-direction: column; }
  .brand-hero-mark { top: 54px; right: 1%; }
  .brand-hero-badge { width: 90px; height: 90px; border-radius: 25px 25px 25px 7px; }
  .brand-hero-badge svg { width: 52px; height: 52px; }
  .brand-hero-badge::after { width: 50px; height: 50px; transform: translate(26px, 26px); }
}
@media (max-width: 560px) {
  .hero-title { font-size: 59px; }
  .hero-copy { font-size: 15px; }
  .portfolio-grid { gap: 10px; }
  .portfolio-card, .portfolio-card:nth-child(1), .portfolio-card:nth-child(6) { grid-column: span 12; min-height: 252px; }
  .portfolio-card h3 { font-size: 34px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .brand-hero-mark { top: 48px; right: 0; opacity: .88; }
  .brand-hero-badge { width: 74px; height: 74px; border-radius: 21px 21px 21px 6px; }
  .brand-hero-badge svg { width: 43px; height: 43px; }
  .brand-hero-badge::after { width: 42px; height: 42px; transform: translate(21px, 21px); }
  .brand-title { max-width: calc(100% - 74px); }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .42s var(--ease), transform .42s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .home-hero::before { animation: hero-orbit 12s var(--ease-in-out) infinite alternate; }
  .home-hero .hero-archive { animation: archive-float 5s var(--ease-in-out) infinite alternate; }
  .hero-scroll::after { animation: scroll-line 2.4s var(--ease-in-out) infinite alternate; }
  .brand-hero::after { animation: brand-orbit 15s var(--ease-in-out) infinite alternate; }
  .brand-hero-badge { animation: badge-float 5s var(--ease-in-out) infinite alternate; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@keyframes hero-orbit { from { transform: translate3d(-10px, -8px, 0) rotate(-4deg); } to { transform: translate3d(14px, 10px, 0) rotate(4deg); } }
@keyframes archive-float { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@keyframes scroll-line { from { transform: scaleX(.68); opacity: .62; } to { transform: scaleX(1); opacity: 1; } }
@keyframes brand-orbit { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-12px, -9px, 0) rotate(7deg); } }
@keyframes badge-float { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-6px) rotate(-3deg); } }
