/* Web Aspen Core — contemporary structured layout */
:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --paper: #f7f2eb;
  --paper-deep: #ebe3d6;
  --line: #d6cbb8;
  --copper: #c47b3a;
  --copper-deep: #9a5a24;
  --teal: #2f5d56;
  --teal-soft: #3f736a;
  --white: #fffcf8;
  --shadow: 0 18px 40px rgba(28, 25, 23, 0.08);
  --radius: 4px;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
  --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);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 123, 58, 0.12), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(47, 93, 86, 0.1), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.inline-error {
  background: #fde8e4;
  color: #8a2f1f;
  padding: 0.75rem 1rem;
  border-left: 3px solid #c44a32;
  margin: 0.5rem 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 242, 235, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border: 2px solid var(--copper);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 4px var(--paper), 0 0 0 1px var(--teal);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: width 0.35s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

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

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.55rem 0.95rem !important;
  border-radius: var(--radius);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--copper-deep);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.25rem;
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0.25rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  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(-2px);
}

.btn-primary {
  background: var(--copper);
  color: var(--white);
}

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

.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

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

/* Hero variants */
.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}

.hero-visual:hover img {
  transform: scale(1.06);
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.15rem;
  background: linear-gradient(transparent, rgba(28, 25, 23, 0.78));
  color: var(--white);
  font-size: 0.88rem;
}

.hero-band {
  padding: 4rem 0 3rem;
  background:
    linear-gradient(120deg, rgba(28, 25, 23, 0.72), rgba(47, 93, 86, 0.55)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
}

.hero-band h1,
.hero-band p {
  color: var(--white);
}

.page-hero {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

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

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

  .hero-visual {
    min-height: 280px;
  }

  .hero-visual img {
    min-height: 280px;
  }
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 0.5rem;
}

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

.divider {
  height: 1px;
  background: var(--line);
  margin: 0.5rem 0 2rem;
}

/* Offer / workshop cards — interaction containers */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.offer-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.offer-card .body {
  padding: 1.2rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offer-card .body p {
  flex: 1;
}

.offer-card a.more {
  font-weight: 700;
  text-decoration: none;
  color: var(--copper-deep);
}

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

/* Process strip */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.process-item {
  padding: 1.25rem;
  background: rgba(255, 252, 248, 0.7);
  border-top: 3px solid var(--teal);
}

.process-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--copper);
  margin-bottom: 0.5rem;
}

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

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

/* Quote / evidence */
.quote-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  padding: 2.25rem;
  border-radius: var(--radius);
}

.quote-panel blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.35;
}

.quote-panel cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.92rem;
  color: rgba(247, 242, 235, 0.75);
}

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

@media (max-width: 800px) {
  .quote-panel {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table th {
  font-family: var(--font-display);
  background: rgba(47, 93, 86, 0.08);
}

.rate-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--copper);
  background: rgba(196, 123, 58, 0.08);
}

/* Reviews */
.review-list {
  display: grid;
  gap: 1.25rem;
}

.review {
  padding: 1.5rem;
  background: var(--white);
  border-left: 3px solid var(--teal);
}

.review .who {
  font-weight: 700;
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.case-study {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
  align-items: start;
}

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

@media (max-width: 800px) {
  .case-study {
    grid-template-columns: 1fr;
  }
}

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

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card img {
  height: 170px;
  width: 100%;
  object-fit: cover;
}

.blog-card .body {
  padding: 1.15rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.article {
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.article-hero {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

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

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-panel,
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

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

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.field-error {
  color: #8a2f1f;
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
  min-height: 1.1em;
}

.form-status {
  margin-top: 0.85rem;
  font-weight: 600;
}

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

.form-status.is-error {
  color: #8a2f1f;
}

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

/* Curriculum / custom */
.module-list {
  display: grid;
  gap: 1rem;
}

.module {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.module-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--copper);
  line-height: 1;
}

/* Legal */
.legal {
  max-width: 46rem;
  margin: 0 auto 3rem;
}

.legal h2 {
  margin-top: 2rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}

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

/* Footer */
.site-footer {
  margin-top: 4rem;
  background: var(--ink);
  color: rgba(247, 242, 235, 0.82);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.site-footer h2 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.85rem;
}

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

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(247, 242, 235, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-base {
  width: min(100% - 2rem, var(--max));
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 242, 235, 0.15);
  font-size: 0.88rem;
}

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

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 640px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  animation: rise 0.45s var(--ease);
}

.cookie-banner-inner {
  padding: 1.15rem 1.25rem;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

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

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

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

/* 404 */
.error-page {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--copper);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Detail layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.side-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.side-panel ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.side-panel li {
  margin-bottom: 0.4rem;
}

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

  .side-panel {
    position: static;
  }
}

.portrait-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.portrait {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.portrait .body {
  padding: 1rem 1.1rem 1.25rem;
}

@media (max-width: 800px) {
  .portrait-row {
    grid-template-columns: 1fr;
  }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 760px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}
