/* Hill Clay Atelier — anthrpasse.pro */

:root {
  --hc-bone: #F7F4EF;
  --hc-ochre: #C4A574;
  --hc-ash: #8A8175;
  --hc-ink: #2C2926;
  --hc-mute: #5E574E;
  --hc-ink-soft: #4A4540;
  --hc-paper: #EFE9E0;
  --hc-deep: #3A3530;
  --hc-white: #FFFEFB;
  --hc-line: rgba(44, 41, 38, 0.14);
  --hc-font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --hc-font-body: "Karla", "Helvetica Neue", sans-serif;
  --hc-space: clamp(1.25rem, 3.5vw, 2.75rem);
  --hc-max: 68rem;
  --hc-max-wide: 78rem;
  --hc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--hc-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--hc-ink);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(196, 165, 116, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 10%, rgba(138, 129, 117, 0.1), transparent 50%),
    var(--hc-bone);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.25s var(--hc-ease), opacity 0.25s var(--hc-ease);
}

a:hover { color: var(--hc-ash); }

h1, h2, h3 {
  font-family: var(--hc-font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--hc-ink);
  margin: 0 0 0.65rem;
}

h1 { font-size: clamp(2.35rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

p { margin: 0 0 1rem; color: var(--hc-ink-soft); }

.hc-wrap {
  width: min(100% - 2 * var(--hc-space), var(--hc-max));
  margin-inline: auto;
}

.hc-wrap--wide {
  width: min(100% - 2 * var(--hc-space), var(--hc-max-wide));
}

.hc-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hc-ash);
}

.hc-lead {
  font-size: 1.12rem;
  max-width: 38rem;
  color: var(--hc-mute);
}

/* Header */
.hc-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem var(--hc-space);
}

.hc-header--solid {
  position: relative;
  background: transparent;
  border-bottom: 1px solid var(--hc-line);
}

.hc-brand {
  font-family: var(--hc-font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  text-decoration: none;
  color: var(--hc-white);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
  line-height: 1.15;
}

.hc-brand span {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--hc-font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hc-header--solid .hc-brand {
  color: var(--hc-ink);
  text-shadow: none;
}

.nav-main {
  display: flex;
  gap: 1.35rem;
  align-items: center;
}

.nav-main a {
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 254, 251, 0.92);
  position: relative;
}

.hc-header--solid .nav-main a { color: var(--hc-mute); }

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--hc-ease);
}

.nav-main a:hover::after,
.nav-main a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 254, 251, 0.45);
  color: var(--hc-white);
  padding: 0.45rem 0.7rem;
  font-family: var(--hc-font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.hc-header--solid .menu-toggle {
  color: var(--hc-ink);
  border-color: var(--hc-line);
}

/* Full-bleed hero */
.hc-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--hc-white);
}

.hc-hero__media {
  position: absolute;
  inset: 0;
}

.hc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: hc-ken 20s var(--hc-ease) forwards;
}

@keyframes hc-ken {
  to { transform: scale(1); }
}

.hc-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 41, 38, 0.38) 0%,
    rgba(44, 41, 38, 0.12) 40%,
    rgba(44, 41, 38, 0.62) 100%
  );
  pointer-events: none;
}

.hc-hero__copy {
  position: relative;
  z-index: 2;
  padding: 0 var(--hc-space) clamp(3.5rem, 11vh, 6.5rem);
  max-width: 38rem;
  animation: hc-rise 1.05s var(--hc-ease) both;
}

@keyframes hc-rise {
  from { opacity: 0; transform: translateY(1.35rem); }
  to { opacity: 1; transform: translateY(0); }
}

.hc-hero__copy h1 {
  color: var(--hc-white);
  font-size: clamp(2.8rem, 7vw, 5rem);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.85rem;
}

.hc-hero__copy p {
  color: rgba(255, 254, 251, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
}

.hc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

/* Buttons */
.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--hc-font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--hc-ease), color 0.3s var(--hc-ease), border-color 0.3s var(--hc-ease);
}

.hc-btn--primary {
  background: var(--hc-ochre);
  border-color: var(--hc-ochre);
  color: var(--hc-ink);
}

.hc-btn--primary:hover {
  background: var(--hc-bone);
  border-color: var(--hc-bone);
  color: var(--hc-ink);
}

.hc-btn--ghost {
  background: transparent;
  border-color: rgba(255, 254, 251, 0.55);
  color: var(--hc-white);
}

.hc-btn--ghost:hover {
  background: rgba(255, 254, 251, 0.12);
  color: var(--hc-white);
}

