/* Azur Realty — layout, colour, type */

:root {
  --green: #183830;
  --green-deep: #10261f;
  --green-soft: #2a5248;
  --gold: #b89860;
  --gold-soft: #d4bc86;
  --cream: #f4efe6;
  --sand: #e8e0d2;
  --paper: #fbf8f2;
  --ink: #14221e;
  --muted: #5d6d67;
  --line: rgba(24, 56, 48, 0.12);
  --shadow: 0 24px 60px rgba(16, 38, 31, 0.12);
  --radius: 1.5rem;
  --radius-sm: 1rem;
  --header: 5.25rem;
  --max: 72rem;
  --pad: clamp(1.25rem, 4vw, 3.25rem);
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bg: var(--paper);
  --bg-alt: var(--cream);
  --text: var(--ink);
  --text-muted: var(--muted);
  --surface: #ffffff;
  --surface-2: var(--cream);
  --nav-bg: rgba(251, 248, 242, 0.94);
  --hero-overlay: linear-gradient(180deg, rgba(16, 38, 31, 0.15) 0%, rgba(16, 38, 31, 0.55) 100%);
  --hero-card: #e4ece4;
  --invert-logo: 0;
}

html[data-theme="dark"] {
  --bg: #0b1210;
  --bg-alt: #101a17;
  --text: #f3eee4;
  --text-muted: #a9b6b1;
  --surface: #13201c;
  --surface-2: #182823;
  --line: rgba(212, 188, 134, 0.16);
  --nav-bg: rgba(11, 18, 16, 0.94);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --invert-logo: 0;
  --hero-overlay: linear-gradient(180deg, rgba(8, 14, 12, 0.2) 0%, rgba(8, 14, 12, 0.62) 100%);
  --hero-card: #101c18;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    --bg: #0b1210;
    --bg-alt: #101a17;
    --text: #f3eee4;
    --text-muted: #a9b6b1;
    --surface: #13201c;
    --surface-2: #182823;
    --line: rgba(212, 188, 134, 0.16);
    --nav-bg: rgba(11, 18, 16, 0.94);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --hero-overlay: linear-gradient(180deg, rgba(8, 14, 12, 0.2) 0%, rgba(8, 14, 12, 0.62) 100%);
    --hero-card: #101c18;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--green);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-kicker::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
}

.serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.head-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.head-center .section-kicker {
  justify-content: center;
}

.head-center h1,
.head-center h2 {
  margin-inline: auto;
  max-width: 24ch;
}

.head-center .lead {
  margin-inline: auto;
  text-align: center;
  margin-top: 0.35rem;
}

.lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 38rem;
}

.projects-head.head-center,
.services-head.head-center,
.strengths-head.head-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
  margin-bottom: 3.25rem;
}

.projects-head.head-center h2,
.services-head.head-center h2,
.strengths-head.head-center h2 {
  max-width: 24ch;
}

.services-head.head-center .lead {
  margin-inline: auto;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: var(--cream);
}

html[data-theme="dark"] .btn-primary {
  background: var(--gold);
  color: var(--green-deep);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--green-deep);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold);
}

.hero-ghost {
  color: #f6f1e8;
  border-color: rgba(246, 241, 232, 0.45);
  background: rgba(16, 38, 31, 0.22);
}

.hero-ghost:hover {
  background: #f6f1e8;
  color: var(--green);
}

