/* ==========================================================================
   Tellen Clay · concept website (fictional ceramics studio shop)
   Designed by Pathfinder Automation Solutions.

   Squarespace 7.1 map
   1. Site Styles ........ Bricolage Grotesque + Instrument Serif; themes: paper (Light 1), bone (Light 2), ink (Dark 1)
   2. Commerce ........... store grid, quick view, cart (native); free-delivery bar and marquee are custom
   3. Custom CSS ......... product hover, filter chips, drawer polish, concept badge
   ========================================================================== */

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #f2efe9; --bone: #e7e0d5; --cream: #faf8f4; --ink: #1f1c19; --ink-2: #2a2622; --clay: #b4583b; --clay-d: #923f27; --olive: #5f6249;
  --muted: #6e665d; --muted-d: rgba(242, 239, 233, 0.68); --line: rgba(31, 28, 25, 0.13);
  --sans: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif; --serif: "Instrument Serif", Georgia, serif;
  --max: 1380px; --pad: clamp(18px, 4vw, 56px); --sy: clamp(80px, 9vw, 140px);
  --ease: cubic-bezier(0.22, 0.68, 0.18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.02rem; line-height: 1.6; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--clay); color: #fff; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--cream); padding: 10px 14px; }
.skip-link:focus { top: 12px; }
section[id] { scroll-margin-top: 74px; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay-d); }
.eyebrow--light { color: #e2a487; }
.display { font-weight: 600; font-size: clamp(2.3rem, 4.8vw, 4.4rem); line-height: 0.98; letter-spacing: -0.035em; margin-top: 14px; }
.display em, .hero__title em, .logo em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.display em, .hero__title em { color: var(--clay); }
.display--light { color: var(--paper); }
.display--light em { color: #e2a487; }
.lede, .body { color: var(--muted); max-width: 34rem; margin-top: 18px; }
.lede { font-size: 1.12rem; }
.body--light { color: var(--muted-d); }
.small { font-size: 13px; color: var(--muted); margin-top: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px; transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn--clay { background: var(--clay); color: var(--cream); }
.btn--clay:hover { background: var(--clay-d); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--clay-d); }
.link { font-weight: 600; border-bottom: 1.5px solid var(--clay); padding-bottom: 2px; }

.announcement { position: relative; z-index: 60; background: var(--ink); color: var(--paper); text-align: center; font-size: 13.5px; padding: 10px 48px; }
.announcement a { border-bottom: 1px solid #e2a487; margin-left: 6px; }
.announcement__close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; opacity: 0.75; }
.announcement__close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; fill: none; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(242, 239, 233, 0.9); backdrop-filter: blur(12px); transition: box-shadow 0.4s; }
.header.is-solid { box-shadow: 0 1px 0 var(--line); }
.header__inner { height: 74px; display: flex; align-items: center; gap: 30px; width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.logo { font-weight: 700; font-size: 25px; letter-spacing: -0.03em; }
.logo em { font-size: 1.12em; color: var(--clay); }
.logo--light { color: var(--paper); }
.header__nav { margin-left: auto; display: flex; gap: 28px; font-weight: 500; }
.header__nav a:hover { color: var(--clay-d); }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.3s; }
.cart-btn:hover { box-shadow: 0 0 0 1px var(--ink); }
.cart-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cart-btn span { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--clay); color: var(--cream); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; transition: transform 0.4s var(--ease); }
.cart-btn span.is-bump { transform: scale(1.35); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: 120px var(--pad) 40px; }
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu a { font-weight: 600; font-size: 2.6rem; letter-spacing: -0.03em; }

