/* White Pine Local redesign (Nov 2026)
   Colors and type taken from the Canva design "White Pine Local Website Redesign". */

:root {
  --cream: #f8f1e6;
  --blush: #eedac9;   /* terracotta at 20% over cream, as in Canva */
  --sand: #dddad0;
  --clay: #c47857;    /* accent */
  --clay-dark: #a95f40;
  --ink: #756c5d;     /* all text */
  --ink-strong: #5f574a;
  --line: rgba(117, 108, 93, 0.45);
  --display: "Tenor Sans", "Gill Sans", sans-serif;
  --body: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1212px;
  --pad: clamp(20px, 5.6vw, 77px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.07;
  letter-spacing: 0.005em;
}
.h-xl { font-size: clamp(34px, 4.2vw, 56px); }
.h-lg { font-size: clamp(30px, 3.6vw, 48px); }
.h-md { font-size: clamp(26px, 2.7vw, 36px); }
.h-sm { font-size: clamp(21px, 1.8vw, 24px); }
.accent { color: var(--clay); }

.eyebrow {
  font-family: var(--display);
  color: var(--clay);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}
.lead { margin-top: 18px; max-width: 760px; }
.lead--wide { max-width: none; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.band { padding: clamp(48px, 6vw, 84px) 0; }
.band--tight { padding: clamp(36px, 4vw, 56px) 0; }
.bg-cream { background: var(--cream); }
.bg-blush { background: var(--blush); }
.bg-sand { background: var(--sand); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(117, 108, 93, 0.15);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #1f1c19;
  line-height: 1.1;
}
.logo-name {
  display: block;
  font-family: "Times New Roman", Times, serif;
  font-variant: small-caps;
  font-size: 22px;
  letter-spacing: 0.07em;
  white-space: nowrap;
  padding: 0 5px 5px;
  border-bottom: 1px solid rgba(196, 120, 87, 0.6);
}
.logo-name .llc { font-variant: all-small-caps; }
.logo-tag {
  display: block;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.03em;
  margin-top: 5px;
}
.nav { display: flex; gap: clamp(16px, 2.4vw, 34px); list-style: none; margin: 0 0 0 auto; padding: 0; }
.header-book { padding: 9px 16px; font-size: 14.5px; white-space: nowrap; }
.hb-short { display: none; }
.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] { border-color: var(--clay); color: var(--ink-strong); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 7px 12px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--clay);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn--solid { background: var(--clay); color: var(--cream); }
.btn--solid:hover { background: var(--clay-dark); border-color: var(--clay-dark); }
.btn--outline { background: transparent; color: var(--clay); }
.btn--outline:hover { background: var(--clay); color: var(--cream); }
.squiggle { width: 50px; height: 21px; flex: none; margin-left: -6px; }

/* ---------- Hero / intro ---------- */
.hero-img {
  width: 100%;
  height: clamp(220px, 23.5vw, 420px);
  object-fit: cover;
  object-position: center;
}
.intro h1 { max-width: 900px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(32px, 4vw, 48px);
}
.pillar { padding: 0 clamp(16px, 3vw, 44px); border-left: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar .num {
  font-family: var(--display);
  color: var(--clay);
  font-size: clamp(36px, 3.5vw, 48px);
  line-height: 1.2;
}
.pillar h3 { margin: 6px 0 12px; }
.pillar p { max-width: 350px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.73fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: center;
}
.about-photo { width: 100%; aspect-ratio: 672 / 320; object-fit: cover; object-position: center 25%; }
.about-grid h2 { margin-bottom: 18px; }
.about-grid .btn { margin-top: 18px; }

/* ---------- Services ---------- */
.services-top {
  display: grid;
  grid-template-columns: 1fr 312px;
  gap: 40px;
  align-items: center;
}
.services-top .lead { margin-top: 16px; }
.dg-callout {
  display: block;
  background: var(--clay);
  padding: 12px;
  text-decoration: none;
  color: var(--cream);
  transition: background 0.2s;
}
.dg-callout:hover { background: var(--clay-dark); }
.dg-callout span {
  display: block;
  border: 1px solid var(--cream);
  padding: 30px 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}
.dg-callout .nowrap { display: inline; border: 0; padding: 0; white-space: nowrap; }
.dg-callout .loop-arrow {
  display: inline-block;
  width: 46px;
  height: 25px;
  margin-left: 0;
  vertical-align: -15px;
}
.integrated { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.integrated p { margin-top: 12px; }

.service-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.service-col { padding: 0 clamp(16px, 2.5vw, 32px); border-left: 1px solid var(--line); }
.service-col:first-child { padding-left: 0; border-left: 0; }
.service-col:last-child { padding-right: 0; }
.service-col img { width: 100%; height: clamp(220px, 24vw, 318px); object-fit: cover; margin-bottom: 26px; }
.service-col .num { font-family: var(--display); color: var(--clay); font-size: 22px; }
.service-col h3 { margin: 6px 0 10px; }
.service-col > p { margin-bottom: 18px; }
.ruled { list-style: none; margin: 0; padding: 0; }
.ruled li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 26px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 16px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 16px no-repeat;
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 22px 0; max-width: 880px; }
.placeholder,
.faq .answer p {
  font-style: italic;
  background: rgba(196, 120, 87, 0.12);
  border-left: 3px solid var(--clay);
  padding: 8px 12px;
}
.faq .answer p { font-style: normal; font-weight: 400; font-size: 17px; }

/* ---------- Featured project ---------- */
.feature-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.feature-head .credit { font-size: 15px; margin-top: 8px; }
.collage {
  display: grid;
  grid-template-columns: 0.66fr 1.85fr 0.64fr;
  grid-auto-rows: clamp(150px, 22vw, 300px);
  gap: 8px;
}
.collage a { display: block; overflow: hidden; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.collage a:hover img { transform: scale(1.03); }
.collage .wide { grid-column: 1 / -1; }
.collage a[hidden], .more a { display: none; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3.5vw, 50px);
  margin-top: 36px;
}
.member img { width: 100%; height: auto; aspect-ratio: 263 / 373; object-fit: cover; object-position: top; }
.member h3 { margin-top: 20px; font-size: clamp(22px, 2.1vw, 30px); }
.member .role { font-family: var(--display); color: var(--clay); font-size: 19px; margin-top: 4px; line-height: 1.2; }
.member .creds { font-size: 14px; margin-top: 6px; min-height: 1.5em; }
.member .contact { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; font-size: 14.5px; line-height: 1.6; }
.member .contact a { text-decoration: none; }
.member .contact a:hover { color: var(--clay); text-decoration: underline; }

/* ---------- CTA + social ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-row p { margin-top: 8px; }
.cta-center { text-align: center; }
.cta-center h2 { max-width: 760px; margin: 6px auto 16px; }
.cta-center p { max-width: 560px; margin: 0 auto 26px; }

.social-intro { max-width: 660px; margin-top: 12px; }
.social { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); margin-top: 26px; list-style: none; padding: 0; }
.social a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 16px; }
.social a:hover { color: var(--clay); }
.social svg { width: 42px; height: 42px; flex: none; }

.footer-band { border-top: 1px solid var(--line); margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(32px, 4vw, 48px); }
.map-badge { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(24px, 5vw, 60px); }
.map {
  position: relative;
  width: min(480px, 100%);
  aspect-ratio: 16 / 11;
  background: var(--sand);
  border: 1px solid var(--line);
}
.map .map-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px; font-size: 15px;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.badge { width: 220px; border: 1px solid var(--ink); padding: 8px; background: #fff; }
.site-footer { text-align: center; font-size: 14.5px; padding: 30px var(--pad) 36px; line-height: 1.7; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--clay); text-decoration: underline; }
.site-footer .footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 10px; list-style: none; padding: 0; }

/* ---------- Design Guidance page ---------- */
.dg-hero { display: grid; grid-template-columns: 1fr 1.03fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.dg-hero h1 { font-size: clamp(48px, 6.4vw, 86px); line-height: 1; margin: 8px 0 22px; }
.dg-hero .sub { font-family: var(--display); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; margin-bottom: 18px; }
.dg-hero p { max-width: 520px; }
.dg-hero .btn-row { margin-top: 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.btn-row--center { justify-content: center; }
.dg-hero-media { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; object-position: 45% 30%; }
.dg-hero-video { aspect-ratio: 16 / 9; object-fit: contain; background: #2b2724; display: block; }
.dg-strip {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 70px); padding: 12px 0; font-size: 15px;
}

.split { display: grid; grid-template-columns: 1fr 0.86fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.split h2 { margin-bottom: 20px; }
.split img { width: 100%; aspect-ratio: 583 / 232; object-fit: cover; }

.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 70px); margin-top: clamp(36px, 4vw, 52px); }
.check { border-top: 1px solid var(--line); padding-top: 16px; }
.check-box { display: block; width: 30px; height: 30px; margin: -3px 0 11px -3px; }
.check h3 { font-size: clamp(21px, 1.8vw, 24px); margin-bottom: 10px; }
.check p { font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); margin-top: clamp(36px, 4vw, 52px); }
.step { border-top: 1px solid var(--line); padding-top: 16px; }
.step .num { font-family: var(--display); color: var(--clay); font-size: 22px; }
.step h3 { margin: 6px 0 10px; }
.step .label { color: var(--clay); font-size: 15px; font-weight: 400; margin-bottom: 12px; }
.step p { font-size: 16px; }

/* ---------- Projects page ---------- */
.projects-intro { max-width: 760px; }
.projects-intro h1 { margin-bottom: 18px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 34px);
  margin-top: clamp(36px, 4vw, 52px);
}
.project-card { display: flex; flex-direction: column; }
.project-card .cover {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--sand); cursor: zoom-in; padding: 0; border: 0; width: 100%;
}
.project-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.project-card .cover:hover img,
.project-card .cover:focus-visible img { transform: scale(1.04); }
.project-card .count {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(248, 241, 230, 0.92); color: var(--ink-strong);
  font-size: 13px; font-weight: 400; padding: 4px 10px;
}
.project-card h2 { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.2; margin-top: 16px; }
.project-card .credit { font-size: 14.5px; margin-top: 6px; }
.project-card .more { display: none; }

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(40, 36, 31, 0.94);
  display: none; align-items: center; justify-content: center; flex-direction: column;
  padding: 56px 70px 24px;
}
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.lb-caption { color: var(--cream); margin-top: 16px; text-align: center; font-size: 15px; max-width: 900px; }
.lb-caption strong { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; margin-bottom: 2px; }
.lb button {
  position: absolute; background: none; border: 0; color: var(--cream);
  font-family: var(--body); font-size: 15px; cursor: pointer; padding: 12px;
}
.lb-close { top: 10px; right: 14px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 40px !important; line-height: 1; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb button:hover { color: var(--clay); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hb-long { display: none; }
  .hb-short { display: inline; }
  .header-book { padding: 8px 12px; font-size: 14px; }
  .nav { gap: 16px; }
  .logo-name { white-space: nowrap; font-size: 20px; }
  .about-grid, .services-top, .dg-hero, .split { grid-template-columns: 1fr; }
  .services-top .dg-callout { max-width: 360px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .checks, .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .site-header .wrap { gap: 10px; }
  .header-book { margin-left: auto; padding: 8px 12px; font-size: 14px; }
  .hb-long { display: none; }
  .hb-short { display: inline; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid var(--line); padding: 6px var(--pad) 14px;
  }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 10px 0; }
  .logo-name { font-size: 19px; white-space: normal; }
  .pillars, .service-cols { grid-template-columns: 1fr; gap: 34px; }
  .pillar, .service-col { padding: 0; border-left: 0; }
  .pillar { border-top: 1px solid var(--line); padding-top: 18px; }
  .pillar:first-child { border-top: 0; padding-top: 0; }
  .collage { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .collage a:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .checks, .project-grid, .steps { grid-template-columns: 1fr; }
  .lb { padding: 56px 12px 20px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .member img { aspect-ratio: 4 / 5; }
  .logo-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Phone header: logo centered on top, Menu + Book below ---------- */
@media (max-width: 760px) {
  html { scroll-padding-top: 135px; }
  .site-header .wrap {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 10px;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .logo { display: flex; width: 100%; order: 0; }
  .logo-name { white-space: nowrap; font-size: 21px; }
  .logo-tag { display: block; }
  .nav-toggle { order: 1; }
  .header-book { order: 2; margin-left: 0; }
}
@media (max-width: 360px) {
  .logo-name { font-size: 18px; }
}
