/* ==========================================================================
   Unity Globwood LLP — global stylesheet
   Palette: corporate brown #532F23 + green #4A7124 on cream, per the logo guideline.
   ========================================================================== */

/* --- Reset ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

img,
svg { display: block; max-width: 100%; }

input,
button,
textarea,
select { font: inherit; color: inherit; }

/* --- Tokens ---------------------------------------------------------------
   Corporate colours from the Unity Globwood logo guideline:
   brown #532F23, green #4A7124, black #000000.
   -------------------------------------------------------------------------- */
:root {
  --ink:        #2a1a12;
  --ink-soft:   #574439;
  --ink-muted:  #857468;
  --line:       #e6ddd2;
  --line-soft:  #f1eae1;
  --cream:      #faf6f0;
  --cream-deep: #f2eae0;
  --white:      #ffffff;

  --brown:      #532F23;
  --brown-deep: #3d2119;
  --brown-soft: #f5eae3;
  --green:      #4A7124;
  --green-deep: #3a591b;
  --green-soft: #edf2e3;
  --green-lite: #9dc763;
  --bark:       #2a1610;
  --bark-2:     #351e15;

  --shadow-sm: 0 1px 2px rgba(42, 22, 16, .05), 0 4px 12px rgba(42, 22, 16, .04);
  --shadow-md: 0 2px 6px rgba(42, 22, 16, .06), 0 18px 40px -18px rgba(42, 22, 16, .28);
  --shadow-lg: 0 30px 70px -30px rgba(42, 22, 16, .5);

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shell: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
}

/* --- Base ----------------------------------------------------------------- */
body {
  font-family: var(--sans);
  font-size: 1.0125rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.15rem); }
