@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --navy-950: #070c16;
  --navy-900: #0a1424;
  --navy-800: #10203a;
  --navy-700: #173056;
  --royal: #1d4f9c;
  --royal-mid: #2a63b8;
  --gold: #c9a24a;
  --gold-soft: #e0c06a;
  --gold-deep: #9a7420;
  --amber: #d4892a;
  --cream: #f6f1e7;
  --paper: #fbf8f2;
  --mist: #eee8dc;
  --ink: #121820;
  --ink-soft: #3c4654;
  --line: rgba(18, 24, 32, 0.1);
  --line-gold: rgba(201, 162, 74, 0.45);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 12, 22, 0.14);
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --page-pad: clamp(28px, 7vw, 104px);
  --green-900: #1c4a36;
  --green-700: #2a6a4c;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body.is-menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

::selection {
  background: rgba(201, 162, 74, 0.28);
  color: var(--navy-950);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: var(--navy-950);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

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

.container-wide {
  width: min(1440px, calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section {
  padding: 88px 0;
}

.section-dark {
  background: linear-gradient(165deg, #16325c 0%, #1d4f8c 52%, #245ea8 100%);
  color: var(--white);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin-top: 14px;
}

.section-heading p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-dark .section-heading p,
.section-dark .muted {
  color: rgba(246, 241, 231, 0.72);
}

.section-dark .eyebrow {
  color: var(--gold-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--navy-950);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

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

.btn-line {
  background: transparent;
  border-color: rgba(18, 24, 32, 0.2);
  color: var(--navy-900);
}

.btn-line-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(10, 20, 36, 0.42) 0%, transparent 88%);
  transition: height 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.header-inner {
  width: min(1440px, calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header.is-scrolled,
.header.is-solid {
  height: 72px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(16, 32, 58, 0.1);
  backdrop-filter: blur(16px);
}

.header.is-scrolled .logo,
.header.is-solid .logo {
  color: var(--navy-900);
}

.header.is-scrolled .nav-desktop a,
.header.is-solid .nav-desktop a {
  color: var(--navy-800);
}

.header.is-scrolled .nav-desktop a:hover,
.header.is-scrolled .nav-desktop a.is-active,
.header.is-solid .nav-desktop a:hover,
.header.is-solid .nav-desktop a.is-active {
  color: var(--royal);
}

.header.is-scrolled .menu-toggle,
.header.is-solid .menu-toggle {
  border-color: rgba(16, 32, 58, 0.18);
}

.header.is-scrolled .menu-toggle span,
.header.is-solid .menu-toggle span {
  background: var(--navy-900);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  position: relative;
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201, 162, 74, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.logo-text small {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold-soft);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

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

.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  width: 100%;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

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

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

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

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-800));
  padding: 110px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 8vw, 3.2rem);
  padding: 6px 0;
}

.mobile-nav a.is-active {
  color: var(--gold-soft);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.media-fill {
  position: absolute;
  inset: 0;
}

.hero-media img,
.media-fill img,
.split-media img,
.biz-card img,
.featured-card img,
.project-card img,
.news-card img {
  filter: brightness(1.12) saturate(1.08) contrast(1.02);
}

.hero-media img,
.media-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 30, 0.22) 0%, rgba(8, 16, 30, 0.08) 38%, rgba(8, 16, 30, 0.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto 36px;
  padding-top: 150px;
}

.hero h1,
.page-hero h1,
.page-hero h2 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  max-width: 16ch;
  margin-top: 18px;
  text-shadow: 0 10px 32px rgba(8, 16, 30, 0.4);
}

.page-hero h1,
.page-hero h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.hero-lead {
  max-width: 62ch;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.05rem;
  text-shadow: 0 6px 20px rgba(8, 16, 30, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
}

.hero-stats article {
  padding: 18px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.split-media {
  position: relative;
  min-height: 420px;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-media::after {
  content: '';
  position: absolute;
  inset: 18px -16px -18px 18px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.biz-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.biz-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
}

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

.biz-card:hover img {
  transform: scale(1.08);
}

.biz-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 30, 0) 20%, rgba(8, 16, 30, 0.55) 100%);
}

.biz-card-body {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.biz-card-body h3 {
  font-size: 2rem;
  margin: 8px 0 10px;
}

.biz-card-body p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.biz-card-body span {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-soft);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.featured-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 78vw);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  margin-top: 36px;
  scrollbar-width: thin;
}

.featured-card {
  scroll-snap-align: start;
  position: relative;
  min-height: 460px;
  overflow: hidden;
  color: var(--white);
}

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

.featured-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 30, 0) 35%, rgba(8, 16, 30, 0.58) 100%);
}

