:root {
  --green-950: #062817;
  --green-900: #0a3a20;
  --green-800: #114227;
  --gold-500: #c5a059;
  --gold-400: #d4af37;
  --charcoal-950: #111416;
  --charcoal-900: #1a1d20;
  --charcoal-700: #343a40;
  --gray-100: #f8f9fa;
  --gray-200: #eef0f2;
  --gray-300: #dfe4e8;
  --white: #ffffff;
  --ink: #202428;
  --muted: #626d76;
  --shadow-soft: 0 24px 60px rgba(7, 19, 12, 0.14);
  --shadow-lift: 0 18px 45px rgba(7, 19, 12, 0.16);
  --container: 1180px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-900);
  transform: translateY(-140%);
  transition: all 0.3s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 228, 232, 0.78);
  transition: all 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(17, 20, 22, 0.08);
}

.nav-shell {
  width: min(100% - 40px, var(--container));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 216px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  color: var(--gold-400);
  background: var(--green-900);
  border: 1px solid rgba(197, 160, 89, 0.42);
  border-radius: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 0;
  color: var(--green-950);
  font-weight: 700;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: var(--charcoal-700);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--green-900);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--green-900);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  color: var(--green-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  box-shadow: 0 14px 28px rgba(197, 160, 89, 0.24);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 18px;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(197, 160, 89, 0.32);
}

.button-small {
  min-height: 46px;
  padding: 0 16px;
  font-size: 13px;
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
}

.button-ghost:hover,
.button-ghost:focus {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green-950);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 40, 23, 0.96) 0%, rgba(6, 40, 23, 0.92) 38%, rgba(6, 40, 23, 0.22) 66%, rgba(6, 40, 23, 0.04) 100%),
    radial-gradient(circle at 21% 35%, rgba(212, 175, 55, 0.22), transparent 31%);
}

.hero::after {
  position: absolute;
  right: 7%;
  bottom: 6%;
  z-index: 2;
  width: 320px;
  height: 320px;
  content: "";
  border: 1px solid rgba(212, 175, 55, 0.48);
  transform: rotate(8deg);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% 0%;
  aspect-ratio: 4 / 5;
}

.hero-overlay {
  position: absolute;
  right: 6%;
  bottom: 12%;
  z-index: 2;
  width: 19%;
  min-width: 180px;
  height: 8px;
  background: var(--gold-400);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100% - 40px, var(--container));
  margin: var(--header-height) auto 0;
  padding: 118px 0 82px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 620px;
  font-size: 72px;
  font-weight: 700;
}

h2 {
  font-size: 48px;
  font-weight: 700;
}

h3 {
  font-size: 24px;
  font-weight: 700;
}

.hero-lede {
  max-width: 585px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-credentials {
  width: min(100%, 680px);
  margin: 64px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-credentials div {
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-credentials div:last-child {
  border-right: 0;
}

.hero-credentials dt {
  color: var(--gold-400);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.hero-credentials dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--charcoal-900);
  color: var(--white);
}

.proof-item {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item svg,
.icon-box svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold-400);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 26px;
}

.section {
  padding: 108px 0;
}

.intro-section,
.portfolio-section {
  background: var(--white);
}

.section-grid,
.section-heading,
.services-grid,
.portfolio-grid,
.testimonial-grid,
.consultation-section,
.footer-grid,
.footer-bottom {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 82px;
  align-items: start;
}

.section-copy h2,
.section-heading h2 {
  max-width: 730px;
  color: var(--green-950);
}

.section-text {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.section-text p {
  margin: 0;
}

.services-section {
  background: var(--gray-100);
}

.section-heading {
  display: grid;
  gap: 0;
  margin-bottom: 46px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 362px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border: 1px solid #eaeaea;
  box-shadow: 0 0 0 rgba(7, 19, 12, 0);
  transition: all 0.3s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(197, 160, 89, 0.48);
  box-shadow: var(--shadow-lift);
}

.icon-box {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  background: rgba(10, 58, 32, 0.06);
  border: 1px solid rgba(197, 160, 89, 0.24);
  border-radius: 4px;
}

.service-card h3 {
  color: var(--green-950);
  font-size: 23px;
}

.service-card p {
  margin: 18px 0 28px;
  color: var(--muted);
}

.text-link {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin-top: auto;
  color: var(--green-900);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.text-link::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  content: "";
  background: var(--gold-500);
  transition: all 0.3s ease;
}

.text-link:hover::after,
.text-link:focus::after {
  right: -18px;
}

.founder-section {
  padding: 118px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 40, 23, 0.96), rgba(17, 20, 22, 0.96)),
    var(--green-950);
}

.founder-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 42px;
  align-items: stretch;
}

