:root {
  --deep: #090e13;
  --midnight: #101b2b;
  --ivory: #f8f5ed;
  --gold: #d8b17d;
  --muted: #c4c7cb;
  --ink: #172233;
  --slate: #53606d;
  --line: rgba(248, 245, 237, .2);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--deep); color: var(--ivory); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 400; }
::selection { background: var(--gold); color: var(--deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.intro :focus-visible, .next :focus-visible { outline-color: #76502c; }
.wrap { width: min(1380px, 90%); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: -100px; left: 20px; padding: 12px 22px; background: var(--ivory); color: var(--ink); }
.skip-link:focus { top: 12px; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; }
.brand img { width: 37px; height: 30px; }
.brand > span { font-size: 20px; letter-spacing: .2em; line-height: 1.3; }
.brand small { display: block; color: var(--muted); margin-top: 5px; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; gap: 0 clamp(14px, 1.8vw, 28px); font-size: 12px; }
.nav a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.nav a:first-child { color: var(--gold); }
.nav a:hover, .footer-back:hover, .project-links a:hover { color: var(--gold); }
.intro { padding-block: clamp(40px, 5.5vw, 78px); background: var(--ivory); color: var(--ink); }
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 32px 10%; }
.eyebrow { margin-bottom: 16px; font-size: 10px; line-height: 1.6; letter-spacing: .17em; text-transform: uppercase; color: var(--slate); }
h1 { font-family: var(--serif); font-size: clamp(42px, 5.1vw, 76px); line-height: 1.04; letter-spacing: -.045em; }
h1 em { font-weight: 400; }
.intro-copy { max-width: 470px; font-size: 17px; }
.intro-copy .intro-detail { margin-top: 18px; color: var(--slate); font-size: 13px; }
.gallery { padding-block: 32px clamp(40px, 5vw, 72px); }
.gallery-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.gallery-heading p:first-child { color: var(--gold); }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(24px, 3.2vw, 50px); }
.portfolio-project { min-width: 0; display: grid; grid-template-rows: auto auto 1fr auto; }
.project-heading { min-height: 84px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px 20px; padding-bottom: 20px; }
.project-brand { margin-bottom: 8px; color: var(--gold); font-size: 10px; line-height: 1.5; letter-spacing: .13em; }
.portfolio-project h2 { font-family: var(--serif); font-size: clamp(25px, 2.35vw, 34px); line-height: 1.1; letter-spacing: -.025em; }
.fiction-label { flex-shrink: 0; margin-top: 2px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.preview-stage { position: relative; display: block; padding: clamp(16px, 2.4vw, 28px) 4% 36px; background: #ddd2ca; border: 1px solid var(--line); isolation: isolate; }
.volt .preview-stage { background: #252d2b; }
.noa .preview-stage { background: #d4bca6; }
.montera .preview-stage { background: #bcb9af; }
.silva .preview-stage { background: #c3ccbe; }
.aquero .preview-stage { background: #b5c9d8; }
.desktop-frame { position: relative; width: 87%; overflow: hidden; border: 1px solid #7a7c7c; border-radius: 5px; background: #e7e6e2; box-shadow: 0 8px 22px #0002; }
.frame-bar { display: flex; align-items: center; gap: 4px; height: 13px; padding-left: 7px; background: #e6e5e0; border-bottom: 1px solid #0002; }
.frame-bar span { display: block; width: 3px; height: 3px; border-radius: 50%; background: #878c90; }
.desktop-frame img, .mobile-frame img { width: 100%; height: auto; }
.mobile-frame { position: absolute; right: 3%; bottom: 8%; width: 21%; padding: 3px; border: 1px solid #686b6e; border-radius: 12px; background: #171c22; box-shadow: 0 8px 18px #0004; }
.mobile-frame img { border-radius: 8px; }
.preview-caption { position: absolute; left: 4%; right: 4%; bottom: 1.5%; display: flex; align-items: center; justify-content: space-between; min-height: 24px; color: #172233; font-size: 10px; letter-spacing: .02em; }
.volt .preview-caption { color: var(--ivory); }
.preview-caption > span { font-size: 18px; }
.project-copy { margin-block: 18px; max-width: 60ch; color: var(--muted); font-size: 13px; }
.project-links { display: grid; grid-template-columns: .75fr 1.25fr; gap: 16px; padding-block: 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; }
.project-links .web-link { color: var(--gold); }
.project-links a > span { font-size: 18px; }
.gallery-note { max-width: 950px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.next { background: var(--ivory); color: var(--ink); padding-block: clamp(34px, 4.5vw, 64px); }
.next-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px 12%; }
.next h2 { font-family: var(--serif); font-size: clamp(34px, 3.5vw, 52px); letter-spacing: -.035em; line-height: 1.05; }
.next p:not(.eyebrow) { max-width: 440px; color: var(--slate); font-size: 15px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; min-height: 48px; margin-top: 20px; padding: 10px 20px; gap: 32px; background: var(--midnight); color: var(--ivory); font-size: 12px; border: 1px solid var(--midnight); }
.button:hover { background: #283c55; }
.footer { padding-block: 32px 20px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 28px; }
.footer-main > p { font-family: var(--serif); font-size: 20px; }
.footer-back { display: flex; align-items: center; gap: 18px; min-height: 44px; font-size: 12px; }
.footer-demo { margin-top: 24px; color: var(--muted); font-size: 12px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .desktop-frame, .mobile-frame { transition: transform .25s ease; }
  .preview-stage:hover .desktop-frame { transform: translateY(-3px); }
  .preview-stage:hover .mobile-frame { transform: translateY(-5px); }
}
@media (max-width: 1199px) {
  .header-inner { flex-wrap: wrap; padding-block: 20px 10px; gap: 10px; }
  .nav { width: 100%; justify-content: space-between; gap: 0 16px; }
  .project-heading { flex-direction: column; gap: 12px; min-height: 120px; }
  .fiction-label { margin-top: 0; }
  .project-links { grid-template-columns: 1fr; gap: 0; }
  .project-links a + a { border-top: 1px solid var(--line); }
}
@media (max-width: 699px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { padding-block: 16px 10px; }
  .nav { justify-content: flex-start; column-gap: 20px; }
  .nav a:first-child { flex-basis: 100%; min-height: 44px; }
  .intro-grid, .next-inner { grid-template-columns: 1fr; gap: 24px; }
  .intro-copy { font-size: 15px; }
  .intro-copy .intro-detail { margin-top: 12px; }
  .projects { grid-template-columns: 1fr; gap: 36px; }
  .gallery-heading { margin-bottom: 24px; font-size: 11px; }
  .project-heading { flex-direction: row; align-items: flex-start; gap: 12px; min-height: auto; padding-bottom: 16px; }
  .portfolio-project h2 { font-size: clamp(24px, 5.7vw, 32px); }
  .fiction-label { max-width: 75px; font-size: 9px; text-align: center; }
  .project-copy { margin-block: 14px; }
  .project-links { grid-template-columns: 1fr; }
  .gallery-note { margin-top: 30px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-main > p { font-size: 18px; }
  .footer-demo { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