.hc-btn--ink {
  background: var(--hc-ink);
  border-color: var(--hc-ink);
  color: var(--hc-bone);
}

.hc-btn--ink:hover {
  background: var(--hc-ash);
  border-color: var(--hc-ash);
  color: var(--hc-white);
}

.hc-link {
  align-self: start;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--hc-ochre);
  color: var(--hc-ink);
  padding-bottom: 0.15rem;
  white-space: nowrap;
}

.hc-link:hover { color: var(--hc-ash); }

/* Page hero */
.hc-page-hero {
  padding: clamp(2.5rem, 8vh, 4.5rem) 0 clamp(2rem, 5vh, 3rem);
  border-bottom: 1px solid var(--hc-line);
  animation: hc-rise 0.8s var(--hc-ease) both;
}

.hc-page-hero p { max-width: 36rem; margin-bottom: 0; }

/* Sections */
.hc-section {
  padding: clamp(3rem, 8vw, 5.25rem) 0;
}

.hc-section--paper {
  background: linear-gradient(180deg, var(--hc-paper), rgba(239, 233, 224, 0.4));
}

.hc-section--ash {
  background: linear-gradient(160deg, rgba(138, 129, 117, 0.12), transparent 55%);
}

.hc-section--deep {
  background: var(--hc-deep);
  color: var(--hc-bone);
}

.hc-section--deep h2,
.hc-section--deep .hc-kicker { color: var(--hc-bone); }

.hc-section--deep .hc-lead,
.hc-section--deep p { color: rgba(247, 244, 239, 0.82); }

.hc-section--deep .hc-kicker { color: var(--hc-ochre); }

/* Philosophy / quote */
.hc-philosophy { max-width: 42rem; }

.hc-quote {
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0 1.35rem;
  border-left: 2px solid var(--hc-ochre);
  font-family: var(--hc-font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.45;
  color: var(--hc-ink);
  font-style: italic;
}

.hc-quote cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--hc-font-body);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-ash);
}

/* Split */
.hc-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.hc-split--reverse { direction: rtl; }
.hc-split--reverse > * { direction: ltr; }

.hc-split__media {
  overflow: hidden;
  animation: hc-rise 1s var(--hc-ease) both;
}

.hc-split__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 1.1s var(--hc-ease);
}

.hc-split__media:hover img { transform: scale(1.03); }

.hc-split__body .hc-lead { margin-bottom: 0.5rem; }

/* Workshops */
.hc-workshop-list {
  display: grid;
  gap: 0;
  margin-top: 1.75rem;
}

.hc-workshop-item {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr auto;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--hc-line);
  animation: hc-rise 0.7s var(--hc-ease) both;
}

.hc-workshop-item:nth-child(1) { animation-delay: 0.05s; }
.hc-workshop-item:nth-child(2) { animation-delay: 0.1s; }
.hc-workshop-item:nth-child(3) { animation-delay: 0.15s; }
.hc-workshop-item:nth-child(4) { animation-delay: 0.2s; }
.hc-workshop-item:nth-child(5) { animation-delay: 0.25s; }
.hc-workshop-item:nth-child(6) { animation-delay: 0.3s; }

.hc-workshop-item time,
.hc-workshop-item > :first-child:not(div):not(a) {
  font-family: var(--hc-font-display);
  font-size: 1.2rem;
  color: var(--hc-ash);
}

.hc-workshop-item p:last-child { margin-bottom: 0; }

/* Place */
.hc-place {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hc-place__map {
  min-height: 14rem;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(196, 165, 116, 0.35), rgba(138, 129, 117, 0.25)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(44, 41, 38, 0.03) 10px,
      rgba(44, 41, 38, 0.03) 11px
    );
  border: 1px solid var(--hc-line);
  font-family: var(--hc-font-display);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--hc-ink);
  animation: hc-rise 1s 0.15s var(--hc-ease) both;
}

/* Gallery */
.hc-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hc-gallery__cell {
  margin: 0;
  background: var(--hc-white);
  border: 1px solid var(--hc-line);
  padding: 0;
  overflow: hidden;
  animation: hc-rise 0.8s var(--hc-ease) both;
}

.hc-gallery__cell img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.hc-gallery__cell--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.hc-gallery__cell--feature img { min-height: 100%; }

.hc-gallery__cell--wide { grid-column: span 2; }

.hc-gallery__cell h3,
.hc-gallery__cell p {
  padding: 0 1rem;
}

.hc-gallery__cell h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.2rem;
}

.hc-gallery__cell p {
  padding-bottom: 1.1rem;
  margin: 0;
  font-size: 0.92rem;
}

