/*
Theme Name: Admire Landscapes
Theme URI: https://admirelands.com.au/
Author: Admire Landscapes
Author URI: https://admirelands.com.au/
Description: Custom WordPress theme for Admire Landscapes — a Sydney-based landscape design and construction studio. Features a custom Projects post type with image galleries, fully responsive layout, and a refined editorial aesthetic.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: admire-landscapes
Tags: landscaping, portfolio, custom-post-type, responsive, business
*/

/* =========================================================
   1. Reset & Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--moss); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { padding-left: 1.2rem; }

/* =========================================================
   2. Design Tokens
   ========================================================= */
:root {
  --cream:    #f4efe6;   /* page background */
  --paper:    #fbf8f1;   /* card / lighter background */
  --ink:      #1a1f1c;   /* primary text */
  --ink-soft: #4a544c;   /* secondary text */
  --moss:     #2f4a36;   /* deep forest green - primary brand */
  --moss-dk:  #1f3325;
  --clay:     #b6724b;   /* warm clay accent */
  --line:     #d8d1c2;   /* subtle dividers */
  --radius:   2px;
  --maxw:     1280px;
  --gutter:   clamp(1.25rem, 3vw, 2.5rem);

  /* Depth — soft, layered shadows for that lifted feel */
  --shadow-xs: 0 1px 2px rgba(26, 31, 28, 0.04), 0 1px 3px rgba(26, 31, 28, 0.06);
  --shadow-sm: 0 2px 4px rgba(26, 31, 28, 0.05), 0 4px 8px rgba(26, 31, 28, 0.04);
  --shadow-md: 0 4px 12px rgba(26, 31, 28, 0.07), 0 8px 24px rgba(26, 31, 28, 0.05);
  --shadow-lg: 0 8px 24px rgba(26, 31, 28, 0.10), 0 16px 48px rgba(26, 31, 28, 0.07);
  --shadow-xl: 0 16px 40px rgba(26, 31, 28, 0.13), 0 24px 64px rgba(26, 31, 28, 0.10);
  --shadow-glow-moss: 0 8px 24px rgba(47, 74, 54, 0.25), 0 16px 48px rgba(47, 74, 54, 0.15);

  /* Smooth easing for lifts */
  --ease-lift: cubic-bezier(.2, .8, .2, 1);
}

/* =========================================================
   3. Typography
   ========================================================= */
h1, h2, h3, h4, .display {
  font-family: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p  { margin: 0 0 1.2em; color: var(--ink-soft); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--clay);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

.lede {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 38ch;
}

/* =========================================================
   4. Layout
   ========================================================= */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }

/* =========================================================
   5. Site Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .3s var(--ease-lift), background .3s var(--ease-lift);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(244, 239, 230, 0.95);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink);
}
.brand span { color: var(--moss); font-style: italic; }

/* Desktop nav — classic, refined */
.nav-wrap {
  display: flex;
  align-items: center;
}
.nav {
  display: flex;
  gap: 2.6rem;
  align-items: center;
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.nav li {
  list-style: none !important;
  margin: 0;
  padding: 0;
  position: relative;
}
.nav li::marker { content: ''; }
.nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.5rem 0;
  display: inline-block;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--moss);
  transition: width .35s var(--ease-lift), left .35s var(--ease-lift);
}
.nav a:hover::after,
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after {
  width: 100%;
  left: 0;
}
.nav a:hover {
  color: var(--moss);
}

/* Vertical divider before the last item to set off CTA */
.nav > li:last-child::before {
  content: '';
  position: absolute;
  left: -1.3rem;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 1px;
  background: var(--line);
}

