:root{
  --brand: #f1ddb8; /* Emberlight brand color */
  --paper: #fff8f4;
  --ink: #2b2220;
  --muted: #6f5a55;
  --title-font: Georgia, serif;;
  --ring: rgba(255,255,255,.6);
}
*{ box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  background: var(--brand);
  color: var(--paper);
  display:flex;
  flex-direction:column;
  gap:2rem;
}
.hero{
  margin-inline:auto;
  text-align:center;
  padding:3rem 1rem 1rem;
}
.logo{
  display:block;
  margin-inline:auto;
  margin-bottom:1rem;
  width: clamp(80px, 35vw, 150px);
  height:auto;
}
.title{
  margin:.75rem 0 0;
  font-family: var(--title-font);
  font-weight: 400;               /* bold for the top line */
  text-transform: uppercase;
  letter-spacing: 0.05em;         /* tweak 0.03–0.08em to taste */
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem); /* a touch larger reads “thinner” */
  line-height: 1.1;               /* tighter, logo-like vertical feel */
  color: var(--ink);
  font-kerning: normal;           /* best kerning */
  font-variant-ligatures: common-ligatures;
}
.subtitle{
  margin:.25rem 0 0;
  font-family: var(--title-font);
  font-weight: 400;               /* regular for contrast */
  text-transform: uppercase;      /* logo uses caps here too */
  letter-spacing: 0.25em;         /* more tracking than the top line */
  font-size: clamp(1.5rem, 3vw + 0.75rem, 2.5rem);
  line-height: 1.15;
  color: var(--ink);
  opacity: .95;                   /* crisp but not harsh */
}
.tagline{
  margin:.25rem 0 0;
  color: var(--ink);
  opacity:.85;
  font-style:italic;
  letter-spacing: 0.05em;
}
.catalog{
  margin-inline:auto;
  width:min(1100px, 92vw);
}
.grid{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:1rem;
}
.card{
  background: color-mix(in oklab, var(--paper) 86%, var(--brand));
  color: var(--ink);
  border-radius:14px;
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.aspect{
  aspect-ratio: 4 / 3;
  background-color: #e7e7e7;
  background-size: cover;       /* optional: move from inline */
  background-position: center;  /* optional: move from inline */
}
.card .meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.9rem 1rem;
}
.card h3{
  margin:0;
  font-size:1rem;
  font-weight:700;
}
.price{
  font-weight:700;
  color: var(--muted);
}
.cta{
  display:flex;
  justify-content:center;
  padding-bottom:3rem;
}
.btn{
  appearance:none;
  border:0;
  background: var(--paper);
  color: var(--ink);
  padding:.85rem 1.2rem;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.btn:focus-visible{
  outline: 3px solid var(--ring);
  outline-offset:2px;
}
.btn-ghost{
  background: transparent;
  color: var(--paper);
  box-shadow: none;
  border:1.5px solid color-mix(in oklab, var(--paper) 75%, transparent);
}
dialog{
  width:min(640px, 92vw);
  border: none;
  border-radius: 16px;
  padding:0;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop{
  background: rgba(0,0,0,.55);
}
form{
  padding:1.25rem 1.25rem 1rem;
}
label{
  display:grid;
  gap:.4rem;
  margin:.6rem 0;
  font-weight:600;
}
input[type="text"], input[type="email"], textarea{
  border:1.5px solid #e5dcd7;
  background:#fffdfc;
  border-radius:10px;
  padding:.7rem .8rem;
  font: inherit;
  color: var(--ink);
  resize: vertical;
}
input:focus-visible, textarea:focus-visible{
  outline: 3px solid #eacfc6;
  border-color:#eacfc6;
}
.form-actions{
  display:flex;
  gap:.6rem;
  margin-top:.6rem;
}
.tiny{
  font-size:.8rem;
  color:#5c4d49;
}
.hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px; height:1px; overflow:hidden;
}
.sr-only{
  position:absolute !important;
  width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0;
}
