/* ==========================================================================
   Landmark Creative — main stylesheet
   1. Fonts & tokens   2. Base   3. Layout helpers   4. Components
   5. Sections (in page order)   6. Kettle Ridge project preview   7. Motion
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------ */

@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo.woff2") format("woff2");
  font-weight: 500 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colors (from the logo files) */
  --burgundy: #8b1a2b;
  --burgundy-deep: #6e1422;
  --ink: #17140f;

  /* Supporting palette */
  --paper: #f5f0e8;
  --paper-deep: #ece4d7;
  --card: #fbf8f3;
  --ink-soft: #463f37;
  --muted: #6a6056;
  --rule: #ddd3c4;
  --rule-strong: #cfc5b6;
  --on-dark: #f3ece1;
  --on-dark-muted: #b8ad9e;
  --on-burgundy: #fbf6ef;
  --on-burgundy-soft: #f2e4da;
  --on-burgundy-label: #f2d9c9;
  --on-burgundy-rule: rgba(251, 246, 239, 0.3);

  /* Type */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --text-base: 1.0625rem; /* 17px */
  --h1: clamp(2.875rem, 4.7vw, 4.375rem);
  --h2: clamp(2.25rem, 4vw, 3.5rem);
  --h2-sm: clamp(2.125rem, 3.4vw, 2.875rem);
  --h3: 1.5625rem;

  /* Space */
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(76px, 9vw, 120px);
  --max: 1280px;
  --radius: 2px;
}

/* 2. Base ------------------------------------------------------------------ */

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

p { margin: 0; }

a { color: var(--burgundy); text-underline-offset: 0.18em; }
a:hover { color: var(--burgundy-deep); }

:focus-visible {
  outline: 3px solid var(--burgundy);
  outline-offset: 3px;
}
.pricing :focus-visible,
.design :focus-visible,
.site-footer :focus-visible,
.utility :focus-visible { outline-color: var(--on-burgundy); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 3. Layout helpers ------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--deep { background: var(--paper-deep); }
.section--ruled { border-top: 1px solid var(--rule); }

/* 4. Components ------------------------------------------------------------ */

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
}
.section-head h2 { font-size: var(--h2); line-height: 1.04; max-width: 15ch; }
.section-head > p { max-width: 40ch; color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius);
  font: 700 0.9375rem/1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--burgundy); color: #fff; }
