:root {
  --ivory: #f6f3ec;
  --ivory-soft: #efeae0;
  --ivory-deep: #e7e0d3;
  --cream: #f7efe1;
  --cream-soft: rgba(247, 239, 225, 0.82);
  --cream-page: #f8f1e6;
  --white: #ffffff;
  --charcoal: #1c1c1a;
  --charcoal-soft: #2b2b27;
  --charcoal-70: rgba(28, 28, 26, 0.7);
  --sage: #7c8e78;
  --sage-dark: #5b6b58;
  --sage-soft: #dfe5da;
  --brass: #b08d57;
  --brass-light: #c9a876;
  --burgundy: #5c1a2b;
  --burgundy-soft: #74243a;
  --burgundy-deep: #3c0f1c;
  --burgundy-tint: #f2e6e6;
  --burgundy-wash: #f6e8e9;
  --burgundy-wash-2: #eed9dc;
  --wine: #2a0d16;
  --line: rgba(28, 28, 26, 0.12);
  --line-light: rgba(246, 243, 236, 0.16);
  --shadow-sm: 0 10px 30px rgba(28, 28, 26, 0.06);
  --shadow-md: 0 24px 60px rgba(28, 28, 26, 0.1);
  --shadow-lg: 0 40px 90px rgba(28, 28, 26, 0.18);
  --radius: 2px;
  --container: 1240px;
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fffdf9 0%, var(--cream-page) 100%);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 48px, 880px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 12px 18px;
  z-index: 200;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 80px;
  width: auto;
  transition: opacity 0.3s var(--ease);
}

.brand:hover img {
  opacity: 0.78;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-70);
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--charcoal);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 1px;
  background: var(--charcoal);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 18px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

    .hero-media {
        position: absolute;
        inset: 0;
        z-index: 0;
        overflow: hidden;
        background-color: var(--charcoal);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity 1.4s var(--ease);
      }
      
      .hero > .hero-media {
        background-image: url("../images/hero-home.jpg");
      }
      
      .hero-media.is-ready {
  opacity: 1;
}

.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 243, 236, 0.96) 0%, rgba(246, 243, 236, 0.86) 42%, rgba(92, 26, 43, 0.16) 100%);
}

.hero.has-media .hero-bg {
  opacity: 0.32;
  transition: opacity 1s var(--ease);
}

.hero.has-media .hero-lines {
  opacity: 0.16;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -140px;
  right: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(92, 26, 43, 0.4), transparent 68%);
  animation: drift 18s ease-in-out infinite;
}

.orb-2 {
  width: 620px;
  height: 620px;
  bottom: -240px;
  left: -180px;
  background: radial-gradient(circle at 60% 40%, rgba(176, 141, 87, 0.36), transparent 66%);
  animation: drift 22s ease-in-out infinite reverse;
}

.orb-3 {
  width: 320px;
  height: 320px;
  top: 32%;
  left: 44%;
  background: radial-gradient(circle, rgba(242, 230, 230, 0.95), transparent 70%);
  animation: drift 26s ease-in-out infinite;
}

.hero-lines {
  position: absolute;
  right: -6%;
  bottom: -4%;
  width: min(62vw, 900px);
  opacity: 0.5;
}

.hero-lines path,
.hero-lines line,
.hero-lines rect {
  fill: none;
  stroke: rgba(28, 28, 26, 0.16);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 3.4s var(--ease) forwards 0.3s;
}

.hero-lines > *:nth-child(2) * {
  animation-delay: 0.55s;
}

.hero-lines > *:nth-child(3) * {
  animation-delay: 0.8s;
}

.hero-lines > *:nth-child(4) * {
  animation-delay: 1.05s;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--brass);
}

.hero-title {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8.4vw, 7.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--burgundy);
}

.hero-tagline {
  margin: -8px 0 30px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--brass);
}

.hero-lead {
  max-width: 620px;
  margin: 0 0 42px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.8;
  color: var(--charcoal-70);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal-70);
  z-index: 2;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--charcoal), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 32px;
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(92, 26, 43, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: rgba(28, 28, 26, 0.28);
}

.btn-ghost:hover {
  background: var(--burgundy);
  color: var(--ivory);
  border-color: var(--burgundy);
}

.btn-light {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: var(--ivory);
}

.btn-light:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  color: var(--charcoal);
  box-shadow: 0 16px 34px rgba(176, 141, 87, 0.3);
}

.btn-arrow::after {
  content: "\2192";
  font-size: 0.95rem;
  transition: transform 0.4s var(--ease);
}

.btn-arrow:hover::after {
  transform: translateX(5px);
}

.section {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0;
}

.section-tight {
  padding: clamp(56px, 7vw, 90px) 0;
}

