/* Studio Klavert — warm wood & ivory piano studio */
:root {
  --ivory: #f7f1e6;
  --ivory-deep: #ebe2d2;
  --paper: #fbf7f0;
  --wood: #5c3d28;
  --walnut: #2f1d14;
  --oak: #8b6344;
  --amber: #b8894a;
  --amber-soft: #e8d4b5;
  --ink: #241810;
  --muted: #6e5848;
  --line: #d9cbb8;
  --white: #fffcf7;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(184, 137, 74, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(92, 61, 40, 0.06), transparent 50%),
    linear-gradient(180deg, var(--ivory) 0%, var(--paper) 40%, var(--ivory-deep) 100%);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--wood); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--amber); }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--walnut);
  color: var(--ivory);
  padding: 0.5rem 1rem;
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--walnut);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.logo em {
  font-style: italic;
  font-weight: 500;
  color: var(--oak);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--wood);
  color: var(--wood);
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.2rem 1.35rem;
  flex-wrap: wrap;
  align-items: center;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--walnut); }

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ivory);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroDrift 18s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(47, 29, 20, 0.82) 0%, rgba(47, 29, 20, 0.45) 48%, rgba(47, 29, 20, 0.25) 100%),
    linear-gradient(to top, rgba(47, 29, 20, 0.75) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.4rem 3.5rem;
  animation: fadeUp 0.9s var(--ease) both;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 600;
  line-height: 0.95;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero-brand span {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--amber-soft);
  font-size: 0.72em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 28ch;
  margin-bottom: 0.85rem;
  color: var(--ivory);
}

.hero-lead {
  max-width: 38ch;
  color: rgba(247, 241, 230, 0.88);
  margin-bottom: 1.6rem;
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--amber);
  color: var(--walnut);
  border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-soft); color: var(--walnut); }

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 241, 230, 0.55);
}
.btn-ghost:hover { background: rgba(247, 241, 230, 0.12); color: var(--ivory); }

.btn-wood {
  background: var(--wood);
  color: var(--ivory);
  border-color: var(--wood);
}
.btn-wood:hover { background: var(--walnut); color: var(--ivory); }

.btn-outline {
  background: transparent;
  color: var(--wood);
  border-color: var(--oak);
}
.btn-outline:hover { background: var(--wood); color: var(--ivory); }

.btn-decline,
.btn-settings {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-decline:hover,
.btn-settings:hover { border-color: var(--oak); }

/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.4rem;
}

section { padding: 4.5rem 0; }

.section-tint {
  background: rgba(235, 226, 210, 0.45);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--walnut);
  line-height: 1.15;
  margin-bottom: 0.65rem;
}
.section-head p { color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* Why / numbered reasons */
.reasons {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .reasons { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

.reason-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.reason h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--walnut);
  margin-bottom: 0.55rem;
}
.reason p { color: var(--muted); font-size: 0.98rem; }

/* Split feature */
.split {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split.is-flip .split-media { order: 2; }
  .split.is-flip .split-copy { order: 1; }
}

.split-media {
  overflow: hidden;
  min-height: 280px;
}
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.split:hover .split-media img { transform: scale(1.04); }

.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  color: var(--walnut);
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.split-copy p { color: var(--muted); margin-bottom: 1rem; }

.check-list {
  list-style: none;
  margin: 1.1rem 0 1.5rem;
}
.check-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--amber);
}

/* Audience strips */
.audience-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.audience-item {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
@media (min-width: 760px) {
  .audience-item {
    grid-template-columns: 200px 1fr auto;
    gap: 2rem;
  }
}
.audience-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.audience-item h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--walnut);
  margin-bottom: 0.35rem;
}
.audience-item p { color: var(--muted); font-size: 0.97rem; }
.audience-link {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Quote band */
.quote-band {
  padding: 4rem 1.4rem;
  text-align: center;
  background: var(--walnut);
  color: var(--ivory);
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  max-width: 38rem;
  margin: 0 auto 1rem;
}
.quote-band cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--amber-soft);
  letter-spacing: 0.04em;
}

