:root {
  --color-navy: #071222;
  --color-navy-mid: #0f2238;
  --color-navy-soft: #1a3554;
  --color-gold: #c9a227;
  --color-gold-light: #e4c35a;
  --color-gold-dark: #9a7b18;
  --color-cream: #f7f5f0;
  --color-white: #ffffff;
  --color-muted: #5a6775;
  --color-border: rgba(7, 18, 34, 0.1);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --shadow-xs: 0 4px 14px rgba(7, 18, 34, 0.05);
  --shadow-sm: 0 10px 30px rgba(7, 18, 34, 0.07);
  --shadow-md: 0 20px 50px rgba(7, 18, 34, 0.1);
  --shadow-lg: 0 28px 70px rgba(7, 18, 34, 0.14);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 1200px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-navy);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-navy-soft);
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--color-gold-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-navy);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 12px 32px rgba(201, 162, 39, 0.45);
  color: var(--color-navy);
}

.btn--ghost {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-border);
  box-shadow: var(--shadow-xs);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--color-white);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-gold-light);
  color: var(--color-white);
}

.btn--dark-outline {
  background: transparent;
  border-color: var(--color-gold);
  color: var(--color-navy);
}

.btn--dark-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn--sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--color-navy);
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-navy) 0%, var(--color-navy-soft) 100%);
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-sm);
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.925rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--color-navy-mid);
  transition: background var(--transition), color var(--transition);
}