.btn--primary:hover { background: var(--burgundy-deep); color: #fff; }
.btn--light { background: var(--on-burgundy); color: var(--burgundy); }
.btn--light:hover { background: #fff; color: var(--burgundy-deep); }
.btn--small { min-height: 46px; padding: 0 22px; }

.text-link {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
}
.text-link:hover { color: var(--burgundy); }

.icon { width: 18px; height: 18px; flex: none; }

/* 5. Sections ------------------------------------------------------------- */

/* Utility bar */
.utility {
  background: var(--ink);
  color: #e9e1d4;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
.utility .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 9px;
}
.utility a { color: #fff; font-weight: 600; text-decoration: none; }
.utility a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 232, 0.96);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(245, 240, 232, 0.88); backdrop-filter: blur(8px); }
}
.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 236px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 600;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(var(--burgundy), var(--burgundy)) left bottom / 0 2px no-repeat;
  transition: background-size 0.25s ease;
}
.nav-links a:hover { color: var(--ink); background-size: 100% 2px; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.icon-btn--call { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.icon-btn--call:hover { background: var(--burgundy-deep); color: #fff; }

.mobile-menu {
  max-height: calc(100vh - 72px);
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px 0 0; }
.mobile-menu li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
}
.mobile-menu .btn { width: 100%; margin: 20px 0 8px; }
.mobile-menu__phone { padding-bottom: 22px; text-align: center; font-size: 0.9375rem; color: var(--muted); }
.mobile-menu__phone a { color: var(--ink); font-weight: 700; }

@media (max-width: 960px) {
  .nav-links, .header-quote { display: none; }
  .icon-btn { display: inline-flex; }
  .site-header > .wrap { height: 72px; }
  .brand img { width: 186px; }
}

/* Hero */
.hero { overflow: hidden; }
.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-block: clamp(48px, 6vw, 80px) clamp(64px, 7vw, 88px);
}
.hero__text { flex: 1 1 380px; min-width: 0; }
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.hero h1 {
  font-size: var(--h1);
  line-height: 1;
  letter-spacing: -0.025em;
}
.hero h1 em { font-weight: 400; color: var(--burgundy); }
.hero__lede {
  margin-top: 30px;
  max-width: 34ch;
  font-size: 1.1875rem;
  color: var(--ink-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 38px;
}
.hero__prices {
  display: flex;
  margin: 52px 0 0;
  max-width: 460px;
  border-top: 1px solid var(--rule-strong);
}
.hero__prices > div { flex: 1 1 0; padding-top: 16px; }
.hero__prices > div + div { padding-left: 24px; margin-left: 24px; border-left: 1px solid var(--rule-strong); }
.hero__prices dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__prices dd {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
  white-space: nowrap;
}
.hero__prices dd span { font-family: var(--font-body); font-size: 0.875rem; color: var(--muted); }

/* Device composition. Drawn at 740 × 500 and scaled with zoom. */
.devices {
  flex: 0 0 740px;
  position: relative;
  width: 740px;
  height: 500px;
  margin: 0;
  zoom: 0.9;
}
.laptop { position: absolute; left: 34px; top: 30px; width: 624px; }
.laptop__lid {
  background: #1c1a18;
  border-radius: 16px 16px 4px 4px;
  padding: 12px 12px 14px;
}
.laptop__screen {
  width: 600px;
  height: 375px;
  overflow: hidden;
  background: #fff;
  border-radius: 3px;
}
.laptop__base {
  position: relative;
  height: 14px;
  margin: 0 -34px;
  background: #d8d0c3;
  border-top: 1px solid #bdb3a4;
  border-radius: 0 0 14px 14px;
}
.laptop__base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 110px;
  height: 6px;
  margin-left: -55px;
  background: #c4baab;
  border-radius: 0 0 8px 8px;
}
.phone {
  position: absolute;
  left: 566px;
  top: 104px;
  width: 170px;
  height: 346px;
  padding: 7px;
  background: #121110;
  border-radius: 30px;
  box-shadow: 0 18px 40px -22px rgba(23, 20, 15, 0.55);
}
.phone__screen {
  width: 156px;
  height: 332px;
  overflow: hidden;
  border-radius: 24px;
  background: #f7f3ec;
}
.zoom-desktop { zoom: 0.5; }
.zoom-phone { zoom: 0.416; }
.horizon {
  position: absolute;
  left: -10px;
  top: 440px;
  width: 760px;
  height: 30px;
  color: var(--ink);
}

@media (max-width: 1260px) { .devices { zoom: 0.78; } }
@media (max-width: 860px)  { .devices { zoom: 0.85; } }
@media (max-width: 740px)  { .devices { zoom: 0.68; } }
@media (max-width: 560px)  { .devices { zoom: 0.465; } .hero .wrap { gap: 40px; } }
@media (max-width: 370px)  { .devices { zoom: 0.39; } }

@media (max-width: 560px) {
  .hero__eyebrow { display: block; text-wrap: balance; }
  .hero__eyebrow::before { content: none; }
  .hero .wrap { padding-bottom: 24px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .text-link { margin-inline: auto; }
  .hero__prices { margin-top: 40px; max-width: none; }
  .hero__prices > div + div { padding-left: 18px; margin-left: 18px; }
  .hero__prices dt { letter-spacing: 0.1em; white-space: nowrap; }
  .hero__prices dd { font-size: 1.375rem; }
  .hero__prices dd span { font-size: 0.8125rem; }
}

/* What you get */
.benefits .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 80px;
}
.benefits__intro { flex: 1 1 340px; max-width: 420px; }
.benefits__intro h2 { font-size: var(--h2); line-height: 1.04; }
.benefits__intro > p { margin-top: 28px; color: var(--ink-soft); }
.benefits__intro .note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-strong);
  font-size: 0.9375rem;
}
.benefits__list {
  flex: 2 1 560px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: benefit;
}
.benefits__list li {
  padding: 28px 0 32px;
  border-top: 1px solid var(--rule-strong);
  counter-increment: benefit;
}
.benefits__list li:nth-child(-n + 2) { border-top: 2px solid var(--ink); }
.benefits__list li::before {
  content: counter(benefit, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--burgundy);
}
.benefits__list h3 { margin: 10px 0 8px; font-size: var(--h3); line-height: 1.2; }
.benefits__list p { font-size: 1rem; color: var(--ink-soft); }

