:root {
  --paper: #faf7f1;
  --ink: #11110f;
  --copy: #292b2f;
  --rust: #b43b28;
  --line: #47443f;
  --page: 1366px;
}

* { box-sizing: border-box; }
.nowrap { white-space: nowrap; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #ebe4d9; color: var(--ink); font-family: "DM Sans", Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.3; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid #ded8cf; background: rgba(250, 247, 241, .96); backdrop-filter: blur(14px); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; width: min(100%, var(--page)); min-height: 78px; margin: 0 auto; padding: .8rem clamp(1.25rem, 4vw, 3.5rem); }
.site-brand { display: inline-flex; align-items: center; gap: .8rem; font-size: 1.05rem; font-weight: 800; text-decoration: none; }
.site-brand-mark { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; flex: 0 0 auto; border-radius: 50%; background: var(--rust); color: #fff; font-family: Georgia, serif; font-size: .9rem; font-style: italic; }
.site-nav { display: flex; align-items: center; gap: clamp(1.15rem, 2.6vw, 2.4rem); font-size: .92rem; font-weight: 700; }
.site-nav a { padding: .65rem 0; text-decoration: none; }
.site-nav a:not(.nav-contact):hover, .site-nav a:not(.nav-contact):focus-visible { color: var(--rust); }
.site-nav .nav-contact { padding: .85rem 1.25rem; border: 1px solid var(--line); }
.site-nav .nav-contact:hover, .site-nav .nav-contact:focus-visible { background: var(--ink); color: #fff; }
.menu-toggle { display: none; }
.page { width: min(100%, var(--page)); min-height: 768px; margin: 0 auto 1px; padding: clamp(3rem, 6vw, 5.2rem); background: var(--paper); overflow: hidden; }
.page[id], .group-heading[id] { scroll-margin-top: 6.5rem; }
.group-heading { width: min(100%, var(--page)); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5.2rem) 1.5rem; border-top: 1px solid #ded8cf; background: var(--paper); }
.group-heading h2 { margin: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.035em; }
.group-heading h2::after { content: ""; display: block; width: 4rem; height: 2px; margin-top: 1rem; background: var(--rust); }
.group-heading + .page { padding-top: clamp(2.5rem, 4vw, 3.5rem); }
.position { margin: 0 0 2.5rem; font-size: clamp(.78rem, 1.35vw, 1.1rem); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; }
h1, h2, h3, p, ul, figure { margin-top: 0; }
h1, h2 { color: var(--rust); font-weight: 800; letter-spacing: -.045em; line-height: .96; }

.home-page { display: grid; grid-template-columns: 1.28fr .72fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.home-page h1 { margin: 0; font-size: clamp(5rem, 10.2vw, 9.2rem); }
.double-rule { width: min(22rem, 72%); margin: 4.5rem 0 3rem; display: grid; gap: 1rem; }
.double-rule span { display: block; height: 1px; background: var(--line); }
.specialisms { max-width: 50rem; margin: 0; font-size: clamp(.85rem, 1.45vw, 1.2rem); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.phone-frame { position: relative; width: min(100%, 320px); aspect-ratio: 9 / 18.7; margin: 0 auto; padding: 10px; border: 3px solid #5b5a58; border-radius: 3.6rem; background: linear-gradient(145deg, #333331, #0a0a0a 48%, #292927); box-shadow: 0 2.2rem 4.8rem rgba(45, 31, 22, .28), inset 0 0 0 2px #050505, inset 0 0 0 4px #292929; transform: rotate(2deg); }
.phone-frame::after { position: absolute; pointer-events: none; inset: 4px; border: 1px solid rgba(255,255,255,.15); border-radius: 3.35rem; content: ""; }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 3rem; background: var(--paper); }
.phone-screen img { width: 100%; height: 100%; display: block; object-fit: contain; background: var(--paper); }
.dynamic-island { position: absolute; z-index: 3; top: 18px; left: 50%; width: 31%; height: 25px; border-radius: 999px; background: #050505; box-shadow: inset 0 0 0 1px #202020; transform: translateX(-50%); }
.dynamic-island i { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #18304c, #05080c 58%); }
.phone-home { position: absolute; z-index: 3; bottom: 16px; left: 50%; width: 38%; height: 5px; border-radius: 999px; background: rgba(18,18,18,.84); transform: translateX(-50%); }
.phone-action, .phone-volume, .phone-power { position: absolute; background: linear-gradient(#62615e, #222); box-shadow: inset 1px 0 rgba(255,255,255,.2); }
.phone-action { top: 112px; left: -7px; width: 5px; height: 31px; border-radius: 4px 0 0 4px; }
.phone-volume { left: -7px; width: 5px; height: 54px; border-radius: 4px 0 0 4px; }
.phone-volume-up { top: 163px; }
.phone-volume-down { top: 230px; }
.phone-power { top: 175px; right: -7px; width: 5px; height: 86px; border-radius: 0 4px 4px 0; }

.about-page { min-height: 1245px; display: flex; flex-direction: column; }
.about-copy { max-width: 1050px; }
.about-page h2 { margin-bottom: 2.5rem; font-size: clamp(3rem, 5vw, 5rem); }
.about-copy > p { max-width: 1040px; margin-bottom: 1.8rem; color: var(--copy); font-size: clamp(1.15rem, 2vw, 1.75rem); }
.about-page h3 { margin: 2rem 0 1.4rem; color: var(--rust); font-size: clamp(1.5rem, 2.5vw, 2rem); }
.work-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3.5rem); width: 100%; border-bottom: 1px solid #cfc7bc; }
.work-links a { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .85rem; align-items: center; min-height: 6.5rem; padding: 1rem .2rem; border-top: 1px solid #cfc7bc; text-decoration: none; transition: background-color .2s ease, padding .2s ease; }
.work-links a:hover, .work-links a:focus-visible { padding-inline: .75rem; background: rgba(180, 59, 40, .06); outline: none; }
.work-index { align-self: start; padding-top: .25rem; color: var(--rust); font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.work-link-copy { display: grid; gap: .3rem; }
.work-link-copy small { color: #67615a; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.work-link-copy strong { font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.2; }
.logo-panel { margin: clamp(4rem, 7vw, 6rem) auto 0; width: min(100%, 1050px); text-align: center; }
.logo-panel figcaption { margin-bottom: 1.25rem; color: var(--rust); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
.logo-panel img { width: 100%; mix-blend-mode: multiply; }

.case-page { min-height: auto; padding-block: clamp(4rem, 8vw, 7rem); }
.case-intro { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.case-page h2 { margin-bottom: 3.4rem; font-size: clamp(3rem, 5.5vw, 5.2rem); }
.case-intro ul { margin: 0; padding-left: 1.4rem; color: var(--copy); font-size: clamp(1.05rem, 1.75vw, 1.5rem); }
.case-intro li + li { margin-top: .25rem; }
.project-media { margin: 10rem 0 0; }
.project-media img { width: 100%; max-height: 560px; object-fit: cover; object-position: top center; }
.macbook-frame { width: min(100%, 38rem); filter: drop-shadow(0 1.4rem 1.5rem rgba(23, 20, 17, .2)); }
.macbook-screen { position: relative; aspect-ratio: 16 / 10; padding: .7rem .7rem .85rem; overflow: hidden; border: 2px solid #191a1d; border-radius: 1rem 1rem .35rem .35rem; background: #090a0c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.macbook-screen img { width: 100%; height: 100%; max-height: none; border-radius: .35rem; object-fit: contain; object-position: center; background: #f8f4ec; }
.macbook-camera { position: absolute; z-index: 1; top: .3rem; left: 50%; width: .24rem; height: .24rem; border-radius: 50%; background: #30343b; box-shadow: 0 0 0 1px #07080a; transform: translateX(-50%); }
.macbook-base { position: relative; width: 111%; height: 1.15rem; margin-left: -5.5%; border-radius: .12rem .12rem .8rem .8rem; background: linear-gradient(180deg, #e7e8e9 0%, #a8aaae 48%, #d9dadd 62%, #8f9297 100%); box-shadow: inset 0 1px 0 #fff, 0 .24rem .25rem rgba(0, 0, 0, .22); }
.macbook-base::after { content: ""; position: absolute; right: 4%; bottom: -.18rem; left: 4%; height: .25rem; border-radius: 0 0 60% 60%; background: #777a7f; }
.macbook-base span { position: absolute; top: 0; left: 50%; width: 18%; height: .34rem; border-radius: 0 0 .35rem .35rem; background: #a4a6aa; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .28); transform: translateX(-50%); }
.lease-intro { grid-template-columns: 1fr 1fr; align-items: center; }
.lease-media { margin: 0; }
.lease-media img { max-height: 470px; }
.case-study-copy { width: min(90%, 1000px); margin: 5.5rem auto 0; }
.case-study-copy > h3 { margin-bottom: 2rem; color: var(--rust); font-size: clamp(1.6rem, 2.5vw, 2.15rem); }
.case-study-copy div + div { margin-top: 1.5rem; }
.case-study-copy h4 { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.case-study-copy p { margin: .15rem 0 0; font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.impact-panel { width: min(85%, 920px); margin: 5rem auto 0; }
.impact-panel img { width: 100%; }

.role-page { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.role-page h2 { margin-bottom: 3rem; font-size: clamp(3rem, 5.5vw, 5rem); }
.role-page ul { padding-left: 1.5rem; font-size: clamp(1.1rem, 2vw, 1.65rem); }
.role-page li + li { margin-top: .2rem; }
.role-page > div > p:not(.position), .role-page > div > h3 { font-size: clamp(1.2rem, 2.15vw, 1.8rem); }
.role-page > div > h3 { margin: 2.3rem 0 1.3rem; }
.role-media { margin: 0; }
.role-media img { width: 100%; max-height: 670px; object-fit: contain; }
.video-screen video { width: 100%; height: 100%; max-height: none; border-radius: .35rem; object-fit: cover; background: #101010; }
.video-play { position: absolute; z-index: 2; top: 50%; left: 50%; display: inline-flex; align-items: center; gap: .75rem; min-height: 3.75rem; padding: .6rem 1.25rem .6rem .7rem; border: 2px solid rgba(255, 255, 255, .9); border-radius: 999px; background: rgba(180, 59, 40, .96); color: #fff; font: inherit; font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 .7rem 2rem rgba(0, 0, 0, .4); cursor: pointer; transform: translate(-50%, -50%); transition: opacity .2s ease, transform .2s ease; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.05); }
.video-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.video-play-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; }
.video-play-icon::before { content: ""; width: 0; height: 0; margin-left: .18rem; border-top: .5rem solid transparent; border-bottom: .5rem solid transparent; border-left: .75rem solid var(--rust); }
.video-media.is-playing .video-play { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.9); }
.age-media img { max-height: 650px; }

.editorial-page { display: grid; grid-template-columns: .77fr 1.23fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.allrooms-page { grid-template-columns: .62fr 1.38fr; }
.editorial-copy h2 { font-size: clamp(3rem, 5.5vw, 5rem); }
.editorial-copy > p:not(.position) { font-size: clamp(1.15rem, 2vw, 1.65rem); }
.editorial-copy h3 { margin: 3rem 0 .7rem; font-size: 1.15rem; font-weight: 400; text-decoration: underline; }
.article-list { margin: 0; padding: 0; list-style: none; font-size: clamp(1rem, 1.7vw, 1.35rem); text-decoration: underline; }
.article-list li + li { margin-top: .5rem; }
.article-collage, .rex-collage { position: relative; min-height: 650px; }
.article-collage img { position: absolute; width: 52%; box-shadow: 0 1.4rem 3.5rem rgba(55, 35, 22, .1); }
.article-collage img:nth-child(1) { left: -4%; bottom: -2%; transform: rotate(-5deg); }
.article-collage img:nth-child(2) { left: 25%; top: -3%; z-index: 2; }
.article-collage img:nth-child(3) { right: -3%; bottom: 5%; transform: rotate(7deg); }
.rex-collage img { position: absolute; width: 68%; box-shadow: 0 1.4rem 3.5rem rgba(30, 24, 20, .14); }
.rex-collage img:nth-child(1) { top: 0; left: 0; }
.rex-collage img:nth-child(2) { left: 0; bottom: 0; transform: rotate(5deg); }
.rex-collage img:nth-child(3) { right: 0; top: 28%; transform: rotate(-7deg); }

.contact-page { display: grid; grid-template-columns: .55fr 1fr; gap: clamp(4rem, 10vw, 10rem); align-content: center; align-items: start; background: var(--rust); color: var(--paper); }
.contact-page h2 { margin: 0; color: var(--paper); font-size: clamp(5rem, 10vw, 9rem); }
.contact-page dl { margin: 0; }
.contact-page dl div { display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(250, 247, 241, .68); }
.contact-page dt { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-page dd { margin: 0; font-size: 1.05rem; }
.contact-page a { color: inherit; text-underline-offset: .18em; }

@media (max-width: 850px) {
  .site-header-inner { min-height: 68px; }
  .menu-toggle { display: grid; gap: .3rem; width: 2.8rem; height: 2.8rem; place-content: center; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle > span[aria-hidden="true"] { display: block; width: 1.2rem; height: 2px; background: var(--ink); }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: .7rem 1.25rem 1.25rem; border-bottom: 1px solid #ded8cf; background: var(--paper); box-shadow: 0 .8rem 1.5rem rgba(30, 24, 18, .12); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { padding: .85rem .25rem; }
  .site-nav .nav-contact { margin-top: .35rem; padding: .85rem 1rem; text-align: center; }
  .page { min-height: auto; padding: 4rem clamp(1.25rem, 5vw, 3rem); }
  .group-heading { padding: 3rem clamp(1.25rem, 5vw, 3rem) 1rem; }
  .work-links { grid-template-columns: 1fr; }
  .home-page, .role-page, .editorial-page, .contact-page, .case-intro { grid-template-columns: 1fr; }
  .home-page { gap: 4rem; }
  .home-page h1 { font-size: clamp(4.5rem, 20vw, 7rem); }
  .phone-frame { width: min(20rem, 86%); margin-left: auto; }
  .about-page { min-height: auto; }
  .logo-panel { margin-top: 5rem; }
  .project-media, .lease-media { width: min(34rem, 100%); margin: 2rem auto 0; }
  .case-study-copy { width: 100%; margin-top: 4rem; }
  .impact-panel { width: 100%; margin-top: 3rem; }
  .role-media { width: min(38rem, 100%); margin: 1rem auto 0; }
  .article-collage, .rex-collage { min-height: 580px; }
  .contact-page dl { margin-top: 1rem; }
}

@media (max-width: 560px) {
  .position { margin-bottom: 1.5rem; font-size: .76rem; }
  .home-page h1 { font-size: clamp(4rem, 22vw, 5.5rem); }
  .double-rule { margin: 2.5rem 0 2rem; }
  .specialisms { line-height: 1.7; }
  .phone-frame { width: min(18rem, 88%); margin-inline: auto; }
  .about-page h2, .case-page h2, .role-page h2, .editorial-copy h2 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .about-copy > p, .case-intro ul, .case-study-copy p, .role-page ul, .role-page > div > p:not(.position), .editorial-copy > p:not(.position) { font-size: 1.05rem; }
  .work-links a { grid-template-columns: 1.8rem minmax(0, 1fr); min-height: 5.8rem; gap: .65rem; }
  .logo-panel figcaption { font-size: 1.4rem; }
  .article-collage, .rex-collage { min-height: auto; display: grid; gap: 1rem; }
  .article-collage img, .rex-collage img { position: static; width: 100%; transform: none !important; }
  .contact-page h2 { font-size: 5rem; }
  .contact-page dl div { grid-template-columns: 1fr; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
