:root {
  --navy: #071526;
  --navy-2: #0b1d32;
  --navy-3: #112943;
  --gold: #cbae71;
  --gold-light: #e4cc95;
  --white: #f8f6f0;
  --muted: #9da8b6;
  --line: rgba(255,255,255,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--navy);
  background-size: 64px 64px;
  font-family: "DM Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

a { color: inherit; }
.ambient { position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .16; }
.ambient-one { width: 480px; height: 480px; background: #90702d; top: -220px; right: -130px; }
.ambient-two { width: 420px; height: 420px; background: #164b70; bottom: 5%; left: -260px; }

.topbar {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { position: relative; width: 54px; height: 46px; display: flex; gap: 4px; transform: skew(-32deg); }
.brand-mark i { display: block; width: 8px; height: 40px; background: var(--white); }
.brand-mark i:nth-child(2) { height: 32px; margin-top: 8px; }
.brand-mark i:nth-child(3) { height: 40px; background: transparent; border: 4px solid var(--white); border-width: 4px 4px 4px 0; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-family: "Playfair Display", serif; font-size: 21px; letter-spacing: .04em; font-weight: 600; }
.brand-copy small { margin-top: 6px; font-size: 7px; letter-spacing: .18em; color: var(--muted); }
.city { font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.city b { color: var(--gold); margin: 0 5px; }

main, footer { position: relative; z-index: 1; }
.hero {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 54px;
  align-items: center;
  padding: 58px 0 70px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-intro > span { font-size: 11px; font-weight: 600; letter-spacing: .25em; color: var(--gold-light); }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 28px; height: 1px; background: var(--gold); }
h1 { max-width: 700px; margin: 26px 0 22px; font-family: "Playfair Display", serif; font-size: clamp(45px, 5.2vw, 70px); line-height: 1.03; letter-spacing: -.035em; }
h1 em, h3 em { color: var(--gold-light); font-weight: inherit; }
.hero-copy > p { max-width: 550px; margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.scroll-cue { margin-top: 42px; padding: 10px 0; display: flex; gap: 12px; align-items: center; text-decoration: none; text-transform: uppercase; font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.scroll-cue span { color: var(--gold); font-size: 17px; animation: bounce 1.8s ease-in-out infinite; }
@keyframes bounce { 50% { transform: translateY(5px); } }
.portrait-wrap { position: relative; height: 570px; perspective: 900px; }
.portrait-frame { position: absolute; inset: 0 18px 20px 42px; overflow: hidden; border-radius: 240px 240px 12px 12px; border: 1px solid rgba(203,174,113,.38); background: #0b1d32; box-shadow: 0 38px 90px rgba(0,0,0,.38); transition: transform .25s ease-out; }
.portrait-frame::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: inherit; z-index: 2; pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 35%; display: block; filter: saturate(.85) contrast(1.04); }
.portrait-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,21,38,.18), transparent 45%), linear-gradient(0deg, rgba(7,21,38,.7), transparent 30%); }
.experience-badge { position: absolute; bottom: 0; left: 0; width: 126px; height: 126px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; color: var(--navy); background: var(--gold-light); box-shadow: 0 15px 40px rgba(0,0,0,.35); transform: rotate(-7deg); }
.experience-badge strong { font-family: "Playfair Display",serif; font-size: 35px; line-height: 1; }
.experience-badge span { margin-top: 5px; font-size: 9px; line-height: 1.25; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.portrait-caption { position: absolute; right: -68px; top: 50%; transform: rotate(90deg); font-size: 9px; letter-spacing: .22em; color: var(--muted); }

.solutions { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 44px 0 100px; }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 30px; margin-bottom: 34px; }
.section-intro h2 { margin: 0; font-family: "Playfair Display", serif; font-size: clamp(32px, 4vw, 48px); }
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.service-card {
  min-height: 430px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(18,42,68,.92), rgba(9,27,47,.96));
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.service-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(500px circle at var(--x,50%) var(--y,50%), rgba(255,255,255,.1), transparent 42%); transition: opacity .3s; pointer-events: none; }
.service-card::after { content: ""; position: absolute; width: 240px; height: 240px; border: 1px solid rgba(203,174,113,.14); border-radius: 50%; right: -140px; top: 70px; transition: transform .45s ease; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(203,174,113,.65); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scale(1.35); }
.service-card.featured { background: linear-gradient(120deg, rgba(68,55,27,.92), rgba(13,34,54,.96) 72%); border-color: rgba(203,174,113,.48); }
.card-shield { grid-column: span 6; min-height: 350px; display: grid; grid-template-columns: 84px 1.2fr .8fr; grid-template-rows: auto 1fr auto; column-gap: 30px; align-items: center; }
.card-shield .card-number { grid-column: 3; justify-self: end; }
.card-shield .card-icon { grid-column: 1; grid-row: 2; margin: 0; width: 70px; height: 70px; }
.card-shield .card-copy { grid-column: 2; grid-row: 2; margin: 0; }
.card-shield .card-copy h3 { font-size: clamp(36px,4.3vw,55px); }
.card-shield .card-action { grid-column: 3; grid-row: 2; align-self: end; }
.card-building, .card-scales { grid-column: span 3; }
.card-building { background: linear-gradient(145deg, rgba(12,57,65,.95), rgba(8,28,45,.98)); border-radius: 3px 80px 3px 3px; }
.card-building .card-icon { border-radius: 50%; transform: none; border-color: rgba(116,195,190,.55); }
.card-building .card-icon svg { transform: none; stroke: #9bd1cd; }
.card-building .tag, .card-building .card-action b { color: #9bd1cd; }
.card-scales { background: linear-gradient(145deg, rgba(30,42,66,.97), rgba(9,24,41,.98)); border-radius: 3px; clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%); }
.card-scales .card-icon { transform: rotate(45deg) scale(.88); background: rgba(255,255,255,.035); }
.card-number { align-self: flex-end; font-family: "Playfair Display", serif; color: rgba(255,255,255,.25); font-size: 14px; }
.card-icon { width: 52px; height: 52px; margin-top: 52px; display: grid; place-items: center; border: 1px solid rgba(203,174,113,.5); transform: rotate(45deg); }
.card-icon svg { width: 27px; height: 27px; transform: rotate(-45deg); fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-copy { margin-top: 44px; }
.tag { color: var(--gold); font-size: 9px; letter-spacing: .2em; font-weight: 700; }
.card-copy h3 { margin: 13px 0 16px; font-family: "Playfair Display", serif; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; }
.card-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.card-action { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; text-transform: uppercase; font-size: 10px; letter-spacing: .15em; font-weight: 600; }
.card-action b { color: var(--gold); font-size: 20px; font-weight: 400; transition: transform .25s ease; }
.service-card:hover .card-action b { transform: translate(3px,-3px); }

footer { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 38px 0 45px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--muted); }
footer p { margin: 0; color: var(--white); font-family: "Playfair Display", serif; }
footer > span { color: var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
footer small { text-align: right; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 70px; }
  .hero .eyebrow { justify-content: center; }
  .hero > .hero-copy > p { margin-inline: auto; }
  .scroll-cue { justify-content: center; }
  .portrait-wrap { width: min(500px,100%); height: 570px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .card-shield, .card-building, .card-scales { grid-column: auto; }
  .card-shield { min-height: 450px; display: flex; }
  .card-shield .card-icon { width: 52px; height: 52px; margin-top: 20px; }
  .card-shield .card-copy { margin-top: 36px; }
  .service-card { min-height: 410px; }
  .card-icon { margin-top: 20px; }
  .card-copy { margin-top: 36px; }
  footer { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  footer small { text-align: center; }
}
@media (max-width: 560px) {
  .topbar, .hero, .solutions, footer { width: calc(100% - 32px); }
  .topbar { padding: 19px 0; }
  .city { display: none; }
  .brand-copy strong { font-size: 18px; }
  .hero { min-height: 500px; padding: 66px 0 42px; }
  h1 { font-size: 43px; }
  .hero > p { font-size: 15px; }
  .section-intro { display: block; }
  .section-intro h2 { margin-top: 12px; }
  .solutions { padding-bottom: 68px; }
  .service-card { padding: 24px; min-height: 430px; }
  .portrait-wrap { height: 480px; margin-top: 14px; }
  .portrait-frame { inset: 0 4px 18px 22px; }
  .experience-badge { width: 104px; height: 104px; }
  .portrait-caption { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