.section-dark {
  position: relative;
  background: linear-gradient(150deg, var(--wine) 0%, var(--charcoal) 62%);
  color: var(--ivory);
}

.section-sage {
  background: var(--burgundy-tint);
}

.section-ivory-soft {
  background: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

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

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

.section-head.center .eyebrow::before {
  display: none;
}

.section-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--burgundy);
}

.section-dark .section-title em {
  color: var(--brass-light);
}

.section-lead {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--charcoal-70);
}

.section-dark .section-lead,
.section-dark p {
  color: rgba(246, 243, 236, 0.72);
}

.eyebrow-dark {
  color: var(--brass-light);
}

.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cell {
  background: var(--white);
  padding: clamp(28px, 3.4vw, 44px);
  transition: background 0.45s var(--ease), transform 0.45s var(--ease);
}

.grid-cell:hover {
  background: var(--cream-page);
}

.grid-dark .grid-cell {
  background: var(--charcoal);
}

.grid-dark .grid-cell:hover {
  background: var(--charcoal-soft);
}

.cell-index {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--brass);
}

.cell-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
}

.cell-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--charcoal-70);
}

.section-dark .cell-text {
  color: rgba(246, 243, 236, 0.66);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 56px;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--charcoal);
}

.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-70);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.split-top {
  align-items: start;
}

.media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ivory-deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}

.media-frame:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.media-frame.landscape {
  aspect-ratio: 5 / 4;
}

.media-frame.wide {
  aspect-ratio: 16 / 10;
}

.media-frame svg,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(92, 26, 43, 0.14), transparent 58%);
  pointer-events: none;
}

.quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--charcoal);
}

.quote-dark {
  color: var(--ivory);
}

.quote-cite {
  display: block;
  margin-top: 26px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

.specialism-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  counter-reset: item;
  list-style: none;
  margin: 0;
  padding: 0;
}

.specialism-list li {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.specialism-list li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--brass);
}

.specialism-list h3 {
  margin: 0 0 8px;
  padding-left: 46px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.specialism-list p {
  margin: 0;
  padding-left: 46px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--charcoal-70);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 122px;
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 60px;
  padding-bottom: 46px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--brass);
}

.timeline-body {
  position: relative;
  padding-left: 32px;
}

.timeline-body::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage-dark);
}

.timeline-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.timeline-body p {
  margin: 0;
  max-width: 620px;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--charcoal-70);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.55s var(--ease);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(92, 26, 43, 0.4);
}

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ivory-deep);
}

.project-media svg,
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.project-card:hover .project-media svg,
.project-card:hover .project-media img {
  transform: scale(1.045);
}

.project-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px 30px;
}

.project-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.project-meta {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-70);
}

.project-status {
  flex-shrink: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.project-note {
  margin: 34px 0 0;
  padding: 20px 24px;
  border-left: 2px solid var(--brass);
  background: var(--ivory-soft);
  font-size: 0.92rem;
  color: var(--charcoal-70);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(92, 26, 43, 0.16);
  border: 1px solid rgba(92, 26, 43, 0.16);
  box-shadow: 0 26px 60px rgba(60, 15, 28, 0.08);
}

.team-card {
  background: linear-gradient(158deg, #fcf6f3 0%, var(--burgundy-wash) 100%);
  padding: clamp(30px, 3.6vw, 50px);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.team-card:hover {
  background: linear-gradient(158deg, #f9efee 0%, var(--burgundy-wash-2) 100%);
  box-shadow: inset 0 0 0 1px rgba(92, 26, 43, 0.12), 0 24px 54px rgba(60, 15, 28, 0.13);
}

.team-role {
  margin: 0 0 18px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy-deep);
}

.team-name {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 500;
}

.team-bio {
  margin: 0 0 26px;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--charcoal-70);
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(92, 26, 43, 0.14);
  font-size: 0.9rem;
}

.team-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
  transition: color 0.3s var(--ease);
}

.team-contact a:hover {
  color: var(--brass);
}

.team-contact span {
  color: var(--charcoal-70);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(44px, 6vw, 90px);
  align-items: start;
}

.contact-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 26px;
}

.contact-list dt {
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

.contact-list dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-list a:hover {
  color: var(--brass);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-70);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sage-dark);
  box-shadow: 0 0 0 3px rgba(124, 142, 120, 0.16);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--charcoal-70);
}

    .form-consent input {
      margin-top: 1px;
      width: 24px;
      height: 24px;
      flex: 0 0 auto;
  accent-color: var(--sage-dark);
}

.form-status {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--sage);
  background: var(--sage-soft);
  font-size: 0.92rem;
  display: none;
}

.form-status.is-visible {
  display: block;
  animation: fadeUp 0.5s var(--ease) both;
}

.form-status.is-pending {
  border-color: var(--brass);
  background: rgba(176, 141, 87, 0.12);
  color: var(--charcoal-soft);
}

