/* Kleiatelier Noord — Utrecht pottery atelier */
:root {
  --ink: #1a1e24;
  --text: #2e343c;
  --mute: #5e6874;
  --paper: #e9ecef;
  --paper-deep: #d5dae0;
  --white: #f7f8fa;
  --terracotta: #c45a38;
  --terracotta-deep: #9a3f26;
  --terracotta-soft: #e8b5a0;
  --glaze: #4a6b63;
  --glaze-soft: #c5d4cf;
  --shadow: 0 18px 50px rgba(26, 30, 36, 0.14);
  --radius: 2px;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--paper);
  background-image:
    linear-gradient(165deg, rgba(74, 107, 99, 0.07) 0%, transparent 42%),
    linear-gradient(340deg, rgba(196, 90, 56, 0.06) 0%, transparent 38%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(26, 30, 36, 0.015) 11px,
      rgba(26, 30, 36, 0.015) 12px
    );
  min-height: 100vh;
}

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

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

h1 { font-size: clamp(2.4rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
p { margin-bottom: 1rem; }
ul { margin: 0 0 1rem 1.2rem; }
li { margin-bottom: 0.35rem; }

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

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--glaze);
  margin-bottom: 0.85rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--paper-deep);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 0.15rem;
}

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

.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--text);
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--terracotta); }

.nav-desktop .nav-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-desktop .nav-cta:hover { background: var(--terracotta-deep); }

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--paper-deep);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

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

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1rem;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--paper-deep);
  color: var(--ink);
  font-weight: 550;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 650;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
}

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

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

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

.btn-ghost {
  background: transparent;
  border-color: rgba(247, 248, 250, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(247, 248, 250, 0.12);
  color: var(--white);
}

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

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

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

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

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

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 30, 36, 0.25) 0%, rgba(26, 30, 36, 0.55) 48%, rgba(26, 30, 36, 0.88) 100%),
    linear-gradient(90deg, rgba(26, 30, 36, 0.45) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.5rem;
  max-width: 36rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.1rem;
  animation: riseIn 0.9s ease both;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 550;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  animation: riseIn 0.9s ease 0.12s both;
}

.hero p {
  color: rgba(247, 248, 250, 0.88);
  font-size: 1.05rem;
  max-width: 32rem;
  animation: riseIn 0.9s ease 0.22s both;
}

.hero .btn-group { animation: riseIn 0.9s ease 0.32s both; }

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

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

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

.section-tight { padding: 3.25rem 0; }

.section-header {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section-header p { color: var(--mute); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 320px;
}

.split-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.split:hover .split-visual img { transform: scale(1.04); }

.tone-ink {
  background: var(--ink);
  color: rgba(247, 248, 250, 0.88);
}

.tone-ink h2,
.tone-ink h3 { color: var(--white); }

.tone-ink .eyebrow { color: var(--terracotta-soft); }

.tone-glaze {
  background: linear-gradient(135deg, #3f5c56 0%, #4a6b63 55%, #5a7a72 100%);
  color: rgba(247, 248, 250, 0.9);
}

.tone-glaze h2,
.tone-glaze h3 { color: var(--white); }

.tone-glaze .eyebrow { color: var(--terracotta-soft); }

/* Schedule strip — not cards as marketing, simple day list */
.schedule-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--paper-deep);
  border: 1px solid var(--paper-deep);
  margin-top: 1.5rem;
}

.schedule-days article {
  background: var(--white);
  padding: 1.35rem 1.2rem;
}

.schedule-days h3 {
  font-size: 1rem;
  color: var(--terracotta);
  margin-bottom: 0.35rem;
}

.schedule-days p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--mute);
}

/* Feature list */
.feature-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--paper-deep);
}

.feature-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--paper-deep);
  align-items: start;
}

.feature-row strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}

.feature-row p { margin: 0; color: var(--mute); }

/* Image band */
.image-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.75rem;
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  min-height: 240px;
}

.image-band .tall { min-height: 420px; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

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

.mosaic img:nth-child(2) { aspect-ratio: 3/4; margin-top: 1.5rem; }

/* Page header (inner) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--paper-deep);
  background:
    linear-gradient(120deg, rgba(196, 90, 56, 0.08), transparent 50%),
    var(--white);
}

.page-hero h1 { margin-bottom: 0.65rem; }
.page-hero p {
  max-width: 36rem;
  color: var(--mute);
  margin: 0;
}

/* Class / workshop listings — interaction containers */
.class-list {
  display: grid;
  gap: 1rem;
}

.class-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--paper-deep);
  border-radius: var(--radius);
}

.class-item p { margin: 0.35rem 0 0; color: var(--mute); font-size: 0.95rem; }

.class-meta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--glaze);
}

/* About portrait */
.portrait-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

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

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}

.contact-details dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--glaze);
  margin-top: 1.1rem;
}

.contact-details dd {
  margin: 0.25rem 0 0;
  color: var(--text);
}

.contact-details a { color: var(--ink); }

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--paper-deep);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--terracotta-soft);
  border-color: var(--terracotta);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: var(--glaze-soft);
  color: var(--ink);
  border-radius: var(--radius);
}

/* Legal */
.legal-content {
  max-width: 46rem;
  padding: 3rem 0 4rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
}

.legal-content p,
.legal-content li { color: var(--mute); }

/* CTA band */
.cta-band {
  padding: 3.75rem 0;
  text-align: center;
}

.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  color: rgba(247, 248, 250, 0.82);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(247, 248, 250, 0.72);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .logo { color: var(--white); margin-bottom: 0.75rem; }
.site-footer .logo span { color: rgba(247, 248, 250, 0.5); }

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 248, 250, 0.45);
  margin-bottom: 0.85rem;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer a {
  color: rgba(247, 248, 250, 0.78);
  font-size: 0.95rem;
}

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

.footer-base {
  border-top: 1px solid rgba(247, 248, 250, 0.12);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 400;
  max-width: 520px;
  margin-inline: auto;
  background: var(--ink);
  color: rgba(247, 248, 250, 0.88);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.visible { display: block; animation: riseIn 0.35s ease; }

.cookie-banner p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cookie-banner a { color: var(--terracotta-soft); }

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

.cookie-actions button {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 650;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
}

#cookie-accept { background: var(--terracotta); color: var(--white); }
#cookie-decline { background: transparent; color: var(--white); border: 1px solid rgba(247,248,250,0.35); }
#cookie-settings { background: var(--white); color: var(--ink); }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: rgba(26, 30, 36, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.open { display: flex; }

.cookie-modal-inner {
  background: var(--white);
  color: var(--text);
  width: min(100%, 420px);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.cookie-modal-inner h3 { margin-bottom: 0.75rem; }

.cookie-modal-inner label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.65rem 0;
  font-size: 0.95rem;
}

.cookie-modal-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .split,
  .split.reverse,
  .portrait-block,
  .contact-grid,
  .image-band {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .schedule-days { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic img:nth-child(2) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .class-item { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; align-items: flex-end; }
}

@media (max-width: 560px) {
  .mosaic { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 2.5rem; }
}
