:root {
  --bg: #ffffff;
  --surface: #f3f6f9;
  --ink: #423c3c;
  --accent: #00aeef;
  --navy: #03274d;
  --muted: #5a6168;
  --font: Inter, sans-serif;
  --wrap: 1120px;
  --header: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--navy);
}

p {
  margin: 0 0 16px;
}

button, input, textarea {
  font-family: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
}

.skip:focus {
  top: 8px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.wrap-wide {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: var(--navy);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(3, 39, 77, 0.06);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-mark {
  width: 56px;
  height: 46px;
  flex: none;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 256px 46px;
}

.brand-mark--color {
  background-image: url("../images/logo-land.webp");
}

.brand-mark--white {
  background-image: url("../images/logo-white.webp");
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav a.is-current,
.primary-nav a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: var(--navy) center / cover no-repeat;
  padding: 48px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 39, 77, 0.42);
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.12;
  max-width: 12ch;
  margin: 0 auto 18px;
}

.hero .lede {
  margin: 0 auto 28px;
  max-width: 46em;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-bar {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  background: var(--navy);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 100%, 0 100%);
  padding-right: 28px;
}

.hero-bar p {
  margin: 0;
  padding: 16px 22px;
  max-width: 280px;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  display: flex;
  align-items: center;
}

.band {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 64px;
  text-align: center;
}

.band h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 500;
  margin-bottom: 36px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
  gap: 36px;
}

.logo-row img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.intro__photo {
  min-height: 420px;
  padding: 48px 40px;
  display: flex;
  align-items: flex-end;
  background: var(--surface) center / cover no-repeat;
}

.intro__photo h2 {
  max-width: 11ch;
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.08;
  text-transform: uppercase;
}

.intro__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
  background: #fff;
}

.intro__copy p {
  max-width: 62ch;
}

.section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 40px);
}

.section-head a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel {
  position: relative;
}

.carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel__viewport::-webkit-scrollbar {
  display: none;
}

.carousel__track {
  display: flex;
  gap: 22px;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 0;
  background: #bba175;
  cursor: pointer;
}

.carousel__arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
}

.carousel__prev { left: -8px; }
.carousel__prev::before { transform: rotate(-135deg); }
.carousel__next { right: -8px; }
.carousel__next::before { transform: rotate(45deg); }

.dev-card {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - 44px) / 3);
  min-height: 520px;
  overflow: hidden;
  scroll-snap-align: start;
  color: #fff;
  background: var(--navy);
}

.dev-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 39, 77, 0.22);
  pointer-events: none;
}

.dev-card[hidden] {
  display: none;
}

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

.dev-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 28px 18px;
  background: var(--navy);
  clip-path: polygon(0 34px, 100% 0, 100% 100%, 0 100%);
}

.dev-card h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.dev-card__status {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capacity {
  padding: 72px 0 88px;
  background: var(--navy) center / cover no-repeat;
}

.capacity h2 {
  color: #fff;
  text-align: center;
  font-size: clamp(32px, 4vw, 40px);
  margin-bottom: 28px;
}

.capacity__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.capacity__panel {
  padding: 42px 36px;
  color: #fff;
}

.capacity__panel--photo {
  background: rgba(3, 39, 77, 0.55);
}

.capacity__panel--solid {
  background: var(--navy);
}

.capacity__panel h3 {
  color: #fff;
  font-size: 28px;
  margin: 0 0 16px;
}

.capacity__panel p {
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.6;
}

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.closer {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  background: var(--navy) center / cover no-repeat;
  padding: 88px 0;
}

.closer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 39, 77, 0.55);
}

.closer .wrap {
  position: relative;
  z-index: 1;
}

.closer h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 44px);
  max-width: 16ch;
  margin: 0 auto 18px;
}

.closer p {
  max-width: 68ch;
  margin: 0 auto 14px;
}

.closer .rule {
  width: 2px;
  height: 64px;
  margin: 8px auto 24px;
  background: var(--accent);
}

.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 40px;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 18px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0 0 8px;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding: 20px 0;
  border-top: 2px solid var(--accent);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--navy) center / cover no-repeat;
  padding: 72px 0 48px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 39, 77, 0.48);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.page-hero p {
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  max-width: 14ch;
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 42em;
  margin: 0;
  font-size: 18px;
}

.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0;
}

.story img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border: 0;
  box-shadow: none;
  background: #fff;
}

.story p {
  max-width: 62ch;
}

.highlights {
  background: var(--surface);
  padding: 24px 0;
}

.highlight {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid rgba(3, 39, 77, 0.12);
}

.highlight:first-child {
  border-top: 0;
}

.highlight h3 {
  margin: 0;
  font-size: 22px;
}

.mission {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}

.mission p {
  max-width: 28em;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.team {
  padding: 88px 0;
}

.team h2,
.principles h2 {
  font-size: clamp(32px, 4vw, 40px);
  margin-bottom: 32px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 22px;
}

.person img {
  width: 148px;
  height: 148px;
  object-fit: cover;
  margin-bottom: 14px;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  background: #fff;
}

.person h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.person .role {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.person p {
  font-size: 15px;
  line-height: 1.55;
}

.principles {
  padding: 24px 0 88px;
}

.principle {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid rgba(3, 39, 77, 0.12);
}

.principle h3 {
  margin: 0;
  font-size: 24px;
}

.page-hero--developments h1 {
  max-width: 11em;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500;
  line-height: 1;
}

.page-hero--developments p {
  max-width: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  text-transform: uppercase;
}

.funds-overview {
  background: #bba175;
  padding: 80px 0;
}

.funds-overview h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 50px;
  font-weight: 400;
  line-height: 1;
}

.funds-overview p {
  max-width: none;
  margin: 0 0 16px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 28px;
}

.funds-overview p:last-child {
  margin-bottom: 0;
}

.developments-archive {
  padding: 80px 0;
}

.developments-archive__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.developments-archive__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.filters {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
}

.filters button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  padding: 15px 25px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.5;
  text-transform: uppercase;
  cursor: pointer;
}

