:root {
  --ink: #101014;
  --paper: #f4f2ed;
  --white: #fffefd;
  --muted: #696963;
  --line: rgba(16, 16, 20, 0.17);
  --cyan: #00a9ea;
  --magenta: #ec1670;
  --yellow: #ffd21e;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; letter-spacing: 0; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { color: var(--white); background: var(--magenta); }

.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; padding: 10px 14px; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; z-index: 100; top: 16px; left: 50%; width: min(calc(100% - 32px), 1320px); min-height: 70px; padding: 8px 10px 8px 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; background: rgba(255,254,253,.91); border: 1px solid rgba(16,16,20,.1); box-shadow: 0 16px 44px rgba(16,16,20,.08); backdrop-filter: blur(18px); transform: translateX(-50%); transition: min-height .3s ease, top .3s ease; }
.site-header.is-scrolled { top: 8px; min-height: 62px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 9px; }
.brand-mark { flex: 0 0 auto; width: 52px; height: 52px; display: block; background: white url("assets/mwaresa-profile-cover.jpg") center 39% / 260% auto no-repeat; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 15px; text-transform: uppercase; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.desktop-nav a { position: relative; padding: 8px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; gap: 10px; color: white; background: var(--ink); font-size: 13px; font-weight: 700; }
.header-cta svg, .text-link svg, .button svg, .footer-links svg { width: 16px; height: 16px; transition: transform .2s ease; }
.header-cta:hover svg, .text-link:hover svg, .button:hover svg, .footer-links a:hover svg { transform: translate(3px,-3px); }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; min-height: 100svh; padding: 132px var(--pad) 66px; display: grid; grid-template-columns: minmax(0,.9fr) minmax(440px,1.1fr); grid-template-rows: 1fr auto; align-items: center; gap: 28px clamp(40px,6vw,100px); background: var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg,var(--cyan) 0 33.3%,var(--magenta) 33.3% 66.6%,var(--yellow) 66.6%); }
.hero-copy { max-width: 720px; }
.eyebrow, .section-index { font-size: 12px; line-height: 1; font-weight: 700; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 2px; background: var(--magenta); }
.hero h1, .section h2, .director blockquote p { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: .9; }
.hero h1 { margin-top: clamp(24px,4vh,46px); max-width: 700px; font-size: clamp(76px,8.6vw,148px); }
.hero h1 em, .section h2 em { color: var(--magenta); font-weight: 400; }
.hero-intro { max-width: 600px; margin: 34px 0 0; color: #44443f; font-size: clamp(17px,1.35vw,21px); line-height: 1.65; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button { min-height: 56px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; cursor: pointer; font-weight: 700; }
.button-dark { color: white; background: var(--ink); }
.button-light { color: var(--ink); background: var(--white); }
.text-link { width: max-content; display: inline-flex; align-items: center; gap: 9px; border-bottom: 1px solid currentColor; padding: 7px 0; font-size: 14px; font-weight: 700; }
.hero-visual { position: relative; width: 100%; min-height: min(68vh,760px); }
.hero-shot { position: absolute; margin: 0; overflow: hidden; background: #ddd; box-shadow: 0 26px 70px rgba(16,16,20,.16); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.hero-shot:hover img { transform: scale(1.025); }
.hero-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; align-items: center; justify-content: space-between; color: white; background: rgba(16,16,20,.83); font-size: 13px; font-weight: 700; }
.hero-shot-main { inset: 0 0 7% 12%; }
.hero-shot-main img { object-position: 50% 56%; }
.hero-shot-small { width: 39%; height: 37%; left: 0; bottom: 0; border: 9px solid var(--paper); }
.hero-shot-small figcaption { padding: 14px; }
.hero-seal { position: absolute; z-index: 3; right: -10px; top: 5%; width: 128px; aspect-ratio: 1; display: grid; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; transform: rotate(8deg); }
.hero-seal span { font-family: "Instrument Serif", Georgia, serif; font-size: 20px; line-height: .9; text-align: center; }
.hero-bottom { grid-column: 1 / -1; padding-top: 22px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hero-bottom span:not(:first-child) { padding-left: 20px; border-left: 1px solid var(--line); }

.section { padding: clamp(88px,11vw,170px) var(--pad); }
.intro { display: grid; grid-template-columns: .34fr 1.4fr .65fr; gap: clamp(28px,5vw,88px); }
.intro-statement h2 { font-size: clamp(58px,6.6vw,110px); }
.intro-details { padding-top: 4px; }
.intro-details p { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.intro-details .text-link { margin-top: 12px; }
.capabilities { grid-column: 2 / -1; margin-top: 46px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capabilities div { min-height: 124px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.capabilities div + div { border-left: 1px solid var(--line); }
.capabilities strong { color: var(--magenta); font-size: 12px; }
.capabilities span { font-size: 14px; font-weight: 700; }

.section-dark { color: white; background: var(--ink); }
.section-heading { display: grid; grid-template-columns: .34fr 1.6fr; gap: clamp(30px,5vw,88px); }
.section-heading h2 { max-width: 980px; font-size: clamp(58px,7vw,116px); }
.services .section-heading h2 em { color: var(--yellow); }
.service-list { margin: clamp(60px,8vw,120px) 0 0 clamp(0px,22vw,320px); border-top: 1px solid rgba(255,255,255,.25); }
.service-row { border-bottom: 1px solid rgba(255,255,255,.25); }
.service-row button { width: 100%; min-height: 118px; padding: 20px 0; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; border: 0; background: none; text-align: left; cursor: pointer; }
.service-row button h3 { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(36px,4vw,65px); font-weight: 400; }
.service-row button svg { width: 27px; height: 27px; transition: transform .3s ease; }
.service-row.is-open button svg { transform: rotate(45deg); color: var(--yellow); }
.service-number { color: rgba(255,255,255,.55); font-size: 12px; }
.service-detail { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; max-height: 0; padding: 0 0 0 64px; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .3s ease, padding .45s ease; }
.service-row.is-open .service-detail { max-height: 380px; padding-bottom: 38px; opacity: 1; }
.service-detail p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.7; }
.service-detail ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 22px; list-style: none; font-size: 14px; }
.service-detail li::before { content: "+"; margin-right: 10px; color: var(--cyan); }

.work-heading { grid-template-columns: .34fr 1fr auto; align-items: end; }
.work-heading h2 { font-size: clamp(58px,7vw,116px); }
.work-heading .text-link { margin-bottom: 9px; }
.work-grid { margin-top: clamp(58px,7vw,100px); display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: clamp(260px,27vw,430px); gap: 14px; }
.work-item { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; background: #ddd; cursor: zoom-in; text-align: left; }
.work-item-wide { grid-column: span 2; }
.work-item-tall { grid-row: span 2; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.work-item:hover img, .work-item:focus-visible img { transform: scale(1.035); filter: saturate(1.08); }
.work-item span { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 15px; display: flex; align-items: end; justify-content: space-between; gap: 15px; color: white; background: rgba(16,16,20,.84); backdrop-filter: blur(10px); }
.work-item b { font-size: 15px; }
.work-item small { color: rgba(255,255,255,.7); font-size: 10px; text-transform: uppercase; }

.process { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px,10vw,160px); background: var(--yellow); }
.process h2 { margin-top: 34px; font-size: clamp(60px,7vw,112px); }
.process h2 em { color: var(--ink); }
.process-intro p { max-width: 460px; margin: 32px 0 0; line-height: 1.7; }
.process-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(16,16,20,.45); }
.process-steps li { padding: 28px 0; display: grid; grid-template-columns: 70px 1fr; border-bottom: 1px solid rgba(16,16,20,.45); }
.process-steps > li > span { font-size: 12px; font-weight: 700; }
.process-steps h3 { margin: 0 0 9px; font-size: 19px; }
.process-steps p { margin: 0; max-width: 540px; color: #4d491b; line-height: 1.65; }

.director { display: grid; grid-template-columns: minmax(280px,.75fr) 1.25fr; gap: clamp(45px,8vw,130px); align-items: center; color: white; background: #19191f; }
.director-image { min-height: 600px; background: var(--cyan); overflow: hidden; }
.director-image img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; }
.director blockquote { margin: 0; }
.director blockquote p { margin: 42px 0; max-width: 880px; font-size: clamp(50px,5.5vw,92px); }
.director blockquote footer { display: grid; gap: 4px; }
.director blockquote footer span { color: rgba(255,255,255,.58); font-size: 13px; }

.contact { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(55px,9vw,150px); color: white; background: var(--magenta); }
.contact h2 { margin-top: 35px; max-width: 760px; font-size: clamp(65px,7.5vw,120px); }
.contact h2 em { color: var(--ink); }
.contact-copy > p { max-width: 540px; margin: 30px 0; font-size: 17px; line-height: 1.65; }
.contact-lines { display: grid; align-items: start; gap: 10px; }
.contact-lines a { width: max-content; border-bottom: 1px solid rgba(255,255,255,.5); padding: 4px 0; font-weight: 700; }
.quote-form { align-self: center; padding: clamp(26px,4vw,48px); color: var(--ink); background: var(--paper); }
.quote-form label { display: grid; gap: 9px; margin-bottom: 22px; }
.quote-form label span { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 13px 0; color: var(--ink); background: transparent; outline: none; }
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-bottom-color: var(--magenta); box-shadow: 0 1px 0 var(--magenta); }
.quote-form .button { width: 100%; margin-top: 8px; color: white; background: var(--ink); }

.site-footer { padding: 38px var(--pad); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px; color: white; background: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.footer-brand .brand-mark { width: 60px; height: 60px; }
.site-footer > p { color: rgba(255,255,255,.5); font-size: 11px; text-transform: uppercase; }
.footer-links { grid-column: 1 / -1; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.62); font-size: 12px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: white; }

.lightbox { width: min(1000px, calc(100% - 28px)); max-width: none; height: min(88vh,900px); max-height: none; padding: 0; overflow: visible; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(8,8,10,.9); backdrop-filter: blur(12px); }
.lightbox > button { position: fixed; z-index: 2; top: 22px; right: 22px; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: white; background: rgba(16,16,20,.5); cursor: pointer; }
.lightbox figure { width: 100%; height: 100%; margin: 0; display: grid; grid-template-rows: 1fr auto; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox figcaption { padding: 14px 0; color: white; text-align: center; font-size: 13px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { position: relative; z-index: 102; width: 48px; height: 48px; display: grid; place-content: center; gap: 7px; border: 0; color: white; background: var(--ink); cursor: pointer; }
  .menu-toggle span { width: 22px; height: 2px; background: currentColor; transition: transform .3s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 101; inset: -17px -17px auto; min-height: 100svh; padding: 126px clamp(24px,6vw,64px) 40px; display: flex; flex-direction: column; justify-content: space-between; color: white; background: var(--ink); visibility: hidden; opacity: 0; transform: translateY(-16px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
  .mobile-menu.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .mobile-menu nav { display: grid; }
  .mobile-menu nav a { padding: 16px 0; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.2); font-family: "Instrument Serif", Georgia, serif; font-size: clamp(40px,8vw,70px); }
  .mobile-menu nav span { color: var(--yellow); font-family: "DM Sans", sans-serif; font-size: 11px; }
  .mobile-menu-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; font-size: 13px; }
  .mobile-menu-foot a { display: inline-flex; align-items: center; gap: 7px; }
  .hero { grid-template-columns: .85fr 1.15fr; }
  .intro { grid-template-columns: .28fr 1.3fr; }
  .intro-details { grid-column: 2; }
  .capabilities { grid-column: 2; grid-template-columns: repeat(2,1fr); }
  .capabilities div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .capabilities div:nth-child(4) { border-top: 1px solid var(--line); }
  .work-heading { grid-template-columns: .28fr 1fr; }
  .work-heading .text-link { grid-column: 2; }
  .work-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 760px) {
  .site-header { top: 8px; width: calc(100% - 16px); min-height: 62px; padding: 6px 7px 6px 10px; }
  .brand .brand-mark { width: 46px; height: 46px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 9px; }
  .menu-toggle { width: 46px; height: 46px; }
  .hero { min-height: auto; padding: 106px 18px 36px; display: flex; flex-direction: column; align-items: stretch; gap: 34px; }
  .hero-copy { order: 2; }
  .hero h1 { margin-top: 22px; font-size: clamp(64px,20vw,92px); }
  .hero-intro { margin-top: 24px; font-size: 16px; line-height: 1.55; }
  .hero-actions { margin-top: 28px; align-items: stretch; gap: 18px; }
  .button { min-height: 54px; padding: 0 19px; }
  .hero-visual { order: 1; min-height: 72vw; }
  .hero-shot-main { inset: 0 0 8% 10%; }
  .hero-shot-small { width: 38%; height: 39%; border-width: 6px; }
  .hero-shot figcaption { padding: 13px; font-size: 10px; }
  .hero-shot figcaption b { display: none; }
  .hero-shot-main figcaption { display: none; }
  .hero-seal { right: -4px; top: -5px; width: 88px; }
  .hero-seal span { font-size: 15px; }
  .hero-bottom { order: 3; grid-template-columns: repeat(2,1fr); gap: 0; padding-top: 0; }
  .hero-bottom span { min-height: 44px; padding: 15px 8px 10px 0; border-top: 1px solid var(--line); }
  .hero-bottom span:not(:first-child) { padding-left: 10px; }
  .hero-bottom span:nth-child(3) { border-left: 0; }
  .section { padding: 84px 20px; }
  .intro, .section-heading, .work-heading, .process, .director, .contact { display: block; }
  .section-index { margin-bottom: 30px; }
  .intro-statement h2, .section-heading h2, .work-heading h2 { font-size: clamp(54px,15vw,76px); }
  .intro-details { margin-top: 34px; }
  .capabilities { margin-top: 48px; grid-column: auto; }
  .capabilities div { min-height: 108px; padding: 16px; }
  .services .section-heading { margin-bottom: 56px; }
  .service-list { margin: 0; }
  .service-row button { min-height: 92px; grid-template-columns: 38px 1fr auto; }
  .service-row button h3 { font-size: clamp(34px,10vw,48px); }
  .service-row button svg { width: 22px; height: 22px; }
  .service-detail { grid-template-columns: 1fr; gap: 20px; padding-left: 38px; }
  .service-row.is-open .service-detail { max-height: 560px; padding-bottom: 30px; }
  .service-detail ul { grid-template-columns: 1fr 1fr; font-size: 12px; }
  .work-heading .text-link { margin-top: 28px; }
  .work-grid { margin-top: 48px; grid-template-columns: repeat(2,1fr); grid-auto-rows: 235px; gap: 8px; }
  .work-item-wide { grid-column: span 2; }
  .work-item-tall { grid-row: span 1; }
  .work-item span { left: 7px; right: 7px; bottom: 7px; padding: 11px; display: grid; }
  .work-item b { font-size: 12px; }
  .work-item small { font-size: 8px; }
  .process h2 { font-size: clamp(58px,16vw,78px); }
  .process-intro p { margin-bottom: 48px; }
  .process-steps li { grid-template-columns: 42px 1fr; }
  .director-image, .director-image img { min-height: 105vw; max-height: 560px; }
  .director blockquote { padding-top: 54px; }
  .director blockquote p { margin: 30px 0; font-size: clamp(42px,12vw,62px); }
  .contact h2 { font-size: clamp(59px,17vw,82px); }
  .contact-lines { margin-bottom: 46px; }
  .contact-lines a { font-size: 14px; }
  .quote-form { padding: 25px 20px; }
  .site-footer { padding: 34px 20px; display: block; }
  .site-footer > p { margin: 24px 0; line-height: 1.6; }
  .footer-links { display: grid; justify-content: start; }
  .lightbox { height: 82vh; }
}

@media (max-width: 420px) {
  .brand small { display: none; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .work-item-wide { grid-column: span 1; }
  .capabilities { grid-template-columns: 1fr; }
  .capabilities div + div { border-top: 1px solid var(--line); border-left: 0; }
  .service-detail ul { grid-template-columns: 1fr; }
  .mobile-menu-foot { display: grid; }
}

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