:root {
  --primary: #283E57;
  --primary-2: #1f2f43;
  --muted: #8D9699;
  --muted-2: #BEC3C5;
  --gold: #C9A96A;
  --text: #0E1116;
  --text-inv: #F7F8FA;
  --paper: #ffffff;
  --offwhite: #F4F5F7;
  --line: rgba(40,62,87,0.18);
  --shadow: 0 18px 50px rgba(0,0,0,.12);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 65%, #f4f5f7 100%);
}
a { color: inherit; text-decoration: none; }
p { line-height: 1.7; margin: 0; }
h1,h2,h3 { margin: 0; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand img {
  width: 52px;
  height: auto;
}
.brand .name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand .name strong {
  font-weight: 650;
  letter-spacing: .02em;
}
.brand .name span {
  font-size: 12px;
  color: rgba(0,0,0,.55);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.links a {
  font-size: 14px;
  color: rgba(0,0,0,.72);
  position: relative;
  padding: 8px 2px;
}
.links a.active,
.links a:hover {
  color: var(--primary);
}
.links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transition: transform .22s ease;
}
.links a:hover::after,
.links a.active::after {
  transform: scaleX(1);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(40,62,87,.25);
  background: linear-gradient(180deg, rgba(40,62,87,.06), rgba(40,62,87,.02));
  font-size: 13px;
  color: var(--primary);
  transition: transform .18s ease, background .18s ease;
  white-space: nowrap;
}
.cta:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(201,169,106,.14), rgba(40,62,87,.03));
}

.mobile-toggle {
  display: none;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(0,0,0,.06);
}
.mobile-menu .inner {
  padding: 10px 0 16px 0;
  display: grid;
  gap: 10px;
}
.mobile-menu a {
  padding: 10px 10px;
  border-radius: 12px;
  font-size: 14px;
  color: rgba(0,0,0,.78);
}
.mobile-menu a:hover {
  background: rgba(40,62,87,.06);
  color: var(--primary);
}

.hero {
  padding: 64px 0 26px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 28px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(40,62,87,.16);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(0,0,0,.68);
  background: rgba(255,255,255,.7);
}
.kicker .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--primary));
}

.h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 560;
  letter-spacing: -0.02em;
  font-size: 46px;
  line-height: 1.08;
  margin-top: 16px;
}
.sub {
  margin-top: 14px;
  color: rgba(0,0,0,.67);
  font-size: 16px;
  max-width: 52ch;
}
.actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn.primary {
  border-color: rgba(40,62,87,.25);
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: var(--text-inv);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.btn.secondary:hover {
  background: rgba(40,62,87,.05);
}

.hero-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(40,62,87,.06), rgba(201,169,106,.05));
  border: 1px solid rgba(40,62,87,.18);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card .pad {
  padding: 22px;
}
.hero-card .mini {
  display: grid;
  gap: 12px;
}
.metric {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 14px 14px;
}
.metric strong {
  display: block;
  font-size: 13px;
  color: rgba(0,0,0,.82);
}
.metric span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(0,0,0,.62);
  line-height: 1.5;
}

.section {
  padding: 48px 0;
}
.section.alt {
  background: linear-gradient(180deg, rgba(40,62,87,.04), rgba(255,255,255,0));
}
.section h2 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 560;
  letter-spacing: -0.01em;
  font-size: 30px;
}
.section .lead {
  margin-top: 10px;
  color: rgba(0,0,0,.66);
  max-width: 70ch;
}

.cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  border-radius: var(--radius);
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.06);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.card h3 {
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(0,0,0,.75);
}
.card p {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(0,0,0,.62);
}

.split {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(40,62,87,.16);
  background: rgba(255,255,255,.82);
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,.07);
}
.panel .label {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.62);
}
.panel h3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 650;
  color: var(--primary);
}
.panel p {
  margin-top: 10px;
  color: rgba(0,0,0,.68);
  font-size: 15px;
}

.grid-portfolio {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.86);
  padding: 20px;
  box-shadow: 0 16px 42px rgba(0,0,0,.06);
}
.item .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(0,0,0,.60);
}
.item .tag::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--gold));
}
.item h3 {
  margin-top: 10px;
  font-size: 18px;
  color: var(--primary);
}
.item p {
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(0,0,0,.66);
}

.page-title {
  padding: 48px 0 8px 0;
}
.page-title h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 560;
  letter-spacing: -0.02em;
  font-size: 40px;
}
.page-title p {
  margin-top: 12px;
  max-width: 80ch;
  color: rgba(0,0,0,.66);
}

.footer {
  padding: 26px 0 40px 0;
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(0,0,0,.62);
  font-size: 13px;
}
.footer a { color: rgba(0,0,0,.72); }
.footer a:hover { color: var(--primary); }

.form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 13px;
  color: rgba(0,0,0,.70);
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.9);
  font: inherit;
}
.field textarea { min-height: 120px; resize: vertical; }

.note {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(0,0,0,.60);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .grid-portfolio { grid-template-columns: 1fr; }
  .links { display: none; }
  .mobile-toggle { display: inline-flex; }
  .brand { min-width: auto; }
  .h1 { font-size: 40px; }
}

@media (max-width: 520px) {
  .h1 { font-size: 34px; }
  .page-title h1 { font-size: 34px; }
}