.form-status.is-error {
  border-color: var(--burgundy-soft);
  background: var(--burgundy-wash);
  color: var(--burgundy-deep);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--burgundy-soft);
  box-shadow: 0 0 0 3px rgba(92, 26, 43, 0.12);
}

.form-field.is-invalid label {
  color: var(--burgundy-deep);
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.error-page {
  position: relative;
  padding: 220px 0 130px;
  background: linear-gradient(160deg, var(--white) 0%, var(--cream-page) 100%);
  overflow: hidden;
}

.error-code {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 15vw, 10rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--burgundy);
}

.error-page .section-title {
  margin-bottom: 16px;
}

.error-page .section-lead {
  max-width: 580px;
  margin: 0 auto 36px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

    .page-hero {
      position: relative;
      padding: 210px 0 100px;
      background: linear-gradient(160deg, var(--white) 0%, var(--cream-page) 100%);
      overflow: hidden;
    }

    .page-hero > .container,
    .error-page > .container {
      position: relative;
      z-index: 2;
    }

    .page-hero .hero-media-scrim,
    .error-page .hero-media-scrim {
      background: linear-gradient(180deg, rgba(28, 28, 26, 0.58) 0%, rgba(60, 15, 28, 0.82) 100%);
    }

.page-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -180px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 26, 43, 0.26), transparent 68%);
  pointer-events: none;
}

.page-hero .eyebrow {
  margin-bottom: 22px;
}

.page-hero.page-hero-dark {
  background: linear-gradient(150deg, var(--burgundy-deep) 0%, var(--burgundy) 46%, var(--charcoal) 100%);
}

.page-hero.page-hero-dark::after {
  background: radial-gradient(circle, rgba(201, 168, 118, 0.22), transparent 68%);
}

.page-hero.page-hero-dark .eyebrow {
  color: var(--brass-light);
}

.page-hero.page-hero-dark .page-title,
.page-hero.page-hero-dark .page-title em {
  color: var(--cream);
}

.page-hero.page-hero-dark .page-lead {
  color: var(--cream-soft);
}

.page-hero.has-media,
.error-page.has-media {
  background: var(--burgundy-deep);
}

.page-hero.has-media::after {
  background: radial-gradient(circle, rgba(201, 168, 118, 0.18), transparent 68%);
}

.page-hero.has-media .eyebrow {
  color: var(--brass-light);
}

.page-hero.has-media .page-title,
.page-hero.has-media .page-title em {
  color: var(--cream);
}

.page-hero.has-media .page-lead {
  color: var(--cream-soft);
}

.error-page.has-media .section-title,
.error-page.has-media .section-title em {
  color: var(--cream);
}

.error-page.has-media .section-lead {
  color: var(--cream-soft);
}

.error-page.has-media .error-code {
  color: var(--brass-light);
}

.page-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.page-title em {
  font-style: italic;
  color: var(--burgundy);
}

.page-lead {
  max-width: 720px;
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--charcoal-70);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin: 48px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.16;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 34px 0 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}

.prose p {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--charcoal-70);
}

.prose ul {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--charcoal-70);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1px;
  background: var(--brass);
}

.cta-band {
  position: relative;
  padding: clamp(70px, 9vw, 110px) 0;
  background: linear-gradient(120deg, var(--burgundy-deep) 0%, var(--burgundy) 52%, var(--charcoal) 100%);
  color: var(--ivory);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.34), transparent 68%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
}

.cta-inner .section-title {
  margin: 0;
  max-width: 640px;
}

.cta-inner p {
  margin: 12px 0 0;
  max-width: 560px;
  color: var(--cream);
}
.cta-band .section-title {
  color: var(--cream);
}
.cta-band .section-title em {
  color: var(--cream);
}

