:root {
  --bg: #f5efe6;
  --bg-soft: #fbf8f1;
  --surface: rgba(255, 252, 246, 0.86);
  --surface-strong: #fffaf2;
  --surface-accent: #eadfce;
  --ink: #2f2522;
  --muted: #665f59;
  --line: rgba(71, 49, 39, 0.12);
  --line-strong: rgba(71, 49, 39, 0.2);
  --accent: #b96251;
  --accent-deep: #77463f;
  --accent-soft: #efd2bf;
  --studio-blue: #5f7f8c;
  --sage: #c7d6c7;
  --peach: #f0d7ca;
  --gold: #d8ae58;
  --shadow-sm: 0 14px 34px rgba(71, 52, 43, 0.08);
  --shadow-lg: 0 28px 70px rgba(71, 52, 43, 0.13);
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container-wide: 1220px;
  --container: 1100px;
  --container-narrow: 880px;
  --space-1: 0.45rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.4rem;
  --space-5: 1.9rem;
  --space-6: 2.7rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --space-9: 8rem;
  --font-display: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --slow: 700ms;
  --mid: 420ms;
  --fast: 220ms;
  --header-height: 92px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(199, 214, 199, 0.22) 0%, transparent 34%),
    linear-gradient(180deg, #faf4eb 0%, #f4ede3 48%, #f8f5ee 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(0deg, rgba(47, 37, 34, 0.025) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(47, 37, 34, 0.018) 0 1px, transparent 1px 16px);
  mix-blend-mode: multiply;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  position: relative;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  padding: 0.8rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  transition: top var(--fast) var(--ease);
}

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

.site-shell {
  width: min(100% - 2rem, var(--container-wide));
  margin: 0 auto;
}

.site-shell.narrow {
  width: min(100% - 2rem, var(--container-narrow));
}

.site-shell.standard {
  width: min(100% - 2rem, var(--container));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  transition: transform var(--mid) var(--ease), background var(--mid) var(--ease), border-color var(--mid) var(--ease), box-shadow var(--mid) var(--ease);
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.site-header.is-scrolled .header-bar {
  background: rgba(255, 248, 240, 0.78);
  box-shadow: var(--shadow-sm);
  border-color: rgba(71, 49, 39, 0.08);
}

.header-wrap {
  padding: 1rem 0 0;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  min-height: var(--header-height);
  background: rgba(255, 248, 240, 0.4);
  border: 1px solid transparent;
  border-radius: 999px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand img {
  width: 214px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.desktop-nav a,
.footer-links a,
.subnav a {
  position: relative;
  color: var(--muted);
}

.desktop-nav a {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.desktop-nav a[aria-current="page"],
.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 0.93rem;
}

.btn,
.filter-button,
.faq-button,
.chip,
.tag {
  transition: transform var(--fast) var(--ease), box-shadow var(--mid) var(--ease), background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  min-height: 52px;
}

.btn-primary {
  color: #fffaf7;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 14px 34px rgba(143, 93, 81, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(143, 93, 81, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(71, 49, 39, 0.12);
  color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--muted);
  background: transparent;
  border-color: rgba(71, 49, 39, 0.12);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.52);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(71, 49, 39, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: var(--ink);
  position: relative;
  transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--fast) var(--ease), top var(--fast) var(--ease), bottom var(--fast) var(--ease);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  bottom: -6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(86vw, 390px);
  padding: 1.4rem;
  background: rgba(251, 247, 241, 0.98);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
  transform: translateX(-105%);
  transition: transform var(--mid) var(--ease);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.mobile-panel.open {
  transform: translateX(0);
}

.mobile-panel nav {
  display: grid;
  gap: 0.55rem;
}

.mobile-panel nav a {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
}

.mobile-panel nav a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(186, 117, 95, 0.16), rgba(143, 93, 81, 0.12));
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 21, 18, 0.24);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--mid) var(--ease), visibility var(--mid) var(--ease);
  z-index: 94;
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.hero {
  min-height: calc(88vh - var(--header-height));
  padding: 2.2rem 0 4.4rem;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  align-items: end;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  padding: 0.6rem 0.95rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(71, 49, 39, 0.08);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 4.9rem;
  line-height: 1;
  letter-spacing: 0;
  max-width: 12ch;
}

.hero p.lead,
.page-hero p.lead {
  max-width: 42rem;
  font-size: 1.18rem;
  color: var(--muted);
  margin: 1.35rem 0 0;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.hero-anchors a {
  padding: 0.55rem 0.78rem;
  border-bottom: 1px solid rgba(95, 127, 140, 0.28);
  color: var(--muted);
}

.hero-anchors a:hover,
.hero-anchors a:focus-visible {
  color: var(--studio-blue);
  border-color: rgba(95, 127, 140, 0.55);
  outline: none;
}

.hero-meta .chip,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(71, 49, 39, 0.08);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: end;
}

