/* Ardor Home — logo grays */
:root {
    --ink: #231F20;      /* logo "ARDOR" */
    --gray: #6D6E71;     /* logo "home" */
    --tint: #F1F1F2;
    --rule: #E3E3E5;
    --rule-dark: #8F9093;
    --white: #FFFFFF;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Archivo', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gray); }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.7rem; }
.h-lg { font-size: clamp(2rem, 3.6vw, 3rem); }
p { margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: 40px; }
.stack { display: flex; flex-direction: column; gap: 32px; }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; color: var(--gray); }
.muted { color: var(--gray); }
.lead { font-size: 20px; color: var(--gray); max-width: 30rem; }
.strong { font-weight: 600; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--gray); transition: background .15s, color .15s; }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--primary { background: var(--gray); color: var(--white); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--outline { background: transparent; color: var(--gray); }
.btn--outline:hover { background: var(--gray); color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--tint); color: var(--ink); }

/* Status bar + header */
.statusbar { background: var(--tint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; }
.statusbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 10px; }
.statusbar a { color: var(--ink); text-underline-offset: 3px; }
.site-header { border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-block: 22px; }
.site-header__logo img { width: 220px; height: 38px; object-fit: contain; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-weight: 500; font-size: 16px; }
.site-nav a:not(.btn) { text-decoration: none; padding-block: 10px; }
.site-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; padding-block: 72px 80px; }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__media { position: relative; padding-bottom: 48px; }
.hero__main { width: 100%; height: 520px; object-fit: cover; }
.hero__inset { position: absolute; left: -32px; bottom: 0; width: 190px; height: 230px; object-fit: cover; border: 8px solid var(--white); }

/* Sections */
.section { padding-block: 80px; }
.section--rule { border-top: 1px solid var(--rule); }
.section--tint { background: var(--tint); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }

/* Category cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 16px; color: var(--ink); text-decoration: none; }
.card img { width: 100%; height: 400px; object-fit: cover; transition: opacity .2s; }
.card:hover img { opacity: .9; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card p { color: var(--gray); }

/* On-approval band */
.band { background: var(--gray); color: var(--white); }
.band__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.band__inner > img { width: 100%; height: 520px; object-fit: cover; }
.band__text { display: flex; flex-direction: column; gap: 22px; padding-block: 56px; }
.band__text h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.band .label, .band .lead { color: var(--white); }

/* Bulletin rows (home) */
.bulletin-rows { border-top: 2px solid var(--gray); }
.bulletin-row { display: grid; grid-template-columns: 160px 200px 1fr; gap: 8px 32px; align-items: baseline; padding-block: 24px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.bulletin-row:hover .bulletin-row__title { text-decoration: underline; text-underline-offset: 4px; }
.bulletin-row__title { font-size: 20px; font-weight: 650; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.gallery img { width: 100%; height: 260px; object-fit: cover; }

/* Visit */
.visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: start; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; }
.facts dt { margin-bottom: 6px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.visit__map { width: 100%; height: 420px; border: 0; }

/* Footer */
.site-footer { background: var(--gray); color: var(--white); padding-block: 56px 32px; }
.site-footer a, .site-footer .label { color: var(--white); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.site-footer__brand img { width: 208px; height: 36px; flex: none; align-self: flex-start; object-fit: contain; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.site-footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule-dark); }

/* Bulletin page */
.page-head { display: flex; flex-direction: column; gap: 20px; padding-block: 64px 32px; }
.page-head .lead { max-width: 36rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--gray); font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); }
.chip:hover, .chip[aria-current] { background: var(--gray); color: var(--white); }
.bulletin-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-block: 16px 96px; }
.bulletin-feed { flex: 999 1 560px; min-width: 0; border-top: 2px solid var(--gray); }
.post { display: flex; flex-wrap: wrap; gap: 16px 40px; padding-block: 36px; border-bottom: 1px solid var(--rule); scroll-margin-top: 24px; }
.post__meta { flex: 1 1 150px; display: flex; flex-direction: column; gap: 6px; }
.post__body { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.post__body h2 { font-size: 2rem; line-height: 1.15; }
.post__body img { width: 100%; max-width: 640px; height: auto; aspect-ratio: 32 / 17; object-fit: cover; }
.prose { color: #3E3B3C; max-width: 40rem; }
.prose p + p { margin-top: .8em; }
.empty { padding-block: 36px; }
.pager { padding-top: 32px; }
.bulletin-aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; }
.aside-box { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--rule); }
.aside-box a { font-weight: 600; }
.aside-box--dark { background: var(--gray); border-color: var(--gray); color: var(--white); }
.aside-box--dark .label, .aside-box--dark a { color: var(--white); }
.aside-box--dark p { font-size: 18px; line-height: 1.6; }

