:root {
  --ink: #171a18;
  --muted: #5f665f;
  --paper: #fafaf7;
  --surface: #ffffff;
  --line: #dedfd8;
  --forest: #126450;
  --aqua: #4fb8b1;
  --coral: #e85f3c;
  --gold: #d2a53f;
  --blue: #3867d6;
  --shadow: 0 18px 60px rgba(23, 26, 24, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 4vw, 64px);
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 250, 247, 0.92);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(23, 26, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--forest);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.site-header.is-scrolled .brand-mark {
  background: var(--forest);
  color: #fff;
  box-shadow: none;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  color: inherit;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a,
.nav-cta {
  opacity: 0.86;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.nav-cta:hover,
.site-nav a:focus-visible,
.nav-cta:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta {
  justify-self: end;
  padding: 11px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  isolation: isolate;
  background: #141715;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 11, 9, 0.88) 0%, rgba(8, 11, 9, 0.72) 42%, rgba(8, 11, 9, 0.28) 100%),
    linear-gradient(0deg, rgba(8, 11, 9, 0.76) 0%, rgba(8, 11, 9, 0.12) 38%, rgba(8, 11, 9, 0.26) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(760px, calc(100% - 40px));
  min-height: 84svh;
  margin-left: clamp(20px, 6vw, 88px);
  padding: 88px 0 32px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7ee0d6;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3.05rem, 5vw, 5.6rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.75rem);
}

.hero-copy {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  background: var(--aqua);
  color: #071311;
  box-shadow: 0 18px 42px rgba(79, 184, 177, 0.28);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 680px;
  margin: 24px 0 0;
}

.hero-stats div {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 14px;
}

.hero-stats dt {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.signal-band {
  display: grid;
  place-items: center;
  min-height: 12svh;
  padding: 24px clamp(20px, 4vw, 64px);
  background: var(--forest);
  color: #fff;
}

.signal-band p {
  width: min(1040px, 100%);
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 80px);
}

section[id] {
  scroll-margin-top: 88px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  width: min(1200px, 100%);
  margin: 0 auto 36px;
}

.section-heading p {
  align-self: start;
}

.service-grid,
.work-grid,
.package-grid {
  display: grid;
  width: min(1200px, 100%);
  margin: 0 auto;
  gap: 16px;
}

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

.service-card,
.work-card,
.package-card,
.ownership-panel article,
.hosting-panel article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 26, 24, 0.02);
}

.service-card {
  min-height: 292px;
  padding: 28px;
}

.service-card p,
.work-card p,
.package-card li,
.contact-copy p,
.ownership-copy p,
.ownership-panel p,
.hosting-copy p,
.hosting-panel p {
  color: var(--muted);
}

.card-kicker {
  display: block;
  margin: 0 0 18px;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3,
.work-card h3,
.package-card h3 {
  margin-bottom: 14px;
}

.work-section {
  background: #eef5f1;
}

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

.work-card {
  display: grid;
  overflow: hidden;
}

.work-card > div {
  padding: 24px;
}

.work-visual {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  background: #18211d;
}

.work-visual::before,
.work-visual::after,
.work-visual span {
  position: absolute;
  content: "";
  border-radius: 8px;
}

.service-visual::before {
  inset: 32px 28px auto;
  height: 70px;
  background: #f8f6ed;
}

.service-visual::after {
  right: 34px;
  bottom: 28px;
  width: 36%;
  height: 84px;
  background: var(--coral);
}

.service-visual span:nth-child(1) {
  left: 28px;
  bottom: 34px;
  width: 42%;
  height: 18px;
  background: var(--aqua);
}

.service-visual span:nth-child(2) {
  left: 28px;
  bottom: 68px;
  width: 54%;
  height: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.service-visual span:nth-child(3) {
  left: 28px;
  top: 126px;
  width: 28%;
  height: 42px;
  background: var(--gold);
}

.portal-visual {
  background: #121419;
}

.portal-visual::before {
  inset: 28px 32px;
  background: #f9faf6;
}

.portal-visual::after {
  top: 54px;
  left: 62px;
  width: 34%;
  height: 116px;
  background: #dceee8;
}

.portal-visual span:nth-child(1) {
  right: 62px;
  top: 62px;
  width: 34%;
  height: 18px;
  background: var(--blue);
}

.portal-visual span:nth-child(2) {
  right: 62px;
  top: 100px;
  width: 28%;
  height: 18px;
  background: var(--aqua);
}

.portal-visual span:nth-child(3) {
  right: 62px;
  top: 138px;
  width: 38%;
  height: 18px;
  background: var(--coral);
}

.retail-visual {
  background: #271c18;
}

.retail-visual::before {
  top: 28px;
  left: 34px;
  width: 42%;
  height: 164px;
  background: #f7f3e8;
}

.retail-visual::after {
  top: 48px;
  right: 36px;
  width: 34%;
  height: 132px;
  background: #24372f;
}

.retail-visual span:nth-child(1) {
  left: 60px;
  top: 56px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--gold);
}

.retail-visual span:nth-child(2) {
  right: 62px;
  bottom: 54px;
  width: 28%;
  height: 18px;
  background: var(--aqua);
}

.retail-visual span:nth-child(3) {
  right: 62px;
  bottom: 90px;
  width: 22%;
  height: 18px;
  background: #fff;
}

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

.package-card {
  min-height: 380px;
  padding: 28px;
}

.package-featured {
  border-color: var(--forest);
  box-shadow: var(--shadow);
}

.price {
  margin: 18px 0 24px;
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 20px;
}

.package-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua);
  content: "";
}

