:root {
  --ink: #16272c;
  --ink-2: #24343a;
  --petrol: #214f5b;
  --petrol-dark: #102c34;
  --petrol-soft: #e2edf0;
  --gold: #d49a2f;
  --gold-dark: #a66f18;
  --gold-soft: #f0d9a3;
  --ivory: #f8f6f0;
  --surface: #ffffff;
  --sage: #6d7d67;
  --clay: #b66b4f;
  --muted: #5f6b68;
  --line: #d9ddd6;
  --line-strong: #c7cec6;
  --shadow: 0 22px 70px rgba(22, 39, 44, 0.13);
  --shadow-soft: 0 16px 44px rgba(22, 39, 44, 0.1);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 36px;
  background: rgba(248, 246, 240, 0.94);
  border-bottom: 1px solid rgba(217, 221, 214, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-phone {
  color: var(--ink);
  font-weight: 900;
}

.nav-phone:hover {
  color: var(--petrol);
}

.nav-cta {
  color: var(--petrol) !important;
  font-weight: 900;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--petrol);
  outline: none;
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 86svh;
  padding: 86px 36px 74px;
  color: var(--ivory);
  background:
    linear-gradient(135deg, rgba(22, 39, 44, 1) 0%, rgba(16, 44, 52, 0.98) 54%, rgba(33, 79, 91, 0.94) 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(248, 246, 240, 0), var(--ivory));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.hero-content {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--petrol);
}

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

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.25rem;
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(248, 246, 240, 0.8);
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  color: var(--ivory);
  background: var(--petrol);
  border-color: var(--petrol);
}

.button-primary:hover {
  background: var(--petrol-dark);
  border-color: var(--petrol-dark);
}

.button-secondary {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.button-secondary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--ivory);
}

.hero .button-primary {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.hero .button-primary:hover {
  color: var(--ivory);
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.hero .button-secondary {
  color: var(--ivory);
  background: transparent;
  border-color: rgba(248, 246, 240, 0.42);
}

.hero .button-secondary:hover {
  background: rgba(248, 246, 240, 0.1);
  border-color: rgba(248, 246, 240, 0.72);
}

.hero-microcopy {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(248, 246, 240, 0.72);
  font-size: 0.96rem;
}

.hero-microcopy a {
  color: var(--gold-soft);
  font-weight: 800;
}

.hero-microcopy a:hover {
  color: var(--ivory);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 48px 0 0;
}

.hero-proof div {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.hero-proof dt {
  color: var(--ivory);
  font-weight: 900;
}

.hero-proof dd {
  margin: 2px 0 0;
  color: rgba(248, 246, 240, 0.68);
  font-size: 0.92rem;
}

.hero-media {
  display: grid;
  gap: 14px;
}

.hero-image-card,
.system-preview {
  border: 1px solid rgba(248, 246, 240, 0.16);
  border-radius: var(--radius);
  background: rgba(248, 246, 240, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.hero-image-card {
  aspect-ratio: 1.55;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

.system-preview {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 12px;
  padding: 14px;
  background: var(--petrol-dark);
}

.preview-window {
  border: 1px solid rgba(248, 246, 240, 0.18);
  border-radius: var(--radius);
  padding: 14px;
}

.preview-window.light {
  color: var(--ink);
  background: rgba(248, 246, 240, 0.94);
}

.preview-window.dark {
  color: var(--ivory);
  background: rgba(22, 39, 44, 0.86);
}

.preview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 900;
}

.preview-title b {
  border-radius: var(--radius);
  padding: 5px 8px;
  color: var(--ink);
  background: var(--gold);
  font-size: 0.68rem;
}

.preview-row {
  display: grid;
  grid-template-columns: 1fr 68px;
  gap: 8px;
  margin-top: 8px;
}

.preview-row i,
.preview-row strong {
  display: block;
  min-height: 30px;
  border-radius: var(--radius);
  background: var(--petrol-soft);
}

.preview-window.dark .preview-row i,
.preview-window.dark .preview-row strong {
  background: rgba(226, 237, 240, 0.92);
}

.preview-row strong {
  background: var(--gold-soft);
}

.preview-row strong.quiet {
  background: rgba(226, 237, 240, 0.68);
}

.section,
.intro {
  padding: 92px 36px;
}

.band-light {
  background: var(--ivory);
}

.band-muted {
  background: #edf1ee;
}

.band-dark {
  color: var(--ivory);
  background: var(--ink);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.intro-grid p:last-child {
  margin: 42px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 38px;
}

.section-heading.compact {
  width: min(900px, 100%);
}

.section-heading p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.work-card,
.service-card,
.fit-columns article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.work-card {
  display: grid;
  grid-template-rows: 285px 1fr;
  overflow: hidden;
}

.work-visual {
  position: relative;
  min-height: 285px;
  padding: 24px;
  overflow: hidden;
}

.bidrelay-preview {
  background:
    linear-gradient(135deg, rgba(22, 39, 44, 0.96), rgba(33, 79, 91, 0.88)),
    var(--petrol-dark);
}

.preview-topbar {
  width: 62%;
  height: 22px;
  border-radius: var(--radius);
  background: rgba(248, 246, 240, 0.72);
}

.kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.kanban div {
  min-height: 185px;
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(248, 246, 240, 0.86);
}

.kanban span,
.lead-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--petrol);
  font-size: 0.82rem;
  font-weight: 900;
}

.kanban b,
.lead-panel b {
  display: block;
  min-height: 36px;
  margin-top: 10px;
  border-radius: 6px;
  padding: 8px;
  color: var(--ink);
  background: var(--ivory);
  font-size: 0.82rem;
  font-weight: 800;
}

.textback-preview {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(16, 44, 52, 0.98), rgba(182, 107, 79, 0.8)),
    var(--petrol-dark);
}

.phone-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
  border: 8px solid var(--ink);
  border-radius: 24px;
  padding: 20px 14px;
  background: var(--ivory);
}

.bubble {
  width: 84%;
  height: 26px;
  border-radius: var(--radius);
  background: var(--petrol-soft);
}

.bubble.outgoing {
  align-self: flex-end;
  background: var(--petrol);
}

.bubble.short {
  width: 58%;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: auto;
}

.photo-row span {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--gold-soft);
}

.lead-panel {
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(248, 246, 240, 0.92);
}

.work-body {
  padding: 28px;
}

.tag {
  display: inline-flex;
  margin: 0 0 16px;
  border-radius: var(--radius);
  padding: 6px 10px;
  color: var(--petrol-dark);
  background: var(--petrol-soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.work-body p:not(.tag) {
  color: var(--muted);
}

.feature-list,
.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 22px;
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--petrol);
}

.check-list.amber li::before {
  background: var(--gold);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.service-card {
  min-height: 190px;
  padding: 24px;
  box-shadow: none;
}

.service-card h3 {
  position: relative;
  padding-top: 16px;
}

.service-card h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

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

.process-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 72px;
}

.sticky-heading {
  position: sticky;
  top: 104px;
  align-self: start;
  margin-bottom: 0;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
}

.process-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: 64px;
  align-items: start;
}

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