/* Rug guides */
.card__title { font-size: 1.7rem; }
.guide-head { display: flex; flex-direction: column; gap: 18px; padding-block: 56px 32px; max-width: 1280px; }
.guide-head h1 { max-width: 22ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.guide-layout { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-block: 8px 96px; }
.article { flex: 999 1 560px; min-width: 0; max-width: 46rem; border-top: 2px solid var(--gray); padding-top: 32px; font-size: 18px; line-height: 1.7; color: #3E3B3C; }
.article > * + * { margin-top: 1.1em; }
.article h2 { font-size: 2rem; color: var(--ink); margin-top: 1.8em; line-height: 1.15; }
.article h3 { font-size: 1.45rem; color: var(--ink); margin-top: 1.4em; line-height: 1.2; }
.article strong { color: var(--ink); }
.article a { color: var(--ink); text-underline-offset: 3px; }
.article ul { padding-left: 1.2em; }
.article li + li { margin-top: .5em; }
.article li::marker { color: var(--gray); }
.article figure { margin: 2em 0; }
.article figure img { width: 100%; height: auto; }
.article figcaption { margin-top: 10px; font-size: 14px; color: var(--gray); }
.article figcaption a { color: var(--gray); }
.article hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }
.page-guide .bulletin-aside { position: sticky; top: 24px; }
@media (max-width: 720px) {
    .article { font-size: 17px; }
    .page-guide .bulletin-aside { position: static; }
}

.btn--outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }
.article ol { padding-left: 1.3em; }
.article ol li + li { margin-top: .5em; }

/* Rugs page */
.rug-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.rug-tile { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.rug-tile img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: var(--tint); transition: opacity .2s; }
.rug-tile:hover img { opacity: .9; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding-block: 16px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gray); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; }

/* About */
.about-intro { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-bottom: 32px; }
.about-intro > img { flex: 0 1 300px; width: 300px; height: 400px; object-fit: cover; object-position: top; }
.about-intro__text { flex: 999 1 420px; border-top: 0; padding-top: 0; }
.about-intro__text h2 { margin-top: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: start; padding-bottom: 24px; }
.hours { border-collapse: collapse; margin-top: 10px; width: 100%; max-width: 420px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.hours td { color: var(--gray); }
.hours .is-today th, .hours .is-today td { color: var(--ink); font-weight: 600; }
.hours .is-today .label { margin-left: 8px; }
.contact-form-wrap { background: var(--tint); padding: 36px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form h2 { font-size: 2rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row .field { flex: 1 1 200px; min-width: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #C9C9CC; background: var(--white); color: var(--ink); border-radius: 0; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gray); outline-offset: 1px; border-color: var(--gray); }
.field-error { color: #9B2C1F; font-size: 14px; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button { align-self: flex-start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.form-ok { font-size: 19px; color: var(--ink); }

/* ALTCHA spam check, in logo grays */
altcha-widget {
    --altcha-border-radius: 0;
    --altcha-border-color: #C9C9CC;
    --altcha-color-base: var(--white);
    --altcha-color-base-content: var(--ink);
    --altcha-color-primary: var(--gray);
    --altcha-color-primary-content: var(--white);
    --altcha-color-success: var(--gray);
    --altcha-color-success-content: var(--white);
    --altcha-checkbox-border-radius: 0;
    --altcha-max-width: 100%;
    font-family: var(--sans);
}

/* Product tiles (furniture / accessories) */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.product-grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-tile { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.product-tile__img { position: relative; background: #F5F5F6; aspect-ratio: 1 / 1; overflow: hidden; }
.product-tile__img img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; mix-blend-mode: multiply; }
.product-tile figcaption { display: flex; flex-direction: column; gap: 2px; }
.product-tile__name { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.product-tile__meta { font-size: 14px; color: var(--gray); }
.note { font-size: 15px; max-width: 44rem; }
.note a { color: var(--ink); }

/* Maryland favorites (text cards) */
.md-favs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.md-fav { background: var(--tint); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.md-fav h3 { font-size: 1.9rem; line-height: 1.1; }
.md-fav p { color: #3E3B3C; }

@media (max-width: 1000px) and (min-width: 721px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.md-fav > img { width: calc(100% + 56px); max-width: none; margin: -32px -28px 8px; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.product-tile--photo .product-tile__img { background: var(--tint); }
.product-tile--photo .product-tile__img img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }

/* Small screens */
@media (max-width: 720px) {
    .wrap { padding-inline: 20px; }
    .hero { padding-block: 40px 56px; gap: 40px; }
    .hero__main { height: 360px; }
    .hero__inset { left: -8px; width: 130px; height: 160px; border-width: 6px; }
    .section { padding-block: 56px; }
    .card img, .band__inner > img { height: 300px; }
    .band__inner { padding-inline: 0; }
    .band__text { padding: 0 20px 48px; }
    .bulletin-row { grid-template-columns: 1fr 1fr; }
    .bulletin-row__title { grid-column: 1 / -1; }
    .visit__map { height: 300px; }
    .product-grid, .product-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
    .product-tile__name { font-size: 1.15rem; }
    .facts { grid-template-columns: 1fr; gap: 18px; }
    .contact-form-wrap { padding: 24px 20px; }
}

/* Tables inside guides (e.g. rug pad pricing) */
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
.article th { text-align: left; font-weight: 600; padding: 10px 12px; border-bottom: 2px solid var(--gray); }
.article td { padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.article td:not(:first-child), .article th:not(:first-child) { text-align: right; }
