@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400&family=Karla:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --wc-bone: #f2ebe3;
  --wc-bone-deep: #e4d8cb;
  --wc-clay: #9c6545;
  --wc-clay-deep: #6e442c;
  --wc-umber: #3a281e;
  --wc-ink: #1c1612;
  --wc-muted: #6b5e54;
  --wc-line: rgba(28, 22, 18, 0.13);
  --wc-fog: rgba(242, 235, 227, 0.94);
  --wc-white: #faf7f3;
  --wc-serif: "Bodoni Moda", Georgia, serif;
  --wc-sans: "Karla", sans-serif;
  --wc-max: 1120px;
  --wc-header: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--wc-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--wc-ink);
  background:
    radial-gradient(ellipse 50% 38% at 8% 0%, rgba(156, 101, 69, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 8%, rgba(58, 40, 30, 0.07), transparent 48%),
    linear-gradient(180deg, var(--wc-bone) 0%, var(--wc-white) 42%, var(--wc-bone-deep) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--wc-clay-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--wc-umber);
}

h1,
h2,
h3,
.brand {
  font-family: var(--wc-serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--wc-ink);
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--wc-max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--wc-header);
}

.site-header.is-solid {
  position: sticky;
  top: 0;
  background: var(--wc-fog);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wc-line);
}

.header-inner {
  width: min(100% - 2rem, var(--wc-max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  letter-spacing: 0.01em;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand span {
  font-family: var(--wc-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wc-muted);
  margin-top: 0.22rem;
}

.site-header:not(.is-solid) .brand {
  color: var(--wc-white);
}

.site-header:not(.is-solid) .brand span {
  color: rgba(250, 247, 243, 0.72);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--wc-line);
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header:not(.is-solid) .menu-toggle {
  border-color: rgba(250, 247, 243, 0.35);
  color: var(--wc-white);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.nav-main a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--wc-ink);
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--wc-clay-deep);
}

.site-header:not(.is-solid) .nav-main a {
  color: rgba(250, 247, 243, 0.9);
}

.site-header:not(.is-solid) .nav-main a:hover,
.site-header:not(.is-solid) .nav-main a.active {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--wc-clay);
  color: var(--wc-white);
  border-color: var(--wc-clay);
}

.btn-primary:hover {
  background: var(--wc-clay-deep);
  border-color: var(--wc-clay-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--wc-white);
  border-color: rgba(250, 247, 243, 0.45);
}

.btn-ghost:hover {
  background: rgba(250, 247, 243, 0.12);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--wc-ink);
  border-color: var(--wc-line);
}

.btn-outline:hover {
  border-color: var(--wc-clay);
  color: var(--wc-clay-deep);
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--wc-white);
  background:
    linear-gradient(180deg, rgba(28, 22, 18, 0.28) 0%, rgba(28, 22, 18, 0.55) 55%, rgba(28, 22, 18, 0.78) 100%),
    url("../images/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(58, 40, 30, 0.35) 0%, transparent 48%);
  pointer-events: none;
  animation: veil-in 1.4s ease both;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--wc-max));
  margin: 0 auto;
  padding: calc(var(--wc-header) + 3rem) 0 4.5rem;
  max-width: 36rem;
  margin-right: auto;
  margin-left: auto;
  animation: rise 0.9s ease 0.15s both;
}

.hero-brand {
  font-family: var(--wc-serif);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  color: var(--wc-white);
}

.hero h1 {
  font-family: var(--wc-sans);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 243, 0.88);
  margin: 0 0 0.85rem;
}

.hero p {
  color: rgba(250, 247, 243, 0.78);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero {
  padding: calc(var(--wc-header) + 3.5rem) 0 2.5rem;
  border-bottom: 1px solid var(--wc-line);
  background:
    linear-gradient(180deg, rgba(156, 101, 69, 0.08), transparent 70%),
    var(--wc-bone);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  max-width: 36rem;
  color: var(--wc-muted);
  margin: 0;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin: 0 0 0.75rem;
}

.section-head p {
  color: var(--wc-muted);
  margin: 0;
}

.soft-band {
  background: rgba(228, 216, 203, 0.45);
  border-block: 1px solid var(--wc-line);
}

.lede {
  font-size: 1.12rem;
  color: var(--wc-muted);
  max-width: 34rem;
}

/* Featured slate — Clay Room style booking board */
.slate {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--wc-line);
}

.slate-item {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) 1fr auto;
  gap: 1.25rem 1.75rem;
  align-items: start;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--wc-line);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.slate-item:hover {
  background: rgba(156, 101, 69, 0.06);
  padding-left: 0.5rem;
}

.slate-date {
  font-family: var(--wc-serif);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--wc-clay-deep);
}

.slate-date small {
  display: block;
  font-family: var(--wc-sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wc-muted);
  margin-top: 0.25rem;
}

.slate-item h3 {
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}

.slate-item p {
  margin: 0;
  color: var(--wc-muted);
  font-size: 0.98rem;
}

.slate-go {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wc-clay);
  align-self: center;
  white-space: nowrap;
}

/* Ways in */
.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--wc-line);
}

.way {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--wc-line);
  text-decoration: none;
  color: inherit;
  background: rgba(250, 247, 243, 0.55);
  transition: background 0.3s ease;
}

.way:last-child {
  border-right: none;
}

.way:hover {
  background: rgba(156, 101, 69, 0.08);
}

.way h3 {
  font-size: 1.45rem;
  margin: 0 0 0.65rem;
}

.way p {
  color: var(--wc-muted);
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

.way-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wc-clay);
}

