:root {
  --paper: #fcfaf6;
  --cream: #f3ede3;
  --white: #fff;
  --ink: #24211d;
  --muted: #605950;
  --warm: #795a3c;
  --line: #e3dbd0;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: Inter, "Segoe UI", system-ui, sans-serif;
  --page-gutter: clamp(24px, 5.55vw, 88px);
  --content-width: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #94633f; outline-offset: 5px; }
::selection { color: #211a13; background: #e7c9a8; }
section[id] { scroll-margin-top: 104px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px 14px; background: var(--white); }
.wrap { width: min(calc(100% - 2 * var(--page-gutter)), var(--content-width)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 81px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; justify-self: start; align-items: center; }
.brand img { height: auto; mix-blend-mode: multiply; }
.site-nav { display: flex; align-items: center; gap: clamp(26px, 3.2vw, 51px); }
.site-nav > a:not(.button), .footer-inner nav a { color: #49433c; font-size: 14px; font-weight: 550; }
.site-nav > a:hover, .footer-inner nav a:hover { color: var(--warm); }
.header-cta { justify-self: end; }
.menu-toggle, .nav-mobile-cta { display: none !important; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 10px 18px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 650; line-height: 1.25; white-space: nowrap; transition: background .18s, color .18s, border-color .18s; }
.button .icon, .text-link .icon { width: 17px; height: 17px; }
.button-primary { background: #28231d; color: #fffdf9; border-color: #28231d; }
.button-primary:hover { background: #513e2e; border-color: #513e2e; }
.button-outline { background: transparent; color: var(--ink); border-color: #bcb0a0; }
.button-outline:hover { background: #eae0d1; border-color: #a28c76; }
.text-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; padding: 0 0 3px; border: 0; border-bottom: 1px solid #ab927b; background: none; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.45; }
.text-link:hover { color: var(--warm); border-color: var(--warm); }

.hero { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: clamp(535px, 45.5vw, 675px); background: var(--cream); }
.hero-copy { align-self: center; padding: 66px clamp(24px, 3.15vw, 56px) 76px max(var(--page-gutter), calc((100vw - var(--content-width)) / 2)); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #71583f; text-transform: uppercase; font-weight: 700; letter-spacing: .15em; font-size: 11px; line-height: 1.45; }
.eyebrow span { width: 25px; height: 1px; background: #a57c56; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1 { margin-top: 23px; font-size: clamp(62px, 6.35vw, 103px); line-height: .99; letter-spacing: -.068em; }
h1 em, h2 em { color: var(--warm); font-weight: 400; }
.hero-description { max-width: 380px; margin-top: 28px; font-size: clamp(16px, 1.27vw, 19px); line-height: 1.68; color: #534b40; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 24px; margin-top: 33px; }
.hero-actions .text-link { align-self: center; }
.hero-visual { position: relative; min-width: 0; min-height: 100%; background: #b9a68e; overflow: hidden; }
.hero-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 54% 53%; }
.hero-visual figcaption { position: absolute; right: 21px; bottom: 20px; padding: 5px 11px; background: #28231dd6; color: white; font-size: 11px; letter-spacing: .03em; }

.highlights { background: #fffdfa; border-bottom: 1px solid var(--line); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.highlight { min-height: 104px; display: flex; gap: 17px; align-items: center; justify-content: center; padding: 20px 15px; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight .icon { width: 29px; height: 29px; color: #89694a; stroke-width: 1.3; }
.highlight strong, .highlight small { display: block; }
.highlight strong { font-size: 14px; font-weight: 680; }
.highlight small { color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 2px; }
.highlight:hover strong { color: var(--warm); text-decoration: underline; text-underline-offset: 4px; }

.section { padding-block: clamp(68px, 8vw, 123px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
h2 { margin-top: 13px; font-size: clamp(42px, 5vw, 74px); line-height: 1.02; letter-spacing: -.06em; }
.section-heading > p { max-width: 395px; color: var(--muted); padding-bottom: 6px; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; padding-block: 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 25px; }
.category-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.category-controls button { border: 1px solid transparent; padding: 7px 15px; min-height: 41px; border-radius: 3px; background: transparent; color: #584e42; font-size: 14px; font-weight: 600; }
.category-controls button:hover { background: #eee5d9; }
.category-controls button[aria-pressed="true"] { background: #302821; color: #fff; }
.filter-fields { display: flex; gap: 10px; }
.filter-fields label { position: relative; }
select { background: #fffdf9; border: 1px solid #d7ccbe; border-radius: 3px; }
.filter-fields select { appearance: none; padding: 8px 33px 8px 11px; min-height: 41px; width: 100%; color: #51483e; font-size: 13px; }
.filter-fields label .icon { position: absolute; top: 50%; right: 10px; width: 15px; height: 15px; transform: translateY(-50%); pointer-events: none; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px); }
.product { border: 1px solid var(--line); background: #fffdfa; border-radius: 3px; overflow: hidden; }
.product-image { aspect-ratio: 1.65; position: relative; overflow: hidden; background: #d5c3aa; }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.wall-image img { object-position: center 47%; }
.image-label { position: absolute; left: 16px; top: 16px; padding: 5px 9px; background: #fffcf5; color: #4f3c2c; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.product-body { padding: 25px 27px 28px; }
.product h3, .empty-state h3 { font-size: clamp(30px, 3.1vw, 43px); line-height: 1.08; letter-spacing: -.045em; }
.product-body > p { color: var(--muted); margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 17px 0 23px; }
.tags li { border: 1px solid #e3d9cd; border-radius: 2px; background: #f8f4ee; color: #584838; padding: 3px 8px; font-size: 12px; }
.product-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); background: none; color: #34291f; font-size: 14px; font-weight: 650; text-align: left; }
.product-link:hover { color: var(--warm); }
.product-link:hover .icon { transform: translateX(-3px); }
.product-link .icon { transition: transform .18s; }
.empty-state { padding: 35px 20px; text-align: center; border: 1px dashed #cbbba9; border-radius: 3px; }
.empty-state p { margin: 10px 0 16px; color: var(--muted); }
.catalogue-note { margin-top: 15px; color: var(--muted); font-size: 12px; }

.about { background: #eee6d8; padding-block: clamp(48px, 6.3vw, 94px); }
.about-grid { display: grid; grid-template-columns: 1.07fr 1fr; gap: clamp(28px, 6.3vw, 94px); align-items: center; }
.about-image { aspect-ratio: 1.32; background: #b99d7b; overflow: hidden; border-radius: 3px; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 20px; max-width: 490px; }
.about-copy .text-link { margin-top: 24px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); align-items: start; gap: clamp(28px, 6vw, 91px); }
.contact-links { display: grid; gap: 16px; margin-top: 27px; }
.contact-links > div { display: flex; align-items: flex-start; gap: 11px; }
.contact-links .icon { margin-top: 3px; color: var(--warm); }
.contact-links a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #bba690; }
.contact-links a:hover { color: var(--warm); }
.contact-links small { display: block; color: var(--muted); font-size: 12px; }
.contact-form { display: grid; gap: 14px; background: #fffdfa; border: 1px solid var(--line); border-radius: 3px; padding: clamp(19px, 3.25vw, 42px); }
.contact-form h3 { font-size: clamp(29px, 3vw, 41px); line-height: 1.07; letter-spacing: -.045em; }
.contact-form p { color: var(--muted); font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.contact-form label { display: grid; gap: 5px; min-width: 0; color: #3e3329; font-size: 13px; font-weight: 650; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #d7ccbe; border-radius: 3px; background: #fffdf9; color: var(--ink); padding: 9px 10px; font-size: 16px; font-weight: 400; }
.contact-form input, .contact-form select { min-height: 44px; }
.contact-form textarea { resize: vertical; }
.contact-form ::placeholder { color: #71675a; opacity: 1; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.form-actions .text-link { align-self: center; }
.form-status:empty { position: absolute; }

.site-footer { background: #f0e8dc; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 30px; min-height: 100px; padding-block: 12px; }
.footer-inner > p { color: var(--muted); font-size: 13px; }
.footer-inner nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 21px; }

.product-dialog { width: min(650px, calc(100% - 26px)); max-height: calc(100% - 28px); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid #d8c9b8; border-radius: 4px; background: var(--paper); color: var(--ink); }
.product-dialog::backdrop { background: #24211dcc; }
.dialog-inner { position: relative; padding: clamp(21px, 5vw, 44px); }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 3px; background: #fffdfa; }
.icon-button:hover { background: var(--cream); }
.dialog-inner .eyebrow { padding-right: 41px; }
.dialog-inner h2 { font-size: clamp(36px, 6vw, 58px); margin-top: 12px; }
.dialog-inner > p:not(.eyebrow) { margin-top: 13px; color: var(--muted); }
.dialog-inner h3 { margin-top: 21px; font-family: var(--body); font-size: 16px; font-weight: 650; }
.detail-list { color: var(--muted); margin: 6px 0 18px; padding-left: 19px; }
.detail-list li + li { margin-top: 4px; }
.specs { border-top: 1px solid var(--line); font-size: 14px; }
.specs > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 7px; border-bottom: 1px solid var(--line); }
.specs dd { font-weight: 650; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; margin-top: 20px; }
.dialog-actions .text-link { align-self: center; }

@media (min-width: 1180px) {
  .hero-copy .button { min-height: 52px; padding-inline: 20px; }
}
@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-right: 25px; }
  h1 { font-size: clamp(56px, 7.25vw, 79px); }
}
@media (max-width: 800px) {
  .header-inner { gap: 15px; }
  .brand img { width: 150px; }
  .site-nav { gap: 20px; }
  .header-cta { padding-inline: 11px; }
  .hero { min-height: 510px; }
  .hero-actions { gap: 15px 20px; }
  .highlight { gap: 9px; padding-inline: 8px; justify-content: start; }
  .highlight + .highlight { padding-left: 12px; }
  .highlight .icon { width: 23px; height: 23px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  section[id] { scroll-margin-top: 78px; }
  .header-inner { display: flex; justify-content: space-between; min-height: 68px; }
  .header-cta { display: none !important; }
  .menu-toggle { display: grid !important; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 3px; background: transparent; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 10px var(--page-gutter) 21px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 10px 15px #24211d13; }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > a:not(.button) { padding: 11px 3px; border-bottom: 1px solid var(--line); }
  .nav-mobile-cta { display: inline-flex !important; align-self: flex-start; margin-top: 15px; }
  .hero { display: block; min-height: 0; }
  .hero-copy { padding: 49px var(--page-gutter) 43px; }
  h1 { margin-top: 17px; font-size: clamp(59px, 13vw, 78px); }
  .hero-description { margin-top: 20px; }
  .hero-actions { margin-top: 23px; gap: 16px 19px; }
  .hero-visual { min-height: 0; aspect-ratio: 1.31; }
  .hero-visual img { object-position: 53% 55%; }
  .hero-visual figcaption { right: 11px; bottom: 11px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight { min-height: 64px; padding: 9px 0; gap: 13px; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .section { padding-block: 58px; }
  .section-heading { display: grid; gap: 15px; margin-bottom: 22px; }
  .section-heading > p { padding: 0; }
  .filters { gap: 12px; margin-bottom: 17px; }
  .filter-fields { width: 100%; }
  .filter-fields label { flex: 1; min-width: 0; }
  .category-controls button { min-height: 44px; padding-inline: 12px; }
  .filter-fields select { min-height: 44px; font-size: 12px; padding-left: 6px; padding-right: 23px; }
  .filter-fields label .icon { right: 6px; }
  .product-grid { grid-template-columns: 1fr; gap: 17px; }
  .product-body { padding: 21px 19px; }
  .product-image { aspect-ratio: 1.48; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-copy { grid-row: 1; }
  .contact-form { padding: 20px; }
  .footer-inner { padding-block: 17px 23px; column-gap: 17px; }
  .footer-inner nav { width: 100%; margin-left: 0; }
}
@media (max-width: 365px) {
  :root { --page-gutter: 17px; }
  .hero-actions .button { padding-inline: 12px; gap: 7px; }
  .hero-actions { gap: 11px 13px; }
  .filter-fields { flex-wrap: wrap; }
  .filter-fields label { flex-basis: 132px; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-photo-motion].is-in-view > img {
    animation: photo-entrance 4.6s cubic-bezier(.2, .65, .35, 1);
  }

  @keyframes photo-entrance {
    from { transform: scale(1.08) translate(1%, 0.6%); }
    to { transform: none; }
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .product-image > img, .about-image > img {
    transition: scale .65s ease;
  }

  .product:hover .product-image > img, .about-image:hover > img {
    scale: 1.045;
  }
}

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

.spc-finishes {
  margin-top: clamp(25px, 4vw, 46px);
}

.floor-product-image { display: block; }
.floor-catalogue { padding-top: clamp(30px, 5vw, 65px); }
.spc-finishes-shortcut { margin: 0 0 16px; }
.spc-finishes-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px 28px;
  margin-bottom: 22px;
}

.spc-finishes-header h1 { margin: 0; font-size: clamp(38px, 5.3vw, 68px); line-height: 1.08; }
.spc-finishes-header p { margin-top: 8px; color: var(--muted); }
.spc-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.spc-swatches a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: #fffdfa;
}
.spc-swatches a:hover { border-color: var(--warm); }
.spc-swatches img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.spc-swatches span { display: block; padding: 8px 10px; font-size: 13px; font-weight: 650; }

.panel-catalogue > h1 { margin-top: 14px; font-size: clamp(42px, 6vw, 78px); }
.panel-catalogue > p { margin-top: 12px; color: var(--muted); }
.panel-navigation { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.panel-family { margin-top: clamp(35px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); }
.panel-family h2 { margin: 0; font-size: clamp(31px, 4vw, 52px); }
.panel-examples { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.panel-examples a { height: 100%; }
.panel-examples img { aspect-ratio: 4 / 3; object-fit: contain; background: #eee8df; }