/* Make the LAST nav item act as a button-pill (the "Contact" item) */
.nav > li:last-child > a {
  background: var(--moss);
  color: var(--cream);
  padding: 0.7rem 1.3rem;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease-lift),
              transform .25s var(--ease-lift),
              box-shadow .25s var(--ease-lift);
}
.nav > li:last-child > a::after {
  display: none;
}
.nav > li:last-child > a:hover {
  background: var(--moss-dk);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-moss);
}

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 6px; right: 6px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 18px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-wrap {
    position: fixed;
    inset: 78px 0 0 0;
    background: var(--moss-dk);
    flex-direction: column;
    padding: 3rem var(--gutter) 2rem;
    align-items: stretch;
    transform: translateX(100%);
    transition: transform .35s var(--ease-lift);
    overflow-y: auto;
    z-index: 49;
  }
  .nav-wrap.is-open { transform: translateX(0); }
  .nav {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 100%;
  }
  .nav li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .nav li::before { display: none !important; }
  .nav a {
    font-size: 1.4rem !important;
    font-family: 'Fraunces', serif !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: -0.005em !important;
    color: #f4efe6 !important;
    padding: 1.1rem 0 !important;
    border-bottom: 1px solid rgba(244, 239, 230, 0.15) !important;
    width: 100%;
    display: block;
    text-decoration: none;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .nav a:hover,
  .nav a:focus,
  .nav .current-menu-item > a {
    color: #d8c8a4 !important;
    transform: none !important;
  }
  .nav a::after { display: none !important; }
  /* Reset CTA pill style on mobile */
  .nav > li:last-child > a {
    background: transparent !important;
    color: #f4efe6 !important;
    padding: 1.1rem 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .nav > li:last-child > a:hover {
    background: transparent !important;
    color: #d8c8a4 !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .nav-toggle.is-open span {
    background: var(--ink);
  }
}

/* =========================================================
   6. Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  background: var(--moss);
  color: #f4efe6;
  font-size: .92rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease-lift),
              transform .25s var(--ease-lift),
              box-shadow .25s var(--ease-lift);
  position: relative;
}
.btn:hover {
  background: var(--moss-dk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-moss);
}
.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   7. Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--moss-dk);
  color: var(--cream);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  transform: scale(1.05);
  transition: transform 12s ease-out;
}
.hero:hover .hero__bg { transform: scale(1.0); }
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(31, 51, 37, 0.4) 0%, rgba(31, 51, 37, 0.0) 60%),
    linear-gradient(180deg, rgba(31, 51, 37, 0.2) 0%, rgba(31, 51, 37, 0.85) 100%);
}
.hero__inner {
  position: relative;
  width: 100%;
  z-index: 2;
}
.hero h1 {
  color: var(--cream);
  max-width: 14ch;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero h1 em {
  font-style: italic;
  color: #d8c8a4;
}
.hero__sub {
  max-width: 44ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(244, 239, 230, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}
.hero__meta {
  position: absolute;
  top: 3rem; right: var(--gutter);
  font-size: .78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.6);
  text-align: right;
}
.hero__meta span { display: block; }

/* =========================================================
   8. Services Strip
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.service {
  padding: 2.5rem 1.8rem;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .35s var(--ease-lift),
              box-shadow .35s var(--ease-lift),
              transform .35s var(--ease-lift),
              z-index 0s linear .35s;
  z-index: 1;
}
.service:last-child { border-right: 0; }
.service:hover {
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  z-index: 2;
  transition-delay: 0s;
}
.service__num {
  font-family: 'Fraunces', serif;
  font-size: .9rem;
  color: var(--clay);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.service h3 { margin-bottom: .6rem; font-size: 1.3rem; }
.service p { font-size: .95rem; margin: 0; }

@media (max-width: 860px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(1), .service:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .services { grid-template-columns: 1fr; }
  .service { border-right: 0; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; }
}

/* =========================================================
   9. Two-column intro
   ========================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.two-col__heading { position: sticky; top: 110px; }
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col__heading { position: static; }
}

/* =========================================================
   10. Project Grid
   ========================================================= */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head__link { font-size: .9rem; letter-spacing: 0.04em; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem);
}
.project-card {
  display: block;
  position: relative;
  transition: transform .5s var(--ease-lift);
}
.project-card:hover {
  transform: translateY(-6px);
}
.project-card--lg { grid-column: span 7; }
.project-card--md { grid-column: span 5; margin-top: 6rem; }
.project-card--sm { grid-column: span 4; }
.project-card--wide { grid-column: span 8; margin-left: auto; }

.project-card__img {
  aspect-ratio: 4/5;
  background: var(--line);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-bottom: 1.1rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .5s var(--ease-lift);
}
.project-card:hover .project-card__img {
  box-shadow: var(--shadow-xl);
}
.project-card--lg .project-card__img { aspect-ratio: 4/3; }
.project-card--wide .project-card__img { aspect-ratio: 16/9; }

.project-card__img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,31,28,0) 60%, rgba(26,31,28,0.25) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease-lift);
  z-index: 1;
}
.project-card:hover .project-card__img::before { opacity: 1; }
.project-card__img img,
.project-card__img > div {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-lift);
}
.project-card:hover .project-card__img img,
.project-card:hover .project-card__img > div {
  transform: scale(1.06);
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: .5rem;
}
.project-card h3 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 400;
}
.project-card:hover h3 { color: var(--moss); }

@media (max-width: 860px) {
  .project-grid { grid-template-columns: 1fr; gap: 3rem; }
  .project-card--lg, .project-card--md, .project-card--sm, .project-card--wide {
    grid-column: span 1; margin: 0;
  }
}

/* =========================================================
   11. Single Project
   ========================================================= */
.project-hero {
  padding: 4rem 0 2rem;
}
.project-hero__breadcrumb {
  font-size: .82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.project-hero__breadcrumb a:hover { color: var(--moss); }
.project-hero h1 { max-width: 18ch; margin-bottom: 2rem; }

.project-meta-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 1.6rem 2rem;
  margin: 2rem 0 3rem;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.project-meta-bar__item .label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: .4rem;
}
.project-meta-bar__item .value {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
}
@media (max-width: 720px) {
  .project-meta-bar { grid-template-columns: 1fr 1fr; }
}

.project-feature {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--line);
  margin-bottom: 4rem;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
}

.project-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.75;
}
.project-body p { color: var(--ink); }
.project-body h2, .project-body h3 { margin-top: 2.5rem; }