.fit-columns article {
  min-height: 330px;
  padding: 26px;
  color: var(--ivory);
  background: var(--petrol-dark);
  border-color: rgba(248, 246, 240, 0.12);
  box-shadow: none;
}

.fit-columns .check-list li {
  color: rgba(248, 246, 240, 0.78);
}

.contact-section {
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(420px, 1.14fr);
  gap: 56px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-note {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  border-left: 4px solid var(--gold);
  padding: 12px 0 12px 18px;
}

.contact-direct {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-direct li {
  display: grid;
  gap: 2px;
}

.contact-direct span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-direct a {
  color: var(--petrol);
  font-size: 1.2rem;
  font-weight: 900;
}

.contact-direct a:hover {
  color: var(--petrol-dark);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-contact a {
  color: var(--petrol);
  font-weight: 800;
}

.footer-contact a:hover {
  color: var(--petrol-dark);
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdfa;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--petrol);
  box-shadow: 0 0 0 4px rgba(33, 79, 91, 0.12);
}

.form-reassure {
  grid-column: 1 / -1;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--petrol);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 36px;
  color: var(--muted);
  background: #edf1ee;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  font-weight: 900;
}

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

  .site-nav {
    gap: 14px;
  }

  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-inner,
  .intro-grid,
  .process-layout,
  .fit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-content {
    width: min(760px, 100%);
  }

  .intro-grid p:last-child {
    margin-top: 0;
  }

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

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 16px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 0;
  }

  .hero {
    min-height: auto;
    padding: 72px 18px 58px;
  }

  .hero-inner {
    gap: 28px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.08rem;
  }

  .hero-copy {
    font-size: 1.06rem;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .system-preview {
    grid-template-columns: 1fr;
  }

  .section,
  .intro {
    padding: 66px 18px;
  }

  .work-card {
    grid-template-rows: auto 1fr;
  }

  .work-visual {
    min-height: 250px;
    padding: 18px;
  }

  .kanban {
    gap: 8px;
  }

  .kanban div {
    min-height: 160px;
    padding: 9px;
  }

  .kanban b,
  .lead-panel b {
    font-size: 0.74rem;
  }

  .textback-preview {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    min-height: 190px;
    max-width: 220px;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .site-footer {
    padding: 24px 18px;
  }
}

@media (max-width: 430px) {
  .brand span:last-child {
    max-width: 168px;
    white-space: normal;
  }

  h1 {
    font-size: 2.75rem;
  }

  .button {
    width: 100%;
  }

  .preview-row {
    grid-template-columns: 1fr 54px;
  }
}

@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;
  }
}