.featured-card-body {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
}

.why-grid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.why-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
}

.why-card strong {
  display: block;
  color: var(--gold-soft);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.why-quote {
  margin-top: 48px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 18ch;
  line-height: 1.15;
}

.timeline {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

.timeline-item {
  padding-left: 22px;
  border-left: 1px solid var(--line-gold);
}

.timeline-item span {
  color: var(--gold-deep);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.timeline-item h3 {
  font-size: 2rem;
  margin: 6px 0 8px;
}

.project-grid,
.news-grid,
.form-grid {
  display: grid;
  gap: 16px;
}

.project-card,
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.project-card img,
.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

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

.project-card-body,
.news-card-body {
  padding: 20px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tech-list,
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.chip {
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 0.86rem;
}

.section-green {
  background: linear-gradient(160deg, #2f6d4d 0%, #3d7f5c 45%, #1f5a78 100%);
  color: var(--white);
}

.stats-band {
  display: grid;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
}

.stats-band strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.contact-layout,
.page-hero {
  display: grid;
  gap: 28px;
}

.contact-layout {
  align-items: start;
}

.section.contact-block {
  padding-bottom: 48px;
}

.contact-title {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  margin: 12px 0 16px;
}

.contact-facts {
  display: grid;
  gap: 16px;
  margin-top: 36px;
  align-items: stretch;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  height: 100%;
  min-height: 168px;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gold);
  color: var(--gold-deep);
  background: var(--cream);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-address {
  display: block;
  font-style: normal;
  font-family: Outfit, sans-serif;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-top: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-city {
  margin-top: 10px;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.contact-phone,
.contact-mail {
  display: block;
  font-family: Outfit, sans-serif;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.contact-phone {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.contact-mail {
  font-size: 0.98rem;
  font-weight: 500;
}

.contact-map-band {
  width: 100%;
  margin: 0;
  background: #0a1424;
}

.contact-map-band iframe {
  display: block;
  width: 100%;
  height: min(62vw, 520px);
  min-height: 320px;
  border: 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 106, 0.35);
  color: var(--gold-soft);
  padding: 0;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  color: var(--gold-soft);
  background: rgba(212, 175, 106, 0.12);
}

.social-icon.is-quiet {
  opacity: 0.72;
}

.page-hero {
  min-height: 58svh;
  place-content: end;
  color: var(--white);
  padding: 150px 0 56px;
  position: relative;
  overflow: hidden;
}

.form {
  display: grid;
  gap: 14px;
  background: var(--white);
  padding: 24px;
  border: 1px solid var(--line);
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 14px;
  color: var(--ink);
}

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

.form-status {
  padding: 12px 14px;
  background: #eef6ea;
  color: #215334;
  font-size: 0.92rem;
}

.form-status.is-error {
  background: #f8ecec;
  color: #7a2323;
}

.footer {
  background: #10284a;
  color: rgba(255, 255, 255, 0.82);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer h3 {
  color: var(--gold-soft);
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-family: Outfit, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer a {
  display: block;
  padding: 5px 0;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

.legal {
  max-width: 76ch;
}

.legal p + p {
  margin-top: 14px;
}

.detail-grid {
  display: grid;
  gap: 18px;
}

.detail-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}

.placeholder-box {
  min-height: 240px;
  border: 1px dashed var(--line-gold);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--ink-soft);
  background: var(--cream);
}

.grain {
  position: relative;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (min-width: 720px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-stats article {
    border-bottom: 0;
  }

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

  .why-grid,
  .project-grid,
  .news-grid,
  .stats-band,
  .form-grid,
  .contact-facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-track {
    grid-auto-columns: minmax(420px, 46vw);
  }

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

@media (min-width: 980px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
  }

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

  .biz-card:nth-child(1),
  .biz-card:nth-child(2) {
    min-height: 380px;
  }

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

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

  .timeline-item {
    padding: 0 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-gold);
    padding-top: 22px;
  }

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

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

  .section {
    padding: 120px 0;
  }
}

@media (min-width: 1200px) {
  .biz-card:nth-child(1) {
    grid-column: span 2;
  }
}