.hc-gallery__swatch {
  min-height: 8.5rem;
  width: 100%;
}

/* Bio */
.hc-bio-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding: 0;
}

.hc-bio-meta div {
  border-top: 1px solid var(--hc-line);
  padding-top: 0.75rem;
}

.hc-bio-meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-ash);
  margin: 0 0 0.35rem;
}

.hc-bio-meta dd {
  margin: 0;
  font-family: var(--hc-font-display);
  font-size: 1.1rem;
  color: var(--hc-ink);
}

/* Contact */
.hc-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.hc-contact-details p { color: var(--hc-ink-soft); }

.hc-form { display: grid; gap: 1rem; }

.hc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hc-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hc-ash);
}

.hc-form input,
.hc-form textarea,
.hc-form select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid #D4CEC4;
  background: var(--hc-white);
  font-family: var(--hc-font-body);
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--hc-ink);
}

.hc-form input:focus,
.hc-form textarea:focus,
.hc-form select:focus {
  outline: none;
  border-color: var(--hc-ochre);
}

.hc-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.hc-success {
  display: none;
  margin-top: 0.25rem;
  padding: 1rem 1.1rem;
  background: rgba(196, 165, 116, 0.22);
  border-left: 3px solid var(--hc-ochre);
  color: var(--hc-ink);
}

.hc-success.show {
  display: block;
  animation: hc-rise 0.45s var(--hc-ease) both;
}

/* Legal */
.hc-legal { max-width: 42rem; }

.hc-legal h2 {
  margin-top: 2.1rem;
  font-size: 1.4rem;
}

.hc-legal ul {
  padding-left: 1.2rem;
  color: var(--hc-ink-soft);
}

.hc-legal li { margin-bottom: 0.4rem; }

.hc-legal code {
  font-size: 0.9em;
  background: rgba(138, 129, 117, 0.12);
  padding: 0.1em 0.35em;
}

/* Footer */
.hc-footer {
  margin-top: auto;
  padding: 2.75rem 0 2rem;
  border-top: 1px solid var(--hc-line);
  background: linear-gradient(180deg, transparent, rgba(138, 129, 117, 0.07));
}

.hc-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.hc-footer__mark {
  font-family: var(--hc-font-display);
  font-size: 1.45rem;
  margin: 0 0 0.6rem;
  color: var(--hc-ink);
}

.hc-footer h3 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--hc-font-body);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.hc-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.hc-footer a { text-decoration: none; color: var(--hc-mute); }
.hc-footer a:hover { color: var(--hc-ink); }

.hc-footer__base {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--hc-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--hc-ash);
}

.hc-footer__base p { margin: 0; color: inherit; }

/* Cookie banner */
#cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  background: rgba(44, 41, 38, 0.97);
  color: var(--hc-bone);
  padding: 1.2rem var(--hc-space) 1.35rem;
  transform: translateY(110%);
  transition: transform 0.45s var(--hc-ease);
}

#cookie-banner.show { transform: translateY(0); }

#cookie-banner strong {
  display: block;
  font-family: var(--hc-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

#cookie-banner p {
  margin: 0 0 0.9rem;
  max-width: 48rem;
  color: rgba(247, 244, 239, 0.88);
  font-size: 0.95rem;
}

#cookie-banner a { color: var(--hc-ochre); }

.hc-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hc-cookie-actions button,
#cookie-panel button {
  font-family: var(--hc-font-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(247, 244, 239, 0.35);
  background: transparent;
  color: var(--hc-bone);
  cursor: pointer;
}

#cookie-accept {
  background: var(--hc-ochre);
  border-color: var(--hc-ochre);
  color: var(--hc-ink);
}

#cookie-panel {
  display: none;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

#cookie-panel.open { display: grid; }

#cookie-panel label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(247, 244, 239, 0.9);
}

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    right: var(--hc-space);
    left: var(--hc-space);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(44, 41, 38, 0.97);
    padding: 0.4rem 0;
  }

  .hc-header--solid .nav-main {
    background: var(--hc-white);
    border: 1px solid var(--hc-line);
  }

  .nav-main.open { display: flex; }

  .nav-main a {
    padding: 0.85rem 1.1rem;
    color: var(--hc-bone);
  }

  .hc-header--solid .nav-main a { color: var(--hc-ink); }

  .hc-split,
  .hc-split--reverse,
  .hc-place,
  .hc-contact-grid,
  .hc-footer__grid,
  .hc-form-row,
  .hc-bio-meta,
  .hc-gallery {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hc-gallery__cell--feature,
  .hc-gallery__cell--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .hc-workshop-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hc-hero__media img { transform: none; }
}
