:root {
  --navy: #071d35;
  --navy-2: #0e2a48;
  --gold: #c3a56a;
  --gold-2: #a98a52;
  --ink: #112036;
  --muted: #607086;
  --paper: #f7f7f5;
  --surface: #ffffff;
  --surface-warm: #fbfaf7;
  --line: #e1e3e5;
  --ok: #1f7a4f;
  --err: #b84040;
  --shadow: 0 24px 60px rgba(7, 29, 53, 0.12);
  --shadow-soft: 0 14px 34px rgba(7, 29, 53, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 520px, #ffffff 100%);
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 29, 53, 0.94);
  backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.scrolled {
  background: rgba(7, 29, 53, 0.98);
  box-shadow: 0 12px 30px rgba(7, 29, 53, 0.22);
}

.nav-shell {
  width: min(1220px, 94vw);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(195, 165, 106, 0.45);
  background: #fff;
  padding: 5px;
}

.brand span {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand b {
  font-size: 1.04rem;
  letter-spacing: 0.16em;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-btn {
  display: none;
  border: 1px solid rgba(195, 165, 106, 0.55);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 10px 13px;
  font-weight: 800;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 13px;
  border-radius: 8px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(195, 165, 106, 0.2);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 86% 22%, rgba(195, 165, 106, 0.16), transparent 28%),
    linear-gradient(130deg, rgba(7, 29, 53, 0.98), rgba(14, 42, 72, 0.94)),
    var(--navy);
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -12% -30% 42%;
  height: 42%;
  background: linear-gradient(120deg, rgba(195, 165, 106, 0.24), rgba(255, 255, 255, 0.03));
  transform: skewY(-7deg);
}

.hero-accent {
  position: absolute;
  top: 18%;
  right: 9%;
  width: min(420px, 42vw);
  aspect-ratio: 1;
  border: 1px solid rgba(195, 165, 106, 0.22);
  border-radius: 50%;
  animation: floatAccent 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
  padding: 64px 0 86px;
}

.hero-copy h1,
.section-heading h2,
.split-grid h2,
.application-panel h2,
.contact-grid h2,
.job-detail-card h1 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1,
h2,
h3,
p { margin-top: 0; }

.hero-copy h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5.35vw, 5.2rem);
  line-height: 1;
}

.lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.btn:hover::after { transform: translateX(120%); }

.btn.primary {
  color: var(--navy);
  background: linear-gradient(135deg, #d7bd80, var(--gold));
  box-shadow: 0 16px 34px rgba(195, 165, 106, 0.3);
}

.btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-media {
  position: relative;
  justify-self: end;
  width: min(410px, 100%);
  border: 1px solid rgba(195, 165, 106, 0.34);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  animation: mediaLift 900ms ease both;
}

.logo-showcase {
  border-radius: 8px;
  background: #fff;
  padding: 28px;
}

.logo-showcase img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.hero-metric {
  position: absolute;
  right: 6%;
  bottom: -28px;
  width: min(210px, 70%);
  border: 1px solid rgba(195, 165, 106, 0.42);
  border-radius: 8px;
  padding: 16px;
  color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.hero-metric b {
  display: block;
  color: var(--gold-2);
  font-size: 2rem;
}

.hero-metric span {
  color: var(--muted);
  font-weight: 700;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 700;
}

.stats-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.stats-grid div {
  min-height: 128px;
  border-left: 1px solid var(--line);
  padding: 28px 24px;
  transition: background 200ms ease, transform 200ms ease;
}

.stats-grid div:hover {
  background: var(--surface-warm);
  transform: translateY(-3px);
}

.stats-grid div:last-child { border-right: 1px solid var(--line); }

.stats-grid b {
  display: block;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 38px;
}

.section-heading.tidy {
  grid-template-columns: 180px 1fr 0.95fr;
}

.section-heading.tidy .eyebrow {
  margin-top: 10px;
}
}

.section-heading h2,
.split-grid h2,
.application-panel h2,
.contact-grid h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
}

.section-heading p,
.split-grid p,
.application-panel p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.service-grid,
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card,
.job-card,
.form-card,
.job-detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.service-card,
.job-card {
  min-height: 248px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before,
.job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.service-card:hover,
.job-card:hover {
  transform: translateY(-6px);
  border-color: rgba(195, 165, 106, 0.6);
  box-shadow: var(--shadow);
}

.service-card:hover::before,
.job-card:hover::before { transform: scaleX(1); }

.service-card span,
.job-card span {
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3,
.job-card h3 {
  margin: 24px 0 14px;
  color: var(--navy);
  font-size: 1.35rem;
}

.service-card p,
.job-card p {
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  color: var(--gold-2);
  font-weight: 800;
}

.split-section {
  padding: 96px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 29, 53, 0.96), rgba(14, 42, 72, 0.96)),
    var(--navy);
}