.btn-light {
  background: var(--cream);
  color: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(86rem, calc(100% - var(--pad) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img,
.custom-logo,
.header-logo {
  height: 2.7rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

.brand-mark {
  height: 2.55rem !important;
  width: auto;
}

.brand-wordmark {
  height: 2.15rem !important;
  width: auto;
  max-width: 9.5rem;
}

html[data-theme="dark"] .site-header .brand img,
html[data-theme="dark"] .site-header .header-logo {
  filter: brightness(0) invert(0.93);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .site-header .brand img,
  html[data-theme="system"] .site-header .header-logo {
    filter: brightness(0) invert(0.93);
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.brand-text span {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.28rem;
}

.azur-nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.azur-nav-list a {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  position: relative;
}

.azur-nav-list a:hover,
.azur-nav-list .current-menu-item > a,
.azur-nav-list .current_page_item > a {
  color: var(--text);
}

.azur-nav-list .current-menu-item > a::after,
.azur-nav-list .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text);
}

.icon-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.theme-toggle .icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun,
html[data-theme="system"] .theme-toggle .icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .theme-toggle .icon-moon {
    display: block;
  }
}

@media (prefers-color-scheme: light) {
  html[data-theme="system"] .theme-toggle .icon-sun {
    display: block;
  }
  html[data-theme="system"] .theme-toggle .icon-moon {
    display: none;
  }
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 0 var(--pad) 0;
}

.hero-stage {
  --r: 1.75rem;
  --notch-w: min(22.5rem, 58vw);
  --notch-h: 5.65rem;
  position: relative;
}

.hero-frame {
  position: relative;
  min-height: min(90vh, 50rem);
  border: 0;
  border-radius: var(--r) var(--r) 0 var(--r);
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.hero-house {
  position: absolute;
  z-index: 2;
  left: -8%;
  width: 128%;
  height: 96%;
  bottom: 0;
  object-fit: cover;
  object-position: 18% 28%;
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(4.2rem, 11vh, 7rem) 8% 0;
  color: var(--text);
  pointer-events: none;
}

.hero-copy .section-kicker {
  opacity: 0;
  transform: translate3d(0, 0.85rem, 0);
  transition: opacity 1.4s ease 0.05s, transform 1.6s var(--ease) 0.05s;
}

.hero-copy .section-kicker.is-risen {
  opacity: 1;
  transform: none;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.4vw, 6.1rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 0.25rem 0 0;
  max-width: 16ch;
  opacity: 0;
  transform: translate3d(0, 4.25rem, 0);
  transition:
    opacity 2.35s ease 0.12s,
    transform 2.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.hero-copy h1.is-risen {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-sub {
  position: absolute;
  z-index: 3;
  left: clamp(1.4rem, 3.5vw, 2.75rem);
  bottom: 1.25rem;
  max-width: min(24rem, 46%);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #fff;
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(0, 0, 0, 0.35);
  text-align: left;
  opacity: 0;
  transform: translate3d(0, 0.5rem, 0);
  transition: opacity 1.1s ease 0.85s, transform 1.1s var(--ease) 0.85s;
}

.hero-sub.is-risen {
  opacity: 1;
  transform: none;
}

.hero-notch {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 5;
  width: var(--notch-w);
  height: var(--notch-h);
  background: var(--bg);
  border-top-left-radius: var(--r);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.85rem 0 0 0.85rem;
}

.hero-notch::before,
.hero-notch::after {
  content: "";
  position: absolute;
  width: var(--r);
  height: var(--r);
  background: transparent;
  pointer-events: none;
}

.hero-notch::before {
  left: calc(var(--r) * -1);
  bottom: 0;
  border-bottom-right-radius: var(--r);
  box-shadow: var(--r) var(--r) 0 0 var(--bg);
}

.hero-notch::after {
  right: 0;
  top: calc(var(--r) * -1);
  border-bottom-right-radius: var(--r);
  box-shadow: var(--r) var(--r) 0 0 var(--bg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  position: relative;
  z-index: 1;
}

@keyframes heroKicker {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroRise {
  from {
    opacity: 0.2;
    transform: translate3d(0, 12rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroSubIn {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes notchIn {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html[data-theme="dark"] .hero-copy h1 {
  color: #f6f1e8;
}

html[data-theme="dark"] .site-header {
  background: var(--bg);
}

html[data-theme="dark"] .hero-frame::before {
  background: linear-gradient(180deg, rgba(11, 18, 16, 0.88) 0%, rgba(11, 18, 16, 0.28) 55%, rgba(11, 18, 16, 0) 100%);
}

.page-hero {
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(2.75rem, 5vw, 4.5rem);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 500;
  line-height: 1.05;
  max-width: 24ch;
}

.media {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.media.landscape img,
.media-wide img {
  aspect-ratio: 16 / 10;
}

.intro-grid .media img {
  min-height: 32rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.stat-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--green);
}

html[data-theme="dark"] .stat-row strong {
  color: var(--gold-soft);
}

.stat-row span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.services-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.services-head h2,
.projects-head h2,
.strengths-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  max-width: 24ch;
  line-height: 1.08;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.service-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.5rem 1.7rem;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.service-card .service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: auto;
}

.service-card .num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 0;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 1.5rem 0 0.55rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.projects-head.head-center,
.services-head.head-center,
.strengths-head.head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 1.6rem;
}

.projects-head.head-center h2,
.services-head.head-center h2,
.strengths-head.head-center h2 {
  max-width: 24ch;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 22rem;
  isolation: isolate;
  color: #f6f1e8;
  display: flex;
  align-items: flex-end;
}

.project-card:first-child,
.project-card.is-featured {
  grid-row: span 2;
  min-height: 45rem;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 16, 0.05) 20%, rgba(10, 18, 16, 0.78) 100%);
}

.project-card .meta {
  position: relative;
  z-index: 1;
  padding: 1.6rem 1.7rem;
}

.project-card .num {
  color: var(--gold-soft);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.project-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  margin: 0.3rem 0 0.2rem;
}

.project-card span {
  color: rgba(246, 241, 232, 0.78);
  font-size: 0.92rem;
}

.strengths {
  background: var(--bg-alt);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2.4rem;
}

.strength-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
}

.strength-icon {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.05rem;
  color: var(--green);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--bg);
}

.strength-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

html[data-theme="dark"] .strength-icon {
  color: var(--gold-soft);
  background: var(--surface-2);
}

.strength-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.strength-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-band {
  padding: 0 var(--pad) clamp(4rem, 7vw, 6rem);
}

.cta-frame {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  min-height: 28rem;
  display: grid;
  align-items: end;
  color: #f6f1e8;
}

.cta-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 16, 0.78) 0%, rgba(10, 18, 16, 0.28) 100%);
}

.cta-copy {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 38rem;
}

.cta-copy h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.cta-copy p {
  color: rgba(246, 241, 232, 0.84);
  margin-bottom: 1.5rem;
}

.site-footer {
  background: var(--green-deep);
  color: #e7e0d2;
  padding: 4rem 0 1.5rem;
}

html[data-theme="dark"] .site-footer {
  background: #070c0a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(232, 224, 210, 0.12);
}

.footer-brand img,
.footer-brand .custom-logo,
.footer-logo {
  height: 6.5rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
  filter: brightness(0) invert(0.92);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 24rem;
  color: rgba(232, 224, 210, 0.72);
}

.footer-grid h4 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}

.footer-grid a,
.footer-grid li {
  color: rgba(232, 224, 210, 0.82);
}

.footer-grid a:hover {
  color: var(--gold-soft);
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-contact-group {
  display: grid;
  gap: 0.28rem;
}

.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.socials a {
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(232, 224, 210, 0.18);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #e7e0d2;
}

.socials a svg {
  width: 1rem;
  height: 1rem;
}

.socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: rgba(232, 224, 210, 0.55);
}

.footer-base a:hover {
  color: var(--gold-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.story-quote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-style: italic;
  line-height: 1.25;
  max-width: 18ch;
}

.story-list {
  display: grid;
  gap: 1.25rem;
}

.story-list article h3 {
  margin-bottom: 0.35rem;
}

.story-list article p {
  color: var(--text-muted);
}

.projects-intro {
  padding: clamp(4.75rem, 11vw, 8.5rem) 0 clamp(3.75rem, 7vw, 5.75rem);
}

.projects-intro h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 500;
  line-height: 1.06;
  max-width: 24ch;
}

.projects-intro .lead {
  margin-top: 0.4rem;
}

.project-jump {
  position: sticky;
  top: var(--header);
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem var(--pad);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.project-jump a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.58rem 1.05rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface);
}

.project-jump a:hover,
.project-jump a.is-active {
  border-color: var(--gold);
  color: var(--green);
  background: var(--bg);
}

html[data-theme="dark"] .project-jump a:hover,
html[data-theme="dark"] .project-jump a.is-active {
  color: var(--gold-soft);
}

.projects-story {
  --projects-copy-top: 1.6rem;
  position: relative;
}

.projects-full {
  position: relative;
  z-index: 4;
  display: block;
}

.project-full {
  position: relative;
  min-height: calc(100svh - var(--header) - 3.2rem);
  isolation: isolate;
  overflow: hidden;
  color: #f6f1e8;
  scroll-margin-top: calc(var(--header) + 3.6rem);
}

.project-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.project-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.85s var(--ease), transform 1.1s var(--ease);
}

.project-slide.is-active {
  opacity: 1;
  transform: scale(1.02);
}

.project-full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 18, 16, 0.78) 0%, rgba(10, 18, 16, 0.28) 42%, rgba(10, 18, 16, 0.22) 100%),
    linear-gradient(90deg, rgba(10, 18, 16, 0.5) 0%, rgba(10, 18, 16, 0.08) 58%);
}

