/* Okanagan Homeworks
   Accents follow the logo: forest green #00613c and navy #012b4f.
   The page stays cream and serif, not the old lawn-green Inter layout. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 560;
  font-display: swap;
  src: url("../fonts/fraunces-560.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #012b4f;
  --ink-soft: #3e5568;
  --cream: #f6f0e4;
  --cream-2: #efe4d2;
  --paper: #fbf7f0;
  --card: #fffaf3;
  --line: #e3d5c2;
  --cedar: #012b4f;
  --cedar-2: #02365f;
  --amber: #00613c;
  --amber-deep: #004d30;
  --green-bright: #9ed4b4;
  --bulb: #fff1c9;
  --berry: #d4533a;
  --lake: #00613c;
  --danger: #8d2e22;
  --max: 1120px;
  --header: 4.25rem;
  --reach: 4.75rem;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--reach) + 12px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

@media (max-width: 959px) {
  body {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .page-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }
}

img { max-width: 100%; display: block; }

a { color: var(--lake); }

a:hover { color: var(--ink); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.15rem);
  margin: 0 0 0.7rem;
}

h2 { font-size: clamp(2rem, 4vw, 3.15rem); margin: 0 0 0.7rem; }

h3 { font-size: 1.45rem; margin: 0 0 0.4rem; }

p { margin-bottom: 0.8rem; }

:focus-visible {
  outline: 3px solid var(--amber-deep);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--amber);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.section-kicker {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--lake);
  margin: 0 0 0.55rem;
}

.section-kicker-light { color: var(--green-bright); }

.lede {
  font-size: 1.12rem;
  color: var(--cream-2);
  max-width: 38rem;
  margin-bottom: 0;
}

.muted { color: var(--ink-soft); }

.season {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 16px 16px 8px;
  background: var(--amber);
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
}

.season:hover { color: var(--cream); background: var(--amber-deep); }

.season-bulbs {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 5px;
  height: 10px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.season-bulbs::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1px;
  border-top: 2px solid #8a5a12;
}

.season-bulbs i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  background: var(--berry);
  position: relative;
  z-index: 1;
  box-shadow: 0 -3px 0 -1px #8a5a12;
}

.season-bulbs i:nth-child(3n + 2) { background: #fffdf6; }
.season-bulbs i:nth-child(3n) { background: #1e4c52; }

.season span:nth-child(2) { flex: 1; }

.season-cta {
  flex: none;
  border-bottom: 1px solid currentColor;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 247, 240, 0.96);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-row {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand:hover { color: var(--ink); }

.brand img { display: block; width: auto; }
.logo-full { height: 84px; }
.brand .logo-mark { display: none; height: 46px; }

.menu-btn {
  margin-left: auto;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(1, 43, 79, 0.35);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 14px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--cream);
  color: var(--ink);
  padding: 8px 20px 18px;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}

.nav.is-open { display: flex; }

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.nav a[aria-current="page"] { color: var(--lake); }

.nav-quote {
  margin-top: 8px;
  border: 0 !important;
  background: var(--cedar);
  color: var(--cream) !important;
  border-radius: 999px;
  text-align: center;
  padding: 12px 16px !important;
}

.header-actions { display: none; }

.hero {
  background:
    radial-gradient(ellipse at 10% -10%, rgba(0, 97, 60, 0.45), transparent 46%),
    linear-gradient(180deg, #02365f 0%, var(--cedar) 72%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero h1,
.hero h2,
.hero .lede { color: inherit; }

.h1-or {
  display: block;
  color: var(--green-bright);
}

.hero-grid {
  display: grid;
  gap: 18px;
  padding: 18px 0 12px;
}

.hero-copy p:last-child { margin-bottom: 0; }

.owner-line {
  margin: 0 0 14px;
  color: var(--bulb);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.owner-line img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  flex: none;
  border: 2px solid rgba(255, 241, 201, 0.85);
}

.string {
  display: block;
  width: 100%;
  height: 54px;
}

.trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.trust li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.trust li:last-child { border-bottom: 0; }

.trust strong,
.trust span { display: block; }

.trust strong { font-weight: 500; }

.trust span { color: var(--ink-soft); font-size: 0.95rem; }

.section { padding: 64px 0; }

.section-head { max-width: 40rem; margin-bottom: 28px; }

.lights-band {
  background: #063526;
  color: var(--cream);
}

.lights-band h2,
.lights-band h3 { color: var(--cream); }

.lights-grid {
  display: grid;
  gap: 22px;
}

.lights-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.lights-points li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 240, 228, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}

.btn-call {
  background: var(--cedar);
  color: var(--cream);
}

.end-cta .btn-call {
  background: var(--cream);
  color: var(--ink);
}

.btn-text {
  background: var(--amber);
  color: var(--cream);
}

.btn-text:hover { color: var(--cream); }
.btn-call:hover { color: var(--cream); }
.end-cta .btn-call:hover { color: var(--ink); }
.btn-ghost:hover { color: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgba(246, 240, 228, 0.45);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-ink {
  background: var(--cedar);
  color: var(--cream);
}

.btn-ink:hover { color: var(--cream); }

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.points li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}

.service-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.service-index a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}

.service-index a:hover { border-color: var(--ink); color: inherit; }

.service-index h3 { font-size: 1.35rem; }

.service-index p { margin: 0; color: var(--ink-soft); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.steps li {
  background: var(--card);
  border-radius: 16px;
  padding: 16px 16px 16px 68px;
  position: relative;
  border: 1px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cedar);
  color: var(--green-bright);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.areas {
  display: grid;
  gap: 12px;
}

.area {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--line);
}

.area h3 { margin-bottom: 6px; }

.area p { margin: 0; color: var(--ink-soft); }

.area a { font-weight: 500; }

.faq { display: grid; gap: 8px; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq details p:last-child { margin-bottom: 0; }

.note {
  background: var(--cream-2);
  border-radius: 16px;
  padding: 16px 18px;
}

.frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.frame {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background:
    linear-gradient(160deg, transparent 40%, rgba(27, 22, 18, 0.04) 40% 41%, transparent 41%),
    repeating-linear-gradient(90deg, var(--cream-2) 0 12px, #e7dcc8 12px 13px);
  border: 1px dashed #c9b79a;
}

.portrait {
  min-height: 280px;
  border-radius: 18px;
  background: var(--cream-2);
  border: 1px dashed #c9b79a;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: var(--ink-soft);
  overflow: hidden;
}

.portrait:has(img) {
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 0;
}

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 18px;
  min-height: 0;
}

.gallery-grid {
  display: grid;
  gap: 12px;
}

.gallery-grid figure {
  margin: 0;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery-grid img { width: 100%; height: auto; }

.gallery-grid figcaption { padding: 10px 12px 12px; color: var(--ink-soft); font-size: 0.95rem; }

.service-block {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.service-block h2 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.service-block:first-of-type { border-top: 0; }

.split {
  display: grid;
  gap: 22px;
}

.slip {
  background: var(--card);
  color: var(--ink);
  border-radius: 22px;
  padding: 18px 16px 16px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.slip h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }

.slip-kicker {
  margin: 0 0 6px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--lake);
}

.slip-help { color: var(--ink-soft); font-size: 0.98rem; }

fieldset {
  border: 0;
  margin: 0 0 12px;
  padding: 0;
}

legend {
  font-weight: 500;
  margin-bottom: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip { position: relative; }

.chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.chip input:checked + span {
  background: var(--cedar);
  color: var(--cream);
  border-color: var(--cedar);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--amber-deep);
  outline-offset: 2px;
}

.chips.is-invalid .chip span { border-color: var(--danger); }

.slip-grid, .field { display: grid; gap: 8px; }

.field { margin-bottom: 10px; }

.field > span { font-weight: 500; }

.opt { color: var(--ink-soft); font-weight: 400; }

input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #d9cbb8;
  border-radius: 12px;
  padding: 12px 12px;
  min-height: 48px;
}

textarea { min-height: 96px; resize: vertical; }

.is-invalid { border-color: var(--danger) !important; }

.field-error {
  color: var(--danger);
  font-size: 0.92rem;
  margin: 0;
}

.slip-actions {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.slip-actions .btn { width: 100%; }

.slip-alt {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.slip-alt button {
  background: none;
  border: 0;
  padding: 8px 0;
  font: inherit;
  color: var(--lake);
  cursor: pointer;
  text-decoration: underline;
}

.form-status {
  min-height: 1.2em;
  font-weight: 500;
  margin: 8px 0 0;
}

.message-preview {
  white-space: pre-wrap;
  background: var(--paper);
  border-radius: 12px;
  padding: 12px;
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 0.86rem;
  margin: 10px 0 0;
}

.end-cta {
  background: var(--cedar);
  color: var(--cream);
  padding: 36px 0;
}

.end-cta h2 { color: var(--cream); }

.end-cta p { color: var(--cream-2); }

.end-cta-actions { display: grid; gap: 8px; }

.site-footer {
  background: #011f3a;
  color: #e7dcc8;
  padding: 36px 0 28px;
}

.site-footer a { color: var(--green-bright); }

.site-footer a:hover { color: var(--bulb); }

.footer-grid { display: grid; gap: 18px; }

.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--cream);
  margin: 0 0 6px;
}

.fine {
  color: #b7aa98;
  font-size: 0.92rem;
}

.reach {
  position: relative;
  z-index: 40;
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(251, 247, 240, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.reach a {
  min-height: 52px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.15;
}

.reach-call { background: var(--cedar); color: var(--cream); }
.reach-call:hover { color: var(--cream); }
.reach-text { background: var(--amber); color: var(--cream); }
.reach-text:hover { color: var(--cream); }

.reach-k { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.reach-n { font-size: 1rem; }

.page-hero { padding: 36px 0 8px; }

.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }

.prose { max-width: 42rem; }
.narrow { max-width: 760px; }

.contact-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-panel a.big {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 84px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  background: var(--cedar);
  color: var(--cream);
}

.contact-panel a.big.alt { background: var(--amber); color: var(--cream); }
.contact-panel a.big:hover { color: inherit; }
.contact-panel a.big span { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-panel a.big strong {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 560;
  letter-spacing: -0.03em;
}

@media (min-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 64px)); }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .trust li { padding: 22px 18px; border-bottom: 0; border-right: 1px solid var(--line); }
  .trust li:last-child { border-right: 0; }
  .trust li:first-child { padding-left: 0; }
  .slip { padding: 22px; }
  .slip-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .slip-actions { grid-template-columns: 1fr 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .service-index { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-panel { grid-template-columns: 1fr 1fr; }
  .end-cta-actions { grid-template-columns: 1fr; }
}

@media (min-width: 960px) {
  body { display: block; height: auto; overflow: visible; }
  .page-scroll { overflow: visible; }
  .reach { display: none; }
  .menu-btn { display: none; }
  .header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .header-actions a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
  }
  .header-actions .header-call {
    background: var(--amber);
    color: var(--cream);
  }
  .header-actions .header-call:hover { color: var(--cream); }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    color: var(--ink);
    padding: 0;
    border: 0;
    gap: 4px;
    margin-left: 12px;
  }
  .nav a {
    color: var(--ink);
    border: 0;
    padding: 8px 10px;
    font-size: 0.98rem;
  }
  .nav a:hover { color: var(--amber); }
  .nav a[aria-current="page"] { color: var(--amber); }
  .nav-quote {
    margin-top: 0;
    background: transparent;
    color: var(--ink) !important;
    box-shadow: inset 0 0 0 1.5px rgba(1, 43, 79, 0.45);
  }
  .logo-full { height: 88px; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0 28px;
  }
  .lights-grid,
  .split,
  .end-cta-grid,
  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 40px;
  }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 88px 0; }
}

@media (max-width: 959px) {
  .brand .logo-full { display: none; }
  .brand .logo-mark { display: block; }
}

@media (max-width: 420px) {
  .season-cta { display: none; }
  h1 { font-size: 2.45rem; }
  .lede { font-size: 1.02rem; }
  .slip { padding: 14px 12px 12px; }
  .slip-help { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .reach, .season, .menu-btn, .header-actions, .slip-actions, .end-cta { display: none !important; }
  body { padding-bottom: 0; background: white; color: black; }
  .hero, .site-header, .lights-band, .site-footer { background: white; color: black; }
  a { text-decoration: underline; }
}