.process-section {
  padding: 78px 0;
  background:
    linear-gradient(180deg, var(--surface-warm), #fff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 36px;
  align-items: center;
}

.process-copy h2 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  margin-bottom: 0;
}

.process-steps {
  display: grid;
  gap: 12px;
}

.process-steps div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.process-steps b {
  color: var(--gold-2);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

.process-steps span {
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.split-grid h2,
.split-grid p { color: #fff; }

.value-list {
  display: grid;
  gap: 12px;
}

.value-list div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0 0 18px;
}

.value-list b {
  color: var(--gold);
  font-size: 1.05rem;
}

.value-list span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.careers-section {
  background: #fff;
}

.application-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
  margin-top: 34px;
  border: 1px solid #d8d4ca;
  border-radius: 8px;
  padding: 34px;
  background:
    linear-gradient(145deg, #fff, var(--surface-warm));
  box-shadow: var(--shadow-soft);
}

.form-card {
  padding: 26px;
}

.form-title {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 4px;
}

.form-title b {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

.form-title span {
  color: var(--muted);
  line-height: 1.5;
}

label {
  display: block;
  margin: 13px 0 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd3da;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(195, 165, 106, 0.18);
  transform: translateY(-1px);
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.form-card .btn {
  width: 100%;
  margin-top: 18px;
}

.status {
  margin: 12px 0 0;
  font-weight: 800;
}

.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

.contact-section {
  background:
    linear-gradient(180deg, #fff, var(--paper));
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-details span {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--navy);
  background: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(7, 29, 53, 0.05);
}

.site-footer {
  padding: 54px 0 22px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.site-footer.compact {
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 30px;
  padding-bottom: 34px;
}

.footer-grid img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.footer-grid p {
  max-width: 460px;
  line-height: 1.75;
}

.footer-grid h3 {
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-grid a {
  display: block;
  margin: 10px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 20px;
  font-size: 0.9rem;
}

.job-page {
  min-height: 70vh;
}

.job-detail-shell {
  padding: 56px 0 0;
}

.job-detail-card {
  margin-top: 18px;
  padding: clamp(24px, 5vw, 52px);
}

.job-detail-card h1 {
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
}

.job-detail-card .lead {
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.detail-grid section,
.plain-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.detail-grid h2,
.plain-section h2 {
  color: var(--navy);
  font-size: 1.25rem;
}

.detail-grid li,
.plain-section p {
  color: var(--muted);
  line-height: 1.75;
}

.plain-section {
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(.22,1,.36,1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatAccent {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.75; }
  50% { transform: translateY(18px) scale(1.04); opacity: 1; }
}

@keyframes mediaLift {
  from { opacity: 0; transform: translateY(24px) rotateX(4deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .btn,
  .service-card,
  .job-card { transition: none; }
  .hero-accent,
  .hero-media { animation: none; }
}

@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 3vw;
    right: 3vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(195, 165, 106, 0.28);
    border-radius: 8px;
    padding: 10px;
    background: var(--navy);
    box-shadow: var(--shadow);
  }

  .nav-links.static {
    position: static;
    display: flex;
    flex-direction: row;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .nav-links.open { display: flex; }

  .hero-grid,
  .section-heading,
  .section-heading.tidy,
  .split-grid,
  .application-panel,
  .contact-grid,
  .footer-grid,
  .process-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.tidy .eyebrow {
    margin-top: 0;
  }

  .hero-media {
    justify-self: start;
    width: min(320px, 100%);
  }

  .stats-grid,
  .service-grid,
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-section {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .brand span small { display: none; }
  .brand b { font-size: 0.9rem; }
  .brand img {
    width: 50px;
    height: 50px;
  }
  .hero-section { min-height: auto; }
  .hero-grid { padding: 44px 0 78px; }
  .hero-copy h1 { font-size: clamp(2.2rem, 15vw, 3.4rem); }
  .hero-media {
    width: min(280px, 100%);
  }
  .hero-accent {
    display: none;
  }
  .stats-grid,
  .service-grid,
  .jobs-grid { grid-template-columns: 1fr; }
  .stats-grid div,
  .stats-grid div:last-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .section { padding: 68px 0; }
  .application-panel { padding: 20px; }
  .value-list div { grid-template-columns: 1fr; gap: 6px; }
  .process-steps div { grid-template-columns: 1fr; gap: 6px; }
  .nav-links.static {
    gap: 0;
    font-size: 0.9rem;
  }
  .nav-links.static a {
    padding: 8px;
  }
}
