@charset "UTF-8";

:root {
  --paper: #f7f3ec;
  --surface: #fffdf9;
  --ink: #171614;
  --muted: #6e685f;
  --gold: #b69468;
  --gold-dark: #8d6d46;
  --line: #ded4c7;
  --dark: #1d1b18;
  --shadow: 0 18px 50px rgba(56, 43, 28, .12);
  --radius: 18px;
  --shell: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; padding: 12px 16px; background: #fff; z-index: 50; }
.skip-link:focus { top: 16px; }

.site-header {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: #fff;
  background: #17191a;
}
.header-background { position: absolute; inset: 0; }
.presentation-header {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-block: 27px 18px;
}
.header-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.presentation-wordmark {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
}
.presentation-wordmark span {
  width: 142px;
  height: 4px;
  margin-top: 14px;
  display: block;
  background: #bd8058;
}
.header-number { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; }
.header-message { align-self: center; max-width: 650px; padding-block: 24px; }
.header-message > p {
  width: fit-content;
  margin: 0 0 20px;
  padding: 7px 16px;
  border-radius: 9px;
  color: #fff;
  background: #b97d56;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.header-message h2 {
  margin: 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.header-message a {
  min-height: 46px;
  margin-top: 26px;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: rgba(20,18,16,.55);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(5px);
}
.header-message a:hover { border-color: #d7ad8f; background: #b97d56; }
.header-caption { align-self: end; margin: 0; color: rgba(255,255,255,.7); font-size: 11px; }

/* Approved editorial split: graphite copy + interior field. */
.header-split .site-header { background: #191c1e; }
.header-split .header-background {
  left: 48%;
  background:
    linear-gradient(90deg, #191c1e 0%, rgba(25,28,30,.16) 25%),
    url("assets/catalog/interior/panels-living.webp") 64% center / cover no-repeat;
}
.header-split .header-message { max-width: 560px; }
.header-split .header-message h2 { font-size: clamp(36px, 4.3vw, 56px); }

.intro { padding-block: clamp(54px, 8vw, 104px) clamp(52px, 7vw, 84px); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.light { color: #d7bd96; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; text-wrap: balance; }
h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 7.2vw, 86px);
  line-height: .98;
  letter-spacing: -.04em;
}
h1 em { color: var(--gold-dark); font-weight: 400; }
.lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: #48433c;
  font-size: clamp(17px, 2.2vw, 21px);
}
.intro-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { color: #fff; background: var(--ink); }
.button:hover, .button:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.button:focus-visible, .video-card button:focus-visible, .contact a:focus-visible, .close-button:focus-visible, .player-nav button:focus-visible { outline: 3px solid #d8b884; outline-offset: 3px; }
.update-note { margin: 28px 0 0; color: var(--muted); font-size: 14px; }
.update-note span { width: 8px; height: 8px; margin-right: 7px; display: inline-block; border-radius: 50%; background: var(--gold); }
.hero-visual {
  position: relative;
  margin: clamp(34px, 6vw, 62px) 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d8d1c7;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; aspect-ratio: 2.15 / 1; object-fit: cover; object-position: center 49%; }
.hero-visual figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: #f9f4ec;
  background: rgba(20, 18, 15, .82);
  font-size: 12px;
  letter-spacing: .03em;
}

.instructions { padding-bottom: clamp(70px, 10vw, 120px); scroll-margin-top: 20px; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  align-items: end;
  gap: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.section-head h2, .before-start h2, .contact h2 { margin: 0; font-size: clamp(31px, 4vw, 49px); line-height: 1.06; }
.section-head > p { margin: 0; color: var(--muted); }
.video-list { margin: 0; padding: 0; list-style: none; }
.video-card {
  display: grid;
  grid-template-columns: 76px 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.step-number { color: var(--gold-dark); font-family: Georgia, serif; font-size: 28px; }
.poster-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 10px; background: #ddd2c2; }
.poster-wrap img { width: 100%; height: 100%; object-fit: cover; }
.play-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 22px;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.45));
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.video-copy h3 { margin: 0 0 5px; font-family: Georgia, serif; font-size: clamp(23px, 3vw, 30px); font-weight: 400; }
.video-copy p { max-width: 560px; margin: 0; color: var(--muted); }
.video-meta { margin-top: 9px; color: var(--gold-dark); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.watch-button {
  min-width: 130px;
  min-height: 48px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 700;
  cursor: pointer;
}
.video-card:hover .watch-button { border-color: var(--gold); background: #fff; }

.textures {
  padding-block: clamp(58px, 8vw, 92px);
  color: #f6f1e9;
  background: var(--dark);
}
.textures-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  align-items: end;
  gap: 30px;
  margin-bottom: 28px;
}
.textures-head h2 { margin: 0; font-size: clamp(31px, 4vw, 49px); line-height: 1.06; }
.textures-head > p { margin: 0; color: #bfb8ad; }
.swipe-hint { display: none; }
.texture-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.texture-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid #4a443d;
  border-radius: 14px;
  background: #2a2723;
}
.texture-card img { width: 100%; aspect-ratio: 2.14 / 1; object-fit: cover; background: #eee9df; }
.texture-card figcaption { min-height: 54px; display: flex; align-items: center; padding: 12px 15px; color: #fff; font-weight: 700; line-height: 1.25; }
.texture-note { margin: 20px 0 0; color: #a9a197; font-size: 13px; }

.before-start { padding: 34px 0 84px; }
.before-start h2 { max-width: 760px; }
.before-start > p:last-child { max-width: 730px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }

.contact { color: #f7f3ec; background: var(--dark); }
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; padding-block: clamp(54px, 8vw, 88px); }
.contact h2 { color: #fff; }
.contact p { max-width: 560px; margin: 17px 0 0; color: #bfb8ad; }
.contact-links { display: grid; align-content: center; gap: 12px; }
.contact-links a { width: fit-content; padding-bottom: 3px; border-bottom: 1px solid #6e6254; color: #fff; font-size: clamp(17px, 2vw, 20px); text-decoration: none; }
.contact-links a:hover { border-color: #d7bd96; color: #e4cda9; }

.site-footer { color: #8f887f; background: #12110f; font-size: 13px; }
.footer-layout { display: flex; justify-content: space-between; gap: 24px; padding-block: 22px; }
.footer-layout p { margin: 0; }
.footer-layout a { color: #c6bdb1; }

.player-dialog {
  width: min(calc(100% - 24px), 850px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}
.player-dialog::backdrop { background: rgba(15, 13, 10, .78); backdrop-filter: blur(5px); }
.player-panel { padding: 18px; }
.player-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 2px 2px 15px; }
.player-bar span { color: var(--gold-dark); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.player-bar h2 { margin: 3px 0 0; font-size: clamp(25px, 4vw, 36px); }
.close-button { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.video-frame { min-height: 320px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: #0d0d0d; }
.video-frame video { width: 100%; max-height: min(68dvh, 720px); display: block; background: #000; }
.player-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; }
.player-nav button { min-height: 44px; border: 0; color: var(--gold-dark); background: transparent; font-weight: 700; cursor: pointer; }
.player-nav button:disabled { opacity: .35; cursor: default; }
.noscript { padding: 18px; color: #fff; text-align: center; background: #8b2e21; }

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header { min-height: 360px; }
  .presentation-header { min-height: 360px; padding-block: 20px 14px; }
  .presentation-wordmark { font-size: 22px; }
  .presentation-wordmark span { width: 105px; height: 3px; margin-top: 11px; }
  .header-number { font-size: 17px; }
  .header-message { max-width: 100%; padding-block: 22px 18px; }
  .header-message > p { margin-bottom: 15px; padding: 6px 12px; font-size: 11px; }
  .header-message h2 { font-size: clamp(32px, 9.4vw, 41px); }
  .header-message a { min-height: 44px; margin-top: 20px; padding: 10px 15px; font-size: 13px; }
  .header-caption { max-width: 280px; font-size: 9px; }
  .header-split .header-background {
    inset: 0;
    background:
      linear-gradient(90deg, rgba(25,28,30,.96) 0%, rgba(25,28,30,.7) 62%, rgba(25,28,30,.18) 100%),
      url("assets/catalog/interior/panels-living.webp") 68% center / cover no-repeat;
  }
  .header-split .header-message h2 { font-size: clamp(30px, 8.8vw, 39px); }
  .intro { padding-top: 48px; }
  .hero-visual { border-radius: 14px; }
  .hero-visual img { aspect-ratio: 4 / 5; object-position: 65% center; }
  .hero-visual figcaption { right: 9px; bottom: 9px; max-width: calc(100% - 18px); font-size: 11px; }
  .instructions { padding-bottom: 42px; }
  .before-start { padding-top: 18px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .video-card { grid-template-columns: 46px 105px minmax(0, 1fr); gap: 12px; padding-block: 20px; }
  .step-number { font-size: 22px; }
  .poster-wrap { aspect-ratio: 4/5; }
  .video-copy p { display: none; }
  .video-copy h3 { font-size: 21px; line-height: 1.08; }
  .video-meta { margin-top: 6px; font-size: 11px; }
  .watch-button { grid-column: 2 / -1; width: 100%; min-height: 46px; }
  .textures-head { grid-template-columns: 1fr; gap: 12px; }
  .swipe-hint { display: block; margin: -4px 0 16px; color: #c7bfb4; font-size: 13px; }
  .texture-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 320px);
    gap: 12px;
    width: calc(100% + 14px);
    padding: 0 14px 10px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }
  .texture-card { scroll-snap-align: start; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .footer-layout { flex-direction: column; }
  .player-dialog { width: calc(100% - 12px); max-height: calc(100dvh - 12px); border-radius: 14px; }
  .player-panel { padding: 12px; }
  .video-frame { min-height: 0; }
  .player-nav button { font-size: 13px; white-space: nowrap; }
}

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

/* Client portal sections */
.section-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 212, 199, .78);
  background: rgba(247, 243, 236, .96);
  backdrop-filter: blur(12px);
}
.section-nav-track {
  display: flex;
  gap: 8px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav-track::-webkit-scrollbar { display: none; }
.section-nav a {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #514b43;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.section-nav a:hover, .section-nav a:focus-visible { color: var(--ink); background: #eee6db; }
.section-nav .section-nav-accent { color: #fff; background: #282522; }
.section-nav .section-nav-accent:hover, .section-nav .section-nav-accent:focus-visible { color: #fff; background: #a8704e; }

.ideas { padding-block: clamp(70px, 10vw, 120px); scroll-margin-top: 70px; }
.ideas-heading { margin-bottom: 30px; }
.ideas-heading h2, .community-heading h2, .contribution h2 { margin: 0; font-size: clamp(34px, 4.6vw, 55px); line-height: 1.04; }
.ideas-grid {
  columns: 3 300px;
  column-gap: 16px;
}
.idea-card {
  position: relative;
  width: 100%;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 15px;
  display: inline-block;
  vertical-align: top;
  break-inside: avoid;
  background: #d8d0c5;
}
.idea-card > a { display: block; color: inherit; text-decoration: none; }
.idea-card img { width: 100%; height: auto; transition: transform .45s ease; }
.idea-card:hover img { transform: scale(1.02); }
.idea-card figcaption {
  position: absolute;
  inset: auto 0 0;
  min-height: 90px;
  padding: 34px 18px 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  background: linear-gradient(transparent, rgba(12, 11, 10, .88));
}
.idea-card figcaption strong { font-family: Georgia, serif; font-size: 20px; font-weight: 400; line-height: 1.18; }
.idea-card figcaption span {
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.community {
  padding-block: clamp(68px, 9vw, 105px);
  color: #f7f3ec;
  background: #1d1b18;
  scroll-margin-top: 70px;
}
.community-heading { border-color: #4a443d; }
.community-heading > p { color: #bfb8ad; }
.community-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.community-grid:not([hidden]) { display: grid; }
.community-card { overflow: hidden; border: 1px solid #49433c; border-radius: 15px; background: #282521; }
.community-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.community-media img, .community-media video { width: 100%; height: 100%; object-fit: cover; }
.media-count { position: absolute; right: 12px; top: 12px; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(17, 15, 13, .78); font-size: 12px; font-weight: 700; }
.community-copy { padding: 17px; }
.community-copy h3 { margin: 0; font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
.community-copy p { margin: 8px 0 0; color: #c5beb4; }
.community-copy > span { margin-top: 14px; display: block; color: #b69468; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.community-empty { margin-top: 28px; padding: clamp(35px, 7vw, 72px); border: 1px solid #4a443d; border-radius: 16px; text-align: center; background: #25221e; }
.community-empty[hidden] { display: none; }
.community-empty > span { display: block; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 44px); }
.community-empty p { margin: 10px 0 25px; color: #bfb8ad; }
.button-light { border-color: #777067; color: #fff; background: transparent; }
.button-light:hover, .button-light:focus-visible { border-color: #d7bd96; background: #332f2a; }

.contribution {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr);
  gap: clamp(45px, 8vw, 95px);
  padding-block: clamp(72px, 10vw, 120px);
  scroll-margin-top: 70px;
}
.contribution-intro { align-self: start; position: sticky; top: 90px; }
.contribution-intro > p:last-of-type { max-width: 500px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.submission-steps { margin: 36px 0 0; padding: 0; list-style: none; }
.submission-steps li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); }
.submission-steps span { color: var(--gold-dark); font-family: Georgia, serif; }

.upload-form { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 18px; background: #fffdf9; box-shadow: var(--shadow); }
.upload-form > label, .form-row label { display: grid; gap: 8px; margin-bottom: 19px; color: #3d3934; font-size: 14px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.upload-form input[type="text"], .upload-form select, .upload-form textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid #cfc4b6;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 400;
}
.upload-form textarea { min-height: 112px; resize: vertical; }
.upload-form input:focus, .upload-form select:focus, .upload-form textarea:focus { border-color: var(--gold-dark); outline: 3px solid rgba(182, 148, 104, .2); }
.file-field { padding: 25px; border: 1px dashed #aa9276; border-radius: 13px; place-items: center; text-align: center; cursor: pointer; background: #f8f2e9; }
.file-field > strong { font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.file-field > span:not(.file-button) { color: var(--muted); font-weight: 400; }
.file-field input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.file-button { margin-top: 7px; padding: 10px 17px; border-radius: 999px; color: #fff; background: #292622; }
.file-field output { margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 400; }
.file-field output.has-files { color: #6b543b; font-weight: 700; }
.upload-form .check-field { grid-template-columns: 22px 1fr; align-items: start; gap: 11px; font-size: 13px; font-weight: 400; line-height: 1.42; }
.check-field input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: #946b4e; }
.check-field b { color: #a84a38; }
.submit-button { width: 100%; margin-top: 10px; }
.submit-button:disabled { opacity: .55; cursor: wait; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.form-status { min-height: 0; margin-top: 14px; padding: 0; border-radius: 9px; font-size: 14px; }
.form-status:not(:empty) { min-height: 48px; padding: 13px 15px; }
.form-status.loading { color: #604b35; background: #f1e5d5; }
.form-status.success { color: #254e35; background: #e2efe6; }
.form-status.error { color: #7f3026; background: #f7e4e0; }
.footer-links { display: flex; gap: 22px; }

@media (max-width: 880px) {
  .ideas-grid { columns: 2 280px; }
  .contribution { grid-template-columns: 1fr; }
  .contribution-intro { position: static; }
  .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .section-nav .shell { width: 100%; padding-inline: 14px; }
  .section-nav a { min-height: 44px; }
  .ideas-grid { columns: 1; }
  .idea-card { margin-bottom: 12px; }
  .idea-card figcaption { align-items: flex-end; }
  .community-grid { grid-template-columns: 1fr; }
  .contribution { gap: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .upload-form { padding: 20px 16px; }
  .file-field { padding: 22px 15px; }
  .footer-links { flex-wrap: wrap; }
}