h2 { font-size: clamp(1.95rem, 3.9vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; }
h4 { font-size: 1.075rem; line-height: 1.35; }

a { color: var(--green-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { color: var(--ink); font-weight: 600; }

::selection { background: var(--green); color: #fff; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Layout helpers ------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow { max-width: 900px; }

/* keep #anchor jumps clear of the sticky header */
[id] { scroll-margin-top: 96px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--cream { background: var(--cream-deep); }
.section--white { background: var(--white); }

.section--dark {
  background: var(--bark);
  color: #d3c7bd;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fdfaf5; }
.section--dark .eyebrow { color: var(--green-lite); }
.section--dark .lead { color: #bcaea2; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- Section headers ------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .755rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.lead {
  font-size: clamp(1.055rem, 1.4vw, 1.185rem);
  color: var(--ink-muted);
  margin-top: 1.15rem;
  max-width: 62ch;
}
.section-head--center .lead { margin-inline: auto; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .92rem 1.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .935rem;
  font-weight: 600;
  letter-spacing: .005em;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease,
              border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(74, 113, 36, .85);
}
.btn--primary:hover { background: var(--green-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(83, 47, 35, .05); }

.btn--light {
  background: rgba(255, 255, 255, .08);
  color: #fdfaf5;
  border-color: rgba(255, 255, 255, .26);
}
.btn--light:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }

.btn--solid-light {
  background: #fdfaf5;
  color: var(--ink);
}
.btn--solid-light:hover { background: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.25rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .93rem;
  color: var(--green-deep);
}
.arrow-link svg { transition: transform .2s ease; }
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover svg { transform: translateX(4px); }

/* --- Header / navigation -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(42, 22, 16, .55);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
  flex: none;
}
.brand:hover { text-decoration: none; }
.brand img {
  height: 46px;
  width: auto;
  display: block;
}
.site-footer .brand img { height: 62px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: .5rem .72rem;
  font-size: .895rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 7px;
  white-space: nowrap;
}
.nav__links a:hover { background: rgba(83, 47, 35, .06); color: var(--ink); text-decoration: none; }
.nav__links a.is-active { color: var(--ink); font-weight: 600; }
.nav__links a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  width: 18px;
  margin: 4px auto 0;
  background: var(--green);
  border-radius: 2px;
}

.nav__cta { flex: none; }
.nav__cta .btn { padding: .68rem 1.25rem; font-size: .875rem; }

/* quote button that only appears inside the open mobile menu */
.nav__links .nav__mobile-cta { display: none; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: background-color .2s ease;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--bark);
  color: #d7cec2;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/hero-timber-yard.jpg");
  background-size: cover;
  background-position: center;
  opacity: .78;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 82% 12%, rgba(83, 47, 35, .55), transparent 58%),
    linear-gradient(105deg, rgba(28, 15, 10, .93) 0%, rgba(28, 15, 10, .76) 46%, rgba(28, 15, 10, .44) 100%);
}
.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-block: clamp(4.75rem, 10vw, 8.5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
}
.hero h1 { color: #fdfaf5; }
.hero__lead {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  color: #c3b5a9;
  margin-top: 1.4rem;
  max-width: 54ch;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem 1rem .42rem .55rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: .755rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 600;
  color: #eaded0;
  margin-bottom: 1.75rem;
}
.hero__pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-left: .45rem;
  box-shadow: 0 0 0 4px rgba(157, 199, 99, .25);
}

.hero__card {
  background: rgba(253, 250, 245, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero__card h2 {
  font-size: .755rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--green-lite);
  margin-bottom: 1.15rem;
}
.hero__card ul { list-style: none; padding: 0; display: grid; gap: .1rem; }
.hero__card li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .62rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .945rem;
  color: #e7dccd;
}
.hero__card li:last-child { border-bottom: 0; }
.hero__card li svg { flex: none; color: var(--green); }

/* --- Marquee / ticker strip ---------------------------------------------- */
.strip {
  background: var(--bark-2);
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-block: .95rem;
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: drift 38s linear infinite;
}
.strip span {
  font-size: .765rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8f8177;
  white-space: nowrap;
  font-weight: 600;
}
.strip span::after { content: "•"; margin-left: 3rem; color: var(--green); }
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; }
}

/* --- Stats ---------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats > div {
  background: var(--white);
  padding: 1.9rem 1.5rem;
}
.stats dt {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  color: var(--ink);
  font-weight: 600;
  line-height: 1;
}
.stats dd {
  margin: .6rem 0 0;
  font-size: .845rem;
  color: var(--ink-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* --- Split (text + panel) ------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: -1; }

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  background: var(--bark);
  box-shadow: var(--shadow-md);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.split__badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(253, 250, 245, .93);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.split__badge strong { display: block; font-size: .98rem; }
.split__badge span { font-size: .84rem; color: var(--ink-muted); }

/* --- Cards ---------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #ddd0bc;
  box-shadow: var(--shadow-md);
}
.card p { font-size: .955rem; color: var(--ink-muted); margin: 0; }
.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  margin-bottom: .35rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card__num {
  font-family: var(--serif);
  font-size: .9rem;
  color: var(--green-deep);
  letter-spacing: .08em;
  font-weight: 600;
}
.card .arrow-link { margin-top: auto; padding-top: .6rem; }

.card--dark {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .12);
}
.card--dark:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .07); }
.card--dark p { color: #ad9f93; }
.card--dark .card__icon { background: rgba(157, 199, 99, .16); color: var(--green-lite); }

/* --- Tick list ------------------------------------------------------------ */
.ticks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .7rem;
  margin-top: 1.6rem;
}
.ticks--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .96rem;
  color: var(--ink-soft);
}
.ticks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: .32rem;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a591b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section--dark .ticks li { color: #c4bbae; }
.section--dark .ticks li::before { background-color: rgba(157, 199, 99, .2); }

/* --- Product rows --------------------------------------------------------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.product:last-of-type { border-bottom: 0; }
.product:nth-child(even) .product__media { order: -1; }
.product__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: var(--shadow-md);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

/* --- Process steps -------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.6rem;
  counter-reset: step;
}
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--green);
  font-weight: 600;
}
.step::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 0;
  right: 1rem;
  height: 1px;
  background: var(--line);
}
.section--dark .step::after { background: rgba(255, 255, 255, .13); }
.step h4 { margin-bottom: .5rem; }
.step p { font-size: .93rem; color: var(--ink-muted); }
.section--dark .step p { color: #ad9f93; }

/* --- Industries ----------------------------------------------------------- */
.industry {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #dccfc0; }
.industry__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-deep); }
.industry__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.industry:hover .industry__img img { transform: scale(1.05); }
.industry__body { padding: 1.25rem 1.35rem 1.5rem; }
.industry h3 { font-size: 1.115rem; margin-bottom: .35rem; }
.industry p { font-size: .93rem; color: var(--ink-muted); margin: 0; }
.section--dark .industry { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .12); }
.section--dark .industry p { color: #ad9f93; }

/* --- Feature (why choose) ------------------------------------------------- */
.feature {
  display: flex;
  gap: 1.1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.section--dark .feature { border-top-color: rgba(255, 255, 255, .12); }
.feature__check {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
}
.section--dark .feature__check { background: rgba(157, 199, 99, .16); color: var(--green-lite); }
.feature h3 { font-size: 1.09rem; margin-bottom: .35rem; }
.feature p { font-size: .945rem; margin: 0; }

/* --- Quote / statement ---------------------------------------------------- */
.statement {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -.015em;
  max-width: 20ch;
}
.section--dark .statement { color: #fdfaf5; }
.statement em { color: var(--green); font-style: italic; }

/* --- CTA band ------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--bark);
  color: #d3c7bd;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../img/hero-timber-yard.jpg");
  background-size: cover;
  opacity: .28;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 120% at 15% 0%, rgba(83, 47, 35, .45), transparent 60%);
}
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.75rem, 7vw, 5.75rem);
}
.cta h2 { color: #fdfaf5; }
.cta p { color: #bcaea2; margin-top: 1rem; }

/* --- Contact -------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: start;
}

.contact-list { display: grid; gap: 1.1rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}
.contact-item__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
}
.contact-item__icon svg { width: 19px; height: 19px; }
.contact-item h4 {
  font-family: var(--sans);
  font-size: .715rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: .3rem;
}
.contact-item p, .contact-item a { font-size: 1.005rem; color: var(--ink); margin: 0; }
.contact-item a { font-weight: 500; }
.contact-item address { font-style: normal; font-size: 1.005rem; color: var(--ink); line-height: 1.6; }

/* --- Form ----------------------------------------------------------------- */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .775rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: .96rem;
  color: var(--ink);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(74, 113, 36, .15);
}
.field input::placeholder,
.field textarea::placeholder { color: #b1a89d; }
.form .btn { width: 100%; margin-top: .35rem; }
.form__note {
  font-size: .825rem;
  color: var(--ink-muted);
  margin-top: 1rem;
  text-align: center;
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--bark);
  color: #988b7e;
  padding-block: clamp(3.25rem, 6vw, 4.5rem) 2rem;
  font-size: .93rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer .brand { margin-right: 0; }
.footer__about { margin-top: 1.25rem; max-width: 38ch; color: #988b7e; }
.footer__tagline {
  margin-top: 1.15rem;
  font-family: var(--serif);
  font-size: 1.045rem;
  color: #ddd0bc;
  line-height: 1.45;
}
.footer h4 {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-lite);
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer a { color: #b7a89c; }
.footer a:hover { color: #fdfaf5; }
.footer address { font-style: normal; color: #b7a89c; line-height: 1.65; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: .845rem;
  color: #7b6c62;
}
.footer__keywords {
  padding-top: 1.75rem;
  font-size: .8rem;
  color: #71645b;
  letter-spacing: .04em;
}

/* --- Page banner (inner pages) -------------------------------------------- */
.page-head {
  position: relative;
  background: var(--bark);
  color: #c3b5a9;
  overflow: hidden;
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../img/hero-timber-yard.jpg");
  background-size: cover;
  background-position: center;
  opacity: .38;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(28, 15, 10, .93), rgba(28, 15, 10, .7));
}
.page-head__inner { padding-block: clamp(3.5rem, 7vw, 5.5rem); max-width: 760px; }
.page-head h1 { color: #fdfaf5; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-head p { margin-top: 1.15rem; font-size: clamp(1.02rem, 1.4vw, 1.135rem); color: #bcaea2; }
.crumbs {
  display: flex;
  gap: .55rem;
  align-items: center;
  font-size: .79rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #8f8177;
  margin-bottom: 1.3rem;
}
.crumbs a { color: var(--green-lite); }
.crumbs span { opacity: .55; }

/* --- Reveal on scroll ----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}


/* --- Photo cards (pallet types, product variants) ------------------------- */
.photo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #dccfc0; }
a.photo-card { color: inherit; text-decoration: none; }
a.photo-card:hover { text-decoration: none; }
a.photo-card .photo-card__body h3::after {
  content: "→";
  display: inline-block;
  margin-left: .45rem;
  color: var(--green);
  transition: transform .2s ease;
}
a.photo-card:hover .photo-card__body h3::after { transform: translateX(4px); }
.photo-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-deep); }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card:hover .photo-card__img img { transform: scale(1.04); }
.photo-card__body { padding: 1.35rem 1.4rem 1.5rem; }
.photo-card__body h3 { font-size: 1.135rem; margin-bottom: .4rem; }
.photo-card__body p { font-size: .935rem; color: var(--ink-muted); margin: 0; }
.photo-card__meta {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: .5rem;
}
.section--dark .photo-card { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .12); }
.section--dark .photo-card__body p { color: #ad9f93; }
.section--dark .photo-card__meta { color: var(--green-lite); }

/* --- Spec table (pallet sizes) -------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .945rem;
  min-width: 620px;
}
.spec-table th,
.spec-table td {
  padding: .95rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.spec-table thead th {
  background: var(--cream-deep);
  font-family: var(--sans);
  font-size: .715rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom-color: var(--line);
  white-space: nowrap;
}
.spec-table tbody tr:last-child td { border-bottom: 0; }
.table-note { display: none; font-size: .82rem; color: var(--ink-muted); margin-top: .7rem; }
@media (max-width: 720px) { .table-note { display: block; } }
.spec-table tbody tr:hover { background: var(--cream); }
.spec-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.spec-table td small { display: block; color: var(--ink-muted); font-size: .82rem; font-weight: 400; }

/* --- Callout (ISPM-15 and similar notes) ---------------------------------- */
.callout {
  display: flex;
  gap: 1.35rem;
  align-items: flex-start;
  background: var(--green-soft);
  border: 1px solid #dbe5c9;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.6rem 1.75rem;
}
.callout__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
}
.callout__icon svg { width: 22px; height: 22px; }
.callout h3 { font-size: 1.16rem; margin-bottom: .4rem; }
.callout p { font-size: .955rem; margin: 0; color: var(--ink-soft); }
.section--dark .callout {
  background: rgba(157, 199, 99, .1);
  border-color: rgba(157, 199, 99, .28);
  border-left-color: var(--green-lite);
}
.section--dark .callout p { color: #c9bdb2; }

/* --- Origin chips --------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.chips li {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .38rem .85rem;
  border-radius: 999px;
  background: var(--brown-soft);
  color: var(--brown);
  border: 1px solid #e7d6cb;
}
.section--dark .chips li {
  background: rgba(255, 255, 255, .07);
  color: #e7dccd;
  border-color: rgba(255, 255, 255, .16);
}


/* --- At-a-glance spec list (product detail pages) ------------------------- */
.spec-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.spec-list > div {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  gap: 1rem;
  padding: .9rem 1.3rem;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt {
  font-size: .715rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-muted);
}
.spec-list dd { margin: 0; font-size: .955rem; color: var(--ink); font-weight: 500; }
.section--dark .spec-list {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .13);
  box-shadow: none;
}
.section--dark .spec-list > div { border-bottom-color: rgba(255, 255, 255, .1); }
.section--dark .spec-list dt { color: #a1958a; }
.section--dark .spec-list dd { color: #f2ebe1; }

/* --- Note card (limitations / things to keep in mind) --------------------- */
.card--note {
  border-left: 4px solid var(--brown);
  background: var(--brown-soft);
  border-color: #e7d6cb;
}
.card--note:hover { border-color: #dcc4b5; }
.card--note h3 { font-size: 1.09rem; }
.section--dark .card--note {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .13);
  border-left-color: var(--green-lite);
}

/* --- Application tiles (photo + label) ------------------------------------ */
.uses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 1.25rem;
}
.uses > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.uses > div:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #dccfc0; }
.use__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-deep); }
.use__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.uses > div:hover .use__img img { transform: scale(1.05); }
.use__body { padding: 1.05rem 1.15rem 1.3rem; }
.uses h4 { margin-bottom: .35rem; font-size: 1.02rem; }
.uses p { font-size: .89rem; color: var(--ink-muted); margin: 0; }
.section--dark .uses > div { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .12); }
.section--dark .uses p { color: #ad9f93; }

/* --- Responsive ----------------------------------------------------------- */
/* the seven nav items + quote button get tight well before the mobile menu */
@media (max-width: 1280px) {
  .nav { gap: 1rem; }
  .nav__links a { padding: .5rem .5rem; font-size: .855rem; }
  .brand img { height: 40px; }
  .nav__cta .btn { padding: .62rem 1.05rem; font-size: .84rem; }
}

@media (max-width: 1040px) {
  .nav__links a { padding: .5rem .38rem; font-size: .82rem; }
  .brand img { height: 36px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav__toggle { display: grid; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed;
    inset: 78px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: .75rem var(--gutter) 1.75rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a {
    padding: .95rem .25rem;
    font-size: 1.01rem;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .nav__links a.is-active::after { margin: 4px 0 0; }
  .nav__links .nav__mobile-cta { display: block; }
  .nav__links .btn {
    margin-top: 1.1rem;
    width: 100%;
    border-bottom: 0;
    color: #fff;
    text-align: center;
  }
  .nav__links .btn:hover { background: var(--green-deep); color: #fff; }

  .hero__inner,
  .split,
  .product,
  .cta__inner,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media,
  .product:nth-child(even) .product__media { order: 0; }
  .split__media { min-height: 300px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .statement { max-width: none; }
}

@media (max-width: 560px) {
  .callout { flex-direction: column; gap: .9rem; }
  .spec-list > div { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { width: 100%; }
  .hero__card { padding: 1.4rem; }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .site-header, .cta, .strip, .nav__toggle { display: none; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
