/* Slow Kiln Pottery, the Plus version. Its own design, darker and photo-led, so the step up
   from Standard is something you can see, not just extra pages. */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --night: #1b1714; --night2: #25201b; --cream: #f3ece1; --cream2: #e9dfcf; --ink: #231e19;
  --mute: #b8aa99; --mute-ink: #62584c; --clay: #e3895c; --clay-ink: #9e4622; --glaze: #8fc3d2;
  --rule: rgba(243,236,225,.14); --rule-ink: rgba(35,30,25,.14);
  --pad: clamp(1.1rem, 5vw, 4rem); --max: 80rem; --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--night); color: var(--cream); font: 400 17px/1.6 "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: var(--clay); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
h1 { font-size: clamp(3.2rem, 9vw, 8.4rem); }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--clay); }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
h3 { font-size: 1.5rem; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.kicker { display: flex; align-items: center; gap: .7rem; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }
.kicker::before { content: ""; width: 1.8rem; height: 1px; background: currentColor; }
.lead { max-width: 34rem; font-size: 1.2rem; color: var(--mute); }
.button { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.5rem; border-radius: 99px; background: var(--cream); color: var(--ink); font-weight: 500; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; transition: background .25s, color .25s, transform .25s var(--ease); }
.button::after { content: "\2192"; transition: transform .25s var(--ease); }
.button:hover { background: var(--clay); color: var(--ink); }
.button:hover::after { transform: translateX(3px); }
.button.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(243,236,225,.55); }
.button.ghost:hover { background: var(--cream); color: var(--ink); }
.light { background: var(--cream); color: var(--ink); }
.light a { color: var(--clay-ink); }
.light .lead, .light .mute { color: var(--mute-ink); }
.light .kicker, .light h2 em, .light h1 em { color: var(--clay-ink); }
.light .button { background: var(--ink); color: var(--cream); }
.light .button:hover { background: var(--clay-ink); color: #fff; }
.mute { color: var(--mute); }

/* Header */
.head-bar { position: sticky; top: 0; z-index: 50; background: rgba(27,23,20,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.head { display: flex; align-items: center; gap: .8rem 2rem; flex-wrap: wrap; padding-block: 1rem; }
.mark { margin-right: auto; display: flex; align-items: center; gap: .65rem; color: var(--cream); text-decoration: none; font: 500 1.5rem/1 "Fraunces", serif; letter-spacing: -.01em; }
.mark svg { width: 2.1rem; height: 2.1rem; flex: none; }
.head nav { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; font-size: .96rem; }
.head nav a { color: var(--cream); text-decoration: none; padding-block: .25rem; border-bottom: 1px solid transparent; }
.head nav a:hover { border-color: var(--mute); }
.head nav a[aria-current="page"] { border-color: var(--clay); color: var(--clay); }
.head .button { padding: .6rem 1.1rem; font-size: .92rem; }
@media (max-width: 700px) { .head .button { display: none; } .head nav { gap: .2rem 1.1rem; font-size: .92rem; } }

/* The seasonal notice, put up and taken down for the client */
.season { background: var(--clay); color: var(--ink); font-size: .95rem; }
.season .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; padding-block: .6rem; }
.season strong { font-weight: 500; }
.season a { color: inherit; }

/* Home hero: one full-width photo with the words over it */
.hero { position: relative; min-height: min(88svh, 52rem); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero > img { position: absolute; inset: 0; z-index: -2; object-position: 50% 40%; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27,23,20,.15) 0%, rgba(27,23,20,.35) 40%, rgba(27,23,20,.94) 100%), linear-gradient(90deg, rgba(27,23,20,.6), transparent 70%); }
@keyframes settle { to { transform: none; } }
@media (max-width: 700px) { .hero::before { background: linear-gradient(180deg, rgba(27,23,20,.6) 0%, rgba(27,23,20,.78) 45%, rgba(27,23,20,.96) 100%); } }
.hero .wrap { width: 100%; padding-block: 8rem clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { max-width: 11ch; margin-top: 1.2rem; }
.hero .lead { margin-top: 1.4rem; color: #ddd2c3; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .8rem 2.5rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: 1.3rem; border-top: 1px solid var(--rule); color: #ddd2c3; font-size: .95rem; }
.hero-meta b { display: block; color: var(--cream); font-weight: 500; }

/* Open now, filled in from the hours by kiln-biz.js */
.open-now { display: inline-flex; align-items: center; gap: .5rem; }
.open-now::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--mute); }
.open-now.is-open::before { background: #7fd18b; box-shadow: 0 0 0 4px rgba(127,209,139,.18); }

/* The glaze names that drift along */
.drift { overflow: hidden; border-block: 1px solid var(--rule); padding-block: 1.1rem; }
.drift-track { display: flex; width: max-content; gap: 2.5rem; animation: drift 38s linear infinite; font: italic 300 clamp(1.6rem, 3.4vw, 2.6rem)/1 "Fraunces", serif; color: var(--mute); }
.drift-track span { display: inline-flex; align-items: center; gap: 2.5rem; white-space: nowrap; }
.drift-track span::after { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--dot, var(--clay)); }
@keyframes drift { to { transform: translateX(-50%); } }

.band { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.band-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.2rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.band-head h2 { margin-top: 1rem; }
.band-head p { max-width: 28rem; color: var(--mute); }
.light .band-head p { color: var(--mute-ink); }

/* New out of the kiln: a shelf you slide along */
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 22rem); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.2rem; scrollbar-width: thin; scrollbar-color: var(--clay) transparent; }
.shelf:focus-visible { outline-offset: 6px; }
.piece { scroll-snap-align: start; margin: 0; }
.piece .pic { aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--night2); }
.piece .pic img { transition: transform 1.2s var(--ease); }
.piece:hover .pic img { transform: scale(1.05); }
.piece figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; }
.piece figcaption b { font: 500 1.15rem/1.2 "Fraunces", serif; }
.piece figcaption small { display: block; color: var(--mute); font-size: .88rem; }
.light .piece figcaption small { color: var(--mute-ink); }
.piece .cost { font-weight: 500; white-space: nowrap; }