.hero-portrait {
  position: relative;
  width: 100%;
  border-radius: 36px 36px 120px 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.floating-card,
.floating-note {
  position: absolute;
  background: rgba(255, 251, 245, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(71, 49, 39, 0.08);
  box-shadow: var(--shadow-sm);
}

.floating-card {
  left: -1rem;
  bottom: 2rem;
  padding: 1.1rem 1.15rem;
  width: min(240px, 52vw);
  border-radius: 26px;
}

.floating-note {
  top: 3rem;
  right: -1rem;
  width: min(220px, 48vw);
  padding: 0.95rem 1rem;
  border-radius: 22px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat-card {
  padding: 1.3rem 1.25rem 1.15rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(71, 49, 39, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 2.55rem;
  line-height: 1;
  letter-spacing: 0;
}

.stat-card span {
  color: var(--muted);
  display: block;
  margin-top: 0.45rem;
}

.section {
  padding: clamp(4.25rem, 8vw, 7.5rem) 0;
}

.section.soft {
  padding-top: clamp(3.2rem, 5vw, 4.8rem);
}

.section.tight {
  padding-top: clamp(2.5rem, 4vw, 3.8rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.section-copy {
  max-width: 42rem;
}

.section-header h2,
.section-header h3,
.stack h2,
.stack h3,
.content-card h2,
.content-card h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-header h2 {
  font-size: 3rem;
  max-width: 12ch;
}

.section-header p,
.stack p,
.content-card p,
.text-block p,
.card p,
.feature p,
.page-hero p {
  color: var(--muted);
}

.surface-panel {
  position: relative;
  padding: clamp(1.3rem, 2vw, 1.8rem);
  background: rgba(255, 251, 245, 0.6);
  border: 1px solid rgba(71, 49, 39, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.grid-two,
.grid-three,
.grid-four,
.story-grid,
.contact-grid,
.page-grid,
.pricing-grid,
.gallery-grid,
.teacher-grid,
.testimonial-grid,
.value-grid {
  display: grid;
  gap: 1.25rem;
}

.grid-two,
.story-grid,
.contact-grid,
.page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-three,
.value-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-four,
.teacher-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-card {
  grid-column: span 4;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(71, 49, 39, 0.08);
}

.gallery-card.tall {
  grid-column: span 5;
}

.gallery-card.wide {
  grid-column: span 7;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card.tall img {
  aspect-ratio: 4 / 5;
}

.gallery-card .content {
  padding: 1.15rem 1.2rem 1.3rem;
}

.card,
.feature,
.teacher-card,
.pricing-card,
.testimonial-card,
.faq-item,
.info-card,
.course-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 251, 245, 0.74);
  border: 1px solid rgba(71, 49, 39, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease), border-color var(--mid) var(--ease);
}

.card,
.feature,
.pricing-card,
.testimonial-card,
.info-card,
.course-card {
  padding: 1.45rem;
}

.card:hover,
.feature:hover,
.teacher-card:hover,
.pricing-card:hover,
.testimonial-card:hover,
.info-card:hover,
.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 127, 140, 0.22);
  box-shadow: 0 22px 48px rgba(71, 52, 43, 0.12);
}

.card h3,
.feature h3,
.pricing-card h3,
.teacher-card h3,
.course-card h3,
.faq-button span,
.info-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.tag-row,
.chip-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tag,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.tag {
  background: rgba(186, 117, 95, 0.12);
  color: var(--accent-deep);
}

.pill {
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
}

.story-grid .image-stack,
.contact-map,
.image-frame,
.teacher-card .photo,
.course-card .thumb {
  overflow: hidden;
  border-radius: 28px;
}

.image-frame img,
.teacher-card img,
.course-card img,
.contact-map img {
  width: 100%;
  object-fit: cover;
}

.image-stack {
  position: relative;
  min-height: 100%;
}

.image-stack .primary {
  width: 78%;
  margin-left: auto;
  border-radius: 34px 34px 34px 120px;
}

.image-stack .secondary {
  position: absolute;
  left: 0;
  bottom: -1.2rem;
  width: 45%;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.teacher-card .photo img {
  aspect-ratio: 4 / 5;
}

.teacher-card .content {
  padding: 1.25rem;
}

.teacher-role {
  color: var(--studio-blue);
  font-weight: 600;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(239,225,209,0.9));
  transform: translateY(-8px);
}

.price {
  display: flex;
  align-items: end;
  gap: 0.45rem;
  margin: 1rem 0 1.3rem;
}

.price strong {
  font-size: 3.1rem;
  line-height: 0.9;
  letter-spacing: 0;
}

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

.list li {
  padding-left: 1.45rem;
  position: relative;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.filter-button {
  padding: 0.78rem 1rem;
  border: 1px solid rgba(71, 49, 39, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  background: rgba(186, 117, 95, 0.14);
  color: var(--ink);
  border-color: rgba(186, 117, 95, 0.22);
}

.course-card.hidden {
  display: none;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border: 0;
  background: transparent;
  text-align: left;
}

.faq-button .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-deep);
}

.faq-panel {
  padding: 0 1.3rem 1.25rem;
  color: var(--muted);
}

.faq-item[open] .faq-button .icon {
  transform: rotate(45deg);
}

.contact-grid {
  align-items: start;
}

.info-stack {
  display: grid;
  gap: 1rem;
}

.contact-map iframe {
  width: 100%;
  min-height: 100%;
  border: 0;
}

.form-card {
  padding: clamp(1.35rem, 2vw, 1.8rem);
  border-radius: 30px;
  background: rgba(255, 251, 245, 0.82);
  border: 1px solid rgba(71, 49, 39, 0.08);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 600;
  font-size: 0.96rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(71, 49, 39, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  outline: none;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.filter-button:focus-visible,
.btn:focus-visible,
.desktop-nav a:focus-visible,
.mobile-panel nav a:focus-visible,
.faq-button:focus-visible {
  border-color: rgba(186, 117, 95, 0.4);
  box-shadow: 0 0 0 4px rgba(186, 117, 95, 0.12);
  outline: none;
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid,
.field.error input,
.field.error select,
.field.error textarea {
  border-color: rgba(185, 80, 80, 0.58);
}

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

.error-message {
  color: #9e4f45;
  min-height: 1.1rem;
  font-size: 0.88rem;
}

.consent {
  display: flex;
  align-items: start;
  gap: 0.8rem;
  color: var(--muted);
}

.consent input {
  margin-top: 0.24rem;
}

.page-hero {
  padding: 2rem 0 3rem;
}

.page-hero .surface-panel {
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.subnav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.quote-card {
  padding: 1.5rem;
  border-left: 4px solid rgba(186, 117, 95, 0.42);
  border-radius: 0 26px 26px 0;
  background: rgba(255,255,255,0.48);
}

.cookie-bar {
  position: fixed;
  left: auto;
  right: 1rem;
  bottom: 1rem;
  z-index: 92;
  width: min(calc(100% - 2rem), 680px);
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.94);
  border: 1px solid rgba(71, 49, 39, 0.1);
  box-shadow: 0 16px 44px rgba(71, 52, 43, 0.14);
  display: none;
}

.cookie-bar.show {
  display: block;
}

.cookie-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-bar p {
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-bar .btn {
  min-height: 42px;
  padding: 0.65rem 0.95rem;
}

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

.site-footer {
  padding: 2rem 0 2.5rem;
}

.footer-panel {
  padding: 1.6rem;
  border-radius: 34px;
  background: rgba(255, 251, 245, 0.64);
  border: 1px solid rgba(71, 49, 39, 0.08);
  box-shadow: var(--shadow-sm);
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.footer-top {
  margin-bottom: 1.6rem;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
}

.footer-note {
  color: var(--muted);
  max-width: 29rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.floaty {
  animation: floatY 7.2s ease-in-out infinite;
}

.delay-1 {
  animation-delay: -1.8s;
}

.delay-2 {
  animation-delay: -3.4s;
}

.text-center {
  text-align: center;
}

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

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

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .story-grid,
  .contact-grid,
  .page-grid,
  .grid-four,
  .pricing-grid,
  .grid-three,
  .value-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card,
  .gallery-card.tall,
  .gallery-card.wide {
    grid-column: span 6;
  }

  .desktop-nav {
    display: none;
  }

  .pill-note {
    display: none;
  }

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

  .header-bar {
    padding-right: 0.7rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 82px;
  }

  .hero {
    min-height: 0;
    padding-top: 1.2rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.25rem;
  }

  .hero p.lead,
  .page-hero p.lead {
    font-size: 1.08rem;
  }

  .section-header h2 {
    font-size: 2.35rem;
  }

  .stat-card strong,
  .price strong {
    font-size: 2.35rem;
  }

  .hero-grid,
  .story-grid,
  .contact-grid,
  .page-grid,
  .grid-two,
  .grid-three,
  .grid-four,
  .pricing-grid,
  .testimonial-grid,
  .value-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
  }

  .floating-note {
    top: 1rem;
    right: 0.5rem;
  }

  .floating-card {
    left: 0.5rem;
    bottom: 0.5rem;
  }

  .section-header,
  .footer-top,
  .footer-bottom,
  .cookie-inner {
    flex-direction: column;
    align-items: start;
  }

  .gallery-card,
  .gallery-card.tall,
  .gallery-card.wide {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .site-shell,
  .site-shell.standard,
  .site-shell.narrow {
    width: min(100% - 1.15rem, var(--container-wide));
  }

  .header-wrap {
    padding-top: 0.75rem;
  }

  .header-bar {
    min-height: 76px;
    padding-left: 0.9rem;
  }

  .brand img {
    width: 174px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.55rem;
    max-width: 100%;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cookie-bar {
    left: 0.65rem;
    right: 0.65rem;
    width: auto;
    bottom: 0.65rem;
  }

  .hero-actions,
  .inline-actions,
  .cookie-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .inline-actions .btn,
  .cookie-actions .btn,
  .header-actions .btn {
    width: 100%;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .floating-card,
  .floating-note {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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