/* Mole Ellie Web Engine 1.0.0 */
:root {
  --ink: #171813;
  --ink-soft: #2b2d26;
  --paper: #f3f0e8;
  --paper-deep: #e6e0d3;
  --wood: #8a5b37;
  --wood-dark: #543721;
  --green: #4f681d;
  --green-bright: #6f8f2c;
  --line: rgba(23, 24, 19, 0.16);
  --shadow: 0 22px 60px rgba(23, 24, 19, 0.14);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: .75rem 1rem;
  background: white;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: .9rem;
  letter-spacing: .04em;
}
.nav-links { display: flex; align-items: center; gap: 5px; }
.nav-links a {
  padding: .66rem .72rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; cursor: pointer; }

main { overflow: hidden; }
.shell { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-wood { background: var(--paper-deep); }

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.section-dark .eyebrow { color: #b6d260; }
h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.2rem, 7.5vw, 7.2rem); }
h2 { font-size: clamp(2.35rem, 5vw, 4.8rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
p { margin: 0 0 1.25rem; }
.lead {
  max-width: 720px;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  color: rgba(23, 24, 19, .76);
}
.section-dark .lead { color: rgba(243, 240, 232, .72); }
.section-intro { max-width: 900px; }
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
}
.section-heading-row > :first-child { max-width: 820px; }
.section-heading-row > .lead { max-width: 520px; margin-bottom: 0; }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  position: relative;
  color: white;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .66;
  filter: saturate(.82) contrast(1.06);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16,17,14,.92), rgba(16,17,14,.42) 56%, rgba(16,17,14,.18)),
    linear-gradient(0deg, rgba(16,17,14,.86), transparent 58%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 110px 0 84px;
}
.hero-copy h1 { max-width: 950px; }
.hero-copy .lead { color: rgba(255,255,255,.82); margin-top: 24px; max-width: 690px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: .8rem 1.12rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(23,24,19,.18); }
.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.button-outline { color: inherit; background: transparent; border-color: currentColor; }
.button-green { background: var(--green); border-color: var(--green); }
.text-link { display: inline-block; margin-top: 24px; font-weight: 900; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }

.card {
  padding: 28px;
  background: rgba(255,255,255,.38);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
}

.media-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-soft);
  box-shadow: var(--shadow);
}
.media-card img { height: 100%; object-fit: cover; }
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,8,.9), transparent 62%);
}
.media-caption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: white;
}
.media-caption p { margin: 8px 0 0; color: rgba(255,255,255,.72); }
.media-caption > span:last-child { display: inline-block; margin-top: 14px; font-weight: 900; }
.media-card-link { display: block; color: inherit; text-decoration: none; }
.media-card-link img { transition: transform .55s ease; }
.media-card-link:hover img { transform: scale(1.025); }
.media-card-link:focus-visible { outline-offset: 6px; }
.northstar-card img { object-position: 50% 61%; }
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.portfolio-grid .media-card:nth-child(1),
.portfolio-grid .media-card:nth-child(4) { grid-column: span 7; }
.portfolio-grid .media-card:nth-child(2),
.portfolio-grid .media-card:nth-child(3),
.portfolio-grid .media-card:nth-child(5) { grid-column: span 5; }
.portfolio-grid .media-card:nth-child(3) { min-height: 570px; }

.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.category-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(30px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: white;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 28px 74px rgba(23,24,19,.2); }
.category-card h3 { font-size: clamp(2.2rem, 4vw, 4.2rem); }
.category-card p { max-width: 570px; margin-top: 18px; color: rgba(255,255,255,.78); }
.category-card-furniture { background: linear-gradient(135deg, rgba(23,24,19,.78), rgba(23,24,19,.36)), url("media/meridian-hero.jpg") center/cover; }
.category-card-objects { background: linear-gradient(135deg, rgba(23,24,19,.78), rgba(23,24,19,.3)), url("media/waypoint-valet-angle.jpg") center/cover; }
.category-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.category-index { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.category-index a {
  padding: .72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
}
.category-index a:hover { color: var(--paper); background: var(--ink); }
.portfolio-section { scroll-margin-top: 78px; }

.object-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.35);
  box-shadow: var(--shadow);
}
.object-feature-media { display: block; min-height: 560px; overflow: hidden; }
.object-feature-media img { height: 100%; object-fit: cover; }
.object-feature-compact .object-feature-media { min-height: 440px; }
.object-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 64px); }
.object-feature-copy h2 { font-size: clamp(2.35rem, 4.5vw, 4.6rem); }
.object-feature-copy .lead { margin-top: 22px; }
.object-feature-dark { color: var(--paper); background: var(--ink-soft); border-color: rgba(255,255,255,.12); }
.object-feature-dark .lead { color: rgba(243,240,232,.72); }
.role-grid .card { color: var(--paper); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.availability-line { font-weight: 850; }

.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-bottom: 22px; }
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .4rem .75rem;
  border-radius: 999px;
  color: var(--ink);
  background: #cce384;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-price { font-family: Georgia, serif; font-size: 2rem; letter-spacing: -.03em; }
.product-meta-separator { color: var(--muted); font-family: Georgia, serif; font-size: 1.35rem; line-height: 1; }
.mini-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mini-facts span { padding: .55rem .78rem; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 800; }

.piece-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.piece-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.7);
  box-shadow: 0 18px 46px rgba(23,24,19,.09);
}
.photo-button {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: #d8d3c8;
  cursor: zoom-in;
}
.piece-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.piece-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-button:hover img { transform: scale(1.025); }
.photo-button:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.photo-cue {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: .45rem .7rem;
  border-radius: 999px;
  color: white;
  background: rgba(23,24,19,.78);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.piece-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.piece-card-body h3 { margin-top: 4px; font-size: clamp(1.55rem, 2.3vw, 2.15rem); }
.piece-card-body > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.piece-card-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.piece-card-facts span { padding: .42rem .62rem; border: 1px solid var(--line); border-radius: 999px; font-size: .76rem; font-weight: 800; }
.piece-card-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 26px; }
.piece-card-price-row span { color: var(--muted); font-size: .78rem; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.piece-card-price-row strong { font-family: Georgia, serif; font-size: 1.75rem; }
.piece-card .text-link { display: inline-block; margin-top: 18px; font-weight: 900; }

.product-lightbox {
  width: min(92vw, 1100px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: #11120f;
  box-shadow: 0 32px 100px rgba(0,0,0,.5);
}
.product-lightbox::backdrop { background: rgba(12,13,11,.84); backdrop-filter: blur(7px); }
.product-lightbox img { display: block; width: 100%; max-height: 86vh; object-fit: contain; }
.product-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: white;
  background: rgba(17,18,15,.8);
  font-size: 1.45rem;
  cursor: pointer;
}

.page-hero { padding: 110px 0 74px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1000px; }
.page-hero .lead { margin-top: 24px; }

.project-hero,
.product-hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  color: white;
  background: var(--ink);
}
.project-hero-media,
.product-hero-media { min-height: 720px; overflow: hidden; }
.project-hero-media img,
.product-hero-media img { height: 100%; object-fit: cover; }
.waypoint-product-hero img { object-position: 52% 52%; }
.project-hero-copy,
.product-hero-copy { display: flex; flex-direction: column; justify-content: end; padding: clamp(48px, 7vw, 92px); }
.project-hero-copy h1,
.product-hero-copy h1 { font-size: clamp(3rem, 6vw, 6.6rem); }
.project-hero-copy .lead,
.product-hero-copy .lead { margin-top: 24px; color: rgba(255,255,255,.8); }
.product-hero-copy .status-badge { color: var(--ink); }
.waypoint-product-hero-section .product-hero-media { height: calc(100vh - 78px); min-height: 720px; }
.waypoint-product-hero-section .product-hero-copy { padding: clamp(40px, 5vw, 64px); }
.waypoint-product-hero-section .product-hero-copy h1 { font-size: clamp(2.8rem, 4.6vw, 4.4rem); }
.waypoint-story-section { padding-top: 52px; padding-bottom: 72px; }

.story-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: start; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr); gap: 72px; align-items: start; }
.fact-list { margin: 0; }
.fact-list > div {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.fact-list > div:last-child { border-bottom: 1px solid var(--line); }
.fact-list dt { font-size: .76rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.fact-list dd { margin: 0; }

.project-gallery,
.product-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.project-gallery figure,
.product-gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: rgba(255,255,255,.45); box-shadow: var(--shadow); }
.project-gallery figure { grid-column: span 6; }
.project-gallery .gallery-wide { grid-column: 1 / -1; }
.project-gallery img { height: 520px; object-fit: cover; }
.project-gallery .gallery-wide img { height: min(72vw, 760px); }
.product-gallery figure { grid-column: span 5; }
.product-gallery .product-gallery-hero { grid-column: span 7; grid-row: span 2; }
.product-gallery img { height: 430px; object-fit: cover; }
.product-gallery .product-gallery-hero img { height: 100%; min-height: 882px; }
.product-gallery .waypoint-scale-figure img { object-position: 50% 13%; }
.project-gallery figcaption,
.product-gallery figcaption { padding: 16px 18px 18px; color: rgba(23,24,19,.72); font-size: .88rem; }

.fact-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.fact-row:last-child { border-bottom: 1px solid var(--line); }
.fact-row strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .11em; }

.notice {
  padding: 32px;
  border: 1px solid rgba(111,143,44,.45);
  border-radius: var(--radius);
  background: rgba(111,143,44,.09);
}
.notice strong { color: var(--green); }

.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 8px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255,255,255,.55);
  font: inherit;
}
textarea { min-height: 180px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(111,143,44,.25); border-color: var(--green); }

.quote {
  max-width: 940px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.site-footer { padding: 56px 0 34px; color: var(--paper); background: #11120f; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 38px; }
.footer-grid a { color: rgba(243,240,232,.76); text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(243,240,232,.5); font-size: .86rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    font-size: 1.1rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  body.nav-open { overflow: hidden; }
  .grid-3, .grid-4, .piece-grid { grid-template-columns: 1fr 1fr; }
  .split, .story-grid, .detail-layout { grid-template-columns: 1fr; }
  .section-heading-row { align-items: start; flex-direction: column; }
  .category-grid, .object-feature { grid-template-columns: 1fr; }
  .object-feature-media { min-height: 460px; }
  .object-feature-compact .object-feature-media { min-height: 380px; }
  .project-hero, .product-hero { min-height: auto; grid-template-columns: 1fr; }
  .project-hero-media, .product-hero-media { min-height: 0; aspect-ratio: 4 / 3; }
  .waypoint-product-hero-section .product-hero-media { height: auto; min-height: 0; }
  .project-hero-copy, .product-hero-copy { min-height: 520px; padding: 62px 32px; }
  .waypoint-product-hero-section .product-hero-copy { min-height: 430px; padding-block: 48px; }
  .waypoint-story-section { padding-top: 48px; padding-bottom: 64px; }
  .portfolio-grid .media-card { grid-column: 1 / -1 !important; min-height: 430px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 68px 0; }
  .hero { min-height: 760px; }
  .hero-copy { padding-bottom: 60px; }
  .grid-2, .grid-3, .grid-4, .piece-grid, .form-row { grid-template-columns: 1fr; }
  .piece-card-body { padding: 24px; }
  .fact-row { grid-template-columns: 1fr; gap: 8px; }
  .fact-list > div { grid-template-columns: 1fr; gap: 6px; }
  .project-hero-copy, .product-hero-copy { min-height: 480px; padding: 54px 24px; }
  .waypoint-product-hero-section .product-hero-copy { min-height: 0; padding-block: 36px; }
  .waypoint-product-hero-section .actions { order: 1; margin-top: 26px; }
  .waypoint-product-hero-section .lead { order: 2; margin-top: 24px; }
  .waypoint-story-section { padding-top: 42px; padding-bottom: 54px; }
  .product-meta { column-gap: 10px; row-gap: 12px; }
  .status-badge { padding: .35rem .62rem; font-size: .7rem; }
  .product-price { font-size: 1.85rem; }
  .object-feature-media { min-height: 390px; }
  .object-feature-compact .object-feature-media { min-height: 310px; }
  .object-feature-copy { padding: 34px 24px; }
  .category-card { min-height: 380px; }
  .project-gallery, .product-gallery { grid-template-columns: 1fr; }
  .project-gallery figure,
  .project-gallery .gallery-wide,
  .product-gallery figure,
  .product-gallery .product-gallery-hero { grid-column: 1; grid-row: auto; }
  .project-gallery img,
  .project-gallery .gallery-wide img,
  .product-gallery img,
  .product-gallery .product-gallery-hero img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .media-card { min-height: 390px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