.site-nav a:hover {
  background: rgba(201, 162, 39, 0.12);
  color: var(--color-navy);
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  background: var(--color-navy);
  color: var(--color-gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
}

.header-cta {
  margin-left: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(201, 162, 39, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(26, 53, 84, 0.5), transparent 50%),
    linear-gradient(155deg, #071222 0%, #0f2238 45%, #1a3554 100%);
  color: var(--color-cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  margin: 0 0 1.25rem;
  color: var(--color-white);
}

.hero .section__eyebrow {
  color: var(--color-gold-light);
}

.hero__lead {
  font-size: 1.125rem;
  color: rgba(247, 245, 240, 0.85);
  max-width: 36rem;
  margin: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero__image-wrap {
  position: relative;
}

.hero__image-wrap::before {
  content: "";
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: calc(var(--radius-lg) + 4px);
  pointer-events: none;
}

.hero__image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Page hero */
.page-hero {
  padding: 4.5rem 0 3rem;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-hero--visual {
  padding: 0;
  border-bottom: none;
  background: none;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.page-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2.5rem 4rem 0;
}

.page-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  margin: 0 0 1rem;
}

.page-hero .section__intro {
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-white);
}

.section--dark {
  background: var(--color-navy);
  color: var(--color-cream);
}

.section--dark .section__title,
.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section--dark .section__intro,
.section--dark p {
  color: rgba(247, 245, 240, 0.78);
}

.section__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  margin: 0 0 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(201, 162, 39, 0.35);
}

.section__title {
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  margin: 0 0 1rem;
  color: var(--color-navy);
}

.section__intro {
  max-width: 40rem;
  color: var(--color-muted);
  margin-bottom: 2.75rem;
  font-size: 1.05rem;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

/* Cards */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card h2,
.card h3 {
  margin-top: 0;
  color: var(--color-navy);
}

.card p:last-child {
  margin-bottom: 0;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.925rem;
  text-decoration: none;
  color: var(--color-gold-dark);
}

.card__link::after {
  content: "→";
  transition: transform var(--transition);
}

.card__link:hover::after {
  transform: translateX(4px);
}

.card--media {
  padding: 0;
  overflow: hidden;
}

.card--media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card--media .card__body {
  padding: 1.75rem 2rem 2rem;
}

.card--icon {
  text-align: center;
}

.card--icon .card__icon {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat span {
  font-size: 0.875rem;
  color: rgba(247, 245, 240, 0.75);
  line-height: 1.4;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media img,
.img-frame img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.img-frame {
  position: relative;
}

.img-frame::after {
  content: "";
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.45;
}

.feature-list {
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

.feature-list li {
  margin-bottom: 0.75rem;
  color: var(--color-muted);
}

.feature-list li::marker {
  color: var(--color-gold);
}

/* CTA band */
.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-soft) 100%);
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  color: var(--color-white);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0;
  color: rgba(247, 245, 240, 0.8);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* Prose */
.prose {
  max-width: 46rem;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1.15rem;
  color: var(--color-muted);
}

.prose h2 {
  margin-top: 2.5rem;
  color: var(--color-navy);
}

.prose-wide {
  max-width: 52rem;
}

.prose-wide h2 {
  color: var(--color-navy);
}

/* Work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.work-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-card__body {
  padding: 1.75rem 2rem 2rem;
}

.work-card__body h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-details h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.contact-details address {
  font-style: normal;
  line-height: 1.8;
}

.contact-details address p {
  margin: 0 0 0.5rem;
}

.contact-details a {
  font-weight: 500;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.45rem;
  color: var(--color-navy-mid);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--color-cream);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Alerts */
.alert {
  padding: 1.35rem 1.75rem;
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
}

.alert h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.alert p {
  margin: 0;
}

.alert--success {
  background: linear-gradient(135deg, #edf8f0 0%, #e3f2e7 100%);
  border: 1px solid #a8d4b4;
}

.alert--success h2 {
  color: #1a5c32;
}

/* Map */
.map-wrap {
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #eef2f6;
  box-shadow: var(--shadow-sm);
}

.map-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 380px;
  padding: 2rem;
  color: var(--color-muted);
}

.map-wrap iframe {
  border: 0;
  display: block;
  width: 100%;
  min-height: 380px;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--color-navy) 0%, #050e18 100%);
  color: rgba(247, 245, 240, 0.88);
  padding-top: 4rem;
}

.site-footer a {
  color: rgba(247, 245, 240, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-gold-light);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer__heading {
  font-size: 0.8rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.25rem;
  color: var(--color-gold-light);
  font-weight: 700;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin-bottom: 0.65rem;
}

.site-footer__disclaimer {
  font-size: 0.825rem;
  color: rgba(247, 245, 240, 0.55);
  line-height: 1.6;
  margin-top: 1rem;
}

.site-footer__contact address {
  font-style: normal;
  line-height: 1.75;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(247, 245, 240, 0.55);
}

.site-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo--footer .logo__mark {
  box-shadow: none;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 1.25rem 1.25rem 1.25rem;
  z-index: 200;
  max-width: 30rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.cookie-banner__inner {
  padding: 1.5rem;
}

.cookie-banner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.15rem 0;
}

.cookie-banner__legal {
  font-size: 0.825rem;
  margin: 0;
  color: var(--color-muted);
}

/* Legal pages */
.legal-content {
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-sm);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.925rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  text-align: left;
}

.legal-content th {
  background: var(--color-cream);
  font-weight: 600;
}

/* Error page */
.error-page {
  min-height: 65vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-page h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Service pricing tag */
.price-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 999px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-gold-dark);
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid,
  .split,
  .grid-3,
  .grid-2,
  .stats,
  .work-grid,
  .contact-layout,
  .site-footer__grid,
  .cta-band__inner,
  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media,
  .page-hero__visual {
    order: -1;
  }

  .page-hero__content {
    padding: 2.5rem 0;
  }

  .page-hero__visual img {
    min-height: 280px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
  }

  .site-nav a {
    display: block;
  }

  .header-cta {
    margin: 1rem 0 0;
    width: 100%;
    text-align: center;
  }

  .site-header__inner {
    position: relative;
    flex-wrap: wrap;
  }

  .site-footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-content {
    padding: 1.75rem;
  }

  .img-frame::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card,
  .work-card {
    transition: none;
  }
}