/* How a pot gets made */
.making { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.making .pic { position: sticky; top: 6rem; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding-block: 1.8rem; border-top: 1px solid var(--rule); }
.steps li::before { content: "0" counter(step); font: italic 300 2.6rem/1 "Fraunces", serif; color: var(--clay); }
.steps h3 { margin-bottom: .45rem; }
.steps p { color: var(--mute); }
.light .steps li { border-color: var(--rule-ink); }
.light .steps li::before { color: var(--clay-ink); }
.light .steps p { color: var(--mute-ink); }
@media (max-width: 820px) { .making { grid-template-columns: minmax(0, 1fr); } .making .pic { position: static; aspect-ratio: 4 / 3; } }

/* Two big picture links: classes and custom orders */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.door { position: relative; display: grid; align-items: end; min-height: clamp(22rem, 42vw, 34rem); border-radius: 4px; overflow: hidden; isolation: isolate; color: var(--cream); text-decoration: none; }
.door img { position: absolute; inset: 0; z-index: -2; transition: transform 1.2s var(--ease); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(27,23,20,.92)); }
.door:hover img { transform: scale(1.05); }
.door div { padding: clamp(1.4rem, 3vw, 2.4rem); }
.door h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.door p { margin-top: .6rem; max-width: 26rem; color: #ddd2c3; }
.door .go { display: inline-block; margin-top: 1.1rem; color: var(--clay); font-weight: 500; }
@media (max-width: 760px) { .doors { grid-template-columns: minmax(0, 1fr); } }

/* What people say */
.words { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.words blockquote { margin: 0; }
.words blockquote p { font: 300 clamp(1.3rem, 2vw, 1.6rem)/1.35 "Fraunces", serif; }
.words blockquote p::before { content: "\201C"; display: block; margin-bottom: .4rem; font: italic 400 3.5rem/.6 "Fraunces", serif; color: var(--clay-ink); }
.words footer { margin-top: 1.1rem; font-size: .92rem; color: var(--mute-ink); }
@media (max-width: 860px) { .words { grid-template-columns: minmax(0, 1fr); } }

/* Visit strip and the hours table */
.visit-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem clamp(2rem, 5vw, 4rem); }
.visit-strip h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.visit-strip h3 { font: 500 .78rem/1.3 "DM Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: .9rem; }
.visit-strip p + p { margin-top: .7rem; }
@media (max-width: 860px) { .visit-strip { grid-template-columns: minmax(0, 1fr); } }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .7rem 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--mute); }
.hours tr.today th, .hours tr.today td { color: var(--clay); font-weight: 500; }
.light .hours th, .light .hours td { border-color: var(--rule-ink); }
.light .hours td { color: var(--mute-ink); }
.light .hours tr.today th, .light .hours tr.today td { color: var(--clay-ink); }