@media (max-width: 640px) {
  .benefits__list { grid-template-columns: minmax(0, 1fr); }
  .benefits__list li:nth-child(2) { border-top: 1px solid var(--rule-strong); }
}

/* Pricing */
.pricing { background: var(--burgundy); color: var(--on-burgundy); }
.pricing .eyebrow { color: var(--on-burgundy-label); }
.pricing__head {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(251, 246, 239, 0.35);
}
.pricing__head h2 { font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1; max-width: none; }
.pricing__head h2 em { font-weight: 400; }
.pricing__head > p { color: var(--on-burgundy-soft); }

.plans { display: flex; flex-wrap: wrap; }
.plan { flex: 1 1 440px; padding-top: 48px; }
.plan:first-child { padding-right: 56px; }
.plan + .plan { padding-left: 56px; border-left: 1px solid rgba(251, 246, 239, 0.35); }
.plan h3 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plan__price {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-display);
  line-height: 0.82;
  letter-spacing: -0.04em;
}
.plan__from {
  font: 600 0.9375rem/1.3 var(--font-body);
  letter-spacing: 0.02em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--on-burgundy-label);
}
.plan__currency { font-size: 4rem; font-weight: 500; padding-top: 10px; }
.plan__amount { font-size: clamp(7.5rem, 13vw, 11.5rem); font-weight: 600; }
.plan__per {
  align-self: flex-end;
  padding-bottom: 12px;
  font-size: 2.125rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
.plan__term { margin-top: 14px; font-weight: 600; color: var(--on-burgundy-label); }
.plan ul { margin: 32px 0 0; padding: 0; list-style: none; }
.plan li { padding: 13px 0; border-top: 1px solid var(--on-burgundy-rule); }
.plan li:last-child { border-bottom: 1px solid var(--on-burgundy-rule); }
.plan__note { margin-top: 18px; font-size: 0.9375rem; color: var(--on-burgundy-soft); }

.pricing__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 64px;
  color: var(--on-burgundy-soft);
}
.pricing__cta a:not(.btn) { color: #fff; font-weight: 700; }

@media (max-width: 960px) {
  .plan:first-child { padding-right: 0; }
  .plan + .plan { padding-left: 0; border-left: 0; margin-top: 48px; border-top: 1px solid rgba(251, 246, 239, 0.35); }
}
@media (max-width: 560px) {
  .plan__currency { font-size: 2.75rem; padding-top: 6px; }
  .plan__per { font-size: 1.625rem; padding-bottom: 8px; }
  .pricing__cta .btn { width: 100%; }
  .pricing__cta { justify-content: center; text-align: center; }
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}
.step { position: relative; padding-top: 44px; }
.step::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: -32px;
  height: 2px;
  background: var(--ink);
}
.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-deep);
}
.step:last-child::before,
.step:last-child::after { content: none; }
.step__flag { position: absolute; top: -30px; left: -6px; width: 72px; height: auto; }
.step__num { font-family: var(--font-display); font-style: italic; font-size: 0.9375rem; color: var(--burgundy); }
.step h3 { margin: 6px 0 10px; font-size: 1.625rem; line-height: 1.15; }
.step p { font-size: 1rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 44px;
    padding-left: 34px;
    border-left: 2px solid var(--ink);
  }
  .step { padding: 0 0 30px; }
  .step:last-child { padding-bottom: 0; }
  .step::before { content: none; }
  .step::after,
  .step:last-child::after {
    content: "";
    left: -45px;
    top: 6px;
  }
  .step:last-child::after { background: var(--burgundy); border-color: var(--burgundy); }
  .step__flag { display: none; }
}

