/* BuoyLarson — Computer Systems Design and Related Services */

:root {
  --bg: #F8F5EE;
  --surface: #FFFFFF;
  --ink: #1D201B;
  --ink-soft: #54564E;
  --ink-muted: #75776C;
  --forest: #1F3D2B;
  --forest-deep: #152B1D;
  --forest-ink: #22301F;
  --terracotta: #C15A3A;
  --terracotta-deep: #9E4629;
  --sand: #EFE9DC;
  --sand-soft: #F3EFE4;
  --line: #E3DCCB;
  --gold: #C9A24B;
  --white: #FFFFFF;
  --cream: #FBF8F0;
  --shadow-sm: 0 2px 10px rgba(20, 30, 22, 0.06);
  --shadow-md: 0 12px 34px rgba(20, 30, 22, 0.10);
  --radius: 14px;
  --radius-lg: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Georgia", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

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

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: #FFFFFF;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ============ NAVIGATION ============ */

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background-color: var(--forest-deep);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.main-nav.scrolled {
  box-shadow: 0 6px 24px rgba(15, 25, 18, 0.28);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #FFFFFF;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  color: #EAF0E7;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--terracotta);
  transition: width 0.25s ease;
}
.nav-links a:hover {
  color: #FFFFFF;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 20px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover {
  background: var(--terracotta-deep);
  transform: translateY(-2px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */

.hero-section {
  position: relative;
  background: linear-gradient(160deg, var(--forest-deep) 0%, var(--forest) 55%, #2C5340 100%);
  color: #FFFFFF;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 96px), 0 100%);
  padding: 176px 0 176px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F2D9C4;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--terracotta);
}
.hero-inner h1 {
  color: #FFFFFF;
  font-size: 3.6rem;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 14ch;
}
.hero-inner h1 em {
  font-style: normal;
  color: #F0B98E;
}
.hero-lede {
  color: #DDE5D6;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--terracotta);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--terracotta-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(193, 90, 58, 0.4);
}
.btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}
.hero-panel {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.30);
}
.hero-panel .panel-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.hero-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.hero-panel p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.panel-list .tick {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E7F0E9;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

/* ============ STATEMENT ROWS ============ */

.statement-section {
  padding: 120px 0 100px;
}
.statement-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.statement-num {
  font-family: "Fraunces", serif;
  font-size: 3.4rem;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1;
}
.statement-body h2 {
  font-size: 2.1rem;
  margin-bottom: 18px;
}
.statement-body p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 70ch;
  margin-bottom: 16px;
}
.statement-body p:last-child {
  margin-bottom: 0;
}
.statement-tag {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

/* ============ SERVICES ============ */

.services-section {
  background: var(--sand-soft);
  padding: 110px 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section-kicker {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 2.7rem;
  margin-bottom: 18px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.service-row:last-child {
  border-bottom: 1px solid var(--line);
}
.service-index {
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  color: var(--terracotta);
  font-weight: 600;
}
.service-row h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.service-row p {
  color: var(--ink-soft);
  font-size: 1rem;
}
.service-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-points li {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ============ STATS BAND ============ */

.stats-section {
  background: var(--forest);
  color: #FFFFFF;
  padding: 90px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-value {
  font-family: "Fraunces", serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-value .suffix {
  color: #F0B98E;
}
.stat-label {
  color: #C7D2BE;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============ PROCESS ============ */

.process-section {
  padding: 110px 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.process-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.process-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Fraunces", serif;
  font-size: 3rem;
  color: var(--sand);
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}
.process-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.process-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ============ INDUSTRIES ============ */

.industries-section {
  background: var(--cream);
  padding: 110px 0;
}
.industry-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.industry-band:first-of-type {
  border-top: 1px solid var(--line);
}
.industry-band h3 {
  font-size: 1.7rem;
}
.industry-band p {
  color: var(--ink-soft);
  max-width: 46ch;
}
.industry-band .arrow {
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  color: var(--terracotta);
}

/* ============ CTA + CONTACT ============ */

.contact-section {
  padding: 110px 0 90px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.contact-info p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 46ch;
}
.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--ink);
}
.contact-details .cd-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--forest);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
  color: var(--ink);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px #F3E1D8;
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 12px;
}
.form-success {
  display: none;
  margin-top: 16px;
  background: #E7F0E9;
  color: var(--forest);
  font-weight: 600;
  padding: 13px 16px;
  border-radius: 10px;
}
.form-success.show {
  display: block;
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--forest-deep);
  color: #C9D4C2;
  padding: 34px 0;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #FFFFFF;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  color: #C9D4C2;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #FFFFFF;
}
.footer-copy {
  font-size: 0.85rem;
  color: #93A48E;
}

/* ============ REVEAL ============ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-inner h1 {
    font-size: 2.8rem;
  }
  .service-row {
    grid-template-columns: 60px 1fr;
  }
  .service-row .service-points {
    grid-column: 2;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--forest-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-section {
    padding: 150px 0 150px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
  }
  .hero-inner h1 {
    font-size: 2.35rem;
  }
  .statement-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .statement-num {
    font-size: 2.6rem;
  }
  .section-head h2 {
    font-size: 2.1rem;
  }
}
