/* Aurora Sandstorm — enterprisedataflow */
:root {
  --sand-50: #f7f1e6;
  --sand-100: #eee4d2;
  --sand-200: #e0d0b4;
  --sand-300: #cbb892;
  --sand-800: #4a3f32;
  --sand-900: #2f2922;
  --aurora: #2bb673;
  --aurora-soft: #7fe0b4;
  --aurora-deep: #1a7a52;
  --violet: #7b6bb5;
  --violet-soft: #b5a8d9;
  --violet-haze: rgba(123, 107, 181, 0.28);
  --gold: #e6c96a;
  --gold-soft: #f3e6b0;
  --surface: rgba(247, 241, 230, 0.72);
  --line: rgba(74, 63, 50, 0.14);
  --shadow: 0 18px 50px rgba(47, 41, 34, 0.08);
  --radius: 4px;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--sand-900);
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, rgba(127, 224, 180, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 5%, rgba(123, 107, 181, 0.28), transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 90%, rgba(230, 201, 106, 0.18), transparent 55%),
    linear-gradient(165deg, var(--sand-50) 0%, var(--sand-100) 45%, #e8dcc6 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 0;
}

main,
.site-header,
.site-footer,
.cookie-banner {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--aurora-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--violet);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: 0.06em; }

p { margin: 0 0 1rem; }

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 241, 230, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

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

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--gold-soft), transparent 45%),
    radial-gradient(circle at 70% 60%, var(--aurora-soft), transparent 50%),
    linear-gradient(135deg, var(--violet), var(--aurora));
  box-shadow: 0 0 18px rgba(43, 182, 115, 0.35);
  animation: aurora-pulse 7s ease-in-out infinite;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--sand-800);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--sand-900);
  margin: 0 auto;
  position: relative;
  transition: transform 0.25s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

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

/* Buttons */
.btn {
  --dust: rgba(230, 201, 106, 0.55);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--aurora-deep), var(--aurora) 45%, var(--violet));
  color: #f8f4ec;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 28px rgba(26, 122, 82, 0.22);
}

.btn::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(circle at 20% 50%, var(--dust), transparent 40%),
    radial-gradient(circle at 70% 40%, rgba(127, 224, 180, 0.45), transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(181, 168, 217, 0.4), transparent 40%);
  opacity: 0;
  transform: translateX(-30%) rotate(8deg);
  transition: opacity 0.35s ease, transform 0.7s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 34px rgba(123, 107, 181, 0.28);
}

.btn:hover::before {
  opacity: 1;
  transform: translateX(18%) rotate(0deg);
}

.btn-ghost {
  background: transparent;
  color: var(--sand-900);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  color: var(--sand-900);
  background: rgba(255, 255, 255, 0.35);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  color: var(--sand-800);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* Hero — full-bleed atmospheric composition */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--sand-50);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  animation: drift-slow 28s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(47, 41, 34, 0.25) 0%, rgba(47, 41, 34, 0.55) 45%, rgba(47, 41, 34, 0.82) 100%),
    radial-gradient(ellipse at 20% 30%, rgba(43, 182, 115, 0.35), transparent 45%),
    radial-gradient(ellipse at 85% 20%, rgba(123, 107, 181, 0.4), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 10vh, 6rem) 0 clamp(3.5rem, 8vh, 5rem);
  max-width: 40rem;
}

.hero .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  text-transform: lowercase;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  animation: rise-in 0.9s ease both;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  max-width: 22ch;
  margin-bottom: 1rem;
  animation: rise-in 0.9s ease 0.12s both;
}

.hero .lede {
  font-size: 1.08rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: rgba(247, 241, 230, 0.9);
  max-width: 36ch;
  animation: rise-in 0.9s ease 0.22s both;
}

.hero .btn-row {
  animation: rise-in 0.9s ease 0.32s both;
}

.hero .btn-ghost {
  color: var(--sand-50);
  border-color: rgba(247, 241, 230, 0.35);
}

