/* KERAMO ART — catalog stylesheet
   Design language: ceramic & porcelain surfaces → a flat tiled grid with
   hairline "grout" dividers instead of rounded cards/shadows. Dark charcoal
   (matching the brand's glass signage) + warm stone paper + the brand orange
   used sparingly. Headline type is a geometric grotesk (architectural,
   matches the brand wordmark); a warm serif appears only on collection names
   as a craft accent. */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=Inter:wght@400;500;600&family=Fraunces:ital,wght@0,500;1,500&display=swap');

:root {
  --ink: #221d19;
  --charcoal: #211d1a;
  --charcoal-2: #2c2620;
  --paper: #f4efe9;
  --paper-2: #ece4da;
  --line: rgba(34, 29, 25, 0.14);
  --line-dark: rgba(244, 239, 233, 0.16);
  --orange: #e3934a;
  --orange-deep: #b9682c;
  --cream: #faf7f2;
  --muted: #6f6459;
  --muted-dark: #b9ada0;

  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;

  --maxw: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Focus ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--charcoal);
  border-bottom: 1px solid var(--line-dark);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { width: 30px; height: 25px; display: block; }

.brand-word {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 18px;
  color: var(--cream);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--muted-dark);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--cream); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--orange);
  color: var(--orange) !important;
  padding: 9px 18px;
}

.nav-cta:hover {
  background: var(--orange);
  color: var(--charcoal) !important;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--charcoal);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
  min-height: 560px;
}

.hero-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--orange);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

.hero p.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted-dark);
  max-width: 46ch;
  margin: 0 0 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 15px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--charcoal);
}
.btn-primary:hover { background: var(--cream); }

.btn-ghost {
  border-color: var(--line-dark);
  color: var(--cream);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
}

.hero-stat .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--cream);
  display: block;
}
.hero-stat .label {
  font-size: 13px;
  color: var(--muted-dark);
  margin-top: 4px;
}

/* decorative tile grid echoing the roofline mark, built from stacked chevrons */
.hero-art {
  position: relative;
  height: 420px;
}
.chev-grid {
  width: 100%;
  height: 100%;
}
.chev-grid path { fill: none; stroke: var(--line-dark); stroke-width: 1.4; }
.chev-grid path.accent { stroke: var(--orange); stroke-width: 2.2; }

/* ---------- Section scaffolding ---------- */
section { padding: 96px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.section-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  margin: 0;
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.6;
}

.section-tag {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--orange-deep);
  font-size: 15px;
}

/* ---------- About strip ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about .lede-large {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  margin: 0;
}
.about .lede-large em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--orange-deep);
}
.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
.about-points li {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.about-points strong {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  margin-bottom: 6px;
}
.about-points span {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------- Washer feature strip ---------- */
.washer-feature {
  padding: 0;
  background: var(--charcoal);
  color: var(--cream);
}
.washer-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 440px;
}
.washer-feature .wrap { padding-left: 0; padding-right: 0; max-width: none; }
.washer-feature-media { overflow: hidden; }
.washer-feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }
.washer-feature-copy {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.washer-feature-copy .section-tag { color: var(--orange); margin: 0 0 14px; }
.washer-feature-copy h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 34px);
  margin: 0 0 18px;
  line-height: 1.15;
  max-width: 16ch;
}
.washer-feature-copy p {
  color: var(--muted-dark);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 0 30px;
}

/* ---------- Catalog ---------- */
.catalog { background: var(--paper); }

.filters {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 0 16px;
  margin-right: 34px;
  cursor: pointer;
  position: relative;
}
.filter-btn[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--orange);
  font-weight: 600;
}
.filter-btn .count {
  color: var(--muted);
  font-size: 12.5px;
  margin-left: 5px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-top: none;
}

.tile {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
  text-align: left;
  background: var(--cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: inherit;
}
.tile:nth-child(4n) { border-right: none; }

.tile-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.tile:hover .tile-media img { transform: scale(1.04); }

.tile-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: var(--orange);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
  padding: 7px 12px;
  max-width: calc(100% - 28px);
}

.tile-body { padding: 18px 20px 22px; }

.tile-collection {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--orange-deep);
  font-size: 13px;
  margin-bottom: 4px;
}

.tile-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--ink);
}

.tile-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.empty-state {
  padding: 64px 0;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-top: none;
}

/* ---------- Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.process-item {
  background: var(--paper);
  padding: 32px 28px;
}
.process-item .step {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--orange-deep);
  margin-bottom: 14px;
}
.process-item h3 {
  font-family: var(--font-head);
  font-size: 18px;
  margin: 0 0 10px;
}
.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--charcoal);
  color: var(--cream);
}
.contact .section-head { border-bottom-color: var(--line-dark); }
.contact .section-head h2 { color: var(--cream); }
.contact .section-head p { color: var(--muted-dark); }
.contact .section-tag { color: var(--orange); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 24px;
  margin: 0 0 36px;
}
.contact-info dt {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--muted-dark);
}
.contact-info dd {
  margin: 0;
  font-size: 15px;
}
.contact-info dd a { text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.contact-info dd a:hover { border-color: var(--orange); color: var(--orange); }

.contact-note {
  font-size: 13.5px;
  color: var(--muted-dark);
  line-height: 1.6;
  border-top: 1px solid var(--line-dark);
  padding-top: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 13px;
  color: var(--muted-dark);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 2px;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23b9ada0' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 20px;
  cursor: pointer;
}
.form-field select:invalid,
.form-field select option[value=""] {
  color: #8a7f72;
}
.form-field select option {
  color: var(--ink);
  background: var(--cream);
}
.form-field textarea { resize: vertical; min-height: 72px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #8a7f72; }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid var(--line-dark);
  padding: 32px 0;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer small { color: var(--muted-dark); font-size: 13px; }

/* ---------- Product panel (slide-over) ---------- */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 14, 12, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 60;
}
.panel-overlay.open { opacity: 1; pointer-events: auto; }

.panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 92vw);
  background: var(--cream);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.2,.7,.3,1);
  z-index: 61;
  overflow-y: auto;
  border-left: 1px solid var(--line);
}
.panel.open { transform: translateX(0); }

.panel-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink);
  width: 36px;
  height: 36px;
}

.panel-media { aspect-ratio: 4/3; border-bottom: 1px solid var(--line); }
.panel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.panel-body { padding: 32px 36px 48px; }
.panel-collection {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--orange-deep);
  font-size: 15px;
  margin-bottom: 6px;
}
.panel-body h3 {
  font-family: var(--font-head);
  font-size: 28px;
  margin: 0 0 24px;
}
.panel-specs { list-style: none; margin: 0 0 32px; padding: 0; }
.panel-specs li {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 14.5px;
}
.panel-specs li span.k { color: var(--muted); }
.panel-specs li:last-child { border-bottom: 1px solid var(--line); }

.panel-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 28px;
}
.panel-note:empty { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; min-height: 0; }
  .hero-art { height: 240px; order: -1; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .washer-feature-grid { grid-template-columns: 1fr; min-height: 0; }
  .washer-feature-media img { min-height: 260px; }
  .washer-feature-copy { padding: 48px 32px; }
  .washer-feature-copy h2 { max-width: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-list { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(4n) { border-right: 1px solid var(--line); }
  .tile:nth-child(2n) { border-right: none; }
  section { padding: 64px 0; }
  .main-nav { display: none; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile:nth-child(2n) { border-right: 1px solid var(--line); }
  .site-header .wrap { height: 64px; }
  .nav-cta { display: none; }
  .brand-word { font-size: 15px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}
