/* ==========================================================================
   Still & Wick
   Hand-written CSS. No framework, no preprocessor, no external fonts.
   ========================================================================== */

:root {
  --paper:      #FBF7F1;
  --paper-warm: #F5EDE2;
  --paper-deep: #EFE5D7;
  --ink:        #16302A;
  --ink-soft:   #41564F;
  --ink-faint:  #6C7D77;
  --sage:       #7D9A7B;
  --sage-deep:  #55704F;
  --clay:       #B9663F;
  --clay-soft:  #E8D6C8;
  --gold:       #C08A2E;
  --line:       rgba(22, 48, 42, 0.14);
  --line-soft:  rgba(22, 48, 42, 0.08);
  --white:      #FFFFFF;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.86rem, 0.82rem + 0.2vw, 0.95rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3:  clamp(1.9rem, 1.5rem + 2vw, 3rem);
  --step-4:  clamp(2.4rem, 1.7rem + 3.5vw, 4.4rem);

  --gutter: clamp(1.15rem, 4vw, 3rem);
  --measure: 68ch;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(22, 48, 42, 0.06);
  --shadow-md: 0 10px 30px -18px rgba(22, 48, 42, 0.35);
  --shadow-lg: 0 30px 60px -30px rgba(22, 48, 42, 0.4);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); letter-spacing: -0.015em; }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--clay-soft); color: var(--ink); }

/* --- layout --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 780px; }

.section { padding-block: clamp(3rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--warm { background: var(--paper-warm); }
.section--deep { background: var(--ink); color: var(--paper); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 1rem;
}

.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: var(--measure); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* --- header --------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark span { color: var(--clay); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav a {
  font-size: var(--step--1);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding-block: 0.35rem;
  border-bottom: 1.5px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--clay); color: var(--ink); }

.nav__toggle { display: none; }

@media (max-width: 760px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font: inherit;
    font-size: var(--step--1);
    color: var(--ink);
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { width: 100%; padding-block: 0.85rem; border-bottom: 1px solid var(--line-soft); }
}

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--clay); color: var(--white); }

.btn--clay { background: var(--clay); color: var(--white); }
.btn--clay:hover { background: var(--ink); color: var(--paper); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }

.btn--block { width: 100%; }

/* --- hero ----------------------------------------------------------------- */

.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero h1 { margin-bottom: 1.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-deep);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.hero__meta strong { display: block; font-family: var(--font-display); font-size: var(--step-1); font-weight: 400; color: var(--ink); }

/* --- product grid --------------------------------------------------------- */

.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.card { display: flex; flex-direction: column; }

.card__media {
  display: block;
  aspect-ratio: 4 / 5;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6%;
}
.card:hover .card__media img { transform: scale(1.035); }

.card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.card__cat { font-size: var(--step--1); color: var(--ink-faint); margin: 0 0 0.3rem; }
.card__name { font-size: var(--step-1); margin: 0 0 0.4rem; }
.card__name a { text-decoration: none; }
.card__short { font-size: var(--step--1); color: var(--ink-soft); margin: 0 0 0.85rem; }
.card__price { margin-top: auto; font-weight: 600; font-size: var(--step-0); }
.card__price s { color: var(--ink-faint); font-weight: 400; margin-right: 0.5rem; }

/* --- filters -------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.empty { padding: 3rem 0; color: var(--ink-soft); }

/* --- trust ---------------------------------------------------------------- */

.trust {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.trust h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.trust p { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }
.section--deep .trust p { color: rgba(251, 247, 241, 0.78); }

/* --- product detail ------------------------------------------------------- */

.product {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .product { grid-template-columns: 1.1fr 0.9fr; }
  .product__info { position: sticky; top: 100px; }
}

.product__media {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product__price { font-size: var(--step-2); font-family: var(--font-display); margin: 0.5rem 0 1.5rem; }
.product__price s { color: var(--ink-faint); font-size: var(--step-1); margin-right: 0.75rem; }
.product__save { color: var(--clay); font-size: var(--step--1); font-weight: 600; display: block; margin-top: 0.25rem; }

.buy { margin: 1.75rem 0 1rem; }
.buy__note { font-size: var(--step--1); color: var(--ink-faint); margin-top: 0.75rem; text-align: center; }

.specs { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.specs li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--step--1);
  color: var(--ink-soft);
  display: flex;
  gap: 0.75rem;
}
.specs li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 0.6rem; border-radius: 50%; background: var(--sage); }

.accordion { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line-soft); }
.accordion summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  font-size: var(--step--1);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.3rem; color: var(--ink-faint); line-height: 1; }
.accordion details[open] summary::after { content: "\2013"; }
.accordion .accordion__body { padding: 0 0 1.25rem; font-size: var(--step--1); color: var(--ink-soft); }
.accordion .accordion__body p:last-child { margin-bottom: 0; }

.breadcrumb { font-size: var(--step--1); color: var(--ink-faint); margin-bottom: 1.5rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb span { margin-inline: 0.5rem; }

.owner-note {
  margin-top: 1.5rem;
  background: #FFF8E1;
  border-left: 3px solid var(--gold);
  padding: 0.9rem 1.1rem;
  font-size: var(--step--1);
  color: #6B5320;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.owner-note strong { display: block; margin-bottom: 0.2rem; }

/* --- prose ---------------------------------------------------------------- */

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--clay); }

/* --- footer --------------------------------------------------------------- */

.foot { background: var(--ink); color: rgba(251, 247, 241, 0.82); padding-block: clamp(3rem, 6vw, 5rem); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  margin-bottom: 3rem;
}
.foot h4 {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1rem;
}
.foot ul { list-style: none; padding: 0; margin: 0; font-size: var(--step--1); }
.foot li { margin-bottom: 0.6rem; }
.foot__brand { font-family: var(--font-display); font-size: 1.6rem; color: var(--paper); margin-bottom: 0.75rem; }
.foot__brand span { color: var(--gold); }
.foot__base {
  border-top: 1px solid rgba(251, 247, 241, 0.18);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: var(--step--1);
  color: rgba(251, 247, 241, 0.6);
}

/* --- utilities ------------------------------------------------------------ */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.stack > * + * { margin-top: 1.25rem; }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

@media print {
  .masthead, .foot, .buy { display: none; }
  body { background: #fff; }
}

/* Editorial storefront refinement. */
:root { --ink-faint:#53655D; --clay:#955136; --radius-lg:0; --radius:0; }
html { scroll-behavior:auto; }
[hidden] { display:none !important; }
.masthead { position:relative; background:var(--paper); backdrop-filter:none; }
.masthead__inner { min-height:96px; }
.wordmark { font-size:2rem; }
.nav a { min-height:44px; display:flex; align-items:center; }
.nav__toggle { min-height:44px; }
.btn { border-radius:0; min-height:50px; transition:none; }
.btn:hover, .btn:active { transform:none; }
.btn span { margin-left:1.5rem; font-size:1.25rem; }
.hero { padding:34px 0 64px; }
.hero__grid { gap:4rem; }
.hero__copy { padding-block:2rem; }
.hero h1 { font-size:clamp(3.15rem,5.2vw,5rem); line-height:1.02; letter-spacing:-.045em; }
.hero .lede { font-size:1.08rem; max-width:36ch; margin-top:1.8rem; }
.hero__footnote { font-size:.8rem; color:var(--ink-soft); margin-top:2rem; }
.hero__art { margin:0; box-shadow:none; position:relative; }
.hero__art img { width:100%; }
.hero__art figcaption { padding:17px 22px; background:#E7E0D2; display:flex; justify-content:space-between; gap:12px; font-size:.65rem; letter-spacing:.1em; }
.hero__art figcaption span { letter-spacing:0; font-size:.75rem; }
.brand-note { border-top:1px solid var(--line); padding-block:55px; display:grid; grid-template-columns:1fr 2fr; align-items:start; }
.brand-note > p:last-child { font:clamp(1.6rem,2.7vw,2.5rem)/1.3 var(--font-display); letter-spacing:-.025em; }
.collection { border-top:1px solid var(--line); }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:2rem; margin-bottom:2.5rem; }
.section-heading h2 { margin:0; font-size:clamp(2.1rem,3.5vw,3.2rem); }
.section-heading > a, .section-heading > p { font-size:.9rem; margin-bottom:5px; }
.grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:42px 26px; }
.card__media { border-radius:0; }
.card__media img { transition:none; }
.card:hover .card__media img { transform:none; }
.card__cat { text-transform:uppercase; font-size:.66rem; letter-spacing:.12em; margin-top:4px; }
.card__name { font-size:1.4rem; line-height:1.18; }
.card__short { font-size:.84rem; line-height:1.6; max-width:38ch; }
.card__price { font-size:1.1rem; padding-top:12px; border-top:1px solid var(--line); margin-top:auto; }
.card__badge { border-radius:0; z-index:1; font-size:.65rem; }
.filters { border-bottom:1px solid var(--line); padding-bottom:24px; }
.chip { border-radius:0; min-height:44px; }
.product__media { border-radius:0; }
.product__title { font-size:clamp(2.2rem,3.4vw,3.3rem); }
.product__price { font-size:2.3rem; }
.product__save { color:#955136; }
.product__info .lede { line-height:1.7; }
.buy__note { font-size:.76rem; }
.art-note { font-size:.75rem; color:var(--ink-soft); margin-top:24px; }
.service { padding-block:55px; }
.trust > div { border-left:1px solid var(--line); padding-left:22px; }
.trust h3 { font-size:1.4rem; }
.foot__brand { font-size:2rem; }
.foot a { overflow-wrap:anywhere; }
.foot a:hover { color:#F0CD8D; }
.foot__base { color:#C5CEC6; }
:focus-visible { outline-color:#955136; }
.foot :focus-visible { outline-color:#F0CD8D; }
@media(min-width:940px) { .hero__grid { grid-template-columns:1fr 1fr; } .hero__art img { max-height:635px; object-fit:cover; } }
@media(max-width:760px) {
  .masthead__inner { min-height:78px; }
  .wordmark { font-size:1.65rem; }
  .hero { padding:16px 0 36px; }
  .hero__grid { gap:30px; }
  .hero__copy { padding-block:20px 0; }
  .hero h1 { font-size:3.15rem; }
  .hero__art figcaption { padding:14px 12px; flex-wrap:wrap; }
  .brand-note { grid-template-columns:1fr; gap:12px; padding-block:36px; }
  .section-heading { display:block; margin-bottom:26px; }
  .section-heading > a, .section-heading > p { display:inline-block; margin-top:16px; }
  .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 16px; }
  .card__name { font-size:1.15rem; }
  .card__short { font-size:.8rem; }
  .card__cat { font-size:.6rem; }
  .card__badge { padding:5px 7px; left:7px; top:7px; }
  .product { gap:30px; }
  .breadcrumb { font-size:.75rem; }
}
@media(max-width:420px) { .grid { grid-template-columns:1fr; } .hero h1 { font-size:2.85rem; } .section { padding-block:40px; } .hero { padding-top:12px; } }

/* Vector brand lockups, with the linked header name supplied to assistive tools. */
.wordmark { display:block; flex-shrink:0; width:230px; }
.wordmark img { width:100%; }
.foot__brand img { width:250px; }
@media(max-width:760px) { .wordmark { width:190px; } }
@media(max-width:360px) { .wordmark { width:175px; } }