.offer-note {
  width: min(1200px, 100%);
  margin: 18px auto 0;
  padding: 20px 24px;
  border-left: 4px solid var(--coral);
  background: #fff;
  color: var(--muted);
  font-weight: 750;
}

.offer-note p {
  margin: 0;
}

.ownership-section,
.hosting-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.ownership-copy,
.hosting-copy {
  position: sticky;
  top: 104px;
}

.ownership-copy h2,
.hosting-copy h2 {
  max-width: 10ch;
}

.ownership-copy p,
.hosting-copy p {
  max-width: 560px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--forest);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(18, 100, 80, 0.32);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.ownership-panel,
.hosting-panel {
  display: grid;
  gap: 16px;
}

.ownership-panel article,
.hosting-panel article {
  padding: 28px;
}

.ownership-panel article:nth-child(1),
.hosting-panel article:nth-child(1) {
  border-color: var(--forest);
  box-shadow: var(--shadow);
}

.hosting-section {
  border-top: 1px solid var(--line);
}

.process-section {
  background: var(--ink);
  color: #fff;
}

.process-section .eyebrow {
  color: var(--aqua);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  counter-increment: process;
}

.process-list li::before {
  display: block;
  margin-bottom: 52px;
  color: var(--gold);
  font-weight: 900;
  content: "0" counter(process);
}

.process-list span {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 88px);
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.contact-copy {
  align-self: center;
}

.contact-copy h2 {
  max-width: 11ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
}

.contact-steps {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-weight: 760;
  list-style: none;
  counter-reset: contact;
}

.contact-steps li {
  position: relative;
  padding-left: 34px;
  counter-increment: contact;
}

.contact-steps li::before {
  position: absolute;
  top: -1px;
  left: 0;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  content: counter(contact);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd3cc;
  border-radius: 8px;
  background: #fbfcf9;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 12px 12px;
}

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

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(79, 184, 177, 0.4);
  outline-offset: 2px;
}

.full-span {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 1080px) {
  .service-grid,
  .package-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .work-card {
    grid-template-columns: minmax(240px, 0.72fr) 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .site-nav {
    display: none;
  }

  .nav-cta {
    padding: 10px 12px;
  }

  .hero,
  .hero-content {
    min-height: 84svh;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(8, 11, 9, 0.9) 0%, rgba(8, 11, 9, 0.68) 100%),
      linear-gradient(0deg, rgba(8, 11, 9, 0.78) 0%, rgba(8, 11, 9, 0.2) 70%);
  }

  h1 {
    max-width: 10ch;
  }

  .hero-stats,
  .section-heading,
  .contact-section,
  .ownership-section,
  .hosting-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .contact-section {
    width: min(100% - 40px, 680px);
  }

  .ownership-section,
  .hosting-section {
    width: min(100% - 40px, 760px);
  }

  .ownership-copy,
  .hosting-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    max-width: 106px;
    line-height: 1.05;
  }

  .nav-cta {
    font-size: 0.8rem;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 82px;
    padding-bottom: 32px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 11.5vw, 3.25rem);
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-stats {
    display: none;
  }

  h2 {
    max-width: 12ch;
  }

  .service-grid,
  .package-grid,
  .process-list,
  .lead-form,
  .work-card {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .service-card,
  .package-card,
  .process-list li {
    min-height: auto;
    padding: 22px;
  }

  .work-visual {
    min-height: 190px;
  }

  .site-footer {
    flex-direction: column;
    padding-right: 16px;
    padding-left: 16px;
  }
}