.founder-card {
  padding: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.founder-card h2 {
  max-width: 760px;
}

.founder-card p {
  max-width: 820px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.signature {
  display: grid;
  gap: 2px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.signature strong {
  color: var(--gold-400);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
}

.signature span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
}

.standard-panel {
  padding: 42px;
  align-self: center;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.standard-panel h3 {
  color: var(--green-950);
  font-size: 30px;
}

.standard-panel ul {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  list-style: none;
}

.standard-panel li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 600;
}

.standard-panel li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--gold-500);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--gray-300);
  border: 1px solid var(--gray-300);
}

.portfolio-grid article {
  min-height: 260px;
  padding: 34px 30px;
  background: var(--white);
}

.portfolio-grid span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--gold-500);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
}

.portfolio-grid h3 {
  color: var(--green-950);
  font-size: 25px;
}

.portfolio-grid p {
  margin: 16px 0 0;
  color: var(--muted);
}

.testimonials-section {
  background: var(--gray-100);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial {
  margin: 0;
  padding: 34px;
  background: var(--white);
  border: 1px solid #eaeaea;
}

.testimonial blockquote {
  margin: 0;
  color: var(--charcoal-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  line-height: 1.35;
}

.testimonial figcaption {
  margin-top: 24px;
  color: var(--green-900);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.consultation-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 74px;
  align-items: start;
  padding: 116px 0;
}

.consultation-copy h2 {
  color: var(--green-950);
}

.consultation-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.consultation-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 34px;
  background: var(--charcoal-900);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.form-row input,
.form-row select {
  width: 100%;
  min-height: 56px;
  padding: 0 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  outline: 0;
  transition: all 0.3s ease;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.16);
}

.form-row select {
  color-scheme: dark;
}

.form-row select option {
  color: var(--charcoal-900);
  background: var(--white);
}

.form-submit,
.form-note {
  grid-column: 1 / -1;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.form-note.is-success {
  color: #e7d39c;
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: var(--charcoal-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 0.7fr;
  gap: 52px;
  padding: 72px 0 52px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand-copy {
  color: var(--white);
}

.footer-brand .brand-copy small {
  color: rgba(255, 255, 255, 0.56);
}

.footer-grid p {
  margin: 22px 0 0;
  max-width: 410px;
}

.footer-grid h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-grid a:not(.brand):hover,
.footer-grid a:not(.brand):focus {
  color: var(--gold-400);
}

.footer-muted {
  color: rgba(255, 255, 255, 0.54);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 42px;
  }

  .nav-cta {
    display: none;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .founder-inner,
  .consultation-section {
    grid-template-columns: 1fr;
  }

  .standard-panel {
    align-self: stretch;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  body {
    font-size: 15px;
  }

  .nav-shell {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    align-content: start;
    gap: 0;
    min-height: calc(100vh - var(--header-height));
    padding: 24px 20px;
    background: var(--white);
    transform: translateX(100%);
    transition: all 0.3s ease;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 18px 0;
    color: var(--green-950);
    border-bottom: 1px solid var(--gray-200);
    font-size: 18px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(6, 40, 23, 0.92) 0%, rgba(6, 40, 23, 0.9) 48%, rgba(6, 40, 23, 0.22) 100%),
      radial-gradient(circle at 30% 18%, rgba(212, 175, 55, 0.2), transparent 30%);
  }

  .hero::after,
  .hero-overlay {
    display: none;
  }

  .hero-media img {
    object-position: 68% 20%;
    opacity: 0.64;
  }

  .hero-content {
    width: min(100% - 28px, var(--container));
    padding: 132px 0 52px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-lede {
    font-size: 17px;
  }

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

  .hero-credentials {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .hero-credentials div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-credentials div:last-child {
    border-bottom: 0;
  }

  .proof-band,
  .services-grid,
  .portfolio-grid,
  .testimonial-grid,
  .section-grid,
  .consultation-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 96px;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    text-align: left;
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section,
  .founder-section,
  .consultation-section {
    padding: 74px 0;
  }

  .section-grid,
  .section-heading,
  .services-grid,
  .portfolio-grid,
  .testimonial-grid,
  .consultation-section,
  .footer-grid,
  .footer-bottom,
  .founder-inner {
    width: min(100% - 28px, var(--container));
  }

  .section-grid {
    gap: 26px;
  }

  .section-text,
  .consultation-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .service-card,
  .portfolio-grid article {
    min-height: auto;
  }

  .founder-card,
  .standard-panel,
  .consultation-form {
    padding: 28px;
  }

  .testimonial blockquote {
    font-size: 22px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 480px) {
  .brand-copy span {
    max-width: 150px;
    display: block;
    overflow-wrap: break-word;
    line-height: 1.15;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