.project-full-copy {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - var(--header) - 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--header) + 2.4rem) clamp(3.25rem, 8vw + 3rem, 12rem) 4rem;
  max-width: min(42rem, 100%);
}

.project-full-copy .num,
.project-full-copy h2,
.project-full-copy .where,
.project-full-copy p {
  opacity: 0;
  transform: translate3d(0, -1.8rem, 0);
  filter: blur(10px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.95s var(--ease),
    filter 0.85s var(--ease);
}

.project-full.is-in .project-full-copy .num,
.project-full.is-in .project-full-copy h2,
.project-full.is-in .project-full-copy .where,
.project-full.is-in .project-full-copy p {
  opacity: 1;
  transform: none;
  filter: none;
}

.project-full.is-in .project-full-copy .num {
  transition-delay: 0.04s;
}

.project-full.is-in .project-full-copy h2 {
  transition-delay: 0.12s;
}

.project-full.is-in .project-full-copy .where {
  transition-delay: 0.2s;
}

.project-full.is-in .project-full-copy p {
  transition-delay: 0.28s;
}

.project-full-copy .num {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.project-full-copy h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 500;
  line-height: 0.96;
  margin: 0.25rem 0 0.45rem;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.project-full-copy .where {
  color: var(--gold-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 1rem;
}

.project-full-copy p + p {
  margin-top: 0.9rem;
}

.project-film {
  position: absolute;
  z-index: 4;
  top: 1.35rem;
  right: 1.2rem;
  bottom: 1.5rem;
  width: 6.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: #f6f1e8;
}

.project-film-head {
  text-align: center;
  padding: 0.45rem 0.2rem 0.15rem;
}

.project-film-label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.project-count {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.86);
}

.project-film-track {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.15rem 0.35rem 0.35rem;
  mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 14px), transparent);
  scrollbar-width: none;
}

