/* Comac Collection — site styles */
:root {
  --cream: #F6F1EA;
  --paper: #FBF8F4;
  --blush: #F1E4DA;
  --walnut: #5C4329;
  --walnut-deep: #3E2D1C;
  --ink: #2A2420;
  --muted: #6F635A;
  --line: #E2D6C9;
  --gold: #A7834C;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 300 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.wrap--narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  font: 400 .75rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--walnut); margin: 0 0 1rem;
}
.eyebrow a { text-decoration: none; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40em; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.6em; border: 1px solid var(--walnut); border-radius: 999px;
  font: 400 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--walnut); background: transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--walnut); color: var(--paper); }
.btn--solid { background: var(--walnut); color: var(--paper); }
.btn--solid:hover { background: var(--walnut-deep); border-color: var(--walnut-deep); }
.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--walnut-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.actions--center { justify-content: center; }
.text-link { font: 400 .8rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--walnut); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.text-link:hover { border-color: var(--walnut); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin: 0; }
.brand__mono {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  font: italic 500 1.25rem/1 var(--serif); color: var(--ink); letter-spacing: -.12em; padding-right: .12em;
}
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__name { font: 400 1.45rem/1 var(--serif); letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em; }
.brand__sub { font: 400 .58rem/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--muted); margin-top: 6px; margin-right: -.5em; }
.site-nav { display: flex; gap: clamp(14px, 2.2vw, 32px); }
.site-nav a { font: 400 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--walnut); color: var(--walnut); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; gap: 6px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; }
  .nav-toggle span:not(.sr) { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px clamp(16px, 4vw, 40px) 20px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-color: var(--line); }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--flush { padding-top: 0; }
.section--tint { background: var(--blush); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section__head h2 { margin: 0; }
.section__head--center { justify-content: center; text-align: center; }
.page-head { padding: clamp(56px, 9vw, 112px) 0 clamp(36px, 5vw, 56px); }
.page-head--center { text-align: center; }
.page-head--center .lede { margin-inline: auto; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--blush), var(--cream)); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 12em; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 2.25rem; font-size: .9rem; color: var(--muted); }
.hero__stats strong { color: var(--ink); }
.hero__art { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.08; }
.hero__img { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--1 { grid-row: 1 / 3; border-radius: 999px 999px var(--radius) var(--radius); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; aspect-ratio: 1.25; }
}

/* Marketplaces */
.marketplaces { background: var(--walnut); color: var(--cream); }
.mk-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.mk { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; text-decoration: none; border-left: 1px solid rgba(246,241,234,.18); transition: background .2s; }
.mk:first-child { border-left: 0; }
.mk:hover { background: var(--walnut-deep); }
.mk__name { font: 500 1.6rem/1 var(--serif); }
.mk__name::after { content: " →"; font-family: var(--sans); font-size: .9rem; opacity: .6; }
.mk__desc { font-size: .85rem; opacity: .78; }
@media (max-width: 860px) {
  .mk-grid { grid-template-columns: 1fr 1fr; }
  .mk:nth-child(3) { border-left: 0; }
  .mk:nth-child(n+3) { border-top: 1px solid rgba(246,241,234,.18); }
}

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.product { text-decoration: none; display: flex; flex-direction: column; }
.product__img { aspect-ratio: 1; overflow: hidden; background: var(--paper); border-radius: var(--radius); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product:hover .product__img img { transform: scale(1.04); }
.product__body { padding-top: 14px; }
.product h3 { font-size: 1.2rem; margin-bottom: .2em; }
.product__detail { font-size: .85rem; color: var(--muted); margin-bottom: .5em; }
.product__meta { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; }
.price { font-weight: 400; }
.via { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--walnut); opacity: 0; transition: opacity .2s; }
.product:hover .via, .product:focus-visible .via { opacity: 1; }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (hover: none) { .via { opacity: 1; } }

