/* Webmapleway — contemporary structured + creative theme */
:root {
  --bg: #eef2f1;
  --bg-deep: #dfe7e5;
  --surface: #fafcfb;
  --ink: #15201e;
  --ink-soft: #3d4f4b;
  --muted: #5f726d;
  --line: #c5d2ce;
  --accent: #c9782c;
  --accent-hover: #a86220;
  --teal: #1e4d4a;
  --teal-soft: #2a6b66;
  --gold: #e8b86d;
  --error: #8f2d2d;
  --success: #1f6b4a;
  --radius: 6px;
  --radius-lg: 18px;
  --shadow: 0 18px 40px rgba(21, 32, 30, 0.08);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --header-h: 4.25rem;
  --max: 72rem;
  --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.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232, 184, 109, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(30, 77, 74, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-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;
  transition: color 0.2s var(--ease);
}

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

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

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.sr-only {
  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: 1rem;
  top: -4rem;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(238, 242, 241, 0.86);
  border-bottom: 1px solid rgba(197, 210, 206, 0.7);
}

.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.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, var(--teal) 40%, var(--teal-soft)),
    linear-gradient(45deg, transparent 48%, var(--gold) 48%, var(--gold) 52%, transparent 52%);
  box-shadow: inset 0 0 0 2px rgba(232, 184, 109, 0.55);
}

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

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

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

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

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

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

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

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

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  text-decoration: none;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--teal-soft); color: #fff !important; }

.site-main {
  overflow-x: clip;
}

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.lead {
  font-size: 1.15rem;
  max-width: 40rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-secondary {
  background: var(--teal);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--teal-soft);
  color: #fff;
}

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

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

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

/* Hero — full-bleed visual plane */
.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 22s var(--ease) infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(21, 32, 30, 0.25) 0%, rgba(21, 32, 30, 0.72) 55%, rgba(21, 32, 30, 0.88) 100%),
    linear-gradient(90deg, rgba(30, 77, 74, 0.45), transparent 60%);
}

.hero-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 1.25rem 3.5rem;
  width: 100%;
}

.hero .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin: 0 0 0.85rem;
  color: #fff;
  letter-spacing: -0.04em;
  animation: riseIn 0.9s var(--ease) both;
}

.hero h1 {
  color: var(--gold);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600;
  max-width: 28rem;
  margin-bottom: 1rem;
  animation: riseIn 0.9s 0.08s var(--ease) both;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  font-size: 1.1rem;
  animation: riseIn 0.9s 0.16s var(--ease) both;
}

.hero .btn-row { animation: riseIn 0.9s 0.24s var(--ease) both; }

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

@keyframes riseIn {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 22rem;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.offer-item {
  padding: 0;
  border: none;
  background: transparent;
}

.offer-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: transform 0.45s var(--ease);
}

.offer-item a:hover img {
  transform: scale(1.03);
}

.offer-item h3 {
  margin-bottom: 0.4rem;
}

.offer-item p {
  margin: 0;
  font-size: 0.98rem;
}

.quote-block {
  margin: 2.5rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 40rem;
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 1.25rem 2rem;
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

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

.prose {
  max-width: 44rem;
}

.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 1.25rem; }
.prose li { margin-bottom: 0.45rem; }

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

th {
  background: rgba(30, 77, 74, 0.06);
  font-family: var(--font-display);
  font-weight: 650;
}

tr:last-child td { border-bottom: none; }

.rate-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.rate-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.rate-row:first-child { border-top: 1px solid var(--line); }

.rate-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--teal);
  font-weight: 700;
}

.review-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

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

.review:last-child { border-bottom: 1px solid var(--line); }

.review .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.85rem;
}

.story {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.story img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}

.blog-card a {
  text-decoration: none;
  color: inherit;
}

.blog-card h2 {
  font-size: 1.35rem;
}

.meta-line {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.article-hero img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.contact-card p { margin-bottom: 0.55rem; }
.contact-card a { text-decoration: none; font-weight: 600; }

.form {
  display: grid;
  gap: 1rem;
}

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

.form-row label {
  font-weight: 650;
  font-size: 0.92rem;
}

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

.form-row textarea { min-height: 9rem; resize: vertical; }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(201, 120, 44, 0.35);
  border-color: var(--accent);
}

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

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(31, 107, 74, 0.12);
  color: var(--success);
}

.form-status.is-error {
  display: block;
  background: rgba(143, 45, 45, 0.1);
  color: var(--error);
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: rgba(143, 45, 45, 0.1);
  color: var(--error);
  border-radius: var(--radius);
}

.workshop-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
}

.workshop-item {
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.workshop-item:first-child { border-top: 1px solid var(--line); }

.workshop-date {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal);
}

.team-grid {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.team-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.site-footer {
  margin-top: 2rem;
  background: var(--teal);
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem 1.25rem 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

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

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.75rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-address {
  color: rgba(255, 255, 255, 0.78);
}

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

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

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

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

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
}

.cookie-inner {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.95rem;
}

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

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.flagship-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.flagship-hero img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

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

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 960px) {
  .split,
  .story,
  .contact-grid,
  .flagship-hero,
  .team-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .offer-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .rate-row,
  .workshop-item {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
