/* Karin Barlow — Calm Editorial v1 */
:root {
  --ink: #15243f;
  --ink-soft: #2a3b5c;
  --paper: #f7f4ef;
  --white: #ffffff;
  --stone: #6b655c;
  --line: #d9d2c5;
  --accent: #8c6a3d;
  --accent-deep: #6e5130;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --shadow: 0 18px 40px rgba(21, 36, 63, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--stone); max-width: 42rem; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
}
.wrap { width: min(1120px, calc(100% - 2.4rem)); margin-inline: auto; }
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.rule {
  width: 3.5rem;
  height: 1px;
  background: var(--accent);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.link-line {
  display: inline-flex;
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.link-line:hover { color: var(--accent-deep); border-color: var(--accent-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; flex-direction: column; gap: 0.08rem; }
.brand-name {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.brokerage-mark {
  flex: 0 0 auto;
  width: 80px;
  height: 57px;
  overflow: hidden;
  border: 1px solid rgba(21,36,63,.16);
  background: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.brokerage-mark:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(21,36,63,.14);
}
.brokerage-mark img {
  width: 80px;
  height: 57px;
  max-width: none;
  object-fit: contain;
  display: block;
}
@media (max-width: 899px) {
  .brokerage-mark { display: none; }
}
.nav-links {
  display: none;
  gap: 1.4rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--accent-deep); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
/* On narrow screens, use the menu button here; the fixed call bar remains available below. */
.nav-actions > .btn { display: none; }
.phone-pill {
  display: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.menu-btn {
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.4rem 0 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  min-height: clamp(34rem, 78vh, 44rem);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: #0f1a2e;
}
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep Mount Baker + island horizon in frame across crops */
  object-position: center 36%;
}
.hero-media img {
  z-index: 0;
}
.hero-media video {
  z-index: 1;
  /* gentle cinematic motion treatment */
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
}
.hero-media.has-video img {
  /* keep poster as fallback while video starts */
  opacity: 1;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 26, 46, 0.34) 0%, rgba(15, 26, 46, 0.22) 35%, rgba(15, 26, 46, 0.78) 100%),
    linear-gradient(90deg, rgba(15, 26, 46, 0.58) 0%, rgba(15, 26, 46, 0.22) 58%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: clamp(5.5rem, 12vw, 8rem) 0 3.2rem;
}
.hero-credit {
  position: absolute;
  right: 1rem;
  bottom: 0.75rem;
  z-index: 4;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(247,244,239,0.58);
}
.hero-credit a { border-bottom: 1px solid rgba(247,244,239,0.25); }
@media (prefers-reduced-motion: reduce) {
  .hero-media video { display: none !important; }
  .hero-media img { z-index: 1; }
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.7rem, 7vw, 4.8rem);
  max-width: 13ch;
  margin: 0.75rem 0 1.1rem;
}
.hero h1 em {
  font-style: italic;
  color: #e3c48d;
}
.hero-lead {
  color: rgba(247, 244, 239, 0.9);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}
.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.hero .btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.hero-meta {
  margin-top: 1.4rem;
  font-size: 0.86rem;
  color: rgba(247, 244, 239, 0.75);
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  margin: 0.6rem 0 0.9rem;
  max-width: 16ch;
}
.page-hero p { max-width: 40rem; }

/* Sections */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 3rem) 0; }
.section-head {
  max-width: 40rem;
  margin-bottom: 1.8rem;
  display: grid;
  gap: 0.75rem;
}
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.panel-white {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.paths {
  display: grid;
  gap: 1rem;
}
.path-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.45rem 1.3rem;
  display: grid;
  gap: 0.8rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.path-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.path-card h3 { font-size: 1.65rem; }
.path-card p { max-width: none; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1rem; }
.soft-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem;
}
.soft-card h3 { font-size: 1.5rem; margin-bottom: 0.55rem; }
.soft-card p { max-width: none; }
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem;
}
.quote p {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ink);
  max-width: none;
  margin-bottom: 0.9rem;
}
.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--stone);
  font-weight: 600;
}
.story-grid, .split { display: grid; gap: 1.8rem; }
.pull {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.28;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.list-clean {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}
.list-clean li {
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  color: var(--stone);
}

/* Contact / form */
.contact-grid { display: grid; gap: 1.4rem; }
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
}
.contact-panel h2 { font-size: 1.8rem; margin: 0.4rem 0 0.8rem; }
.contact-panel a { font-weight: 600; }
.form {
  display: grid;
  gap: 0.9rem;
}
.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.8rem;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(140, 106, 61, 0.35);
  border-color: var(--accent);
}
.form-note {
  font-size: 0.82rem;
  color: var(--stone);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.cta-band.has-photo {
  min-height: 22rem;
  display: grid;
  align-items: end;
}
.cta-band-media {
  position: absolute;
  inset: 0;
}
.cta-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(1.05);
}
.cta-band-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,26,46,.25) 0%, rgba(15,26,46,.55) 45%, rgba(15,26,46,.88) 100%),
    linear-gradient(90deg, rgba(15,26,46,.65) 0%, rgba(15,26,46,.2) 70%, transparent 100%);
}
.cta-band .wrap {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.55rem 0 0.9rem;
}
.cta-band p { color: rgba(247, 244, 239, 0.82); }
.cta-band .eyebrow { color: #c9b08a; }

/* Full-bleed photo break */
.photo-break {
  position: relative;
  min-height: clamp(18rem, 48vw, 28rem);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.photo-break img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-break-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,26,46,.05), rgba(15,26,46,.72));
}
.photo-break-copy {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 5rem) 0 2.4rem;
  color: var(--white);
}
.photo-break-copy h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  max-width: 16ch;
  margin: 0.5rem 0 0.7rem;
}
.photo-break-copy p {
  color: rgba(247,244,239,.88);
  max-width: 36rem;
}

/* Photo mosaic / gallery */
.mosaic {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr 1fr;
}
.mosaic figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  background: #0f1a2e;
  min-height: 10rem;
}
.mosaic img {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  object-fit: cover;
  transition: transform .7s ease;
}
.mosaic figure:hover img {
  transform: scale(1.04);
}
.mosaic .wide {
  grid-column: 1 / -1;
  min-height: 14rem;
}
.mosaic .wide img { min-height: 14rem; object-position: center 40%; }
.mosaic figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 0.9rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(247,244,239,.88);
  background: linear-gradient(transparent, rgba(15,26,46,.78));
}

/* Story with image */
.story-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f1a2e;
  min-height: 18rem;
}
.story-photo img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  object-position: center 40%;
}
.frame {
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.path-card.visual {
  padding: 0;
  overflow: hidden;
}
.path-card.visual .path-media {
  height: 10rem;
  overflow: hidden;
}
.path-card.visual .path-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.path-card.visual:hover .path-media img { transform: scale(1.05); }
.path-card.visual .path-body {
  display: grid;
  gap: 0.8rem;
  padding: 1.3rem 1.2rem 1.4rem;
}

/* Inner page photo hero */
.page-hero.has-photo {
  position: relative;
  color: var(--white);
  min-height: clamp(18rem, 46vw, 26rem);
  display: grid;
  align-items: end;
  border-bottom: 0;
  padding: 0;
  overflow: hidden;
}
.page-hero.has-photo .page-hero-media {
  position: absolute;
  inset: 0;
}
.page-hero.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.page-hero.has-photo .page-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,26,46,.28), rgba(15,26,46,.78));
}
.page-hero.has-photo .wrap {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vw, 7rem) 0 2.4rem;
}
.page-hero.has-photo h1,
.page-hero.has-photo p { color: rgba(247,244,239,.95); }
.page-hero.has-photo .eyebrow { color: #e3c48d; }

/* About lifestyle strip */
.lifestyle-grid {
  display: grid;
  gap: 0.75rem;
}
.lifestyle-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 12rem;
}
.lifestyle-grid img {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
}

/* Footer */
.site-footer {
  padding: 2.4rem 0 5.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--stone);
}
.foot-grid { display: grid; gap: 1.3rem; }
.footer-brand {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 0.18rem;
}
.footer-brokerage {
  display: block;
  width: min(170px, 52vw);
  margin-bottom: 0.75rem;
  background: var(--ink);
  border: 1px solid rgba(21,36,63,.14);
  box-shadow: 0 10px 24px rgba(21,36,63,.08);
}
.footer-brokerage img {
  width: 100%;
  height: auto;
  display: block;
}
.site-footer strong { color: var(--ink); }
.disclosure {
  margin-top: 1.4rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #8a847a;
  max-width: 70rem;
}
.mobile-call {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 30px rgba(21, 36, 63, 0.24);
}

@media (min-width: 1050px) {
  .brokerage-mark { display: block; }
}

@media (min-width: 900px) {
  .nav-links, .phone-pill { display: flex; }
  .nav-actions > .btn { display: inline-flex; }
  .menu-btn, .mobile-menu, .mobile-call { display: none; }
  .paths.two,
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .story-grid,
  .split,
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 2.4rem; align-items: start; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer { padding-bottom: 2.4rem; }
  .hero-media img,
  .hero-media video { object-position: center 32%; }
  .mosaic {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    grid-template-rows: 12rem 14rem;
  }
  .mosaic .wide {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 100%;
  }
  .mosaic .wide img { min-height: 100%; height: 100%; }
  .mosaic figure:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
  .mosaic figure:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
  .mosaic figure:nth-child(4) { grid-column: 2 / 4; grid-row: 2 / 3; }
  .lifestyle-grid { grid-template-columns: 1.15fr 0.85fr 1fr; }
  .cta-band.has-photo { min-height: 26rem; }
}