/* Dark band */
.band--dark { background: var(--walnut-deep); color: var(--cream); }
.band__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: clamp(56px, 8vw, 104px); }
.band__img { margin: 0; aspect-ratio: 4/5; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band--dark .eyebrow { color: #D7BD92; }
.band__copy p { color: rgba(246,241,234,.82); max-width: 32em; }
@media (max-width: 760px) { .band__grid { grid-template-columns: 1fr; } .band__img { max-width: 360px; } }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.post-card h3 { font-size: 1.5rem; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--walnut); }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card__img { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); margin-bottom: 18px; background: var(--paper); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__date { font-size: .75rem !important; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .5em; }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.review { margin: 0; padding: 32px 28px; background: var(--paper); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.review blockquote { margin: 0; font: italic 400 1.4rem/1.35 var(--serif); }
.review figcaption { font-size: .85rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* Instagram */
.ig-intro { margin-top: -20px; margin-bottom: 28px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig-tile { aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.ig-tile:hover img { opacity: .82; }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* Shop page */
.shop-list { display: grid; gap: 24px; }
.shop-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shop-card__body { padding: clamp(28px, 4vw, 48px); }
.shop-card__body p:not(.eyebrow) { color: var(--muted); max-width: 40em; }
.shop-card--feature .shop-card__img img { width: 100%; aspect-ratio: 4/1; object-fit: cover; }
.shop-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shop-card--ig { background: var(--blush); border-color: transparent; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 1.75rem; }
.chips a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; text-decoration: none; background: var(--cream); }
.chips a:hover { border-color: var(--walnut); }
@media (max-width: 760px) { .shop-pair { grid-template-columns: 1fr; } .shop-card--feature .shop-card__img img { aspect-ratio: 2.4/1; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-photo { margin: 0; position: sticky; top: 110px; }
.about-photo img { border-radius: var(--radius); width: 100%; }
.about-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; font-style: italic; }
.signature { font: italic 400 1.6rem/1.2 var(--serif); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { position: static; } }

/* Prose */
.prose { font-size: 1.075rem; }
.prose h2 { margin-top: 1.6em; font-size: 2rem; scroll-margin-top: 100px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .6em; }
.prose a:not(.btn) { color: var(--walnut); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 2px solid var(--gold); font: italic 1.35rem/1.4 var(--serif); }

/* Maker */
.maker-hero { background: var(--blush); padding: clamp(48px, 7vw, 96px) 0; }
.maker-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.maker-hero__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.maker-hero__imgs img { aspect-ratio: 3/4; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }
.maker-hero__imgs img:last-child { margin-top: 48px; }
.maker-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.maker-layout .prose { max-width: 720px; }
.maker-layout .prose h2:first-child { margin-top: 0; }
.toc { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--walnut); }
.timeline { list-style: none; padding: 0 !important; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.1em 1.4em; margin: 0; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: -5px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.timeline strong { color: var(--ink); font: 500 1.25rem/1.2 var(--serif); margin-right: .4em; }
.timeline span { display: inline-block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--walnut); margin-right: .6em; }
@media (max-width: 860px) {
  .maker-hero__grid, .maker-layout { grid-template-columns: 1fr; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .toc .eyebrow { width: 100%; margin-bottom: 0; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--walnut); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; min-height: 48px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--walnut); box-shadow: 0 0 0 3px rgba(92,67,41,.12); }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .95rem; }
.form-status.ok { color: #3f6b3a; }
.form-status.err { color: #9a3b2a; }
.contact-aside h2 { font-size: 1.8rem; }
.contact-aside p { color: var(--muted); }
.contact-links { list-style: none; padding: 0; margin: 0 0 1.5em; }
.contact-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-links a::after { content: " →"; color: var(--walnut); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Post */
.post { padding-block: clamp(48px, 8vw, 96px); }
.post__header { margin-bottom: 32px; }
.post__hero { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); margin-bottom: 40px; }
.post__footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--walnut-deep); color: var(--cream); padding-top: clamp(48px, 6vw, 80px); }
.site-footer .muted { color: rgba(246,241,234,.7); max-width: 26em; margin-top: 18px; }
.site-footer .brand__mono { background: transparent; border-color: rgba(246,241,234,.3); color: var(--cream); }
.site-footer .brand__sub { color: rgba(246,241,234,.65); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-h { font: 400 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #D7BD92; margin-bottom: 18px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a { text-decoration: none; opacity: .85; }
.footer-list a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__base { margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(246,241,234,.15); font-size: .85rem; opacity: .65; }
.site-footer__base p { margin: 0; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Artisans */
.artisan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.artisan-card { display: grid; grid-template-columns: 1fr 1.15fr; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.artisan-card:hover { border-color: var(--walnut); }
.artisan-card__img { min-height: 100%; aspect-ratio: 4/5; overflow: hidden; background: var(--blush); }
.artisan-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.artisan-card:hover .artisan-card__img img { transform: scale(1.04); }
.artisan-card__body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.artisan-card__body .eyebrow { margin-bottom: .4rem; font-size: .68rem; }
.artisan-card__body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .2em; }
.artisan-card__body p:not(.eyebrow) { color: var(--muted); font-size: .95rem; }
.artisan-card__body .text-link { margin-top: auto; align-self: flex-start; }
.artisan-grid--small { grid-template-columns: repeat(3, 1fr); }
.artisan-grid--small .artisan-card { grid-template-columns: 1fr; }
.artisan-grid--small .artisan-card__img { aspect-ratio: 4/3; }
.artisan-grid--small .artisan-card__body p:not(.eyebrow) { display: none; }
.artisan-grid--small .artisan-card__body h2 { font-size: 1.5rem; }
.maker-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--walnut); margin-bottom: 1.2rem; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.maker-more { margin: 36px 0 0; color: var(--muted); }
.maker-more a { color: var(--walnut); }
.band__copy .actions { margin-top: 1.5rem; }
.band__also { margin-top: 1.5rem; font-size: .9rem; }
.band__also a { color: var(--cream); }
@media (max-width: 960px) { .product-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .artisan-grid { grid-template-columns: 1fr; }
  .artisan-grid--small { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .artisan-grid--small .artisan-card__body { padding: 14px; }
  .artisan-grid--small .artisan-card__body .eyebrow, .artisan-grid--small .artisan-card__body .text-link { display: none; }
  .artisan-grid--small .artisan-card__body h2 { font-size: 1.15rem; margin: 0; }
}
@media (max-width: 560px) {
  .artisan-card { grid-template-columns: 1fr; }
  .artisan-card__img { aspect-ratio: 3/2; }
}