.project-film-track::-webkit-scrollbar {
  display: none;
}

.project-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(246, 241, 232, 0.22);
  border-radius: 0.45rem;
  overflow: hidden;
  opacity: 0.62;
  background: rgba(10, 18, 16, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.project-thumb:hover {
  opacity: 0.92;
}

.project-thumb.is-active {
  opacity: 1;
  border-color: var(--gold-soft);
  transform: scale(1.04);
  box-shadow: 0 0 0 1px var(--gold-soft), 0 10px 22px rgba(0, 0, 0, 0.28);
}

.project-film-nav {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.project-nav {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 241, 232, 0.28);
  background: rgba(10, 18, 16, 0.4);
  color: #f6f1e8;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-nav svg {
  width: 1.05rem;
  height: 1.05rem;
}

.project-nav:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.project-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 3.25rem;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 78%);
}

.project-rule span {
  position: relative;
  width: 5.5rem;
  height: 1px;
  background: var(--gold);
}

.project-rule span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.feature-copy .num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.feature-copy h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  margin: 0.4rem 0 0.35rem;
}

.feature-copy .where {
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-line {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact-line svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-line span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-line a {
  display: block;
}

.contact-line a + a {
  margin-top: 0.2rem;
}

.contact-form,
.entry-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 0.8rem;
  padding: 0.85rem 1rem;
}

.form-row textarea {
  min-height: 9rem;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-note {
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  background: rgba(24, 56, 48, 0.08);
}

.form-note.error {
  background: rgba(160, 50, 40, 0.12);
}

.entry-content {
  max-width: 46rem;
  margin: 0 auto 5rem;
}

.entry-content h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  margin: 2rem 0 0.7rem;
}

.entry-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.entry-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-theme="dark"] .entry-content a {
  color: var(--gold-soft);
}