/* Project Gallery */
.project-gallery {
  margin: 5rem 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.project-gallery__item {
  background-size: cover;
  background-position: center;
  background-color: var(--line);
  cursor: zoom-in;
  box-shadow: var(--shadow-xs);
  transition: opacity .25s var(--ease-lift),
              transform .35s var(--ease-lift),
              box-shadow .35s var(--ease-lift);
}
.project-gallery__item:hover {
  opacity: 0.95;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Asymmetric gallery layout (auto pattern based on count) */
.project-gallery__item:nth-child(6n+1) { grid-column: span 7; aspect-ratio: 4/3; }
.project-gallery__item:nth-child(6n+2) { grid-column: span 5; aspect-ratio: 4/3; }
.project-gallery__item:nth-child(6n+3) { grid-column: span 4; aspect-ratio: 1/1; }
.project-gallery__item:nth-child(6n+4) { grid-column: span 4; aspect-ratio: 1/1; }
.project-gallery__item:nth-child(6n+5) { grid-column: span 4; aspect-ratio: 1/1; }
.project-gallery__item:nth-child(6n+6) { grid-column: span 12; aspect-ratio: 21/9; }
@media (max-width: 720px) {
  .project-gallery { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .project-gallery__item,
  .project-gallery__item:nth-child(6n+1),
  .project-gallery__item:nth-child(6n+2),
  .project-gallery__item:nth-child(6n+3),
  .project-gallery__item:nth-child(6n+4),
  .project-gallery__item:nth-child(6n+5),
  .project-gallery__item:nth-child(6n+6) {
    grid-column: span 1;
    aspect-ratio: 1/1;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 31, 28, 0.95);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  color: var(--cream);
  font-size: 1.5rem;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  color: var(--cream);
  font-size: 1.5rem;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

/* Next project */
.next-project {
  background: var(--moss);
  color: var(--cream);
  padding: clamp(4rem, 8vw, 6rem) 0;
  margin-top: 6rem;
}
.next-project a { color: var(--cream); display: block; }
.next-project .eyebrow { color: #d8c8a4; }
.next-project h2 { color: var(--cream); margin: 0; max-width: 14ch; }
.next-project a:hover h2 { color: #d8c8a4; }

/* =========================================================
   12. Testimonial / Quote Block
   ========================================================= */
.quote {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--cream);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  position: relative;
  transform: translateY(0);
  transition: transform .4s var(--ease-lift), box-shadow .4s var(--ease-lift);
}
.quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.quote__mark {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  line-height: 0.5;
  color: var(--clay);
  display: block;
  margin-bottom: 1rem;
}
.quote blockquote {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.4;
  margin: 0 0 1.5rem;
  color: var(--ink);
}
.quote cite {
  font-style: normal;
  font-size: .85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* =========================================================
   13. Forms (Contact)
   ========================================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: span 2; }
.field label {
  font-size: .75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .5rem;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  transition: border-color .25s var(--ease-lift),
              background .25s var(--ease-lift),
              box-shadow .25s var(--ease-lift),
              transform .25s var(--ease-lift);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--moss);
  background: #fff;
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(47, 74, 54, 0.08);
  transform: translateY(-1px);
}
.field textarea { min-height: 140px; resize: vertical; }
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: span 1; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info dt {
  font-size: .75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1.6rem;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: .3rem 0 0;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
}

/* =========================================================
   14. Site Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(244, 239, 230, 0.7);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.site-footer a { color: rgba(244, 239, 230, 0.85); }
.site-footer a:hover { color: var(--cream); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-grid h4 {
  color: var(--cream);
  font-size: .85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; font-size: .92rem; }
.footer-grid .brand { color: var(--cream); display: block; margin-bottom: 1rem; font-size: 1.6rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 239, 230, 0.15);
  font-size: .82rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* =========================================================
   15. Page (default)
   ========================================================= */
.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
  font-size: 1.05rem;
}
.page-content h2 { margin-top: 2.5rem; }
.page-content img { margin: 1.5rem 0; }

/* =========================================================
   16. 404 / Search / Misc
   ========================================================= */
.error-404 {
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) 0;
}
.error-404 h1 { font-size: clamp(5rem, 14vw, 11rem); margin: 0; color: var(--moss); }
.error-404 p { max-width: 36ch; margin: 1rem auto 2rem; }

.search-form { display: flex; gap: .5rem; max-width: 420px; }
.search-form input { flex: 1; padding: .8rem 1rem; border: 1px solid var(--line); background: var(--paper); }

/* =========================================================
   17. WP Native Classes
   ========================================================= */
.alignleft  { float: left; margin: .5em 1.5em 1em 0; }
.alignright { float: right; margin: .5em 0 1em 1.5em; }
.aligncenter { display: block; margin: 1em auto; }
.alignwide { width: calc(100% + 4rem); margin-left: -2rem; margin-right: -2rem; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: .5rem;
  font-style: italic;
}
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Reveal on load */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.reveal { animation: fadeUp .8s cubic-bezier(.2,.6,.2,1) both; }
.reveal:nth-child(1) { animation-delay: .05s; }
.reveal:nth-child(2) { animation-delay: .15s; }
.reveal:nth-child(3) { animation-delay: .25s; }
.reveal:nth-child(4) { animation-delay: .35s; }