.hero .btn-ghost:hover {
  background: rgba(247, 241, 230, 0.12);
  color: #fff;
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.page-hero .brand-line {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.07em;
  text-transform: lowercase;
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero p {
  max-width: 40rem;
  color: var(--sand-800);
}

.page-hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: end;
}

.page-hero-split img {
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  mask-image: linear-gradient(120deg, #000 70%, transparent);
}

/* Service preview list — no cards */
.offer-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.offer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.3s ease, background 0.3s ease;
}

.offer-row:hover {
  padding-left: 0.75rem;
  background: linear-gradient(90deg, rgba(127, 224, 180, 0.12), transparent 60%);
}

.offer-row h3 {
  margin: 0 0 0.35rem;
}

.offer-row p {
  margin: 0;
  color: var(--sand-800);
  max-width: 48ch;
  font-size: 0.98rem;
}

.offer-meta {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--violet);
  white-space: nowrap;
}

/* Evidence / quotes */
.quote-rail {
  display: grid;
  gap: 2rem;
}

.quote-block {
  padding-left: 1.25rem;
  border-left: 2px solid var(--aurora);
}

.quote-block blockquote {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.quote-block cite {
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--sand-800);
}

/* Process steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--violet);
}

.step p:last-child {
  margin-bottom: 0;
  color: var(--sand-800);
}

/* Feature band */
.band {
  background:
    linear-gradient(120deg, rgba(43, 182, 115, 0.12), rgba(123, 107, 181, 0.14) 50%, rgba(230, 201, 106, 0.1));
  border-block: 1px solid var(--line);
}

.band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.band img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Blog */
.post-list {
  display: grid;
  gap: 2.5rem;
}

.post-item {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: 1.75rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
}

.post-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
}

.post-item time {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--violet);
  text-transform: uppercase;
}

.post-body {
  max-width: 42rem;
}

.post-body p {
  color: var(--sand-800);
}

.prose {
  max-width: 42rem;
}

.prose p + p {
  margin-top: 1rem;
}

.cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  filter: saturate(0.9);
}

.team-person .role {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--violet);
  margin-bottom: 0.5rem;
}

/* Forms */
.form {
  max-width: 36rem;
  display: grid;
  gap: 1.15rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  color: var(--sand-900);
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--aurora-soft);
  outline-offset: 1px;
}

.form-field .error {
  color: #9b3b3b;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.form-status[data-state="success"] {
  background: rgba(43, 182, 115, 0.18);
  color: var(--aurora-deep);
}

.form-status[data-state="error"] {
  background: rgba(155, 59, 59, 0.12);
  color: #7a2e2e;
}

.form-status[hidden] {
  display: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.contact-aside {
  padding-top: 0.5rem;
}

.contact-aside p {
  color: var(--sand-800);
}

/* Legal */
.legal {
  max-width: 44rem;
}

.legal h2 {
  margin-top: 2.25rem;
  font-size: 1.35rem;
}

.legal ul {
  padding-left: 1.2rem;
  color: var(--sand-800);
}

/* Service detail */
.service-hero-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

.include-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.include-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  padding-left: 1.25rem;
  position: relative;
}

.include-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 10px var(--aurora-soft);
}

.price-note {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--sand-800);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(47, 41, 34, 0.04);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-address {
  color: var(--sand-800);
  font-size: 0.95rem;
}

.footer-heading {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--sand-800);
}

.footer-links a:hover {
  color: var(--aurora-deep);
}

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--sand-800);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(47, 41, 34, 0.92);
  color: var(--sand-50);
  padding: 1rem 0;
  border-top: 1px solid rgba(230, 201, 106, 0.25);
  backdrop-filter: blur(10px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  max-width: 48rem;
  font-size: 0.95rem;
  font-weight: 300;
}

.cookie-banner a {
  color: var(--gold-soft);
}

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

.cookie-error {
  color: #f3b4b4;
  text-align: center;
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  align-content: center;
  padding: 4rem 0;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  letter-spacing: 0.12em;
  background: linear-gradient(120deg, var(--aurora), var(--violet), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1;
}

/* CTA strip */
.cta-strip {
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.cta-strip p {
  max-width: 34rem;
  margin-inline: auto;
  color: var(--sand-800);
}

.cta-strip .btn-row {
  justify-content: center;
}

/* Animations */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-slow {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, 1%, 0); }
}

@keyframes aurora-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(43, 182, 115, 0.3); }
  50% { box-shadow: 0 0 26px rgba(123, 107, 181, 0.45); }
}

@media (max-width: 900px) {
  .page-hero-split,
  .band-inner,
  .contact-layout,
  .footer-grid,
  .post-item,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-split img,
  .band img {
    height: 260px;
    mask-image: none;
  }

  .offer-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1.5rem;
    background: rgba(247, 241, 230, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero {
    min-height: 85vh;
  }
}