.quotes-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 800px) {
  .quotes-grid { grid-template-columns: repeat(3, 1fr); }
}
.quote-piece blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--walnut);
  margin-bottom: 0.75rem;
}
.quote-piece cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Location */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 1.25rem 0 1.5rem;
}
.area-chips span {
  font-size: 0.85rem;
  color: var(--wood);
  border-bottom: 1px solid var(--amber-soft);
  padding-bottom: 0.1rem;
}

/* CTA */
.cta-strip {
  text-align: center;
  padding: 4.5rem 1.4rem;
  background:
    linear-gradient(135deg, rgba(92, 61, 40, 0.92), rgba(47, 29, 20, 0.88)),
    url("../images/piano-wood-grain.jpg") center/cover;
  color: var(--ivory);
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 0.65rem;
}
.cta-strip p {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: rgba(247, 241, 230, 0.88);
}

/* Page header */
.page-hero {
  padding: 3.5rem 1.4rem 2.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ivory-deep), transparent);
}
.page-hero .container { max-width: var(--max); margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--walnut);
  line-height: 1.1;
  margin-bottom: 0.55rem;
}
.page-hero p {
  color: var(--muted);
  max-width: 40rem;
}

/* FAQ */
.faq { max-width: 42rem; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--walnut);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--amber);
  font-weight: 400;
  font-size: 1.2rem;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin-top: 0.65rem;
  color: var(--muted);
  padding-right: 1.5rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 3.5rem; }
}

.contact-details {
  list-style: none;
  margin: 1.25rem 0;
}
.contact-details li {
  margin-bottom: 1.1rem;
  color: var(--muted);
}
.contact-details strong {
  display: block;
  color: var(--walnut);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
}
.contact-form h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--walnut);
  margin-bottom: 1.15rem;
  font-weight: 600;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--amber-soft);
  border-color: var(--oak);
}

.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--amber-soft);
  color: var(--walnut);
  font-weight: 600;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
@media (min-width: 700px) {
  .gallery img:first-child,
  .gallery img:last-child { height: 220px; }
}

/* Legal */
.legal-content {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.4rem 4rem;
}
.legal-content .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--walnut);
  margin: 2rem 0 0.75rem;
  font-weight: 600;
}
.legal-content h3 {
  font-size: 1.05rem;
  color: var(--wood);
  margin: 1.25rem 0 0.5rem;
}
.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }

/* Footer */
.site-footer {
  background: var(--walnut);
  color: rgba(247, 241, 230, 0.82);
  padding: 3.5rem 0 0;
  margin-top: 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.4rem 2.5rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .logo { color: var(--ivory); display: inline-block; margin-bottom: 0.75rem; }
.footer-brand .logo em { color: var(--amber-soft); }
.footer-brand p { font-size: 0.95rem; max-width: 28ch; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; font-size: 0.95rem; }
.footer-col a { color: rgba(247, 241, 230, 0.82); }
.footer-col a:hover { color: var(--amber-soft); }

.footer-bottom {
  border-top: 1px solid rgba(247, 241, 230, 0.12);
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-legal { display: flex; gap: 1.1rem; }
.footer-legal a { color: rgba(247, 241, 230, 0.7); }
.footer-legal a:hover { color: var(--amber-soft); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 1.15rem 1.4rem;
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 -8px 30px rgba(47, 29, 20, 0.08);
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-text {
  flex: 1 1 280px;
  font-size: 0.92rem;
  color: var(--muted);
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(47, 29, 20, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.cookie-modal.is-open { display: flex; }

.cookie-modal-panel {
  background: var(--white);
  border: 1px solid var(--line);
  max-width: 420px;
  width: 100%;
  padding: 1.75rem;
}
.cookie-modal-panel h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--walnut);
  margin-bottom: 0.5rem;
}
.cookie-modal-panel > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.cookie-option label { font-weight: 700; color: var(--walnut); display: block; }
.cookie-option span { font-size: 0.85rem; color: var(--muted); font-weight: 400; }

.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--line);
  transition: 0.25s;
  cursor: pointer;
}
.toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--white);
  transition: 0.25s;
}
.toggle input:checked + .toggle-slider { background: var(--oak); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle input:disabled + .toggle-slider { opacity: 0.7; cursor: not-allowed; }

.modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1.35rem;
}

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

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .main-nav.is-open { max-height: 360px; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.4rem 1.25rem;
    gap: 0;
  }
  .main-nav a {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }
}