/* Page tops on the inner pages */
.page-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); }
.page-top h1 { font-size: clamp(3rem, 7.5vw, 6.6rem); margin-top: 1.1rem; }
.page-top .lead { margin-top: 1.3rem; }
.page-top .pic { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
@media (max-width: 820px) { .page-top { grid-template-columns: minmax(0, 1fr); } }

/* The work: filters and the grid */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button { padding: .55rem 1.05rem; border-radius: 99px; border: 1px solid rgba(243,236,225,.3); background: transparent; color: var(--cream); font: inherit; font-size: .95rem; cursor: pointer; }
.filters button:hover { border-color: var(--cream); }
.filters button[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.filters output { align-self: center; margin-left: auto; color: var(--mute); font-size: .92rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem 1.4rem; }
.grid .piece[hidden] { display: none; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid { grid-template-columns: minmax(0, 1fr); } }

/* Six glazes */
.glazes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.glaze { text-align: left; }
.glaze i { display: block; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), transparent 45%), var(--c); box-shadow: inset 0 -10px 24px rgba(0,0,0,.25); }
.glaze b { display: block; margin-top: .8rem; font: 500 1.1rem/1.2 "Fraunces", serif; }
.glaze span { font-size: .88rem; color: var(--mute-ink); }
@media (max-width: 760px) { .glazes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Classes */
.class-list { display: grid; gap: 1.2rem; }
.class { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 1.5rem clamp(1.5rem, 4vw, 3rem); align-items: center; padding: 1.2rem; border-radius: 6px; background: var(--night2); border: 1px solid var(--rule); }
.class .pic { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.class h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.class p { margin-top: .6rem; color: var(--mute); }
.class ul { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; padding: 0; list-style: none; }
.class li { padding: .25rem .7rem; border-radius: 99px; background: rgba(243,236,225,.08); font-size: .88rem; }
.class .price { text-align: right; font: 400 clamp(2.2rem, 3.6vw, 3rem)/1 "Fraunces", serif; padding-right: .6rem; }
.class .price span { display: block; margin-top: .4rem; font: 400 .88rem/1.3 "DM Sans", sans-serif; color: var(--mute); }
@media (max-width: 900px) { .class { grid-template-columns: minmax(0, 1fr); } .class .price { text-align: left; } }
.included { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.included div { padding-top: 1.1rem; border-top: 2px solid var(--clay-ink); }
.included b { display: block; font: 500 1.25rem/1.2 "Fraunces", serif; }
.included span { color: var(--mute-ink); font-size: .95rem; }
@media (max-width: 760px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; cursor: pointer; list-style: none; font: 400 1.3rem/1.3 "Fraunces", serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--clay); font-family: "DM Sans", sans-serif; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.3rem; max-width: 40rem; color: var(--mute); }

/* The forms: a warm card with clear fields, a spam check by the button and a friendly thank you */
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ask form { position: relative; display: grid; gap: 1.15rem; padding: clamp(1.4rem, 3.5vw, 2.6rem); border-radius: 18px; background: linear-gradient(180deg, #f8f3eb, var(--cream)); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(243,236,225,.08); overflow: hidden; }
.ask form::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--clay-ink), var(--clay), var(--glaze)); }
.form-head { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule-ink); }
.form-head svg { flex: none; width: 2.8rem; height: 2.8rem; padding: .7rem; border-radius: 50%; background: rgba(158,70,34,.1); color: var(--clay-ink); }
.form-head b { display: block; font: 500 1.4rem/1.15 "Fraunces", Georgia, serif; letter-spacing: -.01em; }
.form-head small { display: block; margin-top: .15rem; color: var(--mute-ink); font-size: .92rem; }
.ask label, .choice legend { display: grid; gap: .45rem; padding: 0; font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-ink); }
.ask input, .ask select, .ask textarea { width: 100%; padding: .9rem 1rem; border: 1.5px solid rgba(35,30,25,.13); border-radius: 10px; background: #fff; font: 400 1rem/1.4 "DM Sans", system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.ask input::placeholder, .ask textarea::placeholder { color: #a99f92; }
.ask select { appearance: none; padding-right: 2.6rem; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e4622' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center / 1.1rem; }
.ask input:hover, .ask select:hover, .ask textarea:hover { border-color: rgba(35,30,25,.3); }
.ask input:focus, .ask select:focus, .ask textarea:focus { border-color: var(--clay-ink); box-shadow: 0 0 0 4px rgba(227,137,92,.22); outline: none; }
.ask [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179,38,30,.12); }
.ask textarea { min-height: 8rem; resize: vertical; }
.ask .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { margin-bottom: .45rem; }
.choice .opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.ask .choice label { position: relative; gap: .1rem; padding: 1rem 2.6rem 1rem 1rem; border: 1.5px solid rgba(35,30,25,.13); border-radius: 12px; background: #fff; cursor: pointer; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.ask .choice label:hover { border-color: rgba(35,30,25,.3); }
.ask .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; }
.choice label::after { content: ""; position: absolute; top: 1rem; right: 1rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 1.5px solid rgba(35,30,25,.28); background: #fff; transition: border .2s; }
.ask .choice label:has(:checked) { border-color: var(--clay-ink); background: #fff8f2; box-shadow: 0 0 0 4px rgba(227,137,92,.18); }
.choice label:has(:checked)::after { border: 5px solid var(--clay-ink); }
.choice label:has(:focus-visible) { outline: 2px solid var(--clay-ink); outline-offset: 2px; }
.choice b { font-weight: 500; }
.choice small { color: var(--mute-ink); font-size: .88rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: .3rem; }
.ask form .button { background: var(--clay-ink); color: #fff; padding-inline: 1.8rem; box-shadow: 0 12px 24px -12px rgba(158,70,34,.9); }
.ask form .button:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); }
.ask form .button:disabled { opacity: .6; cursor: progress; transform: none; }
.fine { display: flex; align-items: center; gap: .45rem; font-size: .85rem; color: var(--mute-ink); }
.fine svg { flex: none; width: 1.05rem; height: 1.05rem; color: #3f7a4a; }
.ask .note { padding: .9rem 1rem; border-radius: 10px; background: rgba(35,30,25,.05); font-size: .95rem; color: var(--ink); }
.ask .note:empty { display: none; }
.ask .note[data-state="ok"] { background: #e5efe1; color: #24502a; }
.ask .note[data-state="ok"]::before { content: "\2713"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-right: .55rem; border-radius: 50%; background: #3f7a4a; color: #fff; font-size: .8rem; vertical-align: -.1em; }
.ask .note[data-state="error"] { background: #f8e2da; color: #8a2f12; }
.ask .steps li { grid-template-columns: 3.5rem minmax(0, 1fr); padding-block: 1.3rem; }
.ask .steps li::before { font-size: 2rem; }
.trap { position: absolute; left: -9999px; }
@media (max-width: 860px) { .ask { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .ask .two, .choice .opts { grid-template-columns: minmax(0, 1fr); } .ask form .button { width: 100%; justify-content: center; } }

/* The Google listing, set up as part of the plan */
.listing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.gcard { max-width: 26rem; padding: 1.5rem; border-radius: 14px; background: #fff; color: #202124; box-shadow: 0 30px 60px rgba(0,0,0,.35); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.gcard .gpic { aspect-ratio: 16 / 7; border-radius: 8px; overflow: hidden; margin-bottom: 1rem; }
.gcard b { display: block; font-size: 1.35rem; font-weight: 500; }
.gcard .stars { margin-top: .3rem; color: #5f6368; font-size: .92rem; }
.gcard .stars span { color: #b06000; letter-spacing: .05em; }
.gcard .gline { margin-top: .5rem; font-size: .92rem; color: #3c4043; }
.gcard .gline em { font-style: normal; color: #137333; font-weight: 500; }
.gcard .gbtns { display: flex; gap: .5rem; margin-top: 1rem; }
.gcard .gbtns span { padding: .45rem .9rem; border-radius: 99px; border: 1px solid #dadce0; color: #1a56c4; font-size: .9rem; text-decoration: none; }
.gcard .gbtns span:first-child { background: #1a56c4; border-color: #1a56c4; color: #fff; }
@media (max-width: 820px) { .listing { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.foot { padding-block: clamp(3.5rem, 8vw, 6rem) 7.5rem; border-top: 1px solid var(--rule); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h3 { font: 500 .78rem/1.3 "DM Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: .9rem; }
.foot-grid p, .foot-grid li { color: var(--mute); }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: .35rem; }
.foot-grid ul a { color: var(--cream); text-decoration: none; }
.foot-grid ul a:hover { color: var(--clay); }
.foot .big { font: 400 clamp(2rem, 4vw, 3rem)/1 "Fraunces", serif; color: var(--cream); margin-bottom: 1rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); color: var(--mute); font-size: .85rem; }
.made-by { color: var(--mute); text-decoration: none; font-size: .8rem; }
.made-by:hover { color: var(--cream); text-decoration: underline; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* The made-up address in the demo bar */
.demo-address { padding: .25rem .6rem; border-radius: 99px; background: rgba(236,233,225,.12); font-family: ui-monospace, Consolas, monospace; font-size: 12px; white-space: nowrap; }
@media (max-width: 620px) { .demo-address { display: none; } }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero > img { animation: none; transform: none; }
  .drift-track { animation: none; flex-wrap: wrap; width: auto; }
  .drift-track span[aria-hidden] { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .piece .pic img, .door img { transition: none; }
}

/* ---------- The shelf from the owner screen ---------- */
.piece .pic { position: relative; }
.badge { position: absolute; top: .7rem; left: .7rem; padding: .25rem .65rem; border-radius: 99px; background: var(--night); color: var(--cream); font-size: .8rem; font-weight: 500; }
.badge.new { background: var(--clay); color: var(--ink); }
.piece.is-sold img { filter: grayscale(.85) brightness(.7); }

/* A post on the Google listing, kept up every month */
.gcard .gpost { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid #e8eaed; }
.gcard .gpost-h { font-size: .8rem; color: #5f6368; }
.gcard .gpost > div { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: .8rem; align-items: center; margin-top: .5rem; }
.gcard .gthumb { width: 3.4rem; height: 3.4rem; border-radius: 6px; overflow: hidden; }
.gcard .gthumb img { width: 100%; height: 100%; object-fit: cover; }
.gcard .gpost p:not(.gpost-h) { font-size: .92rem; color: #202124; }
.demo-bar .demo-owner { color: #c8f23c; text-decoration: none; font-weight: 600; }
@media (max-width: 620px) { .demo-bar .demo-owner { display: none; } }
