/* =============================================================
 The FloorHaus™. Journal article (Downloads/handoff 27, "Journal Article
 Original", 2026-10-28)

 Original colours. Loaded after styles.css, home.css and enquiry.css: the
 header, Our Products dropdown, menu, footer, 90% zoom and the enquiry
 modal are the home page's (js/home.js). This file is the article's own
 parts, `ar-*`; js/article.js runs the reading line, the reveals and the
 questions. Every post is converted by scripts/journal-article.py, which
 keeps each post's words, headings, links, images and <head> as they were
 (Stephen, 2026-10-28: "do not change the current blogs in terms of content
 and seo, just the design style").
 Reveals and the closed questions only hide anything under .hp-js.
 ============================================================= */

body.ar .hp-hdr { position: sticky; }

.ar-banner {
 background: #1A1A1A; color: #FFFFFF; min-height: 40px; padding: 8px 16px; box-sizing: border-box;
 display: flex; align-items: center; justify-content: center; text-align: center;
 font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4;
}

/* Reading line under the header (js/article.js puts it in #hpHeader). */
.ar-prog {
 position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: #6B5B3E;
 transform-origin: left center; transform: scaleX(0); pointer-events: none; z-index: 2;
}

.ar-main { --ar-ease: cubic-bezier(.22,.61,.36,1); --ar-wipe: cubic-bezier(.65,0,.35,1); --ar-pad: clamp(20px,4vw,56px); display: block; }
.ar-main h1, .ar-main h2, .ar-main h3 { font-family: var(--hp-display); }

