/* Les Steen Hardwoods — site styles
   Built for easy reading: large type, strong contrast, big buttons. */

:root {
  --green: #1d4a37;        /* the green of the shop sign */
  --green-dark: #143527;
  --green-soft: #e6efe9;
  --cream: #f7f1e4;
  --paper: #fffdf8;
  --ink: #1f1912;
  --ink-soft: #4a4034;
  --walnut: #5e3a1f;
  --gold: #b9791d;
  --gold-soft: #fbefd4;
  --line: #d9cbb0;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(50, 35, 15, .10);
  --serif: "Zilla Slab", Rockwell, Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Verdana, Arial, sans-serif;
}

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

html { font-size: 19px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.big-text { font-size: 23px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--green-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--walnut); }

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

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--gold-soft); color: var(--ink); padding: 12px 18px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-dark); color: #fff; font-size: .95rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar p { margin: 0; }
.textsize {
  font: inherit; font-weight: 600; color: #fff; background: transparent;
  border: 2px solid rgba(255,255,255,.7); border-radius: 8px; padding: 4px 14px; cursor: pointer; min-height: 40px;
}
.textsize:hover, .textsize[aria-pressed="true"] { background: #fff; color: var(--green-dark); }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 3px solid var(--green); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }

.brand {
  display: inline-flex; flex-direction: column; align-items: center; text-decoration: none;
  background: var(--green); color: #fbf6e9; padding: 7px 18px 8px; border-radius: 12px;
  box-shadow: inset 0 0 0 2px var(--green), inset 0 0 0 4px #e9dfc6; line-height: 1.05; flex-shrink: 0;
}
.brand:hover { color: #fff; background: var(--green-dark); }
/* Logo lettering is taken from the shop sign (images/logo-les-steen-hardwoods.png) */
.brand { padding: 10px 20px 11px; }
.brand img { height: 66px; width: auto; max-width: none; }

#nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
#nav a {
  font-weight: 700; font-size: 1.02rem; color: var(--ink); text-decoration: none;
  padding: 12px 14px; border-radius: 8px; border-bottom: 4px solid transparent; white-space: nowrap;
}
#nav a:hover { background: var(--green-soft); color: var(--green-dark); }
#nav a[aria-current="page"] { color: var(--green-dark); border-bottom-color: var(--gold); border-radius: 8px 8px 0 0; }

.call {
  display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1.15;
  background: var(--gold-soft); border: 2px solid var(--gold); color: var(--ink); padding: 7px 16px; border-radius: 10px; flex-shrink: 0;
}
.call span { font-size: .8rem; font-weight: 600; }
.call strong { font-size: 1.15rem; white-space: nowrap; }
.call:hover { background: var(--gold); color: #fff; }

.menu-btn {
  display: none; margin-left: auto; font: inherit; font-weight: 700; font-size: 1.05rem;
  background: var(--green); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; cursor: pointer; min-height: 52px;
}

/* Medium-width screens, or "Larger text" on any desktop: logo + phone on top, menu on its own row */
@media (min-width: 1081px) and (max-width: 1199px) {
  .header-in { flex-wrap: wrap; row-gap: 8px; }
  .call { margin-left: auto; }
  #nav { order: 3; width: 100%; margin-left: 0; border-top: 2px solid var(--line); padding-top: 6px; }
  .site-header { position: static; }
}
@media (min-width: 1081px) {
  html.big-text .header-in { flex-wrap: wrap; row-gap: 8px; }
  html.big-text .call { margin-left: auto; }
  html.big-text #nav { order: 3; width: 100%; margin-left: 0; border-top: 2px solid var(--line); padding-top: 6px; }
  html.big-text .site-header { position: static; }
}
@media (min-width: 1200px) {
  html:not(.big-text) #nav { flex-wrap: nowrap; }
}

@media (max-width: 1080px) {
  .header-in { flex-wrap: wrap; }
  .menu-btn { display: inline-block; }
  .call { order: 3; width: 100%; flex-direction: row; justify-content: center; gap: 10px; padding: 10px; }
  .call span { font-size: 1rem; }
  #nav { display: none; order: 4; width: 100%; flex-direction: column; margin: 0; gap: 0; border-top: 2px solid var(--line); padding-top: 6px; }
  #nav.open { display: flex; }
  #nav a { font-size: 1.2rem; padding: 16px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  #nav a[aria-current="page"] { border-bottom: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: 0; }
  .site-header { position: static; }
}

@media (max-width: 560px) {
  html { font-size: 18px; }
  html.big-text { font-size: 21px; }
  .wrap { padding: 0 16px; }
  .topbar { font-size: .88rem; }
  .topbar-in { padding-top: 6px; padding-bottom: 6px; gap: 6px 12px; }
  .textsize { min-height: 34px; padding: 2px 12px; }
  .header-in { gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
  .brand { padding: 8px 14px 9px; }
  .brand img { height: 50px; }
  .menu-btn { padding: 10px 16px; min-height: 48px; }
  .call { padding: 8px; }
  .btn-row .btn { width: 100%; }
  .search-row { flex-wrap: wrap; }
  .calc-grid { grid-template-columns: 1fr; }
  .species td { padding: 8px 12px; }
  .lb-bar .btn { min-width: 0; padding: 12px 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1.1rem; text-decoration: none; cursor: pointer;
  padding: 14px 26px; min-height: 56px; border-radius: 10px; border: 3px solid var(--green);
  background: var(--green); color: #fff;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn.alt { background: var(--paper); color: var(--green-dark); }
.btn.alt:hover { background: var(--green-soft); color: var(--green-dark); }
.btn.gold { background: var(--gold-soft); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: var(--gold); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { background: var(--green); color: #fff; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; max-width: 1400px; margin: 0 auto; }
.hero-text { padding: clamp(36px, 6vw, 80px) clamp(22px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero p { font-size: 1.2rem; max-width: 34em; color: #eef4ef; }
.hero .kicker { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #f3d9a4; margin-bottom: .6em; }
.hero .btn { border-color: #fff; background: #fff; color: var(--green-dark); }
.hero .btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.hero .btn.alt { background: transparent; color: #fff; }
.hero .btn.alt:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero-photo { min-height: 340px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } .hero-photo { min-height: 0; max-height: 360px; overflow: hidden; } }

/* ---------- Sections ---------- */
section { padding: clamp(40px, 6vw, 72px) 0; }
section.tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 44em; }
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 48px) 0; }
.page-head h1 { margin-bottom: .25em; }
.page-head p { margin: 0; }

/* Quick facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -1px; }
.fact { background: var(--paper); border: 2px solid var(--line); border-top: 6px solid var(--gold); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.fact h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--walnut); font-family: var(--sans); margin-bottom: .4em; }
.fact p { margin: 0; font-size: 1.15rem; }
.fact .big { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; color: var(--green-dark); line-height: 1.25; display: block; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
.benefit { background: var(--cream); border: 1px solid var(--line); border-left: 6px solid var(--green); border-radius: var(--radius); padding: 22px 24px; }
section:not(.tint) .benefit { background: var(--paper); }
.benefit h3 { margin-bottom: .35em; }
.benefit p { margin: 0; }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }

/* Split (text + photo) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.split.top { align-items: start; }
.split img, .photo { border-radius: var(--radius); box-shadow: var(--shadow); border: 5px solid #fff; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

figure { margin: 0; }
figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: 8px; }

/* Species chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 14px 0 26px; }
.chips li { background: var(--paper); border: 2px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 600; }
.tint .chips li { background: var(--cream); }

/* Quote */
.quote { background: var(--walnut); color: #fff; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 30em; font-family: var(--serif); font-size: clamp(1.5rem, 3.6vw, 2.2rem); line-height: 1.3; }
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 1rem; margin-top: 14px; color: #f0dcc2; }

/* ---------- Price list ---------- */
.notice { background: var(--gold-soft); border: 2px solid var(--gold); border-radius: var(--radius); padding: 16px 22px; font-size: 1.1rem; }
.notice strong { color: var(--walnut); }
.notice p:last-child { margin-bottom: 0; }

.price-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin: 26px 0 8px; }
.search { flex: 1 1 320px; }
label { font-weight: 700; display: block; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="search"], input[type="number"], textarea, select {
  font: inherit; font-size: 1.1rem; width: 100%; padding: 13px 14px; min-height: 56px;
  border: 2px solid #8a7a60; border-radius: 8px; background: #fff; color: var(--ink);
}
textarea { min-height: 170px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 4px solid var(--gold); outline-offset: 1px; border-color: var(--green); }
.search-row { display: flex; gap: 10px; }
.search-row .btn { flex-shrink: 0; }
.found { font-weight: 600; color: var(--ink-soft); min-height: 1.6em; margin: 6px 0 0; }

.jump { display: flex; gap: 12px; flex-wrap: wrap; margin: 4px 0 0; }

.price-section { padding-top: 34px; }
.price-section > h2 { border-bottom: 4px solid var(--green); padding-bottom: 8px; margin-bottom: 20px; scroll-margin-top: 120px; }
.price-grid { columns: 3 320px; column-gap: 22px; }
.species {
  break-inside: avoid; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  margin: 0 0 22px; overflow: hidden; box-shadow: var(--shadow);
}
.species h3 { background: var(--green); color: #fff; margin: 0; padding: 10px 16px; font-size: 1.3rem; }
.species table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.species td { padding: 8px 16px; vertical-align: top; border-top: 1px solid #ece2cf; }
.species tr:first-child td { border-top: 0; }
.species tr.group-start td { border-top: 3px solid var(--line); }
.species td.price { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.species .unit { font-weight: 400; color: var(--ink-soft); font-size: .9em; }
.species .row-note { display: block; font-size: .9em; color: var(--ink-soft); }
.species .see { padding: 12px 16px; margin: 0; }
.species .hl { margin: 0; padding: 10px 16px; background: var(--gold-soft); border-top: 2px solid var(--gold); font-weight: 700; color: var(--walnut); }
.species.is-highlight { border-color: var(--gold); }
.section-note { font-style: italic; background: var(--paper); border-left: 6px solid var(--gold); padding: 12px 18px; border-radius: 0 var(--radius) var(--radius) 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.tint .card { background: var(--cream); }
.plain-table { width: 100%; border-collapse: collapse; }
.plain-table th, .plain-table td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); }
.plain-table th { font-weight: 700; color: var(--walnut); }
.plain-table tr:last-child td { border-bottom: 0; }

.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.calc-out { margin-top: 16px; background: var(--green-soft); border: 2px solid var(--green); border-radius: var(--radius); padding: 14px 18px; font-size: 1.15rem; }
.calc-out strong { font-size: 1.35rem; color: var(--green-dark); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 20px 0 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 5px solid #fff; border-radius: var(--radius); background: #fff; cursor: zoom-in; box-shadow: var(--shadow); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.gallery button:hover img { transform: scale(1.04); }
.hint { color: var(--ink-soft); font-size: .98rem; }

.lightbox { position: fixed; inset: 0; background: rgba(15, 12, 8, .95); z-index: 200; display: none; flex-direction: column; }
.lightbox.open { display: flex; }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 14px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-bar { display: flex; gap: 12px; justify-content: center; align-items: center; padding: 12px 14px 18px; flex-wrap: wrap; }
.lb-bar .btn { background: #fff; color: var(--ink); border-color: #fff; min-width: 140px; }
.lb-bar .btn:hover { background: var(--gold-soft); }
.lb-count { color: #fff; font-weight: 600; min-width: 5em; text-align: center; }

/* ---------- Visit / contact ---------- */
.hours-table td { padding: 10px 6px; font-size: 1.15rem; }
.hours-table td:last-child { text-align: right; font-weight: 700; }
.map { width: 100%; height: 420px; border: 5px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); font-weight: 600; display: none; }
.form-msg.ok { display: block; background: var(--green-soft); border: 2px solid var(--green); }
.form-msg.err { display: block; background: #fbe6e1; border: 2px solid #a8321c; }
address { font-style: normal; }
.contact-big { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: #e9f0eb; padding: 48px 0 26px; }
.site-footer h2 { color: #fff; font-size: 1.2rem; margin-bottom: .6em; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f3d9a4; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-note { border-top: 1px solid rgba(255,255,255,.25); margin-top: 32px; padding-top: 18px; font-size: .9rem; color: #c9d6cd; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Print (price list prints cleanly) ---------- */
@media print {
  html, html.big-text { font-size: 11px; }
  body { background: #fff; }
  .topbar, .site-header nav, .menu-btn, .call, .site-footer, .no-print, .skip { display: none !important; }
  .site-header { position: static; border: 0; }
  .brand { box-shadow: none; background: none; color: #000; padding: 0; }
  .brand img { height: 44px; filter: invert(1); }
  section, .page-head { padding: 8px 0; border: 0; background: none; }
  .price-grid { columns: 3; column-gap: 12px; }
  .species { box-shadow: none; border: 1px solid #999; margin-bottom: 8px; }
  .species h3 { background: none; color: #000; padding: 3px 8px; border-bottom: 1px solid #999; }
  .species td { padding: 2px 8px; }
  .notice { border: 1px solid #999; background: none; padding: 6px 10px; }
  .print-only { display: block !important; }
}
.print-only { display: none; }


/* ---------- WordPress additions ---------- */
#nav ul { display: flex; gap: 4px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1200px) { html:not(.big-text) #nav ul { flex-wrap: nowrap; } }
@media (max-width: 1080px) { #nav ul { flex-direction: column; gap: 0; width: 100%; } }
.admin-bar .site-header { top: 32px; }
.entry img { border-radius: var(--radius); }
.entry h2 { margin-top: 1.4em; }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.nav-links .page-numbers { padding: 10px 16px; border: 2px solid var(--line); border-radius: 8px; background: var(--paper); text-decoration: none; font-weight: 700; }
.nav-links .page-numbers.current { background: var(--green); color: #fff; border-color: var(--green); }
.screen-reader-text { position: absolute; left: -9999px; }
