* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  background: #ffffff;
  color: #111111;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.hero {
  min-height: 28vh;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
  background: #000000;
  color: #ffffff;
}
.hero-center {
  grid-column: 2;
  text-align: center;
  color: inherit;
  text-decoration: none;
}
.logo {
  display: block;
  width: 5.75rem;
  height: 5.75rem;
  margin: 0 auto 0.7rem;
  object-fit: cover;
  object-position: 47% 38%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.hero h1 {
  font-family: "Great Vibes", "Segoe Script", "Apple Chancery", cursive;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.hero-quote {
  margin-top: 0.55rem;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.hero-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}
.hero-btn.cart {
  justify-self: end;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
}
.hero-btn.cart svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-btn.shop {
  justify-self: start;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.90rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.intro {
  max-width: 38rem;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 5vw, 2.5rem) 1.75rem;
  color: #1a1a1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.7;
}
.intro p + p {
  margin-top: 1.15rem;
}
.house {
  width: min(52rem, 96vw);
  margin: 0 auto 4.5rem;
}
/* Door x/y/width/height are on the <rect class="door-hit"> in index.html, not here. */
.house-svg {
  display: block;
  width: 100%;
  height: auto;
}
.door-hit {
  fill: #000;
  fill-opacity: 0;
  stroke: none;
  cursor: pointer;
}
.door-link:hover .door-hit,
.door-link:focus-visible .door-hit {
  fill: #ffecaa;
  fill-opacity: 0.32;
  stroke: rgba(28, 20, 8, 0.55);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
.door-link:focus-visible {
  outline: none;
}
.door-label {
  pointer-events: none;
  opacity: 0;
}
.door-link:hover .door-label,
.door-link:focus-visible .door-label {
  opacity: 1;
}
.door-label rect {
  fill: #111;
}
.door-label text {
  fill: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-anchor: middle;
  dominant-baseline: central;
  alignment-baseline: middle;
}
.house-hint {
  margin-top: 0.85rem;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-style: italic;
  color: #555;
}
.page {
  max-width: 38rem;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 5vw, 2.5rem) 4.5rem;
  color: #1a1a1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.7;
}
.page h2 {
  font-family: "Great Vibes", "Segoe Script", "Apple Chancery", cursive;
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  font-weight: 400;
  margin-bottom: 1.1rem;
}
.page p + p {
  margin-top: 1.15rem;
}
.page.gallery-page {
  max-width: 64rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.work-card {
  color: inherit;
  text-decoration: none;
}
.work-card img,
.work-main,
.work-pictures img {
  display: block;
  width: 100%;
  height: auto;
  background: #f4f4f4;
}
.work-card h3 {
  margin-top: 0.7rem;
  font-size: 1.05rem;
  font-weight: 400;
}
.work-meta {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: #555;
}
.work-placeholder {
  min-height: 12rem;
  background: #f0f0f0;
}
.work-price {
  margin-top: 0.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  color: #444;
}
.work-kicker {
  margin-bottom: 0.4rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.work-kicker a {
  color: inherit;
}
.work-main {
  margin-top: 1.5rem;
}
.work-pictures {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.back {
  display: inline-block;
  margin-top: 2rem;
  color: #111;
  font-size: 0.92rem;
}