/* ----- 1. Header: breadcrumb, date line, title, sub line, byline ----- */
.ar-head {
 max-width: 880px; margin: 0 auto; padding: clamp(40px,5vw,72px) var(--ar-pad) 0; box-sizing: border-box;
 display: flex; flex-direction: column; gap: 20px;
 transition: opacity .9s ease, transform 1s var(--ar-ease);
}
.hp-js .ar-main:not(.is-booted) .ar-head { opacity: 0; transform: translateY(18px); }
.ar-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #666666; }
.ar-crumbs a { color: inherit; transition: color .25s ease; }
.ar-crumbs a:hover { color: #1A1A1A; }
.ar-crumbs > span[aria-hidden] { color: #B8B3A6; }
.ar-crumbs__here { color: #1A1A1A; }
.ar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #6B5B3E; }
.ar-meta__rule { display: block; width: 28px; height: 2px; border-radius: 2px; background: #6B5B3E; }
.ar-h1 { margin: 0; font-weight: 600; font-size: clamp(38px,4.8vw,66px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; color: #1A1A1A; }
.ar-sub { margin: 0; max-width: 700px; font-size: clamp(18px,1.5vw,21px); line-height: 1.6; color: #666666; text-wrap: pretty; }
.ar-by { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #1A1A1A; }
.ar-by__av { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #1A1A1A; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: .04em; }

/* ----- 2. Main image: wipes up from the bottom ----- */
.ar-hero { max-width: 1200px; margin: clamp(32px,4vw,52px) auto 0; padding: 0 var(--ar-pad); box-sizing: border-box; }
.ar-hero__box {
 position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #ECE7DA;
 clip-path: inset(0% 0% 0% 0% round 24px); transition: clip-path 1.3s var(--ar-wipe) .15s;
}
@media (min-width: 760px) { .ar-hero__box { aspect-ratio: 16 / 5; } }
.ar-hero__box img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1); transition: transform 2.2s var(--ar-ease) .15s; }
.hp-js .ar-main:not(.is-booted) .ar-hero__box { clip-path: inset(100% 0% 0% 0% round 24px); }
.hp-js .ar-main:not(.is-booted) .ar-hero__box img { transform: scale(1.1); }

/* ----- 3. Body: an 880px text column; tables, photos and choice cards 1080px ----- */
.ar-body { display: flex; flex-direction: column; gap: 22px; padding: clamp(48px,5vw,72px) 0 clamp(72px,8vw,112px); }
.ar-body > * { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 var(--ar-pad); box-sizing: border-box; }
.ar-body > .ar-wide { max-width: 1080px; }
.ar-body p, .ar-body li { font-size: 18px; line-height: 1.75; color: #1A1A1A; text-wrap: pretty; }
.ar-body p { margin: 0 auto; }
.ar-body > p.ar-lede { font-size: clamp(19px,1.6vw,22px); line-height: 1.65; }
.ar-body > h2 { margin-top: 30px; font-weight: 600; font-size: clamp(26px,2.6vw,36px); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; color: #1A1A1A; scroll-margin-top: 130px; }
.ar-body > h3 { margin-top: 12px; font-weight: 600; font-size: clamp(20px,1.8vw,24px); line-height: 1.2; letter-spacing: -.02em; color: #1A1A1A; }
.ar-body a:not(.ar-btn) { color: inherit; text-decoration: underline; text-decoration-color: #6B5B3E; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .25s ease; }
.ar-body a:not(.ar-btn):hover { color: #6B5B3E; }
.ar-body strong { font-weight: 600; }
.ar-body > ul, .ar-body > ol { padding-left: calc(var(--ar-pad) + 22px); display: flex; flex-direction: column; gap: 8px; }
.ar-body li::marker { color: #6B5B3E; }
.ar-body > p.ar-sources { font-size: 14px; line-height: 1.7; color: #666666; }
.ar-body > blockquote { margin-top: 0; margin-bottom: 0; }
.ar-body > blockquote > * { margin: 0; padding: 6px 0 6px 22px; border-left: 2px solid #6B5B3E; font-family: var(--hp-display); font-size: clamp(21px,1.9vw,26px); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; }

/* Table: a white card, the SPC column picked out in walnut, sideways scroll on phones. */
.ar-table__card { margin: 10px 0 4px; border: 1px solid #B8B3A6; border-radius: 22px; overflow: hidden; background: #FFFFFF; }
.ar-table__scroll { overflow-x: auto; }
.ar-table__scroll:focus-visible { outline: 2px solid #6B5B3E; outline-offset: -2px; }
.ar-table table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; color: #1A1A1A; }
.ar-table thead tr { background: #ECE7DA; }
.ar-table th, .ar-table td { padding: 18px; text-align: left; vertical-align: top; }
.ar-table thead th { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; vertical-align: bottom; color: #666666; }
.ar-table tbody td, .ar-table tbody th { border-top: 1px solid #ECE7DA; }
.ar-table--rows tbody tr > :first-child { font-family: var(--hp-display); font-size: 15px; font-weight: 600; white-space: nowrap; }
.ar-table thead .is-hl { color: #6B5B3E; background: #E3DCCB; }
.ar-table tbody .is-hl { background: rgba(227,220,203,.55); border-top-color: #DDD5C3; font-weight: 600; }
.ar-table a { color: inherit; text-decoration: underline; text-decoration-color: #6B5B3E; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* Photos in the text */
.ar-body > figure.ar-fig { margin: 14px auto; display: flex; flex-direction: column; gap: 14px; }
.ar-fig__img { position: relative; display: block; border-radius: 22px; overflow: hidden; background: #ECE7DA; }
.ar-fig__img img { display: block; width: 100%; height: auto; max-width: none; transition: transform 1.4s var(--ar-ease); }
.ar-fig__img:hover img { transform: scale(1.03); }
.ar-fig figcaption { max-width: 680px; margin: 0 auto; font-size: 14px; line-height: 1.6; color: #666666; font-style: italic; text-align: center; text-wrap: balance; }

/* "Choose … if" cards: the first dark, the rest cream deep. The bold lead is the card's title. */
.ar-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,270px), 1fr)); gap: 14px; margin: 4px auto; }
.ar-choice { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px,2.4vw,32px); border-radius: 22px; background: #ECE7DA; color: #1A1A1A; }
.ar-choice__n { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #1A1A1A; color: #FFFFFF; font-size: 13px; font-weight: 700; }
.ar-choice p { margin: 0; font-size: 16px; line-height: 1.7; color: inherit; }
.ar-choice p > strong:first-child { display: block; margin-bottom: 16px; font-family: var(--hp-display); font-weight: 600; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; }
.ar-choice:first-child { background: #1A1A1A; color: #FFFFFF; }
.ar-choice:first-child .ar-choice__n { background: #F5F2EB; color: #1A1A1A; }
.ar-choice:first-child p { color: #ECE7DA; }
.ar-choice:first-child p > strong:first-child { color: #FFFFFF; }
.ar-body .ar-choice:first-child a:not(.ar-btn) { color: #FFFFFF; text-decoration-color: #B8B3A6; }

/* Questions: one open at a time, the first open to start; the answer's height opens with grid rows. */
.ar-faq { border-top: 1.5px dashed #B8B3A6; }
.ar-faq__item { border-bottom: 1.5px dashed #B8B3A6; }
.ar-body .ar-faq__q { margin: 0; }
.ar-faq__q button {
 width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
 background: transparent; border: 0; cursor: pointer; text-align: left; color: #1A1A1A;
 font-family: var(--hp-display); font-size: clamp(18px,1.5vw,21px); line-height: 1.3;
}
.ar-faq__q strong { font-weight: 600; }
.ar-faq__icon {
 flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #1A1A1A; box-sizing: border-box;
 display: flex; align-items: center; justify-content: center; background: transparent; color: #1A1A1A;
 transition: background .3s ease, color .3s ease, transform .4s var(--ar-ease);
}
.ar-faq__item.is-open .ar-faq__icon { background: #1A1A1A; color: #FFFFFF; transform: rotate(45deg); }
.ar-faq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ar-ease); }
.hp-js .ar-faq__item:not(.is-open) .ar-faq__a { grid-template-rows: 0fr; }
.ar-faq__a > div { overflow: hidden; min-height: 0; }
.ar-body .ar-faq__a p { padding: 0 56px 24px 0; font-size: 17px; line-height: 1.75; }

/* Closing line, author card, sign-off */
.ar-body > p.ar-kicker { margin-top: 26px; font-family: var(--hp-display); font-size: clamp(24px,2.4vw,32px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.ar-author { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.ar-author__card { display: flex; align-items: center; gap: 18px; width: 100%; padding: 22px 24px; border-radius: 22px; background: #ECE7DA; box-sizing: border-box; }
.ar-author__av { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #1A1A1A; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--hp-display); font-size: 18px; font-weight: 600; letter-spacing: .02em; }
.ar-author__txt { display: flex; flex-direction: column; gap: 2px; }
.ar-author__name { font-family: var(--hp-display); font-size: 18px; font-weight: 600; }
.ar-body .ar-author__bio { margin: 0; font-size: 15px; line-height: 1.5; color: #666666; }
.ar-end { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 36px; }
.ar-end__rule { display: block; width: 64px; height: 1.5px; background: #B8B3A6; }
.ar-end__logo { height: 30px; width: auto; }
.ar-btn {
 display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; box-sizing: border-box;
 border-radius: 999px; border: 1.5px solid #1A1A1A; background: transparent; color: #1A1A1A; cursor: pointer;
 font-family: var(--f-sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
 transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.ar-btn:hover { background: #1A1A1A; color: #FFFFFF; }
.ar-end .ar-btn { margin-top: 8px; }
.ar-btn--big { height: 52px; padding: 0 28px; }
.ar-btn--dark { background: #1A1A1A; color: #FFFFFF; }
.ar-btn--dark:hover { background: #6B5B3E; border-color: #6B5B3E; color: #FFFFFF; }

.ar-rule { height: 1px; background: #B8B3A6; }

/* ----- 4. More guides: the post's three "Keep reading" links as cards ----- */
.ar-more { padding: clamp(64px,7vw,104px) 0; }
.ar-more__inner { max-width: 1360px; margin: 0 auto; padding: 0 var(--ar-pad); display: flex; flex-direction: column; gap: clamp(28px,3vw,40px); }
.ar-more__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.ar-more__titles { display: flex; flex-direction: column; gap: 14px; }
.ar-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #666666; }
.ar-eyebrow > span { display: block; width: 32px; height: 2px; border-radius: 2px; background: #6B5B3E; }
.ar-more__title { margin: 0; font-weight: 600; font-size: clamp(32px,3.6vw,52px); line-height: 1.02; letter-spacing: -.03em; color: #1A1A1A; }
.ar-more__all { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1A1A1A; transition: color .25s ease; }
.ar-more__all:hover { color: #6B5B3E; }
.ar-more__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px), 1fr)); gap: clamp(20px,2.4vw,32px); }
.ar-card, .ar-card:hover { display: flex; flex-direction: column; gap: 14px; color: #1A1A1A; }
.ar-card__img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #ECE7DA; }
.ar-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.2s var(--ar-ease); }
.ar-card:hover .ar-card__img img { transform: scale(1.05); }
.ar-card__cat { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #6B5B3E; }
.ar-card__t { font-family: var(--hp-display); font-weight: 600; font-size: clamp(20px,1.7vw,24px); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.ar-card__x { font-size: 15.5px; line-height: 1.6; color: #666666; text-wrap: pretty; }
.ar-card__go { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* ----- 5. Samples and site visits ----- */
.ar-cta { background: #ECE7DA; color: #1A1A1A; padding: clamp(64px,7vw,104px) var(--ar-pad); text-align: center; }
.ar-cta__inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ar-cta__eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #6B5B3E; }
.ar-cta__lede { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ar-cta__big { font-family: var(--hp-display); font-weight: 600; font-size: clamp(32px,3.6vw,52px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.ar-cta__small { font-size: 17px; line-height: 1.6; color: #666666; text-wrap: pretty; }
.ar-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ----- Reveals: fade up 24px once, at 15% in view ----- */
.ar-rise { transition: opacity .9s ease var(--d, 0s), transform 1s var(--ar-ease) var(--d, 0s); }
.hp-js .ar-rise:not(.is-seen) { opacity: 0; transform: translateY(24px); }

/* ----- Phones ----- */
@media (max-width: 599px) {
 .ar-body p, .ar-body li { font-size: 17px; }
 .ar-body .ar-faq__a p { padding-right: 0; }
 .ar-author__card { padding: 18px; gap: 14px; }
 .ar-author__av { width: 48px; height: 48px; font-size: 16px; }
 .ar-cta__btns .ar-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
 .ar-main *, .ar-head, .ar-rise { transition-duration: .01ms !important; transition-delay: 0s !important; }
 .hp-js .ar-rise:not(.is-seen), .hp-js .ar-main:not(.is-booted) .ar-head { opacity: 1; transform: none; }
 .hp-js .ar-main:not(.is-booted) .ar-hero__box { clip-path: inset(0% 0% 0% 0% round 24px); }
 .hp-js .ar-main:not(.is-booted) .ar-hero__box img { transform: none; }
}
