:root {
  --ink: #071a2d;
  --ink-soft: #102c46;
  --green: #82c341;
  --green-deep: #61a625;
  --blue: #1689c8;
  --paper: #f6f8fa;
  --white: #ffffff;
  --muted: #657182;
  --line: rgba(7, 26, 45, 0.12);
  --shadow: 0 24px 70px rgba(7, 26, 45, 0.12);
  --radius: 22px;
  --container: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--white);
  transition: background-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 32px rgba(7, 26, 45, 0.09);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--green);
  border: 3px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  rotate: -22deg;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: 2px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--green);
  rotate: 38deg;
}

.brand-mark span {
  color: currentColor;
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  rotate: 22deg;
}

.brand-copy {
  display: grid;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 900;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.28em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a,
.header-call {
  transition: color 160ms ease, opacity 160ms ease;
}

.main-nav a:hover,
.header-call:hover {
  color: var(--green);
}

.header-call {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 750;
}

.header-call svg {
  width: 18px;
  height: 18px;
}

.hero {
  min-height: 760px;
  height: 100svh;
  max-height: 960px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

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

.hero-media {
  background: url("hero-cafe.png") 58% center / cover no-repeat;
  scale: 1.015;
  animation: settle 1.1s cubic-bezier(.2,.65,.25,1) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 19, 33, 0.95) 0%, rgba(4, 19, 33, 0.78) 38%, rgba(4, 19, 33, 0.22) 72%, rgba(4, 19, 33, 0.08) 100%),
    linear-gradient(0deg, rgba(4, 19, 33, 0.52) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 5.7rem);
  font-weight: 790;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lead {
  max-width: 580px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease;
}

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

.button svg {
  width: 20px;
  height: 20px;
}

.button-primary {
  color: var(--ink);
  background: var(--green);
}

.button-primary:hover {
  background: #95d454;
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.13);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 20px;
  height: 20px;
  animation: drift 1.8s ease-in-out infinite;
}

.section {
  padding: 120px 0;
}

.profile {
  background: var(--white);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(480px, 1.1fr);
  align-items: start;
  gap: 100px;
}

.section-heading {
  position: sticky;
  top: 130px;
}

.section-heading h2,
.contact-intro h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding: 32px 4px;
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-card h3 {
  margin: -3px 0 8px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.service-card p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.contact::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -220px;
  top: -210px;
  border: 110px solid rgba(130, 195, 65, 0.09);
  border-radius: 50%;
}

.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(560px, 1.28fr);
  gap: 84px;
  align-items: start;
}

.contact-intro p:last-child {
  max-width: 390px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  min-height: 144px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(130, 195, 65, 0.45);
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: rgba(130, 195, 65, 0.1);
  border-radius: 14px;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.contact-card small {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 16px;
  line-height: 1.45;
}

.card-arrow {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.42);
}

.site-footer {
  color: rgba(255, 255, 255, 0.62);
  background: #041321;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 13px;
}

.footer-brand {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.brand-mark-small {
  width: 30px;
  height: 30px;
  border-width: 2px;
}

.brand-mark-small span {
  font-size: 13px;
}

.footer-inner a:hover {
  color: var(--green);
}

@keyframes settle {
  from { scale: 1.08; opacity: 0.65; }
  to { scale: 1.015; opacity: 1; }
}

@keyframes drift {
  0%, 100% { translate: 0 -2px; }
  50% { translate: 0 4px; }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 36px, 760px);
  }

  .header-inner {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-media {
    background-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 19, 33, 0.94), rgba(4, 19, 33, 0.48)),
      linear-gradient(0deg, rgba(4, 19, 33, 0.55), transparent 60%);
  }

  .profile-grid,
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .section-heading {
    position: static;
  }

  .section {
    padding: 88px 0;
  }
}

@media (max-width: 620px) {
  :root {
    --container: calc(100% - 32px);
  }

  .header-call span {
    display: none;
  }

  .header-call {
    width: 44px;
    height: 44px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
  }

  .is-scrolled .header-call {
    background: rgba(7, 26, 45, 0.05);
    border-color: rgba(7, 26, 45, 0.1);
  }

  .hero {
    min-height: 720px;
    max-height: none;
  }

  .hero-media {
    background-position: 69% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(4, 19, 33, 0.94), rgba(4, 19, 33, 0.63));
  }

  .hero-content {
    padding-top: 90px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.25rem);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .service-card {
    grid-template-columns: 46px 1fr;
    padding: 26px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .contact-card-wide {
    grid-column: auto;
    min-height: 126px;
    padding: 20px;
  }

  .contact-card strong {
    overflow-wrap: anywhere;
  }

  .card-arrow {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 32px 0;
  }

  .footer-inner p {
    margin: 0;
  }
}

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