:root {
  color-scheme: light;
  --ink: #242522;
  --muted: #696b64;
  --paper: #f7f5f0;
  --surface: #fffefa;
  --line: #deddd5;
  --accent: #b5c6b4;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
button, select { font: inherit; }
.section-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1280px, calc(100% - 48px)); min-height: 82px; margin: auto; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); font-family: var(--serif); font-size: 19px; font-style: italic; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 25px; }
.main-nav a { padding-block: 10px; text-decoration: none; font-size: 13px; }
.main-nav a:hover, .main-nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: #84937f; text-underline-offset: 6px; }

.home-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(210px, .6fr); align-items: center; gap: 64px; min-height: 500px; padding-block: 70px; }
.eyebrow { margin: 0 0 13px; color: #74766e; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 720px; font-size: clamp(42px, 6.6vw, 76px); line-height: 1.02; }
.hero-copy > p:not(.eyebrow) { max-width: 570px; margin: 22px 0 27px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.button { display: inline-flex; align-items: center; gap: 28px; min-height: 48px; padding: 0 20px; border-radius: 2px; text-decoration: none; font-size: 13px; }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #44463f; }
.hero-side-note { justify-self: end; max-width: 255px; padding: 26px; border: 1px solid var(--line); background: rgba(255,254,250,.55); }
.note-symbol { display: block; margin-bottom: 16px; color: #718570; font-size: 30px; }
.hero-side-note p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; }
.home-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 72px; }
.home-link-card { display: grid; gap: 8px; min-height: 135px; padding: 20px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.home-link-card:hover { border-color: #929a8b; background: #fbfaf5; }
.home-link-card .eyebrow { margin-bottom: 0; }
.home-link-card strong { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.home-link-card > span:last-child { color: var(--muted); font-size: 12px; }
.page-main { min-height: 58vh; padding-block: 66px 86px; }
.page-title { max-width: 800px; margin-bottom: 34px; font-size: clamp(40px, 6vw, 64px); }
.news-page-card { grid-template-columns: minmax(170px, .4fr) minmax(0, 1fr); max-width: 800px; }
.news-card h2 { font-family: var(--serif); font-size: 23px; font-weight: 400; }
.about-page .about-copy { margin-top: 52px; }
.hours-page .hours-list { max-width: 720px; }
.contact-page { min-height: 65vh; padding-block: 55px 62px; color: #f7f5f0; background: #30322d; }
.contact-page .eyebrow, .contact-page .contact-details p > span:first-child { color: #c0c8b9; }
.contact-page .contact-warning, .contact-page .bug-report small { color: #d2d2cb; }
.contact-page .contact-details .bug-report { border-color: #595b55; }
.contact-page .page-main { min-height: 0; padding-block: 0; }

.news-section { padding-block: 0 68px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.section-heading h2, .about-inner h2, .hours-section h2, .contact-inner h2 { font-size: clamp(32px, 4vw, 43px); }
.compact-heading { margin-bottom: 16px; }
.news-card { display: grid; grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr); align-items: baseline; gap: 10px 25px; padding: 20px 24px; border: 1px dashed #c6b99a; background: #faf7ef; }
.sample-label { grid-row: span 2; color: #776a4f; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.news-card h3 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.news-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.news-list { display: grid; gap: 18px; }
.news-status { color: var(--muted); }
.published-news { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: start; max-width: 900px; border-style: solid; background: #fff; }
.news-image { display: block; width: 100%; max-height: 320px; object-fit: contain; background: #f2f0eb; }
.news-content { min-width: 0; }
.news-date { display: block; margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.news-content h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.news-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.news-size-small { font-size: .85em; }
.news-size-normal { font-size: 1em; }
.news-size-large { font-size: 1.25em; }
.admin-panel { max-width: 850px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.admin-panel label { display: block; margin: 18px 0 7px; font-weight: 600; }
.admin-panel input[type="text"], .admin-panel textarea, .admin-panel select { box-sizing: border-box; width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 3px; font: inherit; }
.admin-panel textarea { min-height: 190px; resize: vertical; line-height: 1.55; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.admin-toolbar button { min-height: 40px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 3px; background: #faf9f6; font: inherit; cursor: pointer; }
.admin-note, .admin-status { color: var(--muted); line-height: 1.55; }
.admin-status { min-height: 1.5em; }
.admin-preview { display: block; max-width: 100%; max-height: 260px; margin-top: 12px; object-fit: contain; }

.catalog-section { padding-block: 20px 82px; scroll-margin-top: 20px; }
.section-lead { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.filters { display: flex; align-items: end; flex-wrap: wrap; gap: 13px; padding: 17px; border: 1px solid var(--line); background: rgba(255,254,250,.7); }
.filters label { display: grid; gap: 7px; min-width: 170px; color: var(--muted); font-size: 11px; font-weight: 700; }
select { width: 100%; min-height: 42px; padding: 0 35px 0 11px; border: 1px solid #cfcec5; border-radius: 2px; color: var(--ink); background: var(--surface); }
select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #7d967b; outline-offset: 3px; }
.text-button { min-height: 42px; padding-inline: 12px; border: 0; color: var(--ink); background: transparent; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.catalog-status { min-height: 23px; margin: 18px 0; color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .9fr); min-width: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.product-media { display: grid; place-items: center; min-width: 0; min-height: 330px; padding: 12px; background: #efeee8; }
.product-media img { display: block; width: 100%; height: 100%; max-height: 390px; aspect-ratio: 4 / 5; object-fit: contain; }
.product-media img[hidden] { display: none; }
.image-placeholder { display: grid; place-items: center; width: 100%; min-height: 306px; padding: 24px; color: #787a72; background: #e9e8e2; text-align: center; font-size: 13px; }
.product-info { display: flex; flex-direction: column; align-items: start; min-width: 0; padding: 24px 20px; }
.product-category { margin: 0 0 9px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-info h3 { margin: 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); font-weight: 400; line-height: 1.2; }
.product-description { margin: 12px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.variant-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: auto; }
.variant-fields label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 700; }
.variant-fields select { min-width: 0; min-height: 39px; padding-inline: 8px 25px; font-size: 12px; }
.variant-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; width: 100%; margin-top: 14px; font-size: 12px; }
.variant-meta span:first-child { font-weight: 700; }
.stock-line { width: 100%; margin: 8px 0 0; color: #536f52; font-size: 12px; }
.empty-state, .error-state { grid-column: 1 / -1; padding: 28px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); line-height: 1.6; }
.error-state strong { display: block; margin-bottom: 5px; color: var(--ink); }

.about-section { padding-block: 60px; background: #eeeee7; }
.about-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 35px; }
.about-copy { max-width: 550px; margin: 0; font-family: var(--serif); font-size: clamp(21px, 3vw, 32px); line-height: 1.4; }
.hours-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; padding-block: 70px; }
.hours-list { margin: 0; border-top: 1px solid var(--line); }
.hours-list div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.hours-list dt { color: var(--muted); }
.hours-list dd { margin: 0; font-weight: 600; }
.contact-section { padding-block: 55px 62px; color: #f7f5f0; background: #30322d; }
.contact-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; }
.contact-section .eyebrow { color: #c0c8b9; }
.contact-warning { max-width: 360px; margin: 18px 0 0; color: #d2d2cb; font-size: 12px; line-height: 1.6; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.contact-details p { display: grid; align-content: start; gap: 7px; margin: 0; }
.contact-details p > span:first-child { color: #c0c8b9; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-details a { width: fit-content; text-underline-offset: 4px; }
.contact-details p > span:last-child { font-size: 14px; }
.contact-details .bug-report { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid #595b55; }
.bug-report a { font-weight: 700; }
.bug-report small { color: #d2d2cb; font-size: 11px; line-height: 1.5; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; width: min(1120px, calc(100% - 48px)); margin: auto; padding-block: 20px; color: var(--muted); font-size: 11px; }

@media (max-width: 920px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 11px; padding-block: 16px; }
  .main-nav { justify-content: flex-start; gap: 5px 19px; }
  .home-hero { gap: 35px; min-height: 0; padding-block: 60px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: minmax(0, .9fr) minmax(240px, 1.1fr); }
}
@media (max-width: 600px) {
  .section-wrap, .site-header, .site-footer { width: min(100% - 32px, 480px); }
  .site-header { min-height: 0; }
  .main-nav { gap: 3px 15px; }
  .main-nav a { padding-block: 7px; font-size: 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 30px; padding-block: 48px 52px; }
  h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-copy > p:not(.eyebrow) { font-size: 14px; }
  .hero-side-note { justify-self: stretch; max-width: none; padding: 18px; }
  .note-symbol { display: inline-block; margin: 0 12px 0 0; vertical-align: middle; }
  .hero-side-note p { display: inline; font-size: 16px; }
  .home-links { grid-template-columns: 1fr; gap: 10px; padding-bottom: 50px; }
  .home-link-card { min-height: 0; }
  .news-section { padding-bottom: 52px; }
  .news-card { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .sample-label { grid-row: auto; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .section-lead { margin: 0; }
  .catalog-section { padding-bottom: 58px; }
  .filters { align-items: stretch; flex-direction: column; padding: 14px; }
  .filters label { min-width: 0; }
  .text-button { align-self: flex-start; }
  .product-card { grid-template-columns: 1fr; }
  .product-media { min-height: 270px; max-height: 340px; padding: 10px; }
  .product-media img { height: 310px; }
  .image-placeholder { min-height: 250px; }
  .product-info { padding: 20px; }
  .product-description { margin-bottom: 15px; }
  .variant-fields { margin-top: 4px; }
  .page-main { min-height: 52vh; padding-block: 48px 64px; }
  .page-title { margin-bottom: 25px; font-size: clamp(40px, 12vw, 56px); }
  .news-page-card { grid-template-columns: 1fr; }
  .published-news { grid-template-columns: 1fr; }
  .news-image { max-height: 280px; }
  .contact-page { padding-block: 45px; }
  .contact-page .page-main { padding-block: 0; }
  .about-section { padding-block: 45px; }
  .about-inner, .hours-section, .contact-inner { grid-template-columns: 1fr; gap: 22px; }
  .hours-section { padding-block: 50px; }
  .contact-section { padding-block: 45px; }
  .contact-details { gap: 19px 13px; }
  .site-footer { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