/* hero */
.hero { padding-top: clamp(28px, 4vw, 56px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.hero__title { font-weight: 650; font-size: clamp(3.4rem, 9.2vw, 9rem); line-height: 0.9; letter-spacing: -0.05em; margin-top: 18px; }
.hero__title em { display: block; font-size: 1.04em; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.hero__copy { padding-bottom: clamp(24px, 4vw, 56px); }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px 20px 0 0; }
.hero__tag { position: absolute; left: 18px; top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(250, 248, 244, 0.92); font-size: 13px; font-weight: 600; }
.marquee { overflow: hidden; background: var(--ink); color: var(--paper); padding: 16px 0; }
.marquee div { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { padding: 0 34px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; white-space: nowrap; }
.marquee span::after { content: "✶"; font-family: var(--sans); font-style: normal; font-size: 0.8rem; margin-left: 34px; color: #e2a487; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* shop */
.shop { padding: var(--sy) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(30px, 4vw, 56px); }
.filters { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--bone); }
.filters button { height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: background 0.3s, color 0.3s; }
.filters button.is-on { background: var(--cream); color: var(--ink); box-shadow: 0 2px 10px rgba(31, 28, 25, 0.08); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.product { display: grid; gap: 14px; }
.product.is-out { display: none; }
.product__media { position: relative; border-radius: 16px; overflow: hidden; background: var(--bone); aspect-ratio: 4 / 5; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 44px; border-radius: 999px; background: rgba(250, 248, 244, 0.95); font-weight: 600; font-size: 14.5px; opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.product:hover .product__quick, .product__quick:focus-visible { opacity: 1; transform: none; }
.product__badge { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 600; }
.product__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.product h3 { font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.product p { font-size: 14px; color: var(--muted); }
.product__price { font-weight: 600; white-space: nowrap; }
.product__add { justify-self: start; font-weight: 600; font-size: 14.5px; border-bottom: 1.5px solid var(--clay); padding-bottom: 1px; }

/* studio */
.studio { padding: var(--sy) 0; background: var(--ink); color: var(--paper); }
.studio__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.studio__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.process { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(242, 239, 233, 0.14); border-radius: 16px; overflow: hidden; }
.process li { background: var(--ink-2); padding: 20px; display: grid; gap: 6px; }
.process b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.4rem; color: #e2a487; }
.process span { font-size: 15px; color: var(--paper); }

/* care, newsletter */
.care { padding: var(--sy) 0; background: var(--bone); }
.care__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 22px; padding: 22px 0; font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--clay); transition: transform 0.4s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion p { padding-bottom: 22px; color: var(--muted); max-width: 40rem; }
.newsletter { padding: var(--sy) 0; text-align: center; }
.newsletter__inner { display: grid; justify-items: center; }
.subscribe { margin-top: 28px; display: flex; gap: 8px; width: min(100%, 460px); padding: 6px; border-radius: 999px; background: var(--cream); box-shadow: 0 0 0 1px var(--line); }
.subscribe input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font-size: 16px; }
.subscribe input:focus { outline: none; }
.subscribe .btn { height: 44px; }

/* quick view (native dialog) */
.quick { width: min(980px, calc(100% - 28px)); max-height: calc(100svh - 28px); padding: 0; border: 0; border-radius: 22px; background: var(--cream); color: var(--ink); overflow: auto; }
.quick::backdrop { background: rgba(31, 28, 25, 0.55); backdrop-filter: blur(3px); }
.quick[open] { animation: rise 0.5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.quick__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
.quick__close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.quick__grid { display: grid; grid-template-columns: 1fr 1fr; }
.quick__grid img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
.quick__body { padding: clamp(24px, 4vw, 44px); display: grid; align-content: start; gap: 14px; }
.quick__title { font-weight: 650; font-size: 2.2rem; letter-spacing: -0.035em; line-height: 1; }
.quick__price { font-weight: 600; font-size: 1.2rem; }
.quick__desc { color: var(--muted); }
.glaze legend { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.glaze div { display: flex; flex-wrap: wrap; gap: 8px; }
.glaze button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 8px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; }
.glaze button i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.glaze button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.qty { display: inline-flex; align-items: center; justify-self: start; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); }
.qty button { width: 42px; height: 42px; font-size: 18px; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.quick__add { width: 100%; }

/* cart drawer */
.drawer-shade { position: fixed; inset: 0; z-index: 80; background: rgba(31, 28, 25, 0.45); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 81; width: min(440px, 100%); background: var(--cream); display: grid; grid-template-rows: auto auto 1fr auto; transform: translateX(104%); transition: transform 0.6s var(--ease); box-shadow: -20px 0 60px rgba(31, 28, 25, 0.18); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-weight: 650; font-size: 1.4rem; letter-spacing: -0.02em; }
.drawer__head button { width: 38px; height: 38px; display: grid; place-items: center; }
.drawer__head svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.ship { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 14px; } /* custom */
.ship span { display: block; height: 6px; border-radius: 999px; background: var(--bone); margin-top: 10px; overflow: hidden; }
.ship i { display: block; height: 100%; width: 0; background: var(--olive); border-radius: 999px; transition: width 0.6s var(--ease); }
.lines { overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 88px; object-fit: cover; border-radius: 10px; }
.line h3 { font-weight: 600; font-size: 15.5px; }
.line p { font-size: 13px; color: var(--muted); }
.line .qty { margin-top: 8px; }
.line .qty button { width: 32px; height: 32px; font-size: 15px; }
.line__price { font-weight: 600; text-align: right; }
.line__remove { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); text-decoration: underline; }
.drawer__empty { padding: 24px; color: var(--muted); }
.drawer__foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 14px; }
.drawer__checkout { width: 100%; }

.footer { background: var(--ink); color: var(--muted-d); padding: 64px 0 110px; font-size: 14px; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer nav a:hover { color: var(--paper); }
.footer__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(242, 239, 233, 0.14); display: grid; gap: 8px; font-size: 12.5px; }
.footer__legal a { color: var(--paper); border-bottom: 1px solid rgba(242, 239, 233, 0.3); }

.concept-badge { position: fixed; left: 14px; bottom: 14px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(31, 28, 25, 0.92); color: var(--paper); font-size: 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2); }
.concept-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e2a487; }

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .header__nav { display: none; }
  .burger { display: block; }
  .header__inner { gap: 10px; }
  .cart-btn { margin-left: auto; }
  .hero__grid, .studio__grid, .care__grid, .quick__grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick__grid img { max-height: 46svh; }
  .product__quick { opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
  .announcement { font-size: 12.5px; text-align: left; padding-left: 16px; }
}
