/* Fade King — Schaerbeek
   Direction: cool stone + ink + copper accent. Precision, not polish-for-polish. */

:root {
  --ink: #141414;
  --ink-soft: #2a2a2a;
  --stone: #ddd9d3;
  --stone-deep: #c4beb5;
  --paper: #ebe8e3;
  --copper: #8f6234;
  --copper-deep: #6f4a24;
  --mute: #6b6760;
  --line: rgba(20, 20, 20, 0.12);

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;

  --space: clamp(1rem, 2.5vw, 2rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --max: 1120px;
  --header-h: 4.25rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 0.96rem + 0.28vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-lock {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Header ——— */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--header-h);
  padding: 0 var(--space);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), color 0.35s var(--ease);
  color: var(--paper);
}

.site-header.is-scrolled {
  background: rgba(243, 241, 236, 0.92);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo-img {
  display: block;
  height: 2.85rem;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
  object-position: left center;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  /* White logo over dark hero — same asset as laptop */
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .logo-img {
  filter: none;
}

@media (min-width: 720px) {
  .logo-img {
    height: 3.75rem;
    max-width: 10rem;
  }
}

@media (max-width: 719px) {
  .site-header {
    gap: 0.5rem;
  }

  .lang-btn {
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.5rem;
    font-size: 0.72rem;
  }
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a {
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav-mobile-cta {
  display: none;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  cursor: pointer;
  place-items: center;
  flex-shrink: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.site-header.nav-is-open .nav-toggle-bars {
  background: transparent;
}

.site-header.nav-is-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.nav-is-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(20, 20, 20, 0.45);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid currentColor;
}

.lang-btn {
  appearance: none;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.55;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lang-btn + .lang-btn {
  border-left: 1.5px solid currentColor;
}

.lang-btn:hover {
  opacity: 0.9;
}

.lang-btn.is-active {
  opacity: 1;
}

.site-header:not(.is-scrolled) .lang-btn.is-active {
  background: var(--paper);
  color: var(--ink);
}

.site-header.is-scrolled .lang-btn.is-active {
  background: var(--ink);
  color: var(--paper);
}

.header-cta {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  border: 1.5px solid currentColor;
  transition: background 0.25s ease, color 0.25s ease;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.site-header:not(.is-scrolled) .header-cta:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

@media (min-width: 860px) {
  .nav {
    display: flex;
    align-items: center;
  }

  .nav-toggle,
  .nav-scrim,
  .nav-mobile-cta {
    display: none !important;
  }
}

@media (max-width: 859px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: auto;
    width: min(20rem, 88vw);
    height: calc(100svh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 1rem 0 calc(1.25rem + env(safe-area-inset-bottom));
    background: #f3f1ec;
    color: var(--ink);
    border-left: 1px solid var(--line);
    box-shadow: -16px 0 40px rgba(20, 20, 20, 0.18);
    transform: translateX(105%);
    transition: transform 0.25s var(--ease);
    z-index: 45;
    overflow-y: auto;
  }

  .site-header.nav-is-open .nav {
    transform: none;
  }

  .nav a {
    opacity: 1;
    padding: 1rem 1.25rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
    font-weight: 600;
  }

  .nav-mobile-cta {
    display: flex;
    margin-top: auto;
    color: var(--copper-deep);
  }

  .site-header:not(.is-scrolled) {
    background: rgba(20, 20, 20, 0.35);
    backdrop-filter: blur(8px);
  }

  .site-header.nav-is-open:not(.is-scrolled) {
    background: #f3f1ec;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-is-open:not(.is-scrolled) .logo-img {
    filter: none;
  }
}

@media (max-width: 420px) {
  .header-cta {
    padding: 0.55rem 0.7rem;
    font-size: 0.8rem;
  }
}

@media (orientation: landscape) and (max-height: 480px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 2rem;
  }

  .nav {
    height: calc(100svh - var(--header-h));
  }
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--paper);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  animation: hero-drift 18s var(--ease) forwards;
}

@keyframes hero-drift {
  to {
    transform: scale(1);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(12, 12, 12, 0.35) 0%,
      rgba(12, 12, 12, 0.15) 38%,
      rgba(12, 12, 12, 0.72) 78%,
      rgba(12, 12, 12, 0.9) 100%
    ),
    linear-gradient(
      90deg,
      rgba(12, 12, 12, 0.45) 0%,
      transparent 55%
    );
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 clamp(3rem, 8vw, 5.5rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 12vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
  text-wrap: balance;
}

.hero-title {
  font-size: clamp(1.55rem, 3.6vw, 2.45rem);
  font-weight: 500;
  max-width: 14ch;
  margin-bottom: 1rem;
}

.hero-lead {
  max-width: 34ch;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  opacity: 0.9;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
}

.btn-primary:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.hero .btn-ghost {
  color: var(--paper);
  border-color: rgba(243, 241, 236, 0.55);
}

.hero .btn-ghost:hover {
  background: rgba(243, 241, 236, 0.12);
  border-color: var(--paper);
}

/* ——— Sections ——— */

.section {
  padding: var(--section) 0;
}

.section-inner {
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.85rem;
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-head h2,
.craft-copy h2,
.visit-copy h2 {
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  margin-bottom: 0.85rem;
}

.section-lead {
  color: var(--mute);
  max-width: 36ch;
}

/* ——— Craft ——— */

.craft {
  background: var(--stone);
}

.craft-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .craft-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.craft-copy p + p {
  margin-top: 1rem;
}

.craft-copy > p:not(.eyebrow):not(.craft-note) {
  color: var(--ink-soft);
  max-width: 38ch;
}

.craft-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
  max-width: 28ch;
}

.craft-figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink);
}

.craft-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 1.2s var(--ease);
}

.craft-figure:hover img {
  transform: scale(1.04);
}

/* ——— Services ——— */

.services {
  background: var(--paper);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .service-row {
    grid-template-columns: minmax(12rem, 0.4fr) 1fr;
    gap: 2rem;
    align-items: baseline;
    padding: 1.55rem 0;
  }
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-desc {
  color: var(--mute);
}

/* ——— Gallery ——— */

.gallery {
  padding: 0;
  background: var(--ink);
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-strip figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
  transition: transform 1s var(--ease), filter 0.6s ease;
}

.gallery-strip figure:hover img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.05);
}

/* ——— Reviews ——— */

.reviews {
  background: var(--ink);
  color: var(--paper);
}

.reviews .eyebrow {
  color: var(--copper);
}

.reviews .section-head h2 {
  color: var(--paper);
}

.review-flow {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .review-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.review {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(243, 241, 236, 0.18);
  padding-top: 1.25rem;
}

.review p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* ——— Visit ——— */

.visit {
  background: var(--stone);
}

.visit-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .visit-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
  }
}

.visit-address {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 1rem 0 1.75rem;
  line-height: 1.45;
}

.hours {
  margin: 0 0 2rem;
  display: grid;
  gap: 0.65rem;
}

.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.hours dt {
  font-weight: 500;
  color: var(--mute);
}

.hours dd {
  margin: 0;
  font-weight: 600;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.visit .btn-ghost {
  color: var(--ink);
  border-color: rgba(20, 20, 20, 0.35);
}

.visit .btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(20, 20, 20, 0.04);
}

.visit-map {
  min-height: 320px;
  background: var(--stone-deep);
  overflow: hidden;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.85) contrast(1.05);
}

/* ——— Footer ——— */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 2.5rem var(--space);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 0.35rem;
}

.footer-logo {
  display: block;
  width: auto;
  height: 6.75rem;
  margin-bottom: 1rem;
  border-radius: 0;
  background: transparent !important;
  filter: none !important;
}

.footer-meta,
.footer-legal {
  font-size: 0.88rem;
  opacity: 0.65;
}

.footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-legal a:hover {
  opacity: 1;
}

/* ——— Motion ——— */

[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.12s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.22s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img {
    animation: none;
    transform: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .craft-figure:hover img,
  .gallery-strip figure:hover img {
    transform: none;
  }
}
