:root {
  --blue: #00acea;
  --navy: #004773;
  --navy-deep: #002e4d;
  --paper: #f3f3f3;
  --white: #ffffff;
  --ink: #06273b;
  --line: rgb(255 255 255 / 18%);
  --header-height: 84px;
  --font-display: "Agency FB", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --font-mono: var(--font-display);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--font-display); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
section, footer { scroll-margin-top: var(--header-height); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--header-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px); color: var(--white);
  border-bottom: 1px solid var(--line); background: rgb(0 46 77 / 74%); backdrop-filter: blur(18px);
}
.brand { height: 100%; display: inline-flex; align-items: center; gap: 4px; font-weight: 650; letter-spacing: -.02em; }
.brand-animation-frame { position: relative; display: block; flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; isolation: isolate; }
.brand-animation-frame img { position: absolute; width: 88px; max-width: none; height: auto; left: -16px; top: -48px; mix-blend-mode: screen; }
.brand-signature-frame { position: relative; display: block; flex: 0 0 110px; width: 110px; height: 60px; overflow: hidden; isolation: isolate; }
.brand-signature-frame img { position: absolute; width: 150px; max-width: none; height: auto; left: -32px; top: -12px; pointer-events: none; mix-blend-mode: screen; }
.brand-fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 2.5vw, 42px); font-family: var(--font-display); font-size: 18px; letter-spacing: .03em; }
.desktop-nav a { position: relative; color: rgb(255 255 255 / 74%); transition: color .25s ease; }
.desktop-nav a::after {
  content: ''; position: absolute; inset: auto 0 -10px; height: 1px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.desktop-nav a:hover { color: var(--white); }
.desktop-nav a:hover::after { transform: scaleX(1); }
.menu-button { display: none; border: 0; padding: 8px; color: var(--white); background: transparent; cursor: pointer; }
.menu-close-icon { display: none; }
.mobile-nav { display: none; }

.hero {
  position: relative; min-height: 100svh; overflow: hidden; color: var(--white);
  background: var(--navy-deep); isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 58%, #005d8b 100%);
}
.hero-grid {
  position: absolute; inset: var(--header-height) 0 0; z-index: -1; opacity: .13;
  background-image: linear-gradient(90deg, transparent calc(100% - 1px), #fff 1px), linear-gradient(transparent calc(100% - 1px), #fff 1px);
  background-size: clamp(64px, 9vw, 144px) clamp(64px, 9vw, 144px);
  mask-image: linear-gradient(90deg, transparent 2%, black 42%, black 85%, transparent 100%);
}
.hero-content {
  width: min(1440px, 100%); min-height: calc(100svh - 104px); margin: auto;
  padding: calc(var(--header-height) + clamp(38px, 7vh, 100px)) clamp(24px, 5vw, 80px) 116px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: center; gap: clamp(30px, 5vw, 90px);
}
.hero-copy { position: relative; z-index: 3; }
.eyebrow {
  margin: 0 0 clamp(30px, 5vh, 64px); display: flex; align-items: center; gap: 12px;
  color: rgb(255 255 255 / 62%); font-family: var(--font-mono), monospace;
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow span { width: 38px; height: 1px; background: var(--blue); }
.hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(74px, 10vw, 166px); line-height: .76; letter-spacing: -.025em; font-weight: 380; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { margin-left: clamp(20px, 5vw, 86px); color: var(--blue); font-weight: 720; }
.hero-intro {
  width: min(430px, 80%); margin: clamp(36px, 6vh, 72px) 0 0 clamp(20px, 5vw, 86px);
  color: rgb(255 255 255 / 72%); font-size: clamp(14px, 1.2vw, 17px); line-height: 1.7; letter-spacing: .01em;
}
.portrait-stage { position: relative; height: min(69vh, 760px); min-height: 510px; display: grid; align-items: center; }
.hero-profile {
  position: absolute; display: block; width: min(42vw, 610px); max-width: none; height: auto; right: clamp(-28px, 1vw, 18px); bottom: 0;
  object-fit: contain; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  animation: profile-float 6s ease-in-out infinite;
}
.hero-footer { position: absolute; inset: auto clamp(24px, 5vw, 80px) 25px; display: flex; align-items: flex-end; justify-content: flex-start; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; color: rgb(255 255 255 / 68%); font-size: 12px; letter-spacing: .05em; }
.scroll-cue i { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgb(255 255 255 / 26%); border-radius: 50%; color: var(--blue); font-style: normal; }

.section-light {
  width: min(1440px, 100%); margin: 0 auto; padding: clamp(96px, 13vw, 190px) clamp(24px, 6vw, 96px);
}
.about { position: relative; display: grid; grid-template-columns: minmax(300px, .85fr) minmax(430px, 1.15fr); gap: clamp(64px, 9vw, 150px); align-items: center; }
.about-visual { position: relative; }
.about-visual::before { content: ''; position: absolute; width: 45%; height: 70%; left: -10%; top: -9%; z-index: -1; background: var(--blue); opacity: .14; }
.about-image-frame { aspect-ratio: 1080 / 691; overflow: hidden; border: 1px solid rgb(0 71 115 / 22%); background: #e8eff2; }
.about-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.about-image-frame:hover img { transform: scale(1.025); }
.about-visual > p { margin: 14px 0 0; color: rgb(6 39 59 / 55%); font-family: var(--font-mono), monospace; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.section-kicker { margin: 0 0 28px; display: flex; align-items: center; gap: 12px; color: var(--navy); font-family: var(--font-mono), monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.section-kicker span { width: 38px; height: 1px; background: var(--blue); }
.about h2 { margin: 0; color: var(--navy-deep); font-family: var(--font-display); font-size: clamp(54px, 6.5vw, 104px); line-height: .92; letter-spacing: -.015em; font-weight: 560; }
.bio-copy { max-width: 650px; margin: clamp(42px, 6vw, 78px) 0 0 clamp(16px, 4vw, 64px); padding: 22px 0 0; border-top: 1px solid rgb(0 71 115 / 22%); }
.bio-copy p { max-width: 590px; margin: 0 0 18px; color: rgb(6 39 59 / 68%); font-size: clamp(14px, 1.25vw, 17px); line-height: 1.68; }
.bio-copy p:last-child { margin-bottom: 0; }
.bio-copy .bio-lead { color: var(--navy-deep); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.55; font-weight: 560; }
.about-meta { margin: 44px 0 0 clamp(16px, 4vw, 64px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.about-meta div { padding-top: 14px; border-top: 1px solid rgb(0 71 115 / 13%); }
.about-meta small, .about-meta strong { display: block; }
.about-meta small { margin-bottom: 10px; color: rgb(6 39 59 / 50%); font-family: var(--font-mono), monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.about-meta strong { color: var(--navy); font-family: var(--font-mono), monospace; font-size: 11px; font-weight: 500; }

.architecture { padding: clamp(100px, 12vw, 180px) clamp(24px, 6vw, 96px); color: var(--white); background: var(--navy); }
.architecture-heading { width: min(1440px, 100%); margin: 0 auto clamp(76px, 10vw, 150px); display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px 8vw; align-items: end; }
.section-kicker-light { grid-column: 1 / -1; color: rgb(255 255 255 / 64%); }
.architecture-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(46px, 6vw, 96px); line-height: .93; letter-spacing: -.015em; font-weight: 500; }
.architecture-heading > p { max-width: 480px; margin: 0 0 8px; color: rgb(255 255 255 / 62%); font-size: 16px; line-height: 1.65; }
.chapter-list { width: min(1440px, 100%); margin: auto; border-top: 1px solid var(--line); }
.chapter { display: grid; grid-template-columns: 70px 1.1fr 1.3fr auto; gap: clamp(18px, 4vw, 72px); align-items: center; min-height: 148px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .3s ease, padding .3s ease; }
.chapter:hover { padding-inline: 24px; background: rgb(255 255 255 / 4%); }
.chapter-number { color: var(--blue); font-family: var(--font-mono), monospace; font-size: 11px; }
.chapter h3 { margin: 0; font-family: var(--font-display); font-size: clamp(25px, 3vw, 44px); letter-spacing: 0; font-weight: 480; }
.chapter p { max-width: 490px; margin: 0; color: rgb(255 255 255 / 59%); font-size: 14px; line-height: 1.6; }
.chapter small { color: var(--blue); font-family: var(--font-mono), monospace; font-size: 8px; letter-spacing: .09em; white-space: nowrap; }

.brand-gallery { position: relative; overflow: hidden; padding: 0; background: var(--paper); }
.works-heading {
  width: min(1440px, 100%); margin: 0 auto; padding: clamp(86px, 10vw, 144px) clamp(24px, 6vw, 96px) clamp(48px, 6vw, 82px);
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px 8vw; align-items: end;
}
.works-heading .section-kicker { grid-column: 1 / -1; }
.works-heading h2 { margin: 0; color: var(--navy-deep); font-family: var(--font-display); font-size: clamp(56px, 7.5vw, 116px); line-height: .86; letter-spacing: -.015em; font-weight: 560; }
.works-heading > p { max-width: 470px; margin: 0 0 8px; color: rgb(6 39 59 / 66%); font-size: 16px; line-height: 1.65; }
.works-grid {
  width: min(1440px, calc(100% - clamp(48px, 12vw, 192px))); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px);
}
.work-card { grid-column: span 4; min-width: 0; color: var(--white); background: var(--navy-deep); }
.work-card:nth-child(2), .work-card:nth-child(4) { background: #164f78; }
.work-card-featured { grid-column: span 7; }
.work-card:nth-child(2) { grid-column: span 5; }
.work-card-media {
  position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  background-color: var(--blue); background-image: linear-gradient(135deg, rgb(255 255 255 / 11%) 25%, transparent 25%, transparent 50%, rgb(255 255 255 / 11%) 50%, rgb(255 255 255 / 11%) 75%, transparent 75%); background-size: 30px 30px;
}
.work-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.work-card:hover .work-card-photo img { transform: scale(1.025); }
.work-card-featured .work-card-media { aspect-ratio: 16 / 9; }
.work-card-placeholder { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--navy-deep); background: rgb(255 255 255 / 88%); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.work-card-placeholder b { font-size: 22px; font-weight: 400; line-height: .7; }
.work-card-body { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; min-height: 138px; padding: 24px; }
.work-card-index { padding-top: 5px; color: var(--blue); font-size: 11px; }
.work-card h3 { margin: 0; font-size: clamp(25px, 2.5vw, 38px); font-weight: 500; line-height: .98; }
.work-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 18px 0 0; color: rgb(255 255 255 / 65%); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.projects-section { padding: clamp(96px, 12vw, 174px) clamp(24px, 6vw, 96px); color: var(--white); background: var(--navy-deep); }
.projects-heading { width: min(1440px, 100%); margin: 0 auto clamp(64px, 8vw, 112px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px 8vw; align-items: end; }
.projects-heading .section-kicker { grid-column: 1 / -1; }
.projects-heading h2 { margin: 0; font-size: clamp(56px, 7.5vw, 116px); font-weight: 540; line-height: .86; letter-spacing: -.015em; }
.projects-heading > p { max-width: 470px; margin: 0 0 8px; color: rgb(255 255 255 / 63%); font-size: 16px; line-height: 1.65; }
.projects-list { width: min(1440px, 100%); margin: 0 auto; border-top: 1px solid var(--line); }
.project-card { display: grid; grid-template-columns: 54px 1fr 50px; gap: clamp(18px, 4vw, 60px); align-items: start; padding: clamp(30px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.project-card:hover { padding-inline: 24px; background: rgb(255 255 255 / 4%); }
.project-number { padding-top: 7px; color: var(--blue); font-size: 12px; }
.project-area { margin: 0 0 14px; color: var(--blue); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.project-card h3 { margin: 0; font-size: clamp(34px, 4vw, 62px); font-weight: 500; line-height: .95; }
.project-card h3 + p { max-width: 660px; margin: 22px 0 0; color: rgb(255 255 255 / 61%); font-size: 16px; line-height: 1.65; }
.project-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgb(255 255 255 / 24%); border-radius: 50%; color: var(--blue); font-size: 22px; }
.gallery-section { padding: clamp(96px, 12vw, 174px) clamp(24px, 6vw, 96px); background: var(--paper); }
.galleries-heading { width: min(1440px, 100%); margin: 0 auto clamp(54px, 7vw, 96px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px 8vw; align-items: end; }
.galleries-heading .section-kicker { grid-column: 1 / -1; }
.galleries-heading h2 { margin: 0; color: var(--navy-deep); font-size: clamp(56px, 7.5vw, 116px); font-weight: 540; line-height: .86; letter-spacing: -.015em; }
.galleries-heading > p { max-width: 470px; margin: 0 0 8px; color: rgb(6 39 59 / 66%); font-size: 16px; line-height: 1.65; }
.gallery-mosaic { width: min(1440px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 13vw, 190px); gap: clamp(14px, 1.7vw, 26px); }
.gallery-slot { position: relative; grid-column: span 4; grid-row: span 2; margin: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 22px; overflow: hidden; color: var(--white); background: var(--navy); }
.gallery-slot::before { content: ''; position: absolute; width: 60%; aspect-ratio: 1; top: -28%; right: -12%; border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; box-shadow: 0 0 0 42px rgb(255 255 255 / 4%), 0 0 0 84px rgb(255 255 255 / 3%); }
.gallery-slot:nth-child(2), .gallery-slot:nth-child(5) { color: var(--navy-deep); background: var(--blue); }
.gallery-slot:nth-child(3), .gallery-slot:nth-child(6) { background: #165c88; }
.gallery-slot-wide { grid-column: span 8; }
.gallery-slot-tall { grid-row: span 3; }
.gallery-slot span, .gallery-slot p { position: relative; z-index: 1; margin: 0; }
.gallery-slot span { font-size: 12px; }
.gallery-slot p { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.closing-statement { background: var(--paper); }
.closing-heading {
  width: min(1440px, 100%); margin: 0 auto; padding: clamp(92px, 11vw, 160px) clamp(24px, 6vw, 96px) clamp(70px, 9vw, 124px);
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px 8vw; align-items: end;
}
.closing-heading .section-kicker { grid-column: 1 / -1; }
.closing-heading h2 { margin: 0; color: var(--navy-deep); font-family: var(--font-display); font-size: clamp(52px, 7vw, 110px); line-height: .89; letter-spacing: -.015em; font-weight: 560; }
.closing-heading > p { max-width: 470px; margin: 0 0 8px; color: rgb(6 39 59 / 66%); font-size: 16px; line-height: 1.65; }
.compact-footer { width: 100%; margin: 0; padding: clamp(42px, 5vw, 68px) clamp(24px, 6vw, 96px); display: grid; grid-template-columns: 1.1fr auto auto 46px; gap: clamp(24px, 4vw, 64px); align-items: center; color: var(--white); background: var(--navy-deep); }
.compact-footer-brand { display: flex; width: clamp(190px, 18vw, 260px); min-width: 0; align-items: center; }
.compact-footer-brand img { display: block; width: 100%; height: auto; max-height: 122px; object-fit: contain; object-position: left center; }
.compact-footer-social { display: flex; gap: 12px; }
.social-item { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border: 1px solid rgb(255 255 255 / 18%); color: rgb(255 255 255 / 76%); font-size: 14px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.social-item:hover { color: var(--white); border-color: var(--blue); background: rgb(0 172 234 / 10%); }
.social-item svg { width: 20px; height: 20px; color: var(--blue); }
.compact-footer-contact { display: flex; align-items: center; gap: 13px; padding-left: clamp(18px, 3vw, 42px); border-left: 1px solid rgb(255 255 255 / 18%); }
.compact-footer-contact > svg { width: 25px; height: 25px; color: var(--blue); }
.compact-footer-contact div { display: grid; gap: 2px; }
.compact-footer-contact span { color: var(--blue); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.compact-footer-contact strong { font-size: 17px; font-weight: 500; }
.compact-footer-contact small { color: rgb(255 255 255 / 50%); font-size: 12px; }
.compact-footer-top { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgb(255 255 255 / 24%); border-radius: 50%; color: var(--blue); font-size: 20px; transition: color .2s ease, background .2s ease; }
.compact-footer-top:hover { color: var(--navy-deep); background: var(--blue); }
@keyframes profile-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@media (max-width: 1080px) {
  :root { --header-height: 72px; }
  .site-header { padding: 0 clamp(20px, 4vw, 44px); }
  .desktop-nav { display: none; }
  .menu-button { display: grid; place-items: center; }
  .mobile-nav {
    position: fixed; inset: var(--header-height) 0 0; z-index: 19; display: flex; flex-direction: column;
    padding: clamp(36px, 7vh, 72px) clamp(22px, 6vw, 64px); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px);
    color: var(--white); background: var(--navy-deep); transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .mobile-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .mobile-nav-label { margin-bottom: 26px; color: var(--blue); font-family: var(--font-mono), monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
  .mobile-nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(30px, 9vw, 48px); letter-spacing: .01em; }
  .mobile-nav a span { color: var(--blue); font-family: var(--font-mono), monospace; font-size: 9px; }
  .hero-content { grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: clamp(20px, 3vw, 42px); }
  .hero h1 { font-size: clamp(70px, 9.5vw, 112px); }
  .portrait-stage { min-height: 460px; }
  .hero-profile { width: min(47vw, 520px); right: -2vw; }
}

@media (max-width: 900px) {
  .hero { min-height: 100svh; }
  .hero-content {
    grid-template-columns: 1fr; align-content: start; min-height: 100svh;
    padding: calc(var(--header-height) + 38px) clamp(22px, 6vw, 54px) 104px; gap: 30px;
  }
  .eyebrow { margin-bottom: 28px; }
  .hero h1 { font-size: clamp(72px, 15vw, 116px); }
  .hero h1 strong { margin-left: clamp(28px, 9vw, 74px); }
  .hero-intro { width: min(520px, 82%); margin: 28px 0 0 clamp(28px, 9vw, 74px); font-size: 14px; line-height: 1.6; }
  .portrait-stage { width: min(100%, 620px); height: auto; min-height: 0; aspect-ratio: 1 / 1; margin: -24px 0 0 auto; }
  .hero-profile { width: 100%; right: 0; bottom: 0; }
  .hero-footer { inset: auto clamp(22px, 6vw, 54px) 20px; }
  .about { grid-template-columns: 1fr; gap: clamp(48px, 9vw, 76px); padding-top: 100px; }
  .about-visual { width: min(100%, 650px); }
  .about-copy { display: flex; flex-direction: column; }
  .about h2 { font-size: clamp(58px, 12vw, 88px); }
  .bio-copy, .about-meta { margin-left: clamp(0px, 6vw, 48px); }
  .architecture-heading { grid-template-columns: 1fr; }
  .section-kicker-light { grid-column: auto; }
  .architecture-heading > p { margin-top: 20px; }
  .chapter { grid-template-columns: 40px 1fr; gap: 12px 20px; padding: 28px 0; }
  .chapter h3 { font-size: clamp(25px, 6vw, 40px); }
  .chapter p, .chapter small { grid-column: 2; }
  .chapter small { white-space: normal; }
  .chapter:hover { padding-inline: 0; background: transparent; }
  .works-heading { grid-template-columns: 1fr; }
  .works-heading .section-kicker { grid-column: auto; }
  .works-heading > p { margin-top: 16px; }
  .work-card, .work-card-featured, .work-card:nth-child(2) { grid-column: span 6; }
  .work-card:last-child { grid-column: 4 / span 6; }
  .work-card-featured .work-card-media { aspect-ratio: 4 / 3; }
  .projects-heading, .galleries-heading, .closing-heading { grid-template-columns: 1fr; }
  .projects-heading .section-kicker, .galleries-heading .section-kicker, .closing-heading .section-kicker { grid-column: auto; }
  .projects-heading > p, .galleries-heading > p, .closing-heading > p { margin-top: 16px; }
  .project-card:hover { padding-inline: 0; background: transparent; }
  .gallery-slot, .gallery-slot-wide { grid-column: span 6; }
  .gallery-slot-tall { grid-row: span 2; }
  .compact-footer { grid-template-columns: 1fr auto; }
  .compact-footer-social { grid-row: 2; }
  .compact-footer-contact { grid-row: 2; border-left: 0; }
  .compact-footer-top { grid-column: 2; grid-row: 1; }
}

@media (max-width: 600px) {
  .site-header { padding-inline: 16px; }
  .brand { gap: 3px; }
  .brand-animation-frame { flex-basis: 48px; width: 48px; height: 48px; }
  .brand-animation-frame img { width: 76px; left: -14px; top: -42px; }
  .brand-signature-frame { flex-basis: 92px; width: 92px; height: 52px; }
  .brand-signature-frame img { width: 128px; left: -28px; top: -10px; }
  .menu-button { padding: 10px; }
  .mobile-nav { padding: 34px 20px; }
  .mobile-nav a { font-size: clamp(28px, 10vw, 42px); }
  .hero-content { padding: calc(var(--header-height) + 30px) 20px 94px; gap: 16px; }
  .eyebrow { margin-bottom: 24px; font-size: 9px; }
  .hero h1 { font-size: clamp(56px, 20vw, 92px); line-height: .8; }
  .hero h1 strong { margin-left: 8vw; }
  .hero-intro { width: 100%; margin: 24px 0 0; padding-right: 10vw; font-size: 13px; }
  .portrait-stage { width: calc(100% + 24px); margin: -8px -24px 0 0; }
  .hero-profile { width: 108%; right: -8%; }
  .hero-footer { inset-inline: 20px; }
  .scroll-cue { gap: 10px; font-size: 10px; }
  .scroll-cue i { width: 32px; height: 32px; }
  .section-light, .architecture { padding: 76px 20px; }
  .about { gap: 46px; padding-top: 84px; }
  .about-visual { width: 100%; }
  .about h2 { font-size: clamp(50px, 15vw, 72px); }
  .bio-copy { margin: 34px 0 0; }
  .about-meta { grid-template-columns: 1fr; gap: 18px; margin: 34px 0 0; }
  .architecture-heading { margin-bottom: 58px; }
  .architecture-heading h2 { font-size: clamp(40px, 12vw, 56px); }
  .architecture-heading > p { font-size: 14px; }
  .chapter { grid-template-columns: 28px minmax(0, 1fr); gap: 10px 14px; min-height: 0; padding: 24px 0; }
  .chapter h3 { font-size: clamp(25px, 8vw, 34px); }
  .chapter p { font-size: 13px; }
  .works-heading { padding: 66px 20px 42px; }
  .works-heading h2 { font-size: clamp(50px, 15vw, 72px); }
  .works-heading > p { margin-top: 12px; font-size: 14px; }
  .works-grid { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 18px; }
  .work-card, .work-card-featured, .work-card:nth-child(2), .work-card:last-child { grid-column: 1; }
  .work-card-media, .work-card-featured .work-card-media { aspect-ratio: 16 / 10; }
  .work-card-body { min-height: 0; padding: 20px; }
  .work-card h3 { font-size: clamp(28px, 9vw, 38px); }
  .projects-section, .gallery-section { padding: 76px 20px; }
  .projects-heading, .galleries-heading { margin-bottom: 52px; }
  .projects-heading h2, .galleries-heading h2 { font-size: clamp(50px, 15vw, 72px); }
  .projects-heading > p, .galleries-heading > p { margin-top: 12px; font-size: 16px; }
  .project-card { grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .project-mark { display: none; }
  .project-card h3 { font-size: clamp(31px, 10vw, 42px); }
  .project-card h3 + p { margin-top: 18px; font-size: 16px; }
  .gallery-mosaic { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery-slot, .gallery-slot-wide { grid-column: 1; grid-row: span 1; }
  .gallery-slot-tall { grid-row: span 2; }
  .closing-heading { padding: 72px 20px 54px; }
  .closing-heading h2 { font-size: clamp(48px, 15vw, 70px); }
  .closing-heading > p { margin-top: 12px; font-size: 16px; }
  .compact-footer { width: 100%; padding: 38px 20px; grid-template-columns: 1fr 42px; gap: 30px 16px; }
  .compact-footer-social { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  .social-item { flex: 1; justify-content: center; min-width: 120px; }
  .compact-footer-contact { grid-column: 1 / -1; grid-row: 3; padding: 20px 0 0; border-top: 1px solid rgb(255 255 255 / 18%); }
  .compact-footer-top { grid-column: 2; grid-row: 1; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: clamp(52px, 19vw, 70px); }
  .hero-intro { padding-right: 0; }
  .scroll-cue span { display: none; }
  .section-kicker { letter-spacing: .1em; }
  .about h2, .works-heading h2, .projects-heading h2, .galleries-heading h2, .closing-heading h2 { font-size: 46px; }
}

@media (min-width: 901px) and (max-height: 720px) {
  .hero-content { padding-top: calc(var(--header-height) + 24px); padding-bottom: 88px; }
  .eyebrow { margin-bottom: 24px; }
  .hero h1 { font-size: clamp(68px, 9vw, 118px); }
  .hero-intro { margin-top: 26px; }
  .portrait-stage { height: 72vh; min-height: 430px; }
  .hero-profile { width: min(40vw, 500px); }
}

@media (max-width: 1080px) and (max-height: 540px) {
  .mobile-nav { padding-block: 18px; }
  .mobile-nav-label { margin-bottom: 10px; }
  .mobile-nav a { padding-block: 7px; font-size: 24px; }
}

/* Responsive refinements across phones, tablets, laptops and wide displays */
html { width: 100%; overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, main { width: 100%; min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; text-wrap: balance; }
p { text-wrap: pretty; }
.site-header { padding-left: max(clamp(24px, 5vw, 80px), env(safe-area-inset-left)); padding-right: max(clamp(24px, 5vw, 80px), env(safe-area-inset-right)); }
.menu-button, .compact-footer-top, .scroll-cue i { flex: 0 0 auto; min-width: 42px; min-height: 42px; }
.hero, .brand-gallery, .architecture, .projects-section, .gallery-section, .closing-statement { width: 100%; }
.about-copy, .hero-copy, .projects-heading > *, .galleries-heading > *, .closing-heading > *, .project-card > *, .chapter > * { min-width: 0; }
.works-section { padding-bottom: clamp(72px, 8vw, 120px); }

@media (min-width: 1600px) {
  .site-header { padding-inline: max(calc((100vw - 1600px) / 2 + 48px), 80px); }
  .hero-content { width: min(1600px, 100%); }
  .hero-profile { width: min(38vw, 640px); }
}

@media (min-width: 1081px) and (max-width: 1280px) {
  .site-header { padding-inline: 32px; }
  .desktop-nav { gap: 22px; font-size: 16px; }
  .hero-content { grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr); gap: 28px; }
  .hero h1 { font-size: clamp(76px, 9vw, 116px); }
  .hero-profile { width: min(43vw, 520px); }
  .compact-footer { grid-template-columns: minmax(220px, 1fr) auto 46px; }
  .compact-footer-contact { grid-column: 1 / -1; grid-row: 2; padding: 22px 0 0; border-top: 1px solid rgb(255 255 255 / 18%); border-left: 0; }
}

@media (max-width: 1080px) {
  .site-header { padding-left: max(clamp(20px, 4vw, 44px), env(safe-area-inset-left)); padding-right: max(clamp(20px, 4vw, 44px), env(safe-area-inset-right)); }
  .menu-button { width: 44px; height: 44px; }
  .mobile-nav { padding-left: max(clamp(22px, 6vw, 64px), env(safe-area-inset-left)); padding-right: max(clamp(22px, 6vw, 64px), env(safe-area-inset-right)); padding-bottom: max(clamp(36px, 7vh, 72px), env(safe-area-inset-bottom)); }
  .mobile-nav a { min-height: 52px; }
  .compact-footer { grid-template-columns: minmax(0, 1fr) auto; }
  .compact-footer-brand { grid-column: 1; grid-row: 1; }
  .compact-footer-top { grid-column: 2; grid-row: 1; }
  .compact-footer-social { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  .compact-footer-contact { grid-column: 1 / -1; grid-row: 3; padding: 22px 0 0; border-top: 1px solid rgb(255 255 255 / 18%); border-left: 0; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .hero-content { padding-bottom: 112px; }
  .portrait-stage { width: min(82vw, 590px); margin-top: -40px; }
  .hero-profile { width: min(100%, 560px); margin-inline: auto; left: 0; right: 0; }
  .section-light, .architecture, .projects-section, .gallery-section { padding-inline: clamp(32px, 6vw, 54px); }
  .works-heading, .closing-heading { padding-inline: clamp(32px, 6vw, 54px); }
  .works-grid { width: calc(100% - clamp(64px, 12vw, 108px)); }
  .work-card-body { min-height: 126px; }
  .gallery-mosaic { grid-auto-rows: clamp(150px, 22vw, 210px); }
}

@media (max-width: 600px) {
  :root { --header-height: 68px; }
  .site-header { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
  .brand-animation-frame { flex-basis: 46px; width: 46px; height: 50px; }
  .brand-animation-frame img { width: 74px; left: -14px; top: -40px; }
  .brand-signature-frame { flex-basis: 88px; width: 88px; height: 52px; }
  .brand-signature-frame img { width: 124px; left: -28px; top: -8px; }
  .mobile-nav { padding-top: 26px; }
  .mobile-nav-label { margin-bottom: 14px; }
  .mobile-nav a { padding-block: 9px; font-size: clamp(27px, 9vw, 40px); }
  .hero-content { min-height: 100svh; min-height: 100dvh; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); padding-bottom: 88px; }
  .hero h1 { font-size: clamp(56px, 19vw, 88px); }
  .hero-intro { max-width: 440px; padding-right: 0; font-size: 16px; line-height: 1.55; }
  .portrait-stage { width: 100%; max-width: 500px; margin: -10px auto 0; }
  .hero-profile { width: min(108%, 500px); left: 50%; right: auto; translate: -50% 0; }
  .hero-footer { left: max(18px, env(safe-area-inset-left)); right: max(18px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .section-light, .architecture, .projects-section, .gallery-section { padding: clamp(64px, 18vw, 82px) max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .about { padding-top: clamp(70px, 18vw, 84px); }
  .about h2, .works-heading h2, .projects-heading h2, .galleries-heading h2, .closing-heading h2 { font-size: clamp(46px, 14vw, 68px); line-height: .92; }
  .bio-copy p, .architecture-heading > p, .works-heading > p, .projects-heading > p, .galleries-heading > p, .closing-heading > p, .chapter p { font-size: 16px; }
  .about-meta strong { font-size: 14px; }
  .chapter { grid-template-columns: 26px minmax(0, 1fr); }
  .chapter small { font-size: 12px; }
  .works-heading { padding: clamp(62px, 17vw, 78px) max(18px, env(safe-area-inset-left)) 40px; padding-right: max(18px, env(safe-area-inset-right)); }
  .works-grid { width: calc(100% - 36px); }
  .works-section { padding-bottom: 72px; }
  .work-card-placeholder { max-width: calc(100% - 28px); padding: 9px 12px; font-size: 12px; text-align: center; }
  .work-card-body { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .work-card h3 { font-size: clamp(28px, 8.5vw, 36px); }
  .work-card-meta { font-size: 12px; }
  .project-card h3 { font-size: clamp(31px, 9.5vw, 41px); }
  .project-area, .project-number { font-size: 12px; }
  .gallery-mosaic { grid-auto-rows: clamp(190px, 62vw, 260px); }
  .gallery-slot { padding: 18px; }
  .closing-heading { padding: clamp(66px, 18vw, 82px) max(18px, env(safe-area-inset-left)) 52px; padding-right: max(18px, env(safe-area-inset-right)); }
  .compact-footer { padding: 36px max(18px, env(safe-area-inset-left)) max(36px, env(safe-area-inset-bottom)); padding-right: max(18px, env(safe-area-inset-right)); }
  .compact-footer-brand { width: min(220px, calc(100vw - 94px)); }
  .compact-footer-brand img { max-height: 104px; }
  .social-item { min-height: 46px; font-size: 16px; }
  .compact-footer-contact strong { font-size: 18px; }
  .compact-footer-contact small { font-size: 14px; }
}

@media (max-width: 420px) {
  .eyebrow { gap: 9px; letter-spacing: .09em; }
  .eyebrow span, .section-kicker span { width: 26px; }
  .hero h1 strong { margin-left: 6vw; }
  .about-image-frame { aspect-ratio: 4 / 3; }
  .about-image-frame img { object-fit: contain; background: #e8eff2; }
  .projects-section, .gallery-section { padding-inline: 16px; }
  .works-grid { width: calc(100% - 32px); }
  .project-card { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
  .compact-footer-social { flex-direction: column; }
  .social-item { width: 100%; }
}

@media (max-width: 340px) {
  .brand { gap: 0; }
  .brand-animation-frame { flex-basis: 42px; width: 42px; }
  .brand-animation-frame img { left: -16px; }
  .brand-signature-frame { flex-basis: 78px; width: 78px; }
  .brand-signature-frame img { width: 116px; left: -29px; }
  .hero h1 { font-size: 52px; }
  .about h2, .works-heading h2, .projects-heading h2, .galleries-heading h2, .closing-heading h2 { font-size: 42px; }
  .section-kicker { gap: 8px; font-size: 9px; }
  .work-card-body { padding: 17px 14px; }
  .gallery-slot { padding: 15px; }
}

@media (max-width: 900px) and (max-height: 600px) and (orientation: landscape) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(230px, .72fr); align-content: center; align-items: center;
    min-height: 100svh; min-height: 100dvh; padding: calc(var(--header-height) + 14px) max(22px, env(safe-area-inset-left)) 18px; padding-right: max(22px, env(safe-area-inset-right)); gap: 18px;
  }
  .eyebrow { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(52px, 9vw, 78px); }
  .hero h1 strong { margin-left: 24px; }
  .hero-intro { width: 100%; margin: 16px 0 0; padding: 0; font-size: 14px; line-height: 1.45; }
  .portrait-stage { width: 100%; max-width: 390px; max-height: calc(100dvh - var(--header-height) - 24px); margin: 0; aspect-ratio: 1; }
  .hero-profile { width: min(100%, 390px); left: 50%; right: auto; translate: -50% 0; }
  .hero-footer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-animation-frame { background: url("images/brand/icone.png") center / contain no-repeat; }
  .brand-animation-frame img { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
