:root {
  --paper: #f2efe7;
  --paper-deep: #e8e2d7;
  --ink: #171714;
  --muted: #6c6962;
  --line: rgba(23, 23, 20, 0.2);
  --accent: #a44e36;
  --dark: #1d211d;
  --white: #f8f4eb;
  --sans: "Inter", Arial, sans-serif;
  --display: "Manrope", Arial, sans-serif;
  --accent-serif: "Instrument Serif", Georgia, serif;
  --wordmark-serif: "Italiana", Georgia, serif;
  --page-pad: clamp(24px, 4.2vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
::selection { background: var(--accent); color: var(--white); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
ul, p, h1, h2, h3 { margin: 0; padding: 0; }
ul { list-style: none; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
section { scroll-margin-top: 90px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background-color 300ms ease, border-color 300ms ease; }
.site-header.scrolled, .site-header.menu-active { background: rgba(242, 239, 231, 0.92); border-color: var(--line); backdrop-filter: blur(14px); }
.navbar { width: 100%; min-height: 86px; padding: 14px var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 32px; }

/* Approved typographic wordmark */
.wordmark { position: relative; display: inline-grid; flex: 0 0 auto; width: max-content; padding: 3px 0 4px; color: var(--ink); line-height: 1; isolation: isolate; }
.wordmark-first { justify-self: start; margin: 0 0 -1px 0.16em; color: var(--accent); font-size: 9px; font-weight: 600; line-height: 1; letter-spacing: 0.48em; text-transform: uppercase; }
.wordmark-last { font-family: var(--wordmark-serif); font-size: clamp(24px, 2vw, 28px); font-weight: 400; line-height: 0.95; letter-spacing: 0.055em; text-transform: uppercase; }
.wordmark::after { content: ""; position: absolute; right: 0.08em; bottom: 0; width: 28%; height: 1px; background: var(--accent); transform: scaleX(0.3); transform-origin: right; transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1); }
.wordmark:hover::after, .wordmark:focus-visible::after { transform: scaleX(1); }

.nav-group, .nav-links { display: flex; align-items: center; }
.nav-group { gap: clamp(32px, 5vw, 80px); }
.availability { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.availability span { width: 6px; height: 6px; border-radius: 50%; background: #657b55; box-shadow: 0 0 0 4px rgba(101, 123, 85, 0.12); }
.nav-links { gap: clamp(20px, 2.5vw, 42px); }
.nav-links a { position: relative; padding: 8px 0; font-size: 13px; font-weight: 500; }
.nav-links a::after, .arrow-link::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 300ms ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .arrow-link:hover::after, .arrow-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-btn span { position: absolute; width: 16px; height: 1px; background: var(--ink); transition: transform 250ms ease; }
.menu-btn span:first-child { transform: translateY(-3px); }
.menu-btn span:last-child { transform: translateY(3px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.hero { position: relative; min-height: 100svh; padding: clamp(130px, 15vh, 180px) var(--page-pad) clamp(48px, 7vh, 80px); display: flex; flex-direction: column; justify-content: space-between; }
.hero-kicker, .hero-bottom { display: grid; grid-template-columns: 1fr 2.6fr; align-items: start; gap: 7vw; }
.hero-kicker { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; }
.hero-kicker p:first-child { grid-column: 2; }
.hero-kicker span { margin: 0 8px; color: var(--accent); }
.hero-index { grid-column: 1; grid-row: 1; }
.hero-heading-wrap { padding: clamp(44px, 8vh, 90px) 0; }
.hero-title { font-family: var(--display); font-size: clamp(52px, 6.4vw, 98px); font-weight: 400; line-height: 0.98; letter-spacing: -0.05em; }
.hero-title em, .agency-main em, .contact-main em { color: var(--accent); font-family: var(--accent-serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: block; transform: translateY(110%); animation: title-in 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-line:nth-child(2) > span { animation-delay: 120ms; }
.hero-line:nth-child(3) > span { animation-delay: 240ms; }
.hero-line-offset { padding-left: 14vw; }
@keyframes title-in { to { transform: translateY(0); } }
.hero-location { padding-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.7; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-intro { max-width: 620px; }
.hero-intro > p { max-width: 590px; font-size: clamp(17px, 1.55vw, 22px); line-height: 1.55; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 16px 40px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; min-width: 190px; padding: 13px 0; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 600; transition: color 200ms ease; }
.text-link span, .arrow-link span { transition: transform 250ms ease; }
.text-link:hover, .text-link:focus-visible { color: var(--accent); }
.text-link:hover span, .arrow-link:hover span { transform: translate(3px, -3px); }
.text-link-primary { color: var(--accent); border-color: var(--accent); }
.scroll-cue { position: absolute; right: var(--page-pad); bottom: clamp(48px, 7vh, 80px); display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; transform: rotate(90deg) translateX(100%); transform-origin: right bottom; }
.scroll-cue i { width: 44px; height: 1px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; display: block; width: 100%; height: 100%; background: var(--accent); animation: scroll-line 2s ease-in-out infinite; }
@keyframes scroll-line { 0% { transform: translateX(-100%); } 50%, 100% { transform: translateX(100%); } }

.work-section, .capabilities-section, .about-section, .contact-section { padding: clamp(100px, 13vw, 190px) var(--page-pad); }
.work-section { border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 0.85fr); gap: 8vw; align-items: end; margin-bottom: clamp(70px, 10vw, 140px); }
.section-label { margin-bottom: 32px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.section-label span { display: inline-block; min-width: 45px; color: var(--accent); }
.section-intro h2, .capabilities-heading h2, .about-content h2 { max-width: 850px; font-family: var(--display); font-size: clamp(46px, 5.5vw, 82px); font-weight: 400; line-height: 1.02; letter-spacing: -0.045em; }
.section-intro > p { max-width: 360px; padding-bottom: 5px; color: var(--muted); font-size: 14px; }

.project-list { display: grid; gap: clamp(110px, 15vw, 220px); }
.project { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.75fr); gap: clamp(40px, 7vw, 110px); align-items: end; }
.project-reverse { grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.55fr); }
.project-reverse .project-visual { grid-column: 2; }
.project-reverse .project-info { grid-column: 1; grid-row: 1; }
.project-visual { position: relative; min-height: clamp(430px, 54vw, 760px); overflow: hidden; display: block; color: var(--white); background: #d8d1c5; isolation: isolate; }
.project-media { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1); }
.project-vaelora .project-media { object-position: 52% center; }
.project-lumora .project-media { object-position: 50% center; }
.project-visual:hover .project-media { transform: scale(1.018); }
.project-view { position: absolute; z-index: 1; }
.project-view { top: 26px; right: 28px; width: 84px; height: 84px; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 10px; opacity: 0; transform: scale(0.7); transition: opacity 300ms ease, transform 400ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease; }
.project-visual:hover .project-view, .project-visual:focus-visible .project-view { opacity: 1; transform: scale(1); background: rgba(255,255,255,0.12); }
.project-heading { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.project-heading > p { margin-bottom: 18px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; }
.project-heading h3 { font-family: var(--display); font-size: clamp(42px, 4.4vw, 64px); font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; }
.project-copy { padding-top: 28px; }
.project-copy > p { color: var(--muted); font-size: 14px; }
.project-copy ul { margin: 28px 0 34px; display: grid; gap: 6px; font-size: 10px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.arrow-link { position: relative; display: inline-flex; align-items: center; gap: 34px; padding: 7px 0; font-size: 12px; font-weight: 600; }
.arrow-link::after { bottom: 0; }

.capabilities-section { display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr); gap: 10vw; background: var(--paper-deep); }
.capabilities-heading { align-self: start; position: sticky; top: 135px; }
.capability-list { border-top: 1px solid var(--line); }
.capability { display: grid; grid-template-columns: 45px minmax(180px, 0.75fr) minmax(220px, 1fr); gap: 24px; padding: 34px 0; align-items: baseline; border-bottom: 1px solid var(--line); }
.capability > span { color: var(--accent); font-size: 10px; font-weight: 600; }
.capability h3 { font-family: var(--display); font-size: clamp(25px, 2.4vw, 36px); font-weight: 500; line-height: 1.12; letter-spacing: -0.035em; }
.capability p { color: var(--muted); font-size: 13px; }

.about-section { display: grid; grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr); gap: 12vw; align-items: center; }
.about-mark { aspect-ratio: 1 / 1.15; display: flex; align-items: center; justify-content: center; gap: 8%; background: var(--accent); color: var(--white); font-family: var(--wordmark-serif); font-size: clamp(70px, 10vw, 145px); line-height: 1; }
.about-mark i { width: 1px; height: 36%; background: rgba(255,255,255,0.38); transform: rotate(23deg); }
.about-copy { max-width: 550px; margin: clamp(45px, 6vw, 80px) 0 0 auto; display: grid; gap: 20px; color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); }
.about-copy p:first-child { color: var(--ink); }

.agency-section { padding: clamp(100px, 13vw, 190px) var(--page-pad); overflow: hidden; background: var(--dark); color: var(--white); }
.agency-section .section-label { color: rgba(248,244,235,0.55); }
.agency-section .section-label span { color: #d07a61; }
.agency-top { display: flex; justify-content: space-between; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,0.19); }
.agency-top .section-label { margin: 0; }
.agency-top > p:last-child { color: rgba(248,244,235,0.48); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; }
.agency-main { padding-top: clamp(60px, 8vw, 115px); display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.55fr); gap: 8vw; align-items: end; }
.agency-main h2 { margin-left: -0.05em; font-family: var(--display); font-size: clamp(50px, 6.7vw, 100px); font-weight: 400; line-height: 0.98; letter-spacing: -0.05em; }
.agency-main em { color: #d07a61; }
.agency-copy > p { color: rgba(248,244,235,0.65); font-size: 14px; }
.agency-copy ul { margin: 34px 0 40px; columns: 2; color: rgba(248,244,235,0.88); font-size: 11px; line-height: 2.1; }
.arrow-link-light { color: var(--white); }

.contact-section { min-height: 90svh; display: flex; flex-direction: column; justify-content: space-between; }
.contact-top { display: flex; align-items: start; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.contact-top .section-label { margin: 0; }
.contact-top > p:last-child { color: var(--muted); font-size: 11px; }
.contact-main { padding: clamp(70px, 10vw, 140px) 0; }
.contact-main h2 { max-width: 1000px; font-family: var(--display); font-size: clamp(66px, 9vw, 138px); font-weight: 400; line-height: 0.9; letter-spacing: -0.055em; }
.contact-main > p { max-width: 480px; margin: 55px 0 0 45%; color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); }
.contact-cta { width: 100%; margin-top: clamp(60px, 8vw, 100px); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: clamp(22px, 2.5vw, 38px); transition: padding 300ms ease, color 200ms ease; }
.contact-cta:hover { padding-right: 14px; padding-left: 14px; color: var(--accent); }
.contact-cta span:last-child { font-size: 0.8em; }
.contact-details { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; font-size: 11px; }
.contact-details p { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.contact-details a { width: fit-content; border-bottom: 1px solid var(--line); }
.contact-placeholder { width: fit-content; color: var(--muted); font-style: italic; }

.footer { padding: 34px var(--page-pad); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.7; letter-spacing: 0.1em; text-transform: uppercase; }
.footer > p { text-align: center; }
.footer-end { display: flex; justify-content: flex-end; gap: 36px; }
.footer a:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 750ms ease, transform 850ms cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .availability { display: none; }
  .project, .project-reverse { grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.8fr); gap: 50px; }
  .project-reverse .project-visual { grid-column: 1; }
  .project-reverse .project-info { grid-column: 2; }
  .capabilities-section { grid-template-columns: 1fr; gap: 70px; }
  .capabilities-heading { position: static; }
  .agency-main { grid-template-columns: 1.4fr 0.6fr; gap: 50px; }
}

@media (max-width: 900px) {
  .project-visual {
    min-height: 0;
    aspect-ratio: 16 / 9;
    align-self: center;
    background: var(--paper);
  }

  .project-media,
  .project-vaelora .project-media,
  .project-lumora .project-media {
    object-fit: contain;
    object-position: center;
  }

  .project-visual:hover .project-media {
    transform: none;
  }
}

@media (max-width: 760px) {
  :root { --page-pad: 22px; }
  .navbar { min-height: 76px; }
  .site-header.menu-active { height: 100svh; background: var(--paper); backdrop-filter: none; }
  .wordmark-first { font-size: 8px; letter-spacing: 0.42em; }
  .wordmark-last { font-size: 23px; letter-spacing: 0.045em; }
  .nav-group { position: absolute; top: 76px; right: 0; left: 0; height: calc(100svh - 76px); padding: 52px var(--page-pad) 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity 250ms ease, visibility 250ms ease, transform 300ms ease; }
  .nav-group.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links { width: 100%; display: grid; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; font-family: var(--sans); font-size: clamp(38px, 11vw, 54px); font-weight: 400; letter-spacing: -0.035em; }
  .nav-links a::after { display: none; }
  .nav-group .availability { display: flex; }
  .menu-btn { position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
  .hero { min-height: auto; padding-top: 126px; padding-bottom: 58px; }
  .hero-index, .scroll-cue { display: none; }
  .hero-kicker, .hero-bottom { display: block; }
  .hero-kicker p:first-child { grid-column: auto; }
  .hero-heading-wrap { padding: 50px 0 65px; }
  .hero-title { font-size: clamp(43px, 12.4vw, 60px); line-height: 0.98; }
  .hero-line-offset { padding-left: 0; }
  .hero-location { margin-bottom: 26px; }
  .hero-intro > p { font-size: 16px; }
  .hero-actions { display: grid; margin-top: 30px; gap: 4px; }
  .text-link { width: 100%; }
  .work-section, .capabilities-section, .about-section, .contact-section, .agency-section { padding-top: 95px; padding-bottom: 95px; }
  .section-intro { display: block; margin-bottom: 65px; }
  .section-intro h2, .capabilities-heading h2, .about-content h2 { font-size: clamp(42px, 11.5vw, 58px); }
  .section-intro > p { margin-top: 28px; }
  .project-list { gap: 100px; }
  .project, .project-reverse { display: flex; flex-direction: column; gap: 34px; }
  .project-visual { width: 100%; min-height: 0; }
  .project-view { display: none; }
  .project-info { width: 100%; }
  .project-heading { padding-bottom: 22px; }
  .project-heading h3 { font-size: 44px; }
  .capabilities-section { display: block; }
  .capabilities-heading { margin-bottom: 60px; }
  .capability { grid-template-columns: 35px 1fr; gap: 12px; padding: 27px 0; }
  .capability p { grid-column: 2; margin-top: 8px; }
  .about-section { display: flex; flex-direction: column-reverse; gap: 70px; }
  .about-mark { width: 100%; aspect-ratio: 1.15 / 1; }
  .about-copy { margin-top: 45px; }
  .agency-top, .contact-top { display: block; }
  .agency-top > p:last-child, .contact-top > p:last-child { margin-top: 15px; }
  .agency-main { display: block; padding-top: 60px; }
  .agency-main h2 { font-size: clamp(44px, 12.5vw, 62px); }
  .agency-copy { margin-top: 55px; }
  .agency-copy ul { columns: 1; }
  .contact-section { min-height: auto; }
  .contact-main h2 { font-size: clamp(58px, 15vw, 72px); }
  .contact-main > p { margin: 42px 0 0; }
  .contact-cta { margin-top: 60px; font-size: 21px; }
  .contact-details { grid-template-columns: 1fr; gap: 8px; }
  .contact-details > p:not(:first-child) { margin-top: 16px; }
  .footer { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer > p { display: none; }
  .footer-end { display: grid; gap: 6px; text-align: right; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 42px; }
  .contact-main h2 { font-size: 58px; }
  .contact-cta { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .hero-line > span, .reveal { opacity: 1; transform: none; }
}