.notice-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem var(--pad);
}

.notice-404 h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
}

.mobile-nav {
  display: none;
}

@media (max-width: 980px) {
  .split,
  .project-feature,
  .project-feature:nth-child(even),
  .contact-grid,
  .footer-grid,
  .services-head,
  .projects-head {
    grid-template-columns: 1fr;
  }

  .project-feature:nth-child(even) .feature-copy {
    order: 0;
  }

  .stat-row,
  .strength-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card:first-child,
  .project-card.is-featured {
    min-height: 22rem;
    grid-row: auto;
  }

  .project-card.is-featured {
    min-height: 28rem;
  }

  .primary-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav.is-open {
    display: block;
    position: fixed;
    inset: var(--header) 0 0 0;
    background: var(--bg);
    z-index: 40;
    padding: 2rem var(--pad);
  }

  .mobile-nav .azur-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .mobile-nav .azur-nav-list a {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: var(--text);
  }

  .brand-text {
    display: none;
  }

  .hero {
    padding: 0 var(--pad) 0.4rem;
  }

  .hero-stage {
    --r: 1.25rem;
    --notch-w: auto;
    --notch-h: auto;
  }

  .hero-frame {
    border-radius: var(--r);
    min-height: min(74vh, 38rem);
  }

  .hero-frame::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 48%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(251, 248, 242, 0.88) 0%, rgba(251, 248, 242, 0.35) 55%, rgba(251, 248, 242, 0) 100%);
  }

  .hero-house {
    z-index: 1;
    left: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    object-fit: cover;
    object-position: center 28%;
  }

  .hero-copy {
    z-index: 4;
    width: 100%;
    padding: clamp(1.35rem, 5vh, 2.4rem) 1.15rem 0;
  }

  .hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.05rem, 8.4vw, 2.7rem);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .hero-sub {
    left: 1.15rem;
    bottom: 1.15rem;
    max-width: calc(100% - 2.3rem);
  }

  .hero-notch {
    position: static;
    width: 100%;
    height: auto;
    background: transparent;
    border-radius: 0;
    padding: 1.05rem 0 0;
    justify-content: center;
  }

  .hero-notch::before,
  .hero-notch::after {
    display: none;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .projects-intro .wrap {
    display: flex;
  }

  .head-center h1,
  .head-center h2,
  .page-hero h1,
  .projects-intro h1,
  .services-head h2,
  .projects-head h2,
  .strengths-head h2 {
    max-width: min(22ch, 100%);
  }

  .project-jump {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .project-jump::-webkit-scrollbar {
    display: none;
  }

  .project-jump a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .project-full-copy {
    padding: calc(var(--header) + 1.5rem) 1.35rem 7.2rem;
    max-width: 100%;
  }

  .project-full-copy h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
    line-height: 1.04;
  }

  .project-film {
    top: auto;
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.85rem;
    width: auto;
    height: auto;
    flex-direction: column;
    gap: 0.4rem;
  }

  .project-film-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 0.15rem;
    text-align: left;
  }

  .project-film-track {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.2rem 0.1rem 0.35rem;
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent);
  }

  .project-thumb {
    width: 4.6rem;
    flex: 0 0 4.6rem;
  }

  .project-film-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-frame {
    min-height: min(70vh, 34rem);
    border-radius: 1.15rem;
  }

  .cta-frame {
    border-radius: 1.15rem;
  }

  .hero-copy {
    padding: 1.35rem 1.05rem 0;
  }

  .service-card,
  .strength-card {
    padding: 1.2rem 1.05rem;
  }

  .media img,
  .intro-grid .media img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .project-full,
  .project-full-copy {
    min-height: calc(100svh - var(--header) - 3.6rem);
  }

  .project-nav {
    width: 2.3rem;
    height: 2.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .project-card img,
  .btn,
  .hero-house,
  .hero-notch,
  .project-full-copy .num,
  .project-full-copy h2,
  .project-full-copy .where,
  .project-full-copy p,
  .project-slide {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .project-slide {
    opacity: 0;
  }

  .project-slide.is-active {
    opacity: 1;
  }
}