/* Work */
.work__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  margin-top: 56px;
}
.project { flex: 3 1 560px; min-width: 0; margin: 0; }
.project__frame {
  height: 430px;
  padding: 48px 48px 0;
  overflow: hidden;
  background: #1f3442;
}
.browser {
  max-width: 680px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  background: #e9e4db;
}
.browser__bar span { width: 8px; height: 8px; border-radius: 50%; background: #c9c1b4; }
.browser__viewport { height: 425px; overflow: hidden; }
.zoom-work { zoom: 0.5666; }
.project figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.project figcaption h3 { font-size: 1.75rem; }
.project__type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.work__notes { flex: 2 1 300px; align-self: flex-end; }
.work__notes h3 { font-size: 1.625rem; line-height: 1.2; }
.work__notes > p { margin-top: 14px; color: var(--ink-soft); }
.work__notes ul { margin: 26px 0 0; padding: 0; list-style: none; }
.work__notes li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--rule-strong);
  font-size: 1rem;
}
.work__notes li:last-child { border-bottom: 1px solid var(--rule-strong); }
.work__notes li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.6em;
  background: var(--burgundy);
}

@media (max-width: 640px) {
  .project__frame { height: 300px; padding: 28px 20px 0; }
  .zoom-work { zoom: 0.29; }
  .browser__viewport { height: 270px; }
}

