/* Dataservicepath — immersive slate & copper consulting theme */
:root {
  --ink: #101722;
  --slate: #1c2a3a;
  --slate-mid: #2a3f55;
  --frost: #e9eef3;
  --paper: #f3f6f8;
  --copper: #c17a4a;
  --copper-deep: #9a5e36;
  --teal: #4a7c7c;
  --text: #1a2430;
  --muted: #5c6b7a;
  --line: rgba(28, 42, 58, 0.14);
  --danger: #a33a32;
  --ok: #2a6b58;
  --radius: 4px;
  --shadow-soft: 0 16px 36px rgba(16, 23, 34, 0.1);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Literata", Georgia, serif;
  --header-h: 74px;
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 0% -5%, rgba(193, 122, 74, 0.12), transparent 55%),
    radial-gradient(800px 480px at 100% 5%, rgba(74, 124, 124, 0.1), transparent 50%),
    linear-gradient(165deg, var(--paper) 0%, var(--frost) 42%, #e4ebf1 100%);
  line-height: 1.68;
  min-height: 100vh;
  font-size: 1.05rem;
}

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

a {
  color: var(--slate-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--copper-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.inline-error {
  background: #f8e6e4;
  color: var(--danger);
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(163, 58, 50, 0.25);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(243, 246, 248, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 5px;
  background:
    linear-gradient(135deg, var(--copper) 0%, #d4a574 40%, var(--teal) 41%, var(--slate) 100%);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--slate);
  letter-spacing: -0.01em;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--copper-deep);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-toggle-bar {
  top: 50%;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(243, 246, 248, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }

  .site-nav.is-open {
    max-height: 420px;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.85rem;
  }
}

/* Hero */
.hero-bleed {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(105deg, rgba(16, 23, 34, 0.88) 0%, rgba(16, 23, 34, 0.55) 48%, rgba(16, 23, 34, 0.28) 100%),
    var(--hero-image) center / cover no-repeat;
  color: #f5f7fa;
  overflow: hidden;
  animation: hero-fade 1.1s var(--ease) both;
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-content {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.5rem;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  color: #fff;
  animation: rise 0.9s 0.15s var(--ease) both;
}

.hero-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  max-width: 18ch;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: #f0f3f6;
  animation: rise 0.9s 0.28s var(--ease) both;
}

.hero-support {
  max-width: 38ch;
  font-size: 1.05rem;
  color: rgba(243, 246, 248, 0.86);
  margin: 0 0 1.6rem;
  animation: rise 0.9s 0.4s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(28, 42, 58, 0.06), transparent),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.page-hero .lead {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.12rem;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.25rem 0;
}

.section-tight {
  padding: 2.75rem 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.65rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 54ch;
}

.muted {
  color: var(--muted);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split-2 {
  grid-template-columns: 1.1fr 0.9fr;
}

.split-reverse {
  grid-template-columns: 1fr 1.05fr;
}

@media (max-width: 860px) {
  .split-2,
  .split-reverse {
    grid-template-columns: 1fr;
  }
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(16, 23, 34, 0.18));
  pointer-events: none;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.03);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.btn-primary,
.btn-copper {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper-deep);
}

.btn-primary:hover,
.btn-copper:hover {
  background: var(--copper-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.section .btn-secondary,
.cookie-banner .btn-secondary,
.page-hero .btn-secondary,
.form-panel .btn-secondary {
  color: var(--slate);
  border-color: var(--line);
  background: #fff;
}

.section .btn-secondary:hover,
.cookie-banner .btn-secondary:hover,
.form-panel .btn-secondary:hover {
  border-color: var(--slate-mid);
  color: var(--ink);
  background: var(--frost);
}

.btn-ghost {
  background: var(--ink);
  color: #fff;
}

.btn-ghost:hover {
  background: var(--slate);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  animation: rise 0.9s 0.5s var(--ease) both;
}

/* Cards / items — used only for interactive course/blog links */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

.item-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.item-card:hover {
  border-color: rgba(193, 122, 74, 0.45);
  transform: translateY(-3px);
  color: inherit;
}

.item-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.item-body {
  padding: 1.2rem 1.25rem 1.35rem;
}

.item-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.item-body p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
}

.item-meta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--teal);
  letter-spacing: 0.02em;
}

/* Stats / quotes */
.quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.7;
  color: var(--copper);
  margin: 0;
}

blockquote {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--ink);
}

.stat-row {
  display: grid;
  gap: 1.25rem;
}

.stat {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.benefit-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.benefit-list li {
  padding-left: 1.4rem;
  position: relative;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--copper);
  border-radius: 1px;
}

.benefit-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.band {
  background: var(--ink);
  color: rgba(243, 246, 248, 0.9);
  padding: 4rem 0;
}

.band h2 {
  color: #fff;
}

.band .lead {
  color: rgba(243, 246, 248, 0.72);
}

.band a:not(.btn) {
  color: #d4a574;
}

.cta-panel {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

@media (min-width: 720px) {
  .cta-panel {
    grid-template-columns: 1.4fr auto;
  }
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

.price-tier {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
}

.price-tier.is-featured {
  border-color: var(--copper);
  box-shadow: var(--shadow-soft);
}

.price-tier h3 {
  font-size: 1.35rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.5rem 0 1rem;
}

.price-tier ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.price-tier li {
  margin-bottom: 0.45rem;
}

/* Reviews */
.review-stack {
  display: grid;
  gap: 1.75rem;
}

.review {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.review .stars {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--copper-deep);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.review h3 {
  font-size: 1.25rem;
}

.case-study {
  background: #fff;
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  margin-top: 2rem;
}

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: var(--radius);
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--paper);
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(193, 122, 74, 0.35);
  border-color: var(--copper);
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
  min-height: 1.1em;
}

.form-status {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.form-status.is-success {
  color: var(--ok);
}

.form-status.is-error {
  color: var(--danger);
}

.address-block address {
  font-style: normal;
  margin-bottom: 1rem;
}

/* Legal / prose */
.prose {
  max-width: 68ch;
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 2.25rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.25rem 0;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--frost);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

/* Course detail */
.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: mod;
}

.module-list li {
  counter-increment: mod;
  padding: 1.25rem 0 1.25rem 3rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--copper);
  font-size: 0.95rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list summary {
  font-family: var(--font-display);
  font-weight: 650;
  cursor: pointer;
  color: var(--ink);
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
}

.instructor img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 520px) {
  .instructor {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(243, 246, 248, 0.78);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.65rem;
}

.footer-tag {
  margin: 0;
  max-width: 28ch;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: rgba(243, 246, 248, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: #d4a574;
}

.footer-address {
  font-style: normal;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-legal {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 520px;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  animation: rise 0.45s var(--ease) both;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-page h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.avatar-row img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.checklist li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.checklist strong {
  color: var(--ink);
  font-family: var(--font-display);
}
