:root {
  --paper: #fbfbfa;
  --ink: #1c1c22;
  --muted: #5e5c57;
  --line: rgba(28, 28, 34, 0.14);
  --btn: #1f1f29;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --chrome-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.admin { padding-top: var(--chrome-h); }

img { max-width: 100%; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.chrome,
.site-nav {
  background: rgba(251, 251, 250, 0.92);
  border-bottom: 1px solid var(--line);
}

.chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

body.home .site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: rgba(251, 251, 250, 0.62);
  backdrop-filter: blur(12px);
  border-bottom: 0;
}

.dock {
  position: fixed;
  z-index: 40;
  right: 14px;
  left: auto;
  bottom: max(14px, env(safe-area-inset-bottom));
  display: flex;
  width: max-content;
  gap: 8px;
  padding: 6px;
  background: rgba(251, 251, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(28, 28, 34, 0.08);
}

.chrome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 64px;
}

.logo {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links > a,
.drop > summary {
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
}

.drop { position: relative; }

.drop > summary {
  list-style: none;
}

.drop > summary::-webkit-details-marker { display: none; }

.drop-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(28, 28, 34, 0.06);
}

.drop-panel a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px;
  text-decoration: none;
  font-size: 15px;
}

.drop-panel a span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.drop-panel a:hover { background: rgba(28, 28, 34, 0.04); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  background: var(--btn);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.btn:hover { opacity: 0.9; }

.btn.light {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn.glass {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 0 18px;
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 22px rgba(28, 28, 34, 0.05);
}

.btn.glass:hover { opacity: 1; background: rgba(255, 255, 255, 0.2); }

.hero { background: #fff; }

.hero-frame { position: relative; }

.hero-frame img {
  display: block;
  width: 100%;
  height: clamp(560px, 88vh, 860px);
  object-fit: cover;
  object-position: center 68%;
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: calc(var(--chrome-h) + 7vh) 0 0;
  text-align: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  max-width: 12em;
  margin: 0 auto;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 0.92;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 22px rgba(255, 255, 255, 0.75);
}

.hero-lead {
  max-width: 22em;
  margin: 16px auto 0;
  font-size: 18px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.hero .btn { margin-top: 22px; }

.hero-fade {
  position: relative;
  z-index: 2;
  height: 168px;
  margin-top: -168px;
  background: linear-gradient(
    to bottom,
    rgba(251, 251, 250, 0) 0%,
    rgba(251, 251, 250, 0.35) 38%,
    rgba(251, 251, 250, 0.78) 72%,
    var(--paper) 100%
  );
  pointer-events: none;
}

.person-section { border-top: 0; padding-top: 8px; background: var(--paper); }

.wash-paper { background: var(--paper); }
.wash-sand { background: #f6edd9; border-top: 0; }
.wash-mint { background: #e7f3df; border-top: 0; }

.journal-banner-band {
  background: #DDE9F2;
}

.wave-slot {
  overflow: hidden;
  height: 72px;
  line-height: 0;
}

.wave-slot .wave {
  display: block;
  width: max(200%, 2200px);
  height: 72px;
  animation: wave-drift 18s linear infinite;
}

@keyframes wave-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.wash-form { background: #f8e6d4; border-top: 0; }

.tone-sand { background: #f7f4ef; }
.tone-peach { background: #f8f3ee; }
.tone-lilac { background: #f6f4f2; }
.tone-rose { background: #f8f4f2; }
.tone-blush { background: #f7f3f0; }
.tone-sky { background: #f5f4f2; }
.tone-cream { background: #f8f5ef; }
.tone-mint { background: #f6f5f1; }

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.carousel-nav { display: flex; gap: 8px; }

.carousel-nav .btn { min-width: 44px; padding: 0; }

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, calc((100% - 1120px) / 2));
  padding: 28px max(24px, calc((100% - 1120px) / 2)) 8px;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 min(340px, 78vw);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.card-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card-media svg {
  width: 84%;
  height: 86%;
  overflow: visible;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bob { transform-origin: center; animation: bob 4.6s ease-in-out infinite; }

.bob-late { animation-delay: -1.6s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-7px) rotate(2.5deg); }
}

.card-title {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.03em;
}

.card-price {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.service-figure {
  margin: 28px auto 0;
  width: min(1120px, calc(100% - 48px));
}

.service-figure .card-media {
  aspect-ratio: 16 / 9;
  align-items: stretch;
  justify-items: stretch;
}

.service-figure .card-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.section.journal-banner-band {
  background: #DDE9F2;
  border-top: 0;
  padding-top: 48px;
  padding-bottom: 0;
}

.section.wash-form { border-top: 0; }

.section h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.96;
  max-width: 14em;
}

.lede {
  max-width: 40em;
  margin-top: 16px;
  color: var(--ink);
}

.more {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 13px;
  text-underline-offset: 3px;
}

.person {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: end;
}

.person img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  background: #d5d3ce;
}

.person h2 { font-size: clamp(36px, 4vw, 52px); }

.person .role {
  font-family: var(--mono);
  font-size: 12px;
  margin-top: 8px;
  color: var(--muted);
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 13px;
}

.contacts a { text-underline-offset: 3px; }

.situations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 14px;
}

.situations a { text-decoration: none; }

.situations a:hover { text-decoration: underline; text-underline-offset: 3px; }

.situations span { color: var(--muted); padding: 0 10px; }

.steps { list-style: none; margin: 36px 0 0; padding: 0; }

.steps li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid rgba(28, 28, 34, 0.14);
}

.steps li:has(.step-art) {
  grid-template-columns: 52px 56px minmax(0, 1fr);
}

.step-art {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.55);
}

.step-art svg { width: 32px; height: 32px; }

.steps .num {
  font-family: var(--mono);
  font-size: 13px;
  padding-top: 8px;
}

.steps h3 {
  font-size: 28px;
  margin-bottom: 6px;
}

.steps p, .fit, .note { max-width: 42em; color: var(--ink); }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.quotes blockquote {
  margin: 0;
  padding: 22px 20px 18px;
  border-top: 0;
}

.quotes p { font-family: var(--serif); font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; }

.quotes footer {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.posts { margin-top: 12px; }

.post {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.post:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.post .cat, .post time, .price {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.post h3 { font-size: 28px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 22px 0 8px;
  font-family: var(--mono);
  font-size: 13px;
}

.filters a { text-decoration: none; }

.filters a.on { text-decoration: underline; text-underline-offset: 3px; }

.page-head { padding: 54px 0 10px; }

.page-head h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.94;
  max-width: 12em;
}

.price { display: block; margin-bottom: 14px; }

.includes { margin: 28px 0 0; padding: 0; list-style: none; }

.includes li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  max-width: 40em;
}

.faq { border-top: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-size: 18px;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq p { padding: 0 0 16px; max-width: 40em; color: var(--muted); }

.article { max-width: 680px; }

.article .meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.article h1 { font-size: clamp(40px, 5vw, 64px); }

.prose { margin-top: 28px; }

.prose p + p { margin-top: 16px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  margin-top: 28px;
  max-width: 760px;
}

.wide { grid-column: 1 / -1; }

label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 12px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check input {
  width: auto;
  margin-top: 3px;
}

.check label {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
}

input, select, textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 28, 34, 0.4);
  border-radius: 0;
  padding: 10px 0;
}

textarea { min-height: 110px; resize: vertical; }

.error {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 13px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 96px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer a { text-decoration: none; }

.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer ul { list-style: none; margin: 0; padding: 0; }

.footer li + li { margin-top: 6px; }

.footer .legal {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.admin-table { width: 100%; border-collapse: collapse; margin-top: 22px; }

.admin-table th, .admin-table td {
  text-align: left;
  padding: 12px 8px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  font-size: 15px;
}

.admin-table th {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.lead-message {
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
}

.admin-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

[id] { scroll-margin-top: 16px; }

.tasks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.task {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}

.task:nth-child(4),
.task:nth-child(5) { grid-column: span 3; }

.task .card-media { aspect-ratio: 16 / 8; }

.task-copy {
  display: block;
  padding: 14px 16px 16px;
  background: rgba(255, 255, 255, 0.45);
}

.task-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.task-copy span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.4;
}

.journal-banner,
.form-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: center;
}

.spot {
  display: grid;
  place-items: center;
  min-height: 180px;
}

.spot svg { width: 160px; height: 140px; overflow: visible; }

.lead-dialog {
  width: min(640px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: auto;
  padding: 22px 22px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8e6d4;
  color: var(--ink);
  overflow: auto;
}

.lead-dialog::backdrop { background: rgba(28, 28, 34, 0.38); }

.lead-dialog h2 { font-size: 36px; }

.lead-dialog .form-grid { margin-top: 18px; }

.dlg-close {
  float: right;
  margin: 0 0 8px 12px;
  min-height: 36px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.dlg-foot { margin-top: 8px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 36px;
}

.stat-grid article {
  padding: 16px;
  background: #f6edd9;
}

.stat-grid strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bob, .card-media svg, .card-media img, .wave-slot .wave { animation: none; transition: none; }
}

@media (max-width: 860px) {
  .wrap, .chrome-row { width: min(1120px, calc(100% - 32px)); }
  .chrome-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    min-height: 0;
    align-items: center;
    padding: 10px 0 6px;
  }
  .logo { font-size: 17px; line-height: 1.15; }
  .nav-links {
    grid-column: 1 / -1;
    width: auto;
    justify-content: flex-start;
    gap: 4px 18px;
  }
  .nav-links > a,
  .drop > summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .drop-panel {
    left: 0;
    transform: none;
    z-index: 30;
    width: min(340px, calc(100vw - 48px));
    max-height: min(68vh, 460px);
    overflow: auto;
    overscroll-behavior: contain;
  }
  .drop-panel a {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 12px 10px;
  }
  .drop-panel a span { white-space: normal; text-align: left; }
  .person, .quotes, .form-grid, .footer, .post, .journal-banner, .form-layout { grid-template-columns: 1fr; }
  .form-layout .spot { display: none; }
  .tasks { grid-template-columns: 1fr; }
  .task, .task:nth-child(4), .task:nth-child(5) { grid-column: auto; }
  .task .card-media { aspect-ratio: 16 / 9; }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .steps li:has(.step-art) { grid-template-columns: 44px 40px minmax(0, 1fr); }
  .steps h3, .card-title, .post h3 { font-size: 24px; }
  .spot { min-height: 120px; }
  .person img { width: min(240px, 70vw); height: 300px; }
  .wave-slot { display: none; }
  .section.journal-banner-band { padding-bottom: 36px; }
  .hero-frame img { height: min(78svh, 640px); }
  .hero-copy { padding-top: calc(var(--chrome-h) + 12px); }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero-lead { font-size: 16px; }
  .service-figure { width: min(1120px, calc(100% - 32px)); margin-top: 16px; }
  .page-head { padding: 16px 0 4px; }
  .page-head h1 { font-size: clamp(36px, 10vw, 52px); }
  .section { padding: 48px 0; }
  .section h2 { font-size: clamp(32px, 9vw, 44px); }
  .services-head { align-items: center; }
  .carousel {
    scroll-padding-inline: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .quotes p { font-size: 20px; }
  input, select, textarea { font-size: 16px; }
  .check input { width: 22px; height: 22px; flex: none; }
  .footer { gap: 22px; padding-bottom: max(96px, calc(env(safe-area-inset-bottom) + 72px)); }
  .stat-grid { grid-template-columns: 1fr; }
  .lead-dialog { padding: 16px 14px 12px; }
  .lead-dialog h2 { font-size: 30px; }
  .dock { right: 12px; left: auto; width: max-content; }
  .post time { display: none; }
  .admin-table { display: block; overflow-x: auto; }
}
