@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@300;400;500;600&display=swap");

:root {
  --bg: #e7ebe6;
  --paper: #f7f8f5;
  --ink: #1c2420;
  --muted: #5a655e;
  --line: #c5cdc6;
  --accent: #2f5d4a;
  --stitch: #7a3b4a;
  --soft: #d8e3dc;
  --max: 1080px;
  --display: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(47,93,74,0.03) 11px,
      rgba(47,93,74,0.03) 12px
    ),
    linear-gradient(165deg, #eef1ec 0%, var(--bg) 45%, #dfe6e0 100%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
.wrap { width: min(100% - 2.4rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,248,245,0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px dashed var(--line);
  padding: 1rem 0;
}
.header-inner {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { text-align: left; }
.brand-name {
  font-family: var(--display); font-size: 1.85rem; font-weight: 400;
  letter-spacing: -0.01em; display: block; line-height: 1;
}
.brand-sub {
  display: block; font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-top: 0.35rem;
}
.menu-toggle {
  display: none; background: transparent; border: 1px solid var(--ink);
  padding: 0.5rem 0.85rem; font-family: var(--sans); cursor: pointer; font-size: 0.85rem;
}
.nav-main { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.nav-main a { font-size: 0.9rem; font-weight: 400; }
.nav-main a[aria-current="page"] { color: var(--stitch); }

.hours-bar {
  background: var(--ink); color: var(--paper);
  text-align: center; padding: 0.65rem 1rem; font-size: 0.88rem;
}
.hours-bar strong { color: #c5dbd0; }

.hero {
  min-height: min(86vh, 700px);
  background-size: cover; background-position: center;
  position: relative; display: grid; align-items: end;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,36,32,0.1) 0%, rgba(28,36,32,0.72) 100%);
}
.hero-inner {
  position: relative; z-index: 1; color: #fff;
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto 3.2rem;
  animation: rise 1s ease both;
}
.hero .tag {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 0.8rem; opacity: 0.9;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 400; line-height: 1.05; margin: 0 0 0.7rem; max-width: 13ch;
}
.hero p { max-width: 38ch; margin: 0 0 1.4rem; font-size: 1.02rem; opacity: 0.95; }

.btn {
  display: inline-block; padding: 0.8rem 1.35rem;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500; cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); background: #244a3b; color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-ghost {
  background: transparent; border-color: rgba(255,255,255,0.7); color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-stitch { background: var(--stitch); border-color: var(--stitch); }

.section { padding: 4.3rem 0; }
.section-title {
  font-family: var(--display); font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 400; margin: 0 0 0.5rem; letter-spacing: -0.01em;
}
.section-lead { color: var(--muted); max-width: 48ch; margin: 0 0 2rem; }
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stitch); margin: 0 0 0.55rem; font-weight: 500;
}

.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.service {
  background: var(--paper); border: 1px solid var(--line);
  padding: 0; overflow: hidden;
  transition: transform 0.35s ease;
}
.service:hover { transform: translateY(-4px); }
.service img { width: 100%; height: 210px; object-fit: cover; }
.service .body { padding: 1.3rem 1.35rem 1.5rem; border-top: 1px dashed var(--line); }
.service h3 { font-family: var(--display); font-size: 1.55rem; margin: 0 0 0.45rem; font-weight: 400; }
.service p { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center;
}
.split img { width: 100%; height: 400px; object-fit: cover; }

.hours-panel {
  background: var(--paper); border: 1px dashed var(--line); padding: 1.3rem 1.4rem;
}
.hours-panel h3 {
  margin: 0 0 0.8rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.hours-panel ul { list-style: none; margin: 0; padding: 0; }
.hours-panel li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.4rem 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem;
}
.hours-panel li:last-child { border-bottom: 0; }

.page-hero { padding: 3.2rem 0 1.2rem; }
.page-hero h1 {
  font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.3rem);
  margin: 0 0 0.45rem; font-weight: 400;
}
.page-hero p { color: var(--muted); max-width: 50ch; margin: 0; }

.contact-bits { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-bits h4 {
  margin: 0 0 0.25rem; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.contact-bits p { margin: 0; }

.contact-band {
  background: var(--ink); color: var(--paper); padding: 3.3rem 0; margin-top: 1rem;
}
.contact-band h2 { font-family: var(--display); font-weight: 400; margin: 0 0 0.35rem; }
.contact-band .sub { color: rgba(247,248,245,0.7); margin: 0 0 1.3rem; }
.contact-form { display: grid; gap: 0.7rem; max-width: 500px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 0.75rem 0.85rem; border: 1px solid #3a4540;
  background: #252e2a; color: #fff; font-family: var(--sans); font-size: 1rem;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.form-success {
  display: none; margin-top: 1rem; padding: 0.85rem 1rem;
  background: rgba(47,93,74,0.3); border: 1px solid var(--accent);
}
.form-success.show { display: block; animation: rise 0.4s ease both; }

.class-list { display: grid; gap: 1rem; }
.class-item {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 1.2rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); padding: 1rem 1.2rem;
}
.class-item img { width: 140px; height: 100px; object-fit: cover; }
.class-item h3 { font-family: var(--display); margin: 0 0 0.25rem; font-size: 1.35rem; font-weight: 400; }
.class-item p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.legal { padding: 3rem 0 4rem; max-width: 760px; }
.legal h1 { font-family: var(--display); font-weight: 400; }
.legal h2 { margin-top: 1.8rem; font-size: 1.15rem; }

.site-footer {
  border-top: 1px dashed var(--line); padding: 2.4rem 0;
  background: rgba(247,248,245,0.7);
}
.foot-grid { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1rem 1.3rem; }

.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 100;
  max-width: 500px; background: var(--paper); border: 1px solid var(--line);
  padding: 1.1rem; box-shadow: 0 16px 40px rgba(28,36,32,0.12); display: none;
}
.cookie-banner.show { display: block; animation: rise 0.45s ease both; }
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.cookie-actions button {
  border: 1px solid var(--line); background: #fff; padding: 0.5rem 0.85rem;
  font-family: var(--sans); cursor: pointer; font-size: 0.85rem;
}
.cookie-actions .accept { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-settings-panel { display: none; margin-top: 0.85rem; }
.cookie-settings-panel.open { display: grid; gap: 0.4rem; }

.gallery {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0.8rem;
}
.gallery img { width: 100%; height: 280px; object-fit: cover; }
.gallery-stack { display: grid; gap: 0.8rem; }
.gallery-stack img { height: 136px; }

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

@media (max-width: 900px) {
  .service-grid, .split, .contact-bits, .gallery, .class-item { grid-template-columns: 1fr; }
  .class-item img { width: 100%; height: 160px; }
  .menu-toggle { display: inline-block; }
  .nav-main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); flex-direction: column; padding: 1rem 1.2rem;
    border-bottom: 1px dashed var(--line); gap: 0.8rem;
  }
  .nav-main.open { display: flex; }
  .header-inner { position: relative; }
}