.filters button.is-active,
.filters button:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-bottom: 88px;
}

.dev-grid .dev-card {
  flex: none;
  min-height: 460px;
}

.empty-note {
  display: none;
  margin: 0 0 48px;
  padding: 28px;
  background: var(--surface);
  color: var(--navy);
}

.empty-note:not([hidden]) {
  display: block;
}

.project-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--navy) center / cover no-repeat;
  padding: 72px 0 40px;
}

.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 39, 77, 0.15) 20%, rgba(3, 39, 77, 0.72) 100%);
}

.project-hero .wrap {
  position: relative;
  z-index: 1;
}

.project-hero h1,
.project-hero p {
  color: #fff;
}

.project-hero h1 {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500;
  max-width: 16ch;
  margin: 0;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  padding: 40px 0 32px;
}

.project-layout .prose {
  padding-right: 64px;
}

.project-layout .prose p {
  max-width: 68ch;
}

.project-layout h2 {
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.3;
}

.stats {
  background: var(--surface);
  padding: 48px 44px;
  align-self: stretch;
}

.stats h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.stats dl {
  margin: 0;
}

.stats div {
  display: grid;
  grid-template-columns: minmax(140px, 42%) 1fr;
  gap: 24px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(3, 39, 77, 0.12);
}

.stats dt {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 28px;
  text-transform: none;
}

.stats dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 28px;
}

.stats .note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.featured-developments {
  padding: 48px 0 72px;
}

.featured-developments__head h2 {
  width: 100%;
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.featured-developments__action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.btn--gold {
  min-height: 56px;
  padding: 15px 25px;
  background: #bba175;
  color: var(--navy);
  font-size: 17px;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--navy);
  color: #fff;
}
.closer--fund {
  min-height: 640px;
}

.closer--fund::before {
  background: rgba(3, 39, 77, 0.28);
}

.closer--fund h2 {
  max-width: 16ch;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
}

.closer--fund p {
  max-width: 72ch;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 28px;
  text-transform: uppercase;
}

.closer--fund .rule {
  height: 100px;
  background: #bba175;
}

.closer--fund .btn {
  min-height: 56px;
  padding: 15px 25px;
  background: var(--navy);
  color: #bba175;
  font-size: 17px;
  letter-spacing: normal;
  text-transform: none;
}

.closer--fund .btn:hover,
.closer--fund .btn:focus-visible {
  background: #bba175;
  color: var(--navy);
}


.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  padding-bottom: 72px;
}

.gallery img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.page-plain,
.contact-page {
  padding: 72px 0 88px;
}

.page-plain h1,
.contact-page h1 {
  font-size: clamp(40px, 5vw, 56px);
  max-width: 14ch;
}

.contact-hero h1 {
  max-width: 14em;
}

.contact-hero p {
  max-width: 36em;
  text-transform: none;
  letter-spacing: 0;
  font-size: 20px;
  font-weight: 500;
}

.contact-form-section {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 80px;
}

.contact-form-section h2 {
  margin: 0 0 36px;
  color: #fff;
  text-align: center;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
}

.contact-form {
  width: min(860px, 100%);
  margin: 0 auto;
}

.contact-form .field input,
.contact-form .field textarea {
  padding: 16px 18px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.location-section {
  padding: 24px 0 88px;
}

.location-section h2 {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(32px, 4vw, 40px);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.location-grid .map {
  height: 350px;
  margin: 0;
}

.location-details .location-name {
  margin: 0 0 32px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.location-icon {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.location-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.location-details h3 {
  margin: 0;
  font-size: 20px;
}

.location-details p {
  margin: 2px 0 0;
}

.location-rule {
  width: 2px;
  height: 18px;
  margin: 10px 0 10px 23px;
  background: var(--accent);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.5;
}

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

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

.notice {
  padding: 14px 16px;
  margin-bottom: 18px;
  background: var(--surface);
  color: var(--navy);
}

.notice--error {
  background: var(--surface);
  box-shadow: inset 3px 0 0 var(--navy);
}

.location h2 {
  font-size: 28px;
}

.location a {
  color: var(--accent);
  font-weight: 600;
}

.map {
  margin-top: 20px;
  height: 280px;
  border: 0;
  width: 100%;
  background: var(--surface);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .intro,
  .capacity__grid,
  .story,
  .project-layout,
  .contact-grid,
  .location-grid,
  .footer-grid,
  .highlight,
  .principle {
    grid-template-columns: 1fr;
  }

  .dev-card,
  .dev-grid {
    grid-template-columns: 1fr 1fr;
  }

  .carousel__track .dev-card {
    flex-basis: calc((100% - 22px) / 2);
  }

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

  .logo-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .logo-row img {
    width: 220px;
  }

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

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

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(3, 39, 77, 0.08);
    padding: 8px 24px 18px;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .hero-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    clip-path: none;
    padding-right: 0;
  }

  .hero-bar .btn {
    margin: 0 16px 16px;
  }

  .carousel__track .dev-card,
  .dev-grid,
  .form-row,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .carousel__track .dev-card {
    flex-basis: 86%;
  }

  .carousel__prev { left: 8px; }
  .carousel__next { right: 8px; }

  .footer-legal {
    flex-direction: column;
  }

  .intro__copy,
  .capacity__panel {
    padding: 32px 24px;
  }
}

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