/* The Maker's Table — Kimmy's Corner
   Art direction: craft-fair-meets-editorial. Paper, ink, brass, clay, sage. */

:root {
  --paper: #f6efe2;
  --paper-2: #efe4d1;
  --paper-3: #e6d9c2;
  --card: #fffaf0;
  --ink: #221f1a;
  --ink-soft: #4b4439;
  --ink-mute: #6d6455;
  --gold: #b0812c;
  --gold-lt: #d9ae55;
  --clay: #a95c42;
  --sage: #71805f;
  --rule: #cbbca1;

  --font-display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Switzer', 'Helvetica Neue', system-ui, sans-serif;

  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.6rem;
  --text-2xl: clamp(2rem, 4.4vw, 3.1rem);
  --text-3xl: clamp(2.5rem, 5.6vw, 4.2rem);

  --maxw: 1180px;
  --pad: clamp(1.15rem, 4vw, 3rem);
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-x: hidden;
}

/* paper grain + faint fibre wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("../img/grain.svg");
  background-size: 260px 260px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; max-width: 62ch; }

a { color: inherit; }

::selection { background: var(--gold-lt); color: var(--ink); }

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

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

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 780px; }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
}
.eyebrow::after {
  content: "";
  height: 1px; flex: 1; max-width: 90px;
  background: repeating-linear-gradient(90deg, var(--rule) 0 6px, transparent 6px 10px);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before {
  content: ""; height: 1px; flex: 1; max-width: 90px;
  background: repeating-linear-gradient(90deg, transparent 0 4px, var(--rule) 4px 10px);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.7rem;
}
.brandmark { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brandmark svg { width: 38px; height: 38px; flex: none; color: var(--gold); }
.brandmark .bm-text { line-height: 1.05; }
.brandmark .bm-1 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; display: block;
}
.brandmark .bm-2 {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); display: block; margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.9rem); }
.nav a {
  text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--ink-soft);
  position: relative; padding-block: 4px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--gold); transition: right 0.35s cubic-bezier(.2,.7,.2,1);
}
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav .btn-sm { display: none; }
@media (min-width: 900px) { .nav .btn-sm { display: inline-flex; } }
@media (max-width: 620px) {
  .nav a.hide-xs { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.85rem 1.35rem; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 -2px var(--gold); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fffdf7; }
.btn.gold:hover { box-shadow: 0 6px 0 -2px var(--ink); }
.btn-sm { padding: 0.6rem 1rem; font-size: var(--text-xs); }
.btn svg { width: 15px; height: 15px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem); position: relative; }
.hero-grid {
  display: grid; gap: clamp(1.8rem, 4vw, 3.4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { font-size: var(--text-3xl); letter-spacing: -0.03em; }
.hero h1 em {
  font-style: italic; color: var(--clay); font-weight: 400;
}
.hero-lede { font-size: var(--text-lg); color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid var(--rule); border-radius: 2px;
  box-shadow: 14px 14px 0 -1px var(--paper-3);
}
.hero-stamp {
  position: absolute; bottom: -22px; left: -14px;
  background: var(--card); border: 1px solid var(--rule);
  padding: 0.6rem 0.85rem; transform: rotate(-3.5deg);
  font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); box-shadow: 4px 4px 0 -1px var(--paper-3);
}
.hero-stamp b { color: var(--gold); }

.marquee-rule {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin-top: clamp(2.4rem, 6vw, 4rem);
  overflow: hidden; padding-block: 0.7rem; background: var(--paper-2);
}
.marquee-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: slide 42s linear infinite;
  font-size: var(--text-xs); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
}
.marquee-track span { display: inline-flex; gap: 2.5rem; }
.marquee-track span::after { content: "✦"; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding-block: clamp(3.2rem, 8vw, 6.5rem); }
.section-head { max-width: 700px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head h2 { font-size: var(--text-2xl); }
.section-head p { color: var(--ink-soft); }

.hand-rule { display: block; width: 100%; max-width: 240px; color: var(--rule); }

/* ---------- product panels ---------- */
.collection { display: grid; gap: clamp(2.6rem, 6vw, 5rem); }
.product {
  display: grid; gap: clamp(1.4rem, 3.5vw, 2.8rem);
  grid-template-columns: 1fr;
  align-items: start;
  padding-top: clamp(1.6rem, 4vw, 2.4rem);
  border-top: 1px solid var(--rule);
}
@media (min-width: 860px) {
  .product { grid-template-columns: 0.95fr 1.05fr; }
  .product.flip .product-media { order: 2; }
}
.product-media { position: relative; }
.product-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border: 1px solid var(--rule);
  filter: saturate(0.97);
}
@media (min-width: 860px) {
  .product-media img { aspect-ratio: 4/4.6; }
  .product-media { position: sticky; top: 92px; }
}
.product-media .tape {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 92px; height: 26px; background: color-mix(in srgb, var(--gold-lt) 42%, transparent);
  border-left: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent);
  border-right: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent);
}
.no { color: var(--ink-mute); font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; }
.product h3 { font-size: var(--text-xl); margin-top: 0.4rem; }
@media (min-width: 860px) { .product h3 { font-size: clamp(1.7rem, 2.5vw, 2.1rem); } }

.quote {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 1.25rem 1.35rem 1.1rem;
  margin: 1.2rem 0 1.4rem;
  transform: rotate(-0.7deg);
  box-shadow: 6px 6px 0 -1px var(--paper-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}
.product.flip .quote { transform: rotate(0.8deg); }
.quote::before {
  content: "“"; position: absolute; top: -0.35em; left: 0.4rem;
  font-family: var(--font-display); font-size: 3.2rem; color: var(--gold-lt); line-height: 1;
}
.quote p { margin: 0 0 0.4em; padding-left: 1.1rem; max-width: none; }
.quote p:last-of-type { margin-bottom: 0; }
.quote cite {
  display: block; margin-top: 0.8rem; padding-left: 1.1rem;
  font-family: var(--font-body); font-style: normal; font-size: var(--text-xs);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute);
}

.spec-list { display: grid; gap: 0.8rem; margin: 1.3rem 0 1.5rem; }
.spec {
  display: grid; grid-template-columns: 92px 1fr; gap: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed var(--rule);
  font-size: var(--text-sm);
}
.spec dt {
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; padding-top: 2px;
}
.spec dd { margin: 0; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.chips li {
  font-size: var(--text-xs); padding: 0.3rem 0.6rem;
  border: 1px solid var(--rule); border-radius: 100px; background: var(--paper-2);
  color: var(--ink-soft);
}
.chips li.next { border-style: dashed; color: var(--ink-mute); background: transparent; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.cta-note { font-size: var(--text-xs); color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; }

/* fabric sub-card */
.subcard {
  margin-top: 1.6rem;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 1.1rem 1.2rem;
  position: relative;
}
.subcard::after {
  content: ""; position: absolute; inset: 4px; border: 1px dashed var(--rule); pointer-events: none;
}
.subcard h4 {
  font-size: var(--text-lg); margin-bottom: 0.35rem;
}
.subcard .sub-label {
  font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600;
}
.subcard p { font-size: var(--text-sm); color: var(--ink-soft); }
.subcard img {
  width: 100%; aspect-ratio: 16/7; object-fit: cover; margin: 0.9rem 0 0.9rem; border: 1px solid var(--rule);
}
.linkline { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: var(--text-sm); }
.linkline a {
  color: var(--clay); text-decoration: none; border-bottom: 1px solid currentColor; font-weight: 500;
}
.linkline a:hover { color: var(--ink); }

/* ---------- centerpiece ---------- */
.centerpiece {
  background: var(--ink); color: var(--paper-2);
  padding-block: clamp(3.4rem, 8vw, 7rem);
}
.centerpiece .eyebrow { color: var(--gold-lt); }
.centerpiece .eyebrow::after { background: repeating-linear-gradient(90deg, #5b5346 0 6px, transparent 6px 10px); }
.cp-grid { display: grid; gap: clamp(1.8rem, 4vw, 3.4rem); }
@media (min-width: 900px) { .cp-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.centerpiece h2 { font-size: var(--text-2xl); color: #fdf7ea; }
.centerpiece h2 em { font-style: italic; color: var(--gold-lt); font-weight: 400; }
.centerpiece p { color: #d9d0bf; }
.centerpiece .quote {
  background: #2d2921; border-color: #4a4437; color: #f4ecdc; box-shadow: 6px 6px 0 -1px #191712;
}
.centerpiece .quote cite { color: #a89c86; }
.centerpiece .spec dd { color: #cec4b0; }
.centerpiece .spec { border-bottom-color: #443e33; }
.centerpiece .spec dt { color: var(--gold-lt); }
.centerpiece .chips li { background: #2d2921; border-color: #4a4437; color: #d9d0bf; }
.centerpiece .btn.ghost { color: #f4ecdc; border-color: #8d8371; }
.centerpiece .btn.ghost:hover { background: var(--gold); border-color: var(--gold); color: #1c1a15; }
.cp-media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid #4a4437;
  box-shadow: 16px 16px 0 -1px #2d2921;
}
.cp-year {
  display: flex; gap: 0.5rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 1.2rem 0 0;
  font-family: var(--font-display); font-size: var(--text-sm); color: #a89c86;
}
.cp-year li { border: 1px solid #4a4437; padding: 0.25rem 0.7rem; }
.cp-year li[aria-current] { color: #1c1a15; background: var(--gold-lt); border-color: var(--gold-lt); }

/* ---------- class ---------- */
.class-section { background: var(--paper-2); border-block: 1px solid var(--rule); }
.class-card {
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 -1px var(--paper-3);
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 880px) { .class-card { grid-template-columns: 1.02fr 1fr; } }
.class-card > figure { margin: 0; }
.class-card img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: 58% 72%; }
.class-body { padding: clamp(1.4rem, 3.4vw, 2.6rem); }
.class-body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.ticket {
  display: flex; flex-wrap: wrap; gap: 0 1.4rem; list-style: none; margin: 0 0 1.3rem; padding: 0.8rem 0;
  border-block: 1px solid var(--rule);
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
}
.ticket li { display: inline-flex; gap: 0.4rem; }
.ticket b { color: var(--ink); font-weight: 600; }
.outreach-note {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: color-mix(in srgb, var(--sage) 14%, transparent);
  border-left: 3px solid var(--sage);
  padding: 0.9rem 1rem; font-size: var(--text-sm); color: var(--ink-soft);
  margin: 1.2rem 0 1.5rem;
}
.outreach-note svg { width: 20px; height: 20px; flex: none; color: var(--sage); margin-top: 2px; }
.outreach-note p { margin: 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.7rem; }
.steps li {
  counter-increment: s; position: relative; padding-left: 2.2rem; font-size: var(--text-sm); color: var(--ink-soft);
}
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -1px;
  width: 1.55rem; height: 1.55rem; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; font-size: var(--text-xs); color: var(--gold);
  font-family: var(--font-display); font-weight: 700;
}

/* ---------- outreach / leasing ---------- */
.outreach { background: var(--paper); }
.outreach-grid { display: grid; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: center; }
@media (min-width: 900px) { .outreach-grid { grid-template-columns: 1fr 0.95fr; } }
.outreach-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--rule);
  box-shadow: -14px 14px 0 -1px var(--paper-3);
}
.lease-list { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; display: grid; gap: 1rem; }
.lease-list li { display: grid; grid-template-columns: 26px 1fr; gap: 0.8rem; font-size: var(--text-sm); color: var(--ink-soft); }
.lease-list strong { color: var(--ink); font-family: var(--font-display); font-size: var(--text-base); display: block; }
.lease-list svg { width: 20px; height: 20px; color: var(--clay); margin-top: 3px; }
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); margin-top: clamp(2.2rem, 5vw, 3.4rem);
}
.stat { background: var(--paper); padding: 1.2rem 1.1rem; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.75rem; color: var(--gold); line-height: 1; }
.stat span { font-size: var(--text-xs); letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- inquiry ---------- */
.inquire { background: var(--paper-2); border-top: 1px solid var(--rule); }
.inq-grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); }
@media (min-width: 900px) { .inq-grid { grid-template-columns: 0.85fr 1.15fr; } }
form.inq {
  background: var(--card); border: 1px solid var(--ink); padding: clamp(1.3rem, 3vw, 2.2rem);
  box-shadow: 10px 10px 0 -1px var(--paper-3);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-soft); margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: var(--text-base); color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 2px;
  padding: 0.7rem 0.8rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-lt) 35%, transparent); }
.form-note { font-size: var(--text-xs); color: var(--ink-mute); margin: 0.9rem 0 0; }
.form-status {
  margin-top: 1rem; font-size: var(--text-sm); color: var(--sage); font-weight: 600;
}
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1.1rem; font-size: var(--text-sm); }
.contact-list dt { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.contact-list dd { margin: 0.15rem 0 0; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cec4b0; padding-block: clamp(2.6rem, 5vw, 4rem) 1.6rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .brandmark { color: #fdf7ea; }
.site-footer .brandmark svg { color: var(--gold-lt); }
.site-footer .bm-2 { color: #a89c86; }
.site-footer h4 { color: #fdf7ea; font-size: var(--text-base); letter-spacing: 0.02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; font-size: var(--text-sm); }
.site-footer a { color: #cec4b0; text-decoration: none; }
.site-footer a:hover { color: var(--gold-lt); }
.footer-base {
  margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid #3d382e;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between;
  font-size: var(--text-xs); color: #8d8371;
}
.site-footer p { color: #a89c86; font-size: var(--text-sm); }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.75s cubic-bezier(.2,.7,.2,1), transform 0.75s cubic-bezier(.2,.7,.2,1);
}
.reveal.d1.in { transition-delay: 0.08s; }
.reveal.d2.in { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .quote::before { font-size: 2.4rem; left: 0.15rem; top: -0.28em; }
  .quote p, .quote cite { padding-left: 0.55rem; }
  .hero-stamp { white-space: nowrap; font-size: 0.66rem; padding: 0.5rem 0.7rem; }
}
@media (max-width: 420px) {
  .spec { grid-template-columns: 1fr; gap: 0.2rem; }
  .quote { transform: none; }
}