/* Design: logos, branding & packaging (dark gallery band) */
.design { background: var(--ink); color: var(--on-dark); }
.design .eyebrow { color: #e3a8b1; }
.design__head > p { color: var(--on-dark-muted); max-width: 46ch; }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 24px;
  margin-top: 64px;
}
.tile { margin: 0; min-width: 0; }
.tile--brand { grid-column: span 7; }
.tile--logos { grid-column: span 5; }
.tile--photo { grid-column: span 4; }
.tile__art {
  overflow: hidden;
  background: #2a251f;
  border-radius: var(--radius);
}
.tile__art svg { width: 100%; height: auto; }
.tile__art--cream { background: #f7f3ec; }
.tile__art--photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile--photo:hover img { transform: scale(1.03); }
}
.gallery { align-items: start; }
.tile figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 16px;
}
.tile figcaption h3 { font-size: 1.375rem; color: var(--on-dark); }
.tile__type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.design__offer {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
  margin-top: 88px;
  padding-top: 56px;
  border-top: 1px solid #3a342d;
}
.design__intro { flex: 1 1 340px; max-width: 440px; }
.design__intro h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1; }
.design__intro > p { margin-top: 18px; color: var(--on-dark-muted); }
.design__intro .btn { margin-top: 28px; }
.design__list-wrap { flex: 1 1 480px; }
.packages { margin: 0; padding: 0; list-style: none; }
.packages li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid #3a342d;
}
.packages li:first-child { border-top: 2px solid var(--on-dark); }
.packages li:last-child { border-bottom: 1px solid #3a342d; }
.packages div { flex: 1; }
.packages h3 { font-size: 1.5rem; color: var(--on-dark); }
.packages p { margin-top: 4px; font-size: 0.9375rem; color: var(--on-dark-muted); }
.packages .price { margin: 0; font-family: var(--font-display); font-size: 1.5rem; white-space: nowrap; color: #fff; }
.packages .price span { font-family: var(--font-body); font-size: 0.8125rem; color: var(--on-dark-muted); }

@media (max-width: 960px) {
  .tile--brand { grid-column: span 12; }
  .tile--logos,
  .tile--photo { grid-column: span 6; }
}
@media (max-width: 640px) {
  .gallery { gap: 32px; margin-top: 44px; }
  .tile--logos,
  .tile--photo { grid-column: span 12; }
  .design__offer { margin-top: 56px; padding-top: 40px; }
  .design__intro .btn { width: 100%; }
}

/* About */
.about .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 96px;
}
.about__mark { flex: 0 1 380px; }
.about__mark img { width: 100%; max-width: 380px; height: auto; }
.about__text { flex: 1 1 480px; max-width: 640px; }
.about__text h2 { font-size: clamp(2.25rem, 3.8vw, 3.25rem); line-height: 1.06; }
.about__text p { margin-top: 18px; font-size: 1.125rem; color: var(--ink-soft); }
.about__text h2 + p { margin-top: 28px; }

@media (max-width: 640px) {
  .about__mark { flex-basis: 200px; }
  .about__mark img { max-width: 200px; }
}

/* Contact */
.contact .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 56px 96px;
}
.contact__info { flex: 1 1 400px; }
.contact__info h2 { font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.025em; }
.contact__info > p { margin-top: 26px; max-width: 38ch; color: var(--ink-soft); }
.contact__details { margin: 44px 0 0; }
.contact__details dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__details dd { margin: 4px 0 26px; font-size: 1.0625rem; }
.contact__details dd:last-child { margin-bottom: 0; }
.contact__phone {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--burgundy);
}
.contact__phone:hover { color: var(--burgundy); }
.contact__email { font-size: 1.3125rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

.quote-form {
  flex: 1 1 480px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-content: start;
  padding: clamp(24px, 4vw, 44px);
  background: var(--card);
  border: 1px solid var(--rule);
}
.quote-form h3 { grid-column: 1 / -1; margin-bottom: 4px; font-size: 1.75rem; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full,
.form-footer,
.form-status { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 700; }
.field label span { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #8a7f71;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: 500 1rem/1.4 var(--font-body);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--burgundy); }
.field input[aria-invalid="true"] { border-color: var(--burgundy); border-width: 2px; }
.honeypot { display: none; }
.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 6px;
}
.form-footer small { font-size: 0.8125rem; color: var(--muted); }
.form-status { font-size: 0.9375rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-state="success"] { padding: 14px 16px; background: #e8efe6; color: #1f4d2b; }
.form-status[data-state="error"] { padding: 14px 16px; background: #f6e3e5; color: var(--burgundy-deep); }

@media (max-width: 560px) {
  .quote-form { grid-template-columns: minmax(0, 1fr); }
  .form-footer .btn { width: 100%; }
}

/* Footer */
.site-footer { background: var(--ink); color: #d9d0c2; font-size: 0.9375rem; }
.site-footer .wrap { padding-block: 72px 40px; }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid #3a342d;
}
.footer__brand { flex: 1 1 300px; }
.footer__brand img { width: 260px; height: auto; }
.footer__brand p { margin-top: 22px; max-width: 34ch; color: var(--on-dark-muted); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--on-dark); text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__col .footer__phone { color: #fff; font-weight: 700; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 28px;
  font-size: 0.8125rem;
  color: #a99e8f;
}
.footer__bottom a { color: #d9d0c2; }

@media (max-width: 640px) {
  .footer__top,
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer__brand { flex-basis: auto; }
  .footer__brand img { margin-inline: auto; width: 230px; }
  .footer__brand p { margin-inline: auto; }
  .footer__col { align-items: center; }
}

/* 6. Kettle Ridge project preview ------------------------------------------
   Fixed-size markup (1200×750 desktop, 375×780 phone), scaled by its frame. */

.kr {
  color: #142531;
  font-family: "Archivo", "Arial Narrow", sans-serif;
  line-height: 1.4;
  text-align: left;
}
.kr * { letter-spacing: normal; }
.kr h1, .kr h2 { font-family: inherit; letter-spacing: -0.01em; }
.kr--desktop {
  display: flex;
  flex-direction: column;
  width: 1200px;
  height: 750px;
  overflow: hidden;
  background: #f7f3ec;
}
.kr__top {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 48px;
  background: #142531;
  color: #c9d6dd;
  font-size: 13px;
}
.kr__header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 48px;
  background: #fff;
  border-bottom: 1px solid #e4ded3;
}
.kr__logo { display: flex; align-items: center; gap: 12px; line-height: 1; }
.kr__name { font-size: 21px; font-weight: 800; font-stretch: 85%; letter-spacing: 0.04em; }
.kr__tag { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.26em; color: #a9541f; }
.kr__nav { display: flex; gap: 32px; font-size: 15px; font-weight: 600; color: #2a3d49; }
.kr__call { display: flex; align-items: center; gap: 18px; font-size: 17px; font-weight: 700; }
.kr__call > span:first-child { display: flex; align-items: center; gap: 8px; }
.kr__btn {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 4px;
  background: #a9541f;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.kr__btn--lg { padding: 17px 26px; font-size: 16px; }
.kr__btn--ghost { padding: 15px 24px; border: 2px solid #142531; background: transparent; color: #142531; font-size: 16px; }
.kr__hero { display: flex; flex: 1; }
.kr__copy { flex: 1 1 0; padding: 40px 40px 0 48px; }
.kr__kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: #a9541f; }
.kr__h1 {
  margin-top: 18px;
  font-size: 58px;
  font-weight: 800;
  font-stretch: 80%;
  line-height: 1;
  text-transform: uppercase;
}
.kr__lede { max-width: 520px; margin-top: 22px; font-size: 18px; line-height: 1.55; color: #3d505c; }
.kr__ctas { display: flex; gap: 14px; margin-top: 30px; }
.kr__trust { display: flex; gap: 28px; margin-top: 34px; font-size: 14px; font-weight: 600; color: #2a3d49; }
.kr__trust span { display: flex; align-items: center; gap: 8px; }
.kr__panel {
  position: relative;
  display: flex;
  flex: 0 0 470px;
  flex-direction: column;
  align-items: center;
  padding-top: 44px;
  overflow: hidden;
  background: #1f3a4d;
}
.kr__readings { display: flex; gap: 30px; margin-top: 14px; font-size: 14px; color: #c9d6dd; }
.kr__readings strong { font-size: 18px; color: #fff; }
.kr__ridge { position: absolute; left: 0; bottom: 0; width: 470px; height: 140px; }
.kr__services { display: flex; flex: none; height: 150px; background: #fff; border-top: 1px solid #e4ded3; }
.kr__service { flex: 1; padding: 30px 32px 0; border-right: 1px solid #e4ded3; }
.kr__service:first-child { padding-left: 48px; }
.kr__service:last-child { padding-right: 48px; border-right: 0; }
.kr__service-num { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: #a9541f; }
.kr__service-name { margin-top: 8px; font-size: 21px; font-weight: 800; font-stretch: 85%; text-transform: uppercase; }
.kr__service-desc { margin-top: 6px; font-size: 14px; line-height: 1.45; color: #556773; }

.kr--phone { width: 375px; height: 798px; overflow: hidden; background: #f7f3ec; }
.kr--phone .kr__header { height: 64px; margin-top: 20px; padding: 0 18px; }
.kr--phone .kr__name { font-size: 17px; }
.kr--phone .kr__tag { margin-top: 3px; font-size: 9px; }
.kr__round {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #a9541f;
}
.kr__round--ghost { border: 1.5px solid #142531; background: transparent; }
.kr--phone .kr__copy { padding: 28px 20px 26px; }
.kr--phone .kr__kicker { font-size: 11px; }
.kr--phone .kr__h1 { margin-top: 12px; font-size: 38px; }
.kr--phone .kr__lede { margin-top: 14px; font-size: 15px; }
.kr--phone .kr__ctas { flex-direction: column; gap: 10px; margin-top: 20px; }
.kr--phone .kr__btn { padding: 15px; font-size: 16px; }
.kr--phone .kr__btn--ghost { padding: 13px; }
.kr__card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 20px;
  padding: 18px 20px;
  border-radius: 6px;
  background: #1f3a4d;
  color: #c9d6dd;
  font-size: 13px;
  line-height: 1.5;
}
.kr__card strong { display: block; font-size: 16px; color: #fff; }
.kr__list { margin: 22px 20px 0; padding: 0; list-style: none; font-size: 17px; font-weight: 800; font-stretch: 85%; text-transform: uppercase; }
.kr__list li { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid #dcd5c9; }
.kr__list li:last-child { border-bottom: 1px solid #dcd5c9; }
.kr__list span { color: #a9541f; }

/* 7. Motion ---------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .horizon { animation: horizon-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
  .laptop, .phone { animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .laptop { animation-delay: 0.35s; }
  .phone { animation-delay: 0.55s; }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

@keyframes horizon-in {
  from { clip-path: inset(0 50% 0 50%); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

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

/* 8. Secondary pages ----------------------------------------------------- */

.site-header--simple { position: static; }
.site-header--simple .wrap { height: 84px; }

.legal .wrap { max-width: 760px; }
.legal h1 { font-size: var(--h2); line-height: 1.05; }
.legal__meta { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; }
.legal h2 { margin: 44px 0 12px; font-size: 1.625rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 14px 0; padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.site-header--simple + .legal + .site-footer .wrap,
.legal + .site-footer .wrap { padding-block: 28px; }
.legal + .site-footer .footer__bottom { padding-top: 0; }

.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: 64px;
}
.not-found .wrap { max-width: 720px; }
.not-found img { width: 150px; height: auto; margin-bottom: 36px; }
.not-found h1 { font-size: var(--h2); line-height: 1.05; }
.not-found h1 + p { margin-top: 20px; color: var(--ink-soft); }
