/* Stoomerij Gracht — linen / slate laundry */
:root {
  --ink: #1a242c;
  --slate: #3a4f5c;
  --slate-mid: #5a6f7c;
  --mist: #e8eef1;
  --linen: #f4f6f7;
  --paper: #fbfcfc;
  --white: #ffffff;
  --line: #cfd8de;
  --accent: #2f6f7a;
  --accent-deep: #24565e;
  --shadow: 0 18px 40px rgba(26, 36, 44, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --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;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(47, 111, 122, 0.07), transparent 55%),
    linear-gradient(180deg, var(--paper), var(--linen) 40%, var(--paper));
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, .logo, .hero-brand {
  font-family: var(--font-display);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.55rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 252, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(207, 216, 222, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.1;
}

.logo span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-mid);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.4rem;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 36, 44, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover {
  background: var(--mist);
  color: var(--ink);
}

.btn-on-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 36, 44, 0.25) 0%, rgba(26, 36, 44, 0.55) 45%, rgba(26, 36, 44, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 38rem;
  animation: fadeUp 0.9s var(--ease) both;
}

.hero-brand {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin: 0 0 0.85rem;
  font-weight: 500;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  max-width: 28rem;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
  margin-top: 0.85rem;
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-media,
.page-hero::after {
  position: absolute;
  inset: 0;
}

.page-hero::after {
  content: "";
  background: linear-gradient(180deg, rgba(26, 36, 44, 0.2), rgba(26, 36, 44, 0.72));
}

.page-hero .hero-content {
  padding: 3.5rem 0 2.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--white);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(232, 238, 241, 0.7), rgba(244, 246, 247, 0.9));
}

.section-slate {
  background: var(--slate);
  color: var(--white);
}

.section-slate a {
  color: #d7ecef;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head p,
.lede {
  color: var(--slate-mid);
}

.section-slate .section-head p,
.section-slate .lede {
  color: rgba(255, 255, 255, 0.78);
}

/* Expertise — not cards */
.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.expertise-item {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.expertise-item:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}

.expertise-item:nth-child(even) {
  padding-left: 2rem;
}

.expertise-item h3 {
  color: var(--slate);
}

.expertise-item p {
  color: var(--slate-mid);
  margin: 0;
}

/* Feature split */
.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.feature-split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-split.reverse .copy { order: -1; }

.media-frame {
  overflow: hidden;
  border-radius: 0.2rem;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.03);
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.list-clean li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

/* B2B strip */
.b2b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.b2b-grid article h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
}

.b2b-grid article p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
}

/* Hours */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.hours-table th {
  color: var(--ink);
  width: 45%;
}

.hours-table td {
  color: var(--slate-mid);
}

/* Services detail */
.service-stack {
  display: grid;
  gap: 3.5rem;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.service-block:nth-child(even) {
  grid-template-columns: 1.1fr 1fr;
}

.service-block:nth-child(even) .copy {
  order: -1;
}

.service-block .kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* About timeline */
.timeline {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-left: 2px solid var(--line);
  padding-left: 1.5rem;
}

.timeline article {
  padding: 0 0 1.75rem;
  position: relative;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: -1.85rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--paper);
}

.timeline .year {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--slate);
  margin-bottom: 0.25rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.contact-panel dl {
  margin: 0;
}

.contact-panel dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-mid);
  margin-top: 1rem;
}

.contact-panel dt:first-child { margin-top: 0; }

.contact-panel dd {
  margin: 0.25rem 0 0;
  color: var(--ink);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--slate);
}

input,
textarea,
select {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(47, 111, 122, 0.35);
  border-color: var(--accent);
}

textarea { min-height: 140px; resize: vertical; }

.form-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--mist);
  border-left: 3px solid var(--accent);
  color: var(--slate);
}

.form-note[hidden] { display: none; }

/* Legal */
.legal-content {
  max-width: 44rem;
}

.legal-content h2 {
  margin-top: 2.25rem;
  font-size: 1.45rem;
}

.legal-content ul {
  padding-left: 1.2rem;
  color: var(--slate);
}

.legal-content li { margin-bottom: 0.4rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer .logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.site-footer .logo span { color: rgba(255, 255, 255, 0.55); }

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover { color: var(--white); }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: 520px;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  border-radius: 0.4rem;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner p {
  font-size: 0.92rem;
  color: var(--slate);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(26, 36, 44, 0.45);
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.cookie-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal-dialog {
  background: var(--white);
  width: min(100%, 440px);
  padding: 1.5rem;
  border-radius: 0.4rem;
  box-shadow: var(--shadow);
}

.cookie-modal-dialog h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.cookie-option input {
  width: auto;
  margin-top: 0.2rem;
}

.cookie-modal-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Responsive */
@media (max-width: 900px) {
  .expertise-list,
  .feature-split,
  .feature-split.reverse,
  .hours-grid,
  .contact-layout,
  .service-block,
  .service-block:nth-child(even),
  .b2b-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .expertise-item:nth-child(odd),
  .expertise-item:nth-child(even) {
    padding: 1.5rem 0;
    border-right: none;
  }

  .feature-split.reverse .copy,
  .service-block:nth-child(even) .copy {
    order: 0;
  }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }

  .main-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .form-row { grid-template-columns: 1fr; }

  .hero { min-height: min(85vh, 680px); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .hero-content { padding-bottom: 2.5rem; }
  .section { padding: 3.25rem 0; }
}
