@import url('https://fonts.googleapis.com/css2?family=Literata:opsz,wght@7..72,500;7..72,600;7..72,700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --timber: #3d2a1a;
  --timber-mid: #5c4030;
  --oak: #8b6239;
  --pine: #2f4a3a;
  --pine-soft: #3d5c4a;
  --flour: #f2ebe0;
  --ash: #e4d9cb;
  --bark: #1c1410;
  --smoke: #6a5a4c;
  --crust: #a66b3a;
  --line: rgba(60, 42, 26, 0.16);
  --veil: rgba(28, 20, 16, 0.48);
  --font-display: 'Literata', Georgia, serif;
  --font-body: 'Manrope', sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--bark);
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(143, 98, 57, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 40% at 0% 100%, rgba(47, 74, 58, 0.1), transparent 50%),
    linear-gradient(180deg, #ebe2d4 0%, var(--flour) 40%, var(--ash) 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--pine); text-underline-offset: 0.18em; }
a:hover { color: var(--timber); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--bark);
  margin: 0 0 0.65rem;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.08rem; color: var(--smoke); max-width: 38rem; }
.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine-soft);
  margin-bottom: 0.65rem;
}

.wrap { width: min(100% - 2.2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 235, 224, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--timber);
  text-decoration: none;
  line-height: 1.15;
}
.logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 0.15rem;
}
.nav-desktop {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.15rem;
  align-items: center;
}
.nav-desktop a {
  text-decoration: none;
  color: var(--bark);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--pine); }
.nav-desktop .phone-link { color: var(--timber-mid); font-weight: 600; }

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bark);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--flour);
  padding: 0.5rem 0 1rem;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile a {
  display: block;
  padding: 0.75rem 1.1rem;
  text-decoration: none;
  color: var(--bark);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--flour);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 20, 16, 0.25) 0%, rgba(28, 20, 16, 0.72) 100%),
    linear-gradient(90deg, rgba(28, 20, 16, 0.45) 0%, transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.5rem;
  max-width: 34rem;
  animation: riseIn 0.9s var(--ease) both;
}
.hero .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  margin-bottom: 0.85rem;
}
.hero-sub {
  color: rgba(242, 235, 224, 0.9);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(92, 64, 48, 0.08), transparent 50%),
    var(--ash);
}
.page-hero h1 { margin-bottom: 0.5rem; }

@keyframes heroDrift {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.12) translateY(-1.5%); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--pine);
  color: #f5f2ec;
}
.btn-primary:hover { background: var(--pine-soft); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-wood {
  background: var(--timber);
  color: var(--flour);
}
.btn-wood:hover { background: var(--timber-mid); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Sections */
.section { padding: 4.2rem 0; }
.section-timber {
  background:
    linear-gradient(180deg, rgba(61, 42, 26, 0.94), rgba(28, 20, 16, 0.96)),
    var(--bark);
  color: var(--flour);
}
.section-timber h2,
.section-timber h3 { color: #fff; }
.section-timber .lead,
.section-timber p { color: rgba(242, 235, 224, 0.88); }
.section-timber .eyebrow { color: #b8cfc0; }
.section-ash { background: rgba(228, 217, 203, 0.55); }
.section-flour { background: rgba(242, 235, 224, 0.7); }

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split img {
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
  filter: saturate(0.95);
}
@media (min-width: 820px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .split.reverse { grid-template-columns: 0.95fr 1.05fr; }
  .split.reverse > :first-child { order: 2; }
}

.gate-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 760px) {
  .gate-grid { grid-template-columns: repeat(3, 1fr); }
}
.gate-item {
  padding: 1.6rem 1.35rem;
  border-top: 2px solid var(--oak);
  background: rgba(255, 255, 255, 0.28);
  animation: fadeUp 0.7s var(--ease) both;
}
.gate-item:nth-child(2) { animation-delay: 0.1s; }
.gate-item:nth-child(3) { animation-delay: 0.2s; }
.gate-item h3 { margin-bottom: 0.5rem; }
.gate-item p { margin-bottom: 1rem; color: var(--smoke); font-size: 0.95rem; }
.gate-item a {
  font-weight: 600;
  text-decoration: none;
  color: var(--timber);
}
.gate-item a::after { content: ' →'; }

.story-block {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}
.story-block p { font-size: 1.05rem; }
.story-pull {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--timber);
  margin: 1.75rem 0;
  border-left: 3px solid var(--oak);
  padding-left: 1.1rem;
}

.myth-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .myth-grid { grid-template-columns: repeat(3, 1fr); }
}
.myth {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.myth h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--timber);
}
.myth p { font-size: 0.95rem; color: var(--smoke); }

.product-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .product-grid.three { grid-template-columns: repeat(3, 1fr); }
}
.product {
  display: grid;
  gap: 0.85rem;
}
.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.product h3 { margin: 0; }
.product p { color: var(--smoke); font-size: 0.95rem; margin: 0; }

.gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.5rem;
}
@media (min-width: 800px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.gallery img:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}
@media (min-width: 800px) {
  .gallery img:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    height: 100%;
  }
}

.hours-box {
  display: grid;
  gap: 0.35rem;
  margin: 1.25rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hours-box div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

/* Forms */
.form-grid { display: grid; gap: 1rem; max-width: 34rem; }
.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--timber);
}
.form-grid input,
.form-grid textarea,
.form-grid select {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--bark);
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(47, 74, 58, 0.12);
  border-left: 3px solid var(--pine);
  color: var(--pine);
  font-weight: 500;
}
.form-success.show { display: block; }

.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}
.contact-details p { margin-bottom: 0.45rem; }

/* Legal */
.legal-page { padding: 3rem 0 4rem; }
.legal-page h1 { margin-bottom: 0.75rem; }
.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}
.legal-page ul { padding-left: 1.2rem; }
.legal-page li { margin-bottom: 0.4rem; }

/* Footer */
.site-footer {
  background: var(--bark);
  color: rgba(242, 235, 224, 0.82);
  padding: 3rem 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.site-footer a { color: rgba(242, 235, 224, 0.9); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(242, 235, 224, 0.15);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 420px;
  margin-left: auto;
  padding: 1.25rem;
  background: var(--bark);
  color: var(--flour);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p { font-size: 0.9rem; margin-bottom: 1rem; color: rgba(242, 235, 224, 0.9); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-actions button {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  border: 1px solid transparent;
}
.cookie-btn-accept { background: var(--pine); color: #fff; border-color: var(--pine); }
.cookie-btn-decline { background: transparent; color: var(--flour); border-color: rgba(242, 235, 224, 0.35); }
.cookie-btn-settings { background: transparent; color: var(--ash); border: none; text-decoration: underline; }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(28, 20, 16, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal.show { display: flex; }
.cookie-modal-inner {
  width: min(100%, 440px);
  background: var(--flour);
  color: var(--bark);
  padding: 1.5rem;
}
.cookie-modal h3 { margin-bottom: 0.75rem; }
.cookie-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.85rem 0;
  font-size: 0.92rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
