@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap");

:root {
  --ink: #211d1b;
  --mulberry: #5b3344;
  --mulberry-dark: #3d202d;
  --flax: #d7b66d;
  --linen: #f4ecdf;
  --paper: #fbf8f2;
  --sage: #9ca58e;
  --rule: rgba(33, 29, 27, 0.18);
  --banner-h: 30px;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
body::selection { background: var(--flax); color: var(--ink); }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.demo-ribbon { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--banner-h); overflow: hidden; background: var(--mulberry); color: #fff; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; line-height: var(--banner-h); }
.ribbon-track { display: flex; width: max-content; animation: ribbon 24s linear infinite; }
.ribbon-track span { width: 100vw; text-align: center; white-space: nowrap; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.demo-ribbon:hover .ribbon-track { animation-play-state: paused; }

.site-header { position: fixed; inset: var(--banner-h) 0 auto; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 78px; padding: 0 4.3vw; border-bottom: 1px solid var(--rule); background: rgba(251, 248, 242, .95); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-family: var(--serif); font-size: 24px; line-height: 1; }
.brand svg { width: 38px; height: 30px; fill: var(--mulberry); }
.brand svg .brand-cut { fill: var(--paper); }
.brand i { font-weight: 400; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.site-header nav a, .employee-login { position: relative; }
.site-header nav a::after { content: ""; position: absolute; inset: auto 0 -5px; height: 1px; background: var(--mulberry); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-header nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.employee-login { justify-self: end; padding: 10px 15px; border: 1px solid var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; transition: .2s ease; }
.employee-login:hover { background: var(--ink); color: var(--paper); }

main { overflow: hidden; }
.hero { min-height: 810px; padding: calc(var(--banner-h) + 126px) 4.3vw 58px; display: grid; grid-template-columns: minmax(400px, .86fr) minmax(560px, 1.14fr); gap: 4vw; align-items: stretch; border-bottom: 1px solid var(--rule); }
.hero-copy { align-self: center; padding: 44px 0 30px; }
.eyebrow { margin: 0 0 24px; color: var(--mulberry); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { margin-bottom: 28px; font-size: clamp(68px, 6.6vw, 112px); line-height: .86; }
h1 em { color: var(--mulberry); font-weight: 400; }
.hero-lede { max-width: 535px; margin-bottom: 34px; color: #514a46; font-size: 19px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-bottom: 62px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 0 24px; border: 0; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.button.solid { background: var(--mulberry); color: #fff; transition: background .2s ease, transform .2s ease; }
.button.solid:hover { background: var(--mulberry-dark); transform: translateY(-1px); }
.text-link { border-bottom: 1px solid var(--ink); font-size: 13px; }
.text-link span { margin-left: 10px; }
.hero-facts { display: flex; gap: 54px; margin: 0; }
.hero-facts div { padding-left: 14px; border-left: 1px solid var(--mulberry); }
.hero-facts dt { font-family: var(--serif); font-size: 27px; line-height: 1; }
.hero-facts dd { margin: 7px 0 0; color: #6b625d; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hero-image { position: relative; min-height: 610px; margin: 0; overflow: hidden; background: #d9d0c4; }
.hero-image::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); pointer-events: none; }
.hero-image img { height: 100%; object-fit: cover; object-position: 53% center; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.hero-image:hover img { transform: scale(1.02); }
.hero-image figcaption { position: absolute; inset: auto 18px 18px; display: flex; justify-content: space-between; gap: 20px; padding: 13px 16px; background: rgba(244,236,223,.94); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }

.collection-strip { padding: 112px 4.3vw 124px; }
.collection-strip > header { display: grid; grid-template-columns: 1fr 2fr; margin-bottom: 54px; }
.collection-strip h2, .composer-intro h2, .material-story h2, .services h2, .showrooms h2 { margin: 0; font-size: clamp(48px, 5vw, 78px); line-height: .98; }
.collection-grid { display: grid; grid-template-columns: 1.05fr 1.3fr .92fr .92fr; min-height: 430px; }
.collection-grid article { position: relative; overflow: hidden; }
.collection-card { display: flex; flex-direction: column; padding: 28px; }
.collection-card > span, .collection-photo > div span { font-size: 11px; letter-spacing: .13em; }
.collection-card h3, .collection-photo h3 { margin: auto 0 8px; font-family: var(--serif); font-size: 48px; font-weight: 400; line-height: 1; }
.collection-card p, .collection-photo p { max-width: 180px; margin-bottom: 30px; font-size: 14px; }
.collection-card a { width: max-content; border-bottom: 1px solid currentColor; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.collection-card.dark { background: var(--ink); color: var(--linen); }
.collection-card.pale { background: #d8ddce; }
.collection-card.red { background: var(--mulberry); color: #fff; }
.collection-photo img { height: 100%; object-fit: cover; }
.collection-photo > div { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 28px; color: #fff; background: linear-gradient(180deg, rgba(20,15,10,.16), transparent 45%, rgba(20,15,10,.58)); }

.composer-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; padding: 116px 4.3vw; background: var(--linen); }
.composer-intro { max-width: 430px; }
.composer-intro > p:not(.eyebrow):not(.demo-note) { max-width: 380px; margin: 30px 0 25px; color: #5d554f; font-size: 17px; }
.demo-note { padding-top: 20px; border-top: 1px solid var(--rule); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.composer-shell { display: grid; grid-template-columns: minmax(275px, .8fr) minmax(340px, 1.2fr); align-self: start; border: 1px solid var(--ink); background: var(--paper); }
.composer-controls { display: flex; flex-direction: column; gap: 28px; padding: 30px; border-right: 1px solid var(--ink); }
.control-label, .select-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.composer-chip { padding: 8px 11px; border: 1px solid var(--rule); border-radius: 30px; background: transparent; cursor: pointer; font-size: 11px; }
.composer-chip.active { border-color: var(--mulberry); background: var(--mulberry); color: #fff; }
.dimensions { display: grid; gap: 17px; }
.dimensions label { display: grid; grid-template-columns: 1fr auto; gap: 8px; color: #5d554f; font-size: 12px; }
.dimensions input { grid-column: 1 / -1; width: 100%; accent-color: var(--mulberry); }
.select-label select { width: 100%; margin-top: 10px; padding: 11px 8px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); text-transform: none; letter-spacing: 0; }
.composer-controls .button { margin-top: auto; }
.plan-card { display: flex; flex-direction: column; padding: 22px; background: #e7dfd3; }
.plan-head { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.floorplan { position: relative; min-height: 300px; border: 2px solid var(--ink); background: repeating-linear-gradient(0deg, transparent, transparent 17px, rgba(33,29,27,.04) 18px), repeating-linear-gradient(90deg, transparent, transparent 17px, rgba(33,29,27,.04) 18px), #f6f1e8; overflow: hidden; }
.floorplan > div { position: absolute; background: var(--mulberry); transition: .35s ease; }
.floorplan .rug { inset: 24% 18%; border: 1px solid #b9aa99; background: repeating-linear-gradient(45deg,#d8cbb9,#d8cbb9 5px,#d1c1ad 5px,#d1c1ad 10px); }
.floorplan .sofa { left: 23%; bottom: 17%; width: 54%; height: 20%; border: 6px double #f6f1e8; }
.floorplan .chair { top: 28%; width: 17%; height: 23%; border: 5px solid #f6f1e8; background: var(--sage); }
.floorplan .chair.one { left: 13%; transform: rotate(12deg); }.floorplan .chair.two { right: 13%; transform: rotate(-12deg); }
.floorplan .table { top: 36%; left: 42%; width: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--flax); }
.floorplan .window, .floorplan .door { position: absolute; z-index: 2; padding: 1px 7px; background: #f6f1e8; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.floorplan .window { top: -2px; left: 35%; border: 2px solid var(--ink); }.floorplan .door { right: -2px; bottom: 22%; border: 2px solid var(--ink); }
.floorplan[data-room="Dining room"] .sofa { left: 28%; bottom: 27%; width: 44%; height: 14%; transform: rotate(90deg); }
.floorplan[data-room="Dining room"] .table { top: 25%; left: 34%; width: 32%; border-radius: 2px; }
.floorplan[data-room="Bedroom"] .sofa { left: 25%; bottom: 17%; width: 50%; height: 44%; }
.floorplan[data-room="Bedroom"] .table { top: 23%; left: 14%; width: 13%; }
.plan-result { display: grid; grid-template-columns: 1.3fr .75fr 1fr; margin-top: 16px; }
.plan-result div { padding: 0 12px; border-left: 1px solid var(--rule); }
.plan-result div:first-child { padding-left: 0; border-left: 0; }
.plan-result span { display: block; margin-bottom: 4px; color: #6d625a; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.plan-result strong { font-family: var(--serif); font-size: 16px; font-weight: 500; line-height: 1.15; }

.material-story { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 690px; background: var(--ink); color: var(--linen); }
.material-story figure { min-height: 620px; margin: 0; }
.material-story img { height: 100%; object-fit: cover; }
.material-story > div { align-self: center; padding: 70px 8vw 70px 7vw; }
.material-story .eyebrow { color: var(--flax); }
.material-story > div > p:not(.eyebrow) { margin: 30px 0 44px; color: #c8c0b5; font-size: 17px; }
.material-story ul { margin: 0; padding: 0; list-style: none; }
.material-story li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.2); font-size: 13px; }
.material-story li span { display: inline-block; width: 44px; color: var(--flax); font-size: 10px; }

.services { padding: 118px 4.3vw; }
.services > header { display: grid; grid-template-columns: 1fr 2fr; margin-bottom: 70px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.service-list article { min-height: 260px; padding: 22px 38px 30px 0; border-right: 1px solid var(--rule); }
.service-list article + article { padding-left: 38px; }
.service-list article:last-child { border-right: 0; }
.service-list span { color: var(--mulberry); font-size: 10px; }
.service-list h3 { margin: 70px 0 14px; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.service-list p { max-width: 340px; color: #6a615b; font-size: 14px; }

.showrooms { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 640px; background: var(--flax); }
.showrooms > div { align-self: center; padding: 60px 8vw 60px 4.3vw; }
.showrooms .eyebrow { color: var(--mulberry-dark); }
.showrooms > div > p:not(.eyebrow) { max-width: 440px; margin: 28px 0 42px; }
.showrooms figure { margin: 0; min-height: 600px; }
.showrooms img { height: 100%; object-fit: cover; }
.store-search label { display: block; margin-bottom: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.store-search div { display: flex; max-width: 390px; border-bottom: 1px solid var(--ink); }
.store-search input { flex: 1; min-width: 0; padding: 12px 0; border: 0; outline: 0; background: transparent; }
.store-search button { border: 0; background: transparent; cursor: pointer; font-size: 11px; font-weight: 600; text-transform: uppercase; }

footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: end; padding: 76px 4.3vw 30px; background: var(--mulberry-dark); color: var(--linen); }
.footer-brand { font-size: 34px; }
footer > p { margin: 0; font-family: var(--serif); font-size: 24px; }
footer > div { display: flex; gap: 22px; font-size: 12px; }
footer small { grid-column: 1 / -1; margin-top: 50px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.65); font-size: 10px; }

#chatLaunch { position: fixed; z-index: 60; right: 24px; bottom: 24px; display: grid; min-width: 176px; padding: 13px 18px; border: 0; background: var(--mulberry); color: #fff; box-shadow: 0 12px 35px rgba(33,29,27,.22); cursor: pointer; text-align: left; }
#chatLaunch span { font-family: var(--serif); font-size: 20px; }
#chatLaunch small { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
#chatPanel { position: fixed; z-index: 70; right: 24px; bottom: 24px; width: min(390px, calc(100vw - 32px)); height: min(560px, calc(100vh - 70px)); display: flex; flex-direction: column; border: 1px solid var(--ink); background: var(--paper); box-shadow: 0 18px 60px rgba(33,29,27,.25); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .22s ease; }
#chatPanel.open { opacity: 1; visibility: visible; transform: translateY(0); }
#chatPanel > header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--mulberry); color: #fff; }
#chatPanel > header div { display: grid; }
#chatPanel > header span { font-family: var(--serif); font-size: 22px; }
#chatPanel > header small { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
#chatClose { border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 28px; }
#chatLog { flex: 1; overflow-y: auto; padding: 20px; }
.msg { width: fit-content; max-width: 84%; margin-bottom: 12px; padding: 11px 13px; font-size: 13px; line-height: 1.45; }
.msg.bot { background: var(--linen); }.msg.user { margin-left: auto; background: var(--mulberry); color: #fff; }.msg.system { border-left: 3px solid var(--flax); background: #f0e7d7; }
#chatForm { display: flex; gap: 7px; padding: 12px; border-top: 1px solid var(--rule); }
#chatInput { flex: 1; min-width: 0; padding: 11px; border: 1px solid var(--rule); background: #fff; outline: 0; font-size: 12px; }
#chatSend { padding: 0 15px; border: 0; background: var(--ink); color: #fff; cursor: pointer; font-size: 11px; }
.chat-governed { margin: 0; padding: 0 12px 10px; color: #756b64; font-size: 9px; text-align: right; text-transform: uppercase; letter-spacing: .07em; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }.site-header nav { display: none; }
  .hero { grid-template-columns: .8fr 1.2fr; padding-top: calc(var(--banner-h) + 115px); }.hero-image { min-height: 560px; }
  .collection-grid { grid-template-columns: 1fr 1fr; }.collection-grid article { min-height: 360px; }
  .composer-section { grid-template-columns: 1fr; }.composer-intro { max-width: 700px; }.composer-shell { max-width: 900px; }
}

@media (max-width: 740px) {
  :root { --banner-h: 26px; }
  .ribbon-track span { width: 150vw; }
  .site-header { height: 64px; padding: 0 18px; }.brand { font-size: 19px; }.brand svg { width: 31px; }.employee-login { padding: 8px 9px; font-size: 9px; }
  .hero { min-height: 0; padding: calc(var(--banner-h) + 92px) 18px 32px; grid-template-columns: 1fr; gap: 30px; }.hero-copy { padding: 28px 0 0; }.eyebrow { margin-bottom: 17px; }.hero h1 { font-size: 64px; }.hero-lede { font-size: 16px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 42px; }.hero-facts { gap: 25px; }.hero-facts dt { font-size: 22px; }.hero-image { min-height: 430px; }.hero-image figcaption { inset: auto 10px 10px; flex-direction: column; gap: 3px; }
  .collection-strip, .services { padding: 78px 18px; }.collection-strip > header, .services > header { grid-template-columns: 1fr; gap: 10px; }.collection-strip h2, .composer-intro h2, .material-story h2, .services h2, .showrooms h2 { font-size: 47px; }.collection-grid { grid-template-columns: 1fr; }.collection-grid article { min-height: 330px; }.collection-card h3, .collection-photo h3 { font-size: 42px; }
  .composer-section { padding: 75px 18px; gap: 45px; }.composer-shell { grid-template-columns: 1fr; }.composer-controls { border-right: 0; border-bottom: 1px solid var(--ink); }.plan-card { padding: 14px; }.floorplan { min-height: 280px; }.plan-result { grid-template-columns: 1fr 1fr; gap: 14px; }.plan-result div:last-child { grid-column: 1 / -1; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .material-story { grid-template-columns: 1fr; }.material-story figure { min-height: 440px; }.material-story > div { padding: 68px 18px; }
  .service-list { grid-template-columns: 1fr; }.service-list article, .service-list article + article { min-height: 0; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--rule); }.service-list h3 { margin-top: 35px; }
  .showrooms { grid-template-columns: 1fr; }.showrooms > div { padding: 70px 18px; }.showrooms figure { min-height: 420px; }
  footer { grid-template-columns: 1fr; padding: 60px 18px 24px; }footer > div { flex-wrap: wrap; }footer small { grid-column: 1; margin-top: 22px; }
  #chatLaunch { right: 14px; bottom: 14px; min-width: 145px; }#chatPanel { right: 8px; bottom: 8px; height: calc(100vh - 44px); width: calc(100vw - 16px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ribbon-track { transform: none; }
}