.site-footer {
  position: relative;
  background: linear-gradient(160deg, var(--wine) 0%, var(--charcoal) 70%);
  color: rgba(246, 243, 236, 0.72);
  padding: 80px 0 calc(34px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand img {
  height: 88px;
  width: auto;
  margin-bottom: 26px;
}

.footer-brand p {
  max-width: 380px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-col h3 {
  margin: 0 0 20px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--ivory);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 30px;
  font-size: 0.8rem;
  color: rgba(246, 243, 236, 0.5);
}

.footer-bottom nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom a:hover {
  color: var(--ivory);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

::selection {
  background: rgba(176, 141, 87, 0.32);
  color: var(--charcoal);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--burgundy) 0%, var(--brass) 60%, var(--brass-light) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 120;
  pointer-events: none;
}

html.has-cursor,
html.has-cursor a,
html.has-cursor button,
html.has-cursor .btn,
html.has-cursor label {
  cursor: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--brass);
  box-shadow: 0 0 14px rgba(176, 141, 87, 0.5);
  transition: opacity 0.3s ease, width 0.3s var(--ease), height 0.3s var(--ease), background-color 0.3s var(--ease);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(176, 141, 87, 0.72);
  transition: opacity 0.35s ease, width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.cursor-dot.is-visible,
.cursor-ring.is-visible {
  opacity: 1;
}

.cursor-ring.is-active {
  width: 60px;
  height: 60px;
  border-color: var(--burgundy);
  background: rgba(92, 26, 43, 0.05);
}

.cursor-ring.is-light {
  border-color: rgba(247, 239, 225, 0.75);
}

.cursor-ring.is-light.is-active {
  border-color: var(--brass-light);
  background: rgba(247, 239, 225, 0.08);
}

.cursor-ring.is-down {
  width: 26px;
  height: 26px;
}

[data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

[data-split] .w-in {
  display: inline-block;
  animation: wordIn 1.05s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation-delay: var(--d, 0ms);
}

[data-split].is-static .w-in {
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
}

@keyframes wordIn {
  from {
    transform: translateY(118%) rotate(2deg);
    opacity: 0;
  }
  to {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -75%;
  width: 50%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  transition: left 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
  pointer-events: none;
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 125%;
}

.btn-light::before {
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0) 100%);
}

.grid-cell {
  position: relative;
}

.grid-cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--brass) 0%, rgba(176, 141, 87, 0) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--ease);
}

.grid-cell:hover::after {
  transform: scaleX(1);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(247, 239, 225, 0.45);
  opacity: 0;
  transition: opacity 0.5s var(--ease), inset 0.6s var(--ease);
  z-index: 2;
  pointer-events: none;
}

.media-frame:hover::before {
  opacity: 1;
  inset: 14px;
}

.reveal .eyebrow::before {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ease) 0.2s;
}

.reveal.is-visible .eyebrow::before {
  transform: scaleX(1);
}

.footer-col a,
.footer-bottom nav a,
.contact-list dd a,
.prose a {
  background-image: linear-gradient(var(--brass), var(--brass));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.45s var(--ease), color 0.3s var(--ease);
}

.footer-col a:hover,
.footer-bottom nav a:hover,
.contact-list dd a:hover,
.prose a:hover {
  background-size: 100% 1px;
}

.page-hero::after {
  animation: drift 18s ease-in-out infinite;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(26px, -22px, 0) scale(1.06);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.7);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

@media (max-width: 1080px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 28px;
  }

  .specialism-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
    z-index: 90;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--charcoal);
  }

  .nav-toggle {
    z-index: 110;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split-reverse .media-frame {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .timeline::before {
    left: 74px;
  }

  .timeline li {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 32px;
  }

  .footer-col li a,
  .footer-bottom nav a {
    display: inline-block;
    padding-block: 7px;
  }

  .footer-bottom nav {
    gap: 4px 20px;
  }

  .team-contact a,
  .contact-list dd a,
  .cell-text a {
    display: inline-flex;
    padding-block: 6px;
  }

  .prose li a {
    display: inline-block;
    padding-block: 5px;
  }
}

@media (max-width: 720px) {
  .container,
  .container-narrow {
    width: min(100% - 36px, var(--container));
  }

  .brand img {
    height: 62px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .team-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .specialism-list {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand img {
    height: 72px;
    width: auto;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 90px;
  }

  .hero-scroll {
    display: none;
  }

  .timeline::before {
    display: none;
  }

  .timeline li {
    display: block;
    padding-bottom: 38px;
  }

  .timeline-body {
    padding-left: 0;
  }

  .timeline-body::before {
    display: none;
  }

  .timeline-year {
    display: block;
    margin-bottom: 8px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
    padding-top: 44px;
  }

  .hero-media-scrim {
    background: linear-gradient(180deg, rgba(246, 243, 236, 0.95) 0%, rgba(246, 243, 236, 0.9) 54%, rgba(92, 26, 43, 0.32) 100%);
  }

  .page-hero {
    padding: 150px 0 70px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }

  .team-contact a,
  .contact-list dd a,
  .footer-brand p {
    overflow-wrap: anywhere;
  }

  .btn {
    min-height: 52px;
    padding: 0 24px;
  }

  .section {
    padding: 62px 0;
  }

  .section-tight {
    padding: 46px 0;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-inner .btn {
    width: 100%;
  }

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

  .media-frame {
    aspect-ratio: 4 / 3;
  }

  .media-frame.wide {
    aspect-ratio: 16 / 11;
  }

  .error-page {
    padding: 150px 0 80px;
  }

  .error-links {
    flex-direction: column;
    align-items: stretch;
  }

  .error-links .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-dot,
  .cursor-ring,
  .scroll-progress {
    display: none;
  }

  .reveal .eyebrow::before,
  [data-split] .w-in {
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
}
