/* ============================================================
   SPIN HAUS — sample laundromat site
   Theme: bold neighbourhood / yellow and black
   SAMPLE / PLACEHOLDER PROJECT · EulClavie web design demo
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:root {
  --black: #111111;
  --yellow: #FFD400;
  --yellow-d: #E5BE00;
  --paper: #FAF8F2;
  --ink: #111111;
  --muted: #5F5B52;
  --line: #E3DED1;
  --radius: 6px;
  --gutter: clamp(20px, 5vw, 76px);
  --max: 1240px;
  --bar-h: 30px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.58;
  font-weight: 400;
  color: var(--ink); background: var(--paper);
  padding-top: var(--bar-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: var(--black); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: "Archivo", -apple-system, sans-serif; font-weight: 800; line-height: 0.98; letter-spacing: -.04em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.2rem; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8A6D00; }
.lead { color: var(--muted); font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 4px;
  font-size: 14.5px; font-weight: 700;
  letter-spacing: .01em; text-transform: uppercase; letter-spacing: .06em; font-size: 13px;
  background: var(--black); color: var(--yellow);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: #2A2A2A; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: #F0EADA; }

/* ---------- sample warning bar ---------- */
.sample-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--black); color: var(--yellow);
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding-inline: 14px; text-align: center;
}
.sample-bar .dim { color: rgba(255,212,0,.55); }
@media (max-width: 720px) { .sample-bar { font-size: 8.5px; letter-spacing: .14em; } .sample-bar .dim { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 150;
  background: rgba(250,248,242,.9);
  -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.nav.is-solid { border-bottom-color: var(--line); background: rgba(250,248,242,.98); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s;  }
.nav__links a:hover { color: var(--ink); }
.nav__toggle { display: none; width: 36px; height: 36px; position: relative; }
.nav__toggle i { position: absolute; left: 7px; right: 7px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.nav__toggle i:nth-child(1) { top: 14px; }
.nav__toggle i:nth-child(2) { top: 21px; }
body.menu-open .nav__toggle i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__toggle i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 960px) { .nav__links { display: none; } .nav__toggle { display: block; } }
@media (max-width: 540px) { .nav__inner > .btn { display: none; } }

.menu {
  position: fixed; inset: calc(var(--bar-h) + 74px) 0 0 0; z-index: 140;
  background: var(--paper); padding: 26px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
body.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.menu a { font-family: "Archivo", -apple-system, sans-serif; font-weight: 800; font-size: 1.7rem;  padding-block: 12px; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 22px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(58px, 8vw, 116px); }
.sechead { max-width: 660px; }
.sechead h2 { margin-top: 12px; }
.sechead p { margin-top: 14px; color: var(--muted); }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sechead--split p { max-width: 40ch; margin-top: 0; }

/* ---------- sample notice ---------- */
.notice {
  border: 1px dashed var(--line); background: #F0EADA;
  border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(14px, 3vw, 36px);
}
.notice b { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: #8A6D00; }
.notice p { font-size: 13.5px; color: var(--muted); max-width: 64ch; }
.notice p + p { margin-top: 8px; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--black); color: var(--paper); margin-top: clamp(40px, 6vw, 80px); padding-block: clamp(44px, 5vw, 76px); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 46px); }
.foot__brand p { margin-top: 14px; font-size: 14px; color: rgba(250,248,242,.58); max-width: 32ch; }
.foot h4 { font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(250,248,242,.58); margin-bottom: 14px; font-weight: 700; }
.foot li + li { margin-top: 8px; }
.foot li, .foot a { font-size: 14.5px; }
.foot a:hover { color: var(--yellow); }
.foot__bottom { margin-top: clamp(32px, 4vw, 54px); padding-top: 20px; border-top: 1px solid rgba(250,248,242,.16); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 12.5px; color: rgba(250,248,242,.58); }
@media (max-width: 820px) { .foot__top { grid-template-columns: repeat(2, 1fr); } .foot__brand { grid-column: 1 / -1; } }

/* ---------- reveal + page transition ---------- */
.rv { opacity: 0; transform: translateY(20px); }
.is-ready .rv { transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.page { opacity: 0; transition: opacity .4s ease; }
.page.is-visible { opacity: 1; }
.page.is-leaving { opacity: 0; transition-duration: .25s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  .page { opacity: 1; }
}


.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: -.03em; }
.brand i { width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); display: block; box-shadow: inset 0 0 0 3px var(--black); }

.hero { background: var(--yellow); padding-top: clamp(96px, 12vw, 130px); padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 3px solid var(--black); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(26px, 4vw, 52px); align-items: center; }
.hero h1 { margin-top: 12px; }
.hero .lead { margin-top: 16px; max-width: 36ch; color: rgba(17,17,17,.76); }
.hero__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border: 3px solid var(--black); border-radius: var(--radius); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__media { order: -1; } }

/* marquee-ish strip */
.strip { background: var(--black); color: var(--yellow); padding-block: 14px; overflow: hidden; }
.strip div { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-inline: var(--gutter); }

/* price board */
.board { border: 3px solid var(--black); border-radius: var(--radius); overflow: hidden; margin-top: clamp(26px, 4vw, 46px); }
.board__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
.board__row > div { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.board__row:last-child > div { border-bottom: 0; }
.board__row--head > div { background: var(--black); color: var(--yellow); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.board__row b { font-weight: 700; }
@media (max-width: 700px) { .board__row { grid-template-columns: 1fr 1fr; } .board__row > div:first-child { grid-column: 1 / -1; background: #F0EADA; font-weight: 800; } .board__row--head { display: none; } }

/* services */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(26px, 4vw, 46px); }
.tile { border: 3px solid var(--black); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .3s var(--ease); }
.tile:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--black); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 3px solid var(--black); }
.tile div { padding: 18px 20px 22px; }
.tile b { display: block; font-size: 17px; text-transform: uppercase; letter-spacing: -.02em; }
.tile span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }

/* hours + loyalty */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.panelbox { border: 3px solid var(--black); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.panelbox--dark { background: var(--black); color: var(--paper); }
.panelbox--dark h2 { color: var(--yellow); }
.panelbox dl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 11px; border-bottom: 1px solid var(--line); font-size: 15px; }
.panelbox--dark dl div { border-color: rgba(250,248,242,.18); }
.panelbox dt { color: var(--muted); }
.panelbox--dark dt { color: rgba(250,248,242,.6); }
.panelbox p { margin-top: 14px; }
.panelbox .btn { margin-top: 20px; }
.panelbox--dark .btn { background: var(--yellow); color: var(--black); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