/* Membership band */
.member-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.member-photo {
  min-height: 22rem;
  background:
    linear-gradient(160deg, rgba(58, 40, 30, 0.25), transparent 50%),
    url("../images/hero.jpg") 62% 40% / cover no-repeat;
  border: 1px solid var(--wc-line);
}

.perk-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--wc-line);
}

.perk-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--wc-line);
  font-size: 0.98rem;
}

.perk-list strong {
  font-weight: 600;
}

.perk-list span {
  color: var(--wc-muted);
  text-align: right;
}

/* Mail strip */
.mail-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: end;
}

.mail-strip h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 0.65rem;
}

.subscribe-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.subscribe-row input,
.field input,
.field textarea,
.field select {
  font: inherit;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--wc-line);
  background: var(--wc-white);
  color: var(--wc-ink);
}

.subscribe-row input {
  flex: 1 1 14rem;
}

.form-success {
  display: none;
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(156, 101, 69, 0.12);
  border: 1px solid var(--wc-line);
  color: var(--wc-clay-deep);
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
  animation: rise 0.35s ease both;
}

/* Workshop / course cards */
.catalog {
  display: grid;
  gap: 1.25rem;
}

.catalog-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--wc-line);
  align-items: start;
}

.catalog-card:first-child {
  border-top: 1px solid var(--wc-line);
}

.catalog-card h3 {
  font-size: 1.45rem;
  margin: 0 0 0.45rem;
}

.catalog-card p {
  margin: 0;
  color: var(--wc-muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--wc-line);
  color: var(--wc-muted);
}

.price-block {
  text-align: right;
  white-space: nowrap;
}

.price-block .price {
  display: block;
  font-family: var(--wc-serif);
  font-size: 1.55rem;
  color: var(--wc-clay-deep);
}

.price-block .dur {
  font-size: 0.82rem;
  color: var(--wc-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* About */
.about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.about-portrait {
  min-height: 26rem;
  background:
    linear-gradient(200deg, rgba(28, 22, 18, 0.2), transparent 45%),
    url("../images/hero.jpg") 30% 55% / cover no-repeat;
  border: 1px solid var(--wc-line);
}

.about-split h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
}

.about-split .lede {
  margin-bottom: 1.25rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.25rem;
}

.contact-details h2 {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.contact-details p {
  margin: 0;
  color: var(--wc-muted);
}

.contact-details a {
  text-decoration: none;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--wc-muted);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

/* Legal */
.legal {
  padding: calc(var(--wc-header) + 3rem) 0 4rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 1.25rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.65rem;
}

.legal p,
.legal li {
  color: var(--wc-muted);
  max-width: 46rem;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal code {
  font-size: 0.9em;
  background: var(--wc-bone-deep);
  padding: 0.1em 0.35em;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--wc-umber);
  color: rgba(250, 247, 243, 0.82);
  margin-top: 2rem;
}

.site-footer a {
  color: rgba(250, 247, 243, 0.88);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .brand {
  color: var(--wc-white);
}

.site-footer .brand span {
  color: rgba(250, 247, 243, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 247, 243, 0.15);
}

.footer-grid h3 {
  font-size: 1.05rem;
  color: var(--wc-white);
  margin: 0 0 0.85rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.35rem;
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  gap: 1.1rem;
}

/* Cookie banner */
#cookie-banner {
  display: none;
  position: fixed;
  z-index: 100;
  inset: auto 1rem 1rem 1rem;
  max-width: 28rem;
  margin-left: auto;
  padding: 1.25rem 1.35rem;
  background: var(--wc-white);
  border: 1px solid var(--wc-line);
  box-shadow: 0 12px 40px rgba(28, 22, 18, 0.18);
  font-size: 0.92rem;
}

#cookie-banner.show {
  display: block;
  animation: rise 0.4s ease both;
}

#cookie-banner p {
  margin: 0 0 1rem;
  color: var(--wc-muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions button,
#cookie-save {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--wc-line);
  background: var(--wc-bone);
  color: var(--wc-ink);
  cursor: pointer;
}

#cookie-accept {
  background: var(--wc-clay);
  border-color: var(--wc-clay);
  color: var(--wc-white);
}

#cookie-panel {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--wc-line);
}

#cookie-panel.open {
  display: grid;
  gap: 0.55rem;
}

#cookie-panel label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes veil-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  animation: rise 0.75s ease both;
}

.reveal-delay {
  animation-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero::after,
  .hero-inner,
  .reveal,
  .reveal-delay,
  #cookie-banner.show,
  .form-success.show {
    animation: none;
  }

  .btn:hover,
  .slate-item:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .ways,
  .member-band,
  .mail-strip,
  .about-split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .way {
    border-right: none;
    border-bottom: 1px solid var(--wc-line);
  }

  .way:last-child {
    border-bottom: none;
  }

  .slate-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .slate-go {
    justify-self: start;
  }

  .catalog-card {
    grid-template-columns: 1fr;
  }

  .price-block {
    text-align: left;
  }

  .member-photo,
  .about-portrait {
    min-height: 16rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: var(--wc-header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: var(--wc-fog);
    border-bottom: 1px solid var(--wc-line);
  }

  .nav-main.open {
    display: flex;
  }

  .nav-main a {
    color: var(--wc-ink) !important;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--wc-line);
  }

  .site-header:not(.is-solid) .nav-main {
    background: rgba(28, 22, 18, 0.96);
  }

  .site-header:not(.is-solid) .nav-main a {
    color: var(--wc-white) !important;
    border-top-color: rgba(250, 247, 243, 0.12);
  }

  .hero-inner {
    max-width: none;
  }

  #cookie-banner {
    inset: auto 0.65rem 0.65rem 0.65rem;
  }
}
