/* Select Cabinetry — one page for trade buyers. The page is a stack of panels: each section is a
   full-width board in its own finish, separated by a plywood-edge strip. No external files. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #14372F;      /* lacquer green: opening and closing panels */
  --green-ink: #EDE6D6;  /* text on green */
  --green-soft: #B9C7BC; /* secondary text on green */
  --stone: #D9DCD5;      /* pale stone-grey panel */
  --stone-ink: #18211D;
  --stone-soft: #46524C;
  --honey: #D9A865;      /* honey veneer panel */
  --honey-ink: #2B1A0C;
  --honey-soft: #55381B;
  --walnut: #452A1D;     /* walnut panel */
  --walnut-ink: #F1E2CC;
  --ply-light: #E3C99B;
  --ply-dark: #8C6235;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --pad: clamp(64px, 9vw, 128px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.55; background: var(--green); color: var(--green-ink); }
::selection { background: var(--honey); color: var(--honey-ink); }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:focus-visible { outline: 3px solid var(--honey); outline-offset: 4px; border-radius: 2px; }
.panel-honey a:focus-visible { outline-color: var(--honey-ink); }
.skip { position: absolute; left: 16px; top: -64px; background: var(--honey); color: var(--honey-ink); padding: 10px 14px; font-weight: 600; z-index: 5; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.panel { padding: var(--pad) 0; }
.panel-green { background: var(--green); color: var(--green-ink); }
.panel-stone { background: var(--stone); color: var(--stone-ink); }
.panel-honey { background: var(--honey); color: var(--honey-ink); }
.panel-walnut { background: var(--walnut); color: var(--walnut-ink); }

/* The edge of a plywood board, seen between two panels. */
.edge {
  height: 18px;
  background: repeating-linear-gradient(to bottom, var(--ply-light) 0 4px, var(--ply-dark) 4px 6px);
}

h1, h2 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.section-lede { margin-top: 20px; max-width: 46ch; font-size: 1.15rem; }
.panel-stone .section-lede { color: var(--stone-soft); }
.panel-honey .section-lede { color: var(--honey-soft); }

/* Opening panel */
.top { padding-top: 0; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.wordmark { white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; }
.wordmark svg { width: 30px; height: 30px; fill: none; stroke: var(--honey); stroke-width: 2.5; stroke-linecap: round; }
nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-size: 1rem; font-weight: 500; }
nav a { text-decoration: none; padding: 8px 0; }
nav a:hover { text-decoration: underline; }
.nav-cta { white-space: nowrap; border: 1.5px solid var(--green-ink); padding: 8px 16px; border-radius: 2px; }
.nav-cta:hover { background: var(--green-ink); color: var(--green); text-decoration: none; }

.hero { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(40px, 7vw, 96px); }
.lede { margin-top: 28px; max-width: 38ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--green-soft); }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.btn { display: inline-block; background: var(--honey); color: var(--honey-ink); font-weight: 700; font-size: 1.1rem; padding: 16px 28px; border-radius: 2px; text-decoration: none; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s; }
.btn:hover { background: #E6BB7E; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.tel { font-weight: 500; font-size: 1.05rem; }

.hero-drawing figcaption { margin-top: 14px; font-size: 0.95rem; color: var(--green-soft); }
.elevation { width: 100%; overflow: visible; }
.elevation .ln { fill: none; stroke: var(--green-ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.elevation .pull { stroke-width: 3; }
.elevation .floor { stroke-width: 2.6; }
.elevation .dm { fill: none; stroke: var(--honey); stroke-width: 1; }
.elevation .dt { fill: var(--honey); font: 500 15px var(--font); }

/* The one authored moment: the hero elevation is drawn in, cabinet lines first, dimensions after. */
@media (prefers-reduced-motion: no-preference) {
  .elevation .ln { stroke-dasharray: 1; animation: draw 1.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .elevation .ln:nth-child(3n) { animation-delay: 0.15s; }
  .elevation .ln:nth-child(3n + 1) { animation-delay: 0.3s; }
  .elevation .dm, .elevation .dt { animation: appear 0.7s ease-out 1.3s both; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

/* What we make */
.lines { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 64px); }
.line img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; object-position: left bottom; }
.line h3 { margin-top: 22px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.line p { margin-top: 8px; max-width: 44ch; color: var(--stone-soft); }
.line:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 64px); row-gap: 10px; }
.line:first-child img { aspect-ratio: auto; grid-row: 1 / span 2; }
.line:first-child h3 { align-self: end; margin-top: 0; font-size: 2rem; }
.line:first-child p { align-self: start; }

/* How an order runs */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps { counter-reset: step; border-top: 1.5px solid var(--honey-ink); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: 12px; padding: 20px 0; border-bottom: 1.5px solid var(--honey-ink); }
.steps li::before { content: counter(step); grid-row: 1 / span 2; font-size: 2.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.3rem; }
.steps p { margin-top: 4px; color: var(--honey-soft); max-width: 48ch; }

/* Made in Brazil */
.origin h2 { font-size: clamp(2.4rem, 7.2vw, 6rem); max-width: 14ch; }
.origin p { margin-top: 28px; max-width: 52ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: #DCC7AC; }

/* Closing panel */
.close { padding-bottom: 0; }
.contact-lines { margin-top: 36px; display: grid; gap: 10px; justify-items: start; }
.contact-lines a { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.01em; text-decoration-color: var(--honey); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--honey); }
.send h3 { font-size: 1.15rem; color: var(--honey); }
.send ul { margin-top: 14px; border-top: 1px solid #3F6257; }
.send li { padding: 14px 0; border-bottom: 1px solid #3F6257; font-size: 1.1rem; }
.foot { margin-top: var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid #3F6257; font-size: 0.95rem; color: var(--green-soft); }

@media (max-width: 860px) {
  body { font-size: 17px; }
  nav a:not(.nav-cta) { display: none; }
  .hero, .split, .line:first-child { grid-template-columns: minmax(0, 1fr); }
  .line:first-child img { grid-row: auto; }
  .line:first-child h3 { margin-top: 6px; font-size: 1.6rem; }
  .lines { grid-template-columns: minmax(0, 1fr); }
  .wordmark { font-size: 1.05rem; gap: 10px; }
  .wordmark svg { width: 26px; height: 26px; }
  .nav-cta { padding: 8px 12px; font-size: 0.95rem; }
  .line img { aspect-ratio: auto; }
  .hero-drawing { order: 2; }
}
