/*
Theme Name: OZ Homes Luxury Pro
Theme URI: https://ozhomesltd.ca
Author: OZ Homes Ltd
Author URI: https://ozhomesltd.ca
Description: A professional, highly customizable bright luxury real estate and home transformation WordPress theme with fixed logo box, editable colors, layout controls, before/after hero, journey cards, featured project slider, trust/results section, and consultation CTA.
Version: 1.2.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oz-homes-luxury
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, theme-options, real-estate, portfolio
*/

:root {
  --oz-bg: #fbfaf7;
  --oz-surface: #ffffff;
  --oz-soft: #f3eee7;
  --oz-ink: #16191d;
  --oz-heading: #111317;
  --oz-muted: #616971;
  --oz-line: rgba(20, 22, 25, 0.12);
  --oz-accent: #b77a4b;
  --oz-accent-dark: #8f5a34;
  --oz-gold: #c99558;
  --oz-gold-light: #e6c391;
  --oz-logo-box-width: 178px;
  --oz-logo-box-height: 76px;
  --oz-header-height: 86px;
  --oz-container-width: 1380px;
  --oz-container: min(var(--oz-container-width), calc(100% - 48px));
  --oz-section-spacing: 72px;
  --oz-radius: 18px;
  --oz-shadow: 0 24px 60px rgba(35, 25, 16, 0.12);
  --oz-shadow-soft: 0 12px 34px rgba(35, 25, 16, 0.08);
  --oz-serif: Georgia, 'Times New Roman', serif;
  --oz-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


/* Premium loading screen */
body.oz-is-loading { overflow: hidden; }
.oz-site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity .42s ease, visibility .42s ease;
}
.oz-site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.oz-site-loader__box {
  width: min(280px, 72vw);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.oz-site-loader__logo {
  width: 220px;
  height: 118px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  animation: ozLoaderBlink 1.05s ease-in-out infinite;
  filter: drop-shadow(0 12px 22px rgba(37, 27, 18, .10));
}
.oz-site-loader__text {
  color: var(--oz-accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  animation: ozLoaderText 1.05s ease-in-out infinite;
}
@keyframes ozLoaderBlink {
  0%, 100% { opacity: .32; transform: scale(.975); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes ozLoaderText {
  0%, 100% { opacity: .35; }
  50% { opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
  .oz-site-loader__logo,
  .oz-site-loader__text { animation: none; opacity: 1; }
  .oz-site-loader { transition-duration: .15s; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--oz-bg);
  color: var(--oz-ink);
  font-family: var(--oz-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--oz-accent); color: #fff; }

.oz-skip-link { position: absolute; left: -999px; top: 8px; background: var(--oz-ink); color: #fff; padding: 10px 14px; z-index: 999; }
.oz-skip-link:focus { left: 8px; }

.oz-container { width: var(--oz-container); margin-inline: auto; }
.oz-section { padding: var(--oz-section-spacing) 0; border-top: 1px solid var(--oz-line); position: relative; }
.oz-overline {
  color: var(--oz-accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.72rem, 1vw, 0.85rem);
  margin-bottom: 12px;
}
.oz-title {
  margin: 0;
  color: var(--oz-heading);
  font-family: var(--oz-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-size: clamp(2.55rem, 5.4vw, 6.5rem);
}
.oz-title span, .oz-section-heading span, .oz-cta h2 span { color: var(--oz-accent); }
.oz-copy { color: var(--oz-muted); max-width: 640px; font-size: clamp(1rem, 1.2vw, 1.18rem); }
.oz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: calc(var(--oz-radius) * .15);
  border: 1px solid var(--oz-accent);
  background: var(--oz-accent);
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.075em;
  font-size: 0.8rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer;
}
.oz-btn:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(183, 122, 75, 0.25); background: var(--oz-accent-dark); border-color: var(--oz-accent-dark); }
.oz-btn--outline { background: transparent; color: var(--oz-ink); border-color: rgba(20, 22, 25, 0.25); }
.oz-btn--outline:hover { background: var(--oz-ink); color: #fff; border-color: var(--oz-ink); }
.oz-btn--header { min-height: 46px; padding-inline: 22px; }

/* Header: logo is locked in a fixed box so changing logo never pushes the navigation */
.oz-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--oz-line);
}
.oz-nav {
  width: var(--oz-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--oz-logo-box-width) minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--oz-header-height);
  gap: clamp(18px, 2.5vw, 36px);
}
.oz-brand {
  width: var(--oz-logo-box-width);
  height: var(--oz-logo-box-height);
  flex: 0 0 var(--oz-logo-box-width);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  min-width: 0;
}
.oz-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-position: left center;
}
.oz-primary-menu { min-width: 0; }
.oz-menu { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 31px); margin: 0; padding: 0; list-style: none; }
.oz-menu li { list-style: none; position: relative; }
.oz-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .085em;
  color: var(--oz-ink);
  transition: color .2s ease;
}
.oz-menu a:hover, .oz-menu .current-menu-item > a { color: var(--oz-accent); }
.oz-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--oz-line);
  box-shadow: var(--oz-shadow-soft);
  padding: 10px;
  z-index: 9;
}
.oz-menu li:hover > .sub-menu { display: block; }
.oz-menu .sub-menu a { min-height: 36px; width: 100%; justify-content: flex-start; }
.oz-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; white-space: nowrap; }
.oz-phone { font-size: .92rem; color: var(--oz-ink); font-weight: 650; }
.oz-menu-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.oz-menu-toggle span, .oz-menu-toggle span::before, .oz-menu-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--oz-ink); content: ''; position: relative; transition: transform .25s ease, opacity .2s ease;
}
.oz-menu-toggle span::before { position: absolute; top: -8px; }
.oz-menu-toggle span::after { position: absolute; top: 8px; }
body.oz-menu-open .oz-menu-toggle span { background: transparent; }
body.oz-menu-open .oz-menu-toggle span::before { top: 0; transform: rotate(45deg); }
body.oz-menu-open .oz-menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.oz-hero { background: #fff; overflow: hidden; border-bottom: 1px solid var(--oz-line); }
.oz-hero__wrap { display: grid; grid-template-columns: minmax(340px, 0.68fr) minmax(420px, 1.32fr); min-height: clamp(620px, 62vw, 820px); }
.oz-hero__content { position: relative; z-index: 3; padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.oz-hero__content::after {
  content: '';
  position: absolute; inset: 0 -22% 0 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 68%, rgba(255,255,255,0.08) 100%);
  pointer-events: none;
}
.oz-hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.oz-trust-row { display: flex; align-items: center; gap: 18px; margin-top: 42px; color: var(--oz-muted); font-size: .92rem; }
.oz-trust-row strong { color: var(--oz-ink); }
.oz-trust-dots { display: flex; }
.oz-trust-dot { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--oz-gold), var(--oz-soft)); border: 2px solid #fff; margin-left: -10px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.oz-trust-dot:first-child { margin-left: 0; }
.oz-hero__visual { position: relative; min-width: 0; overflow: hidden; }
.oz-ba { --position: 50%; position: relative; min-height: 100%; background: #f1eee9; overflow: hidden; }
.oz-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oz-ba__before { filter: saturate(.52) contrast(.94) brightness(1.08); }
.oz-ba__after { clip-path: inset(0 0 0 var(--position)); }
.oz-ba__divider {
  position: absolute;
  top: -6%; bottom: -6%; left: var(--position);
  width: 4px;
  transform: translateX(-50%) rotate(4deg);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 0 35px rgba(183,122,75,.38);
  z-index: 5;
}
.oz-ba__handle {
  position: absolute;
  top: 50%; left: var(--position); z-index: 6;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  border: 2px solid #fff; background: rgba(255,255,255,.95);
  color: var(--oz-ink); display: grid; place-items: center; font-weight: 900;
  box-shadow: var(--oz-shadow);
}
.oz-ba__range { position: absolute; inset: 0; z-index: 8; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.oz-ba__label {
  position: absolute; top: 28px; z-index: 9;
  padding: 8px 18px; background: rgba(255,255,255,.92); border: 1px solid var(--oz-line);
  color: var(--oz-ink); text-transform: uppercase; letter-spacing: .16em; font-weight: 900; font-size: .75rem;
}
.oz-ba__label--before { left: 28px; }
.oz-ba__label--after { right: 28px; background: var(--oz-accent); color: #fff; border-color: var(--oz-accent); }
.oz-hero__side-notes { position: absolute; right: 28px; top: 92px; z-index: 9; color: #fff; mix-blend-mode: difference; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; display: grid; gap: 22px; }
.oz-scroll-note { position: absolute; right: 38px; bottom: 42px; z-index: 9; color: #fff; font-weight: 900; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.24); }


/* Editable image sections */
.oz-editable-bg { position: relative; isolation: isolate; overflow: hidden; }
.oz-editable-bg:not(.oz-cta)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--oz-section-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .13;
}
.oz-editable-bg:not(.oz-cta)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.91), rgba(251,250,247,.94));
  pointer-events: none;
}
.oz-featured.oz-editable-bg::after { background: rgba(255,255,255,.91); }
.oz-results.oz-editable-bg::after { background: rgba(255,255,255,.88); }

/* Journey */
.oz-journey { background: linear-gradient(180deg, #fff 0%, var(--oz-bg) 100%); }
.oz-section-heading { text-align: center; margin-bottom: 28px; }
.oz-section-heading h2 { margin: 0; font-family: var(--oz-serif); font-size: clamp(1.6rem, 2.8vw, 3rem); line-height: 1; font-weight: 400; letter-spacing: -.02em; }
.oz-journey__grid { display: grid; grid-template-columns: 260px repeat(5, minmax(130px, 1fr)); gap: 18px; align-items: stretch; }
.oz-sketch-card { position: relative; min-height: 184px; border: 1px solid var(--oz-line); border-radius: var(--oz-radius); background: rgba(255,255,255,.62); overflow: hidden; }
.oz-sketch-card img { width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: sepia(.2); }
.oz-sketch-card span { position: absolute; left: 20px; top: 20px; text-transform: uppercase; letter-spacing: .12em; color: var(--oz-muted); font-size: .76rem; }
.oz-step-card {
  position: relative;
  background: var(--oz-surface);
  border: 1px solid var(--oz-line);
  border-radius: var(--oz-radius);
  padding: 24px 18px 22px;
  min-height: 184px;
  box-shadow: 0 10px 35px rgba(0,0,0,.035);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.oz-step-card:hover { transform: translateY(-6px); box-shadow: var(--oz-shadow); border-color: rgba(183,122,75,.35); }
.oz-step-card__num { position: absolute; top: 10px; left: 14px; font-size: 2.9rem; line-height: 1; color: rgba(22,25,29,.14); font-family: var(--oz-serif); }
.oz-step-card__icon { position: relative; color: var(--oz-accent); font-size: 2.1rem; margin-bottom: 16px; }
.oz-step-card h3 { margin: 0 0 8px; font-size: .88rem; text-transform: uppercase; letter-spacing: .07em; }
.oz-step-card p { margin: 0; color: var(--oz-muted); font-size: .88rem; line-height: 1.45; }

/* Featured */
.oz-featured { background: #fff; }
.oz-featured__grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 40px; align-items: center; }
.oz-featured__visual {
  position: relative;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--oz-line);
  border-radius: var(--oz-radius);
  box-shadow: var(--oz-shadow);
  overflow: hidden;
  background: #f1eee9;
}
/* The slider must have a real height. Percentage min-height alone collapses when
   the parent only has min-height, causing newly uploaded images to appear blank. */
.oz-featured__visual > .oz-ba {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
}
.oz-featured__visual .oz-ba img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.oz-featured__visual .oz-ba__label { top: 18px; }
.oz-featured__visual .oz-ba__label--before { left: 18px; }
.oz-featured__visual .oz-ba__label--after { right: 18px; }
.oz-featured__visual .oz-ba__handle { width: 48px; height: 48px; }
.oz-card-title { margin: 0 0 10px; font-family: var(--oz-serif); font-weight: 400; line-height: 1; font-size: clamp(2rem, 3.6vw, 4.4rem); }

/* Build luxury */
.oz-build { background: var(--oz-bg); padding: 46px 0; }
.oz-build__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.oz-feature { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 24px 18px; background: #fff; border: 1px solid var(--oz-line); border-radius: var(--oz-radius); transition: transform .25s ease, box-shadow .25s ease; }
.oz-feature:hover { transform: translateY(-5px); box-shadow: var(--oz-shadow-soft); }
.oz-feature__icon { color: var(--oz-accent); font-size: 2rem; }
.oz-feature h3 { margin: 0 0 6px; font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; }
.oz-feature p { margin: 0; color: var(--oz-muted); font-size: .92rem; line-height: 1.45; }

/* Results */
.oz-results { background: #fff; padding: 48px 0; }
.oz-results__grid { display: grid; grid-template-columns: 1fr 2fr 1fr 1.3fr; border: 1px solid var(--oz-line); border-radius: var(--oz-radius); overflow: hidden; background: linear-gradient(135deg, #fff 0%, var(--oz-soft) 100%); }
.oz-result-block { padding: 30px; border-right: 1px solid var(--oz-line); display: flex; flex-direction: column; justify-content: center; min-height: 170px; }
.oz-result-block:last-child { border-right: 0; }
.oz-result-block small { color: var(--oz-muted); margin-top: 8px; display: block; }
.oz-stat { font-family: var(--oz-serif); font-size: clamp(2.7rem, 4vw, 4.8rem); color: var(--oz-accent); line-height: 1; }
.oz-stat-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 900; margin-top: 10px; }
.oz-quote { margin: 0; font-family: var(--oz-serif); font-size: clamp(1.45rem, 2vw, 2.4rem); line-height: 1.18; color: var(--oz-ink); }
.oz-quote + p { margin-bottom: 0; color: var(--oz-muted); }
.oz-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.oz-badge { display: grid; place-items: center; min-height: 82px; border: 1px solid var(--oz-line); border-radius: calc(var(--oz-radius) * .7); background: #fff; text-align: center; padding: 12px; font-weight: 900; color: var(--oz-muted); font-size: .78rem; }
.oz-stars { color: var(--oz-accent); letter-spacing: .14em; font-size: 1rem; margin-top: 6px; }

/* CTA */
.oz-cta { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.84)), var(--oz-section-image, none) center/cover no-repeat; padding: 76px 0; border-top: 1px solid var(--oz-line); }
.oz-cta__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 40px; align-items: center; }
.oz-cta h2 { margin: 0; font-family: var(--oz-serif); font-size: clamp(2.2rem, 4vw, 4.8rem); line-height: 1; font-weight: 400; }
.oz-cta__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.oz-cta__icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.oz-mini { background: rgba(255,255,255,.86); border: 1px solid var(--oz-line); border-radius: var(--oz-radius); padding: 20px 16px; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.oz-mini:hover { transform: translateY(-5px); box-shadow: var(--oz-shadow-soft); }
.oz-mini strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.oz-mini span { display: block; margin-top: 6px; color: var(--oz-muted); font-size: .82rem; }
.oz-mini__icon { color: var(--oz-accent); font-size: 2rem; margin-bottom: 8px; }
.oz-form-shell { margin-top: 26px; max-width: 640px; background: rgba(255,255,255,.86); border: 1px solid var(--oz-line); border-radius: var(--oz-radius); padding: 22px; }
.oz-form-shell input, .oz-form-shell textarea, .oz-form-shell select { width: 100%; min-height: 46px; border: 1px solid var(--oz-line); padding: 12px 14px; background: #fff; }
.oz-form-shell input[type="submit"], .oz-form-shell button[type="submit"] { width: auto; background: var(--oz-accent); color: #fff; border-color: var(--oz-accent); cursor: pointer; }

/* Footer and pages */
.oz-site-footer { background: #fff; border-top: 1px solid var(--oz-line); padding: 42px 0 24px; color: var(--oz-muted); }
.oz-footer-grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr; gap: 40px; align-items: start; }
.oz-footer-logo { width: 130px; height: 68px; object-fit: contain; object-position: left center; margin-bottom: 10px; }
.oz-footer-brand p { max-width: 380px; margin: 0; }
.oz-footer-menu { list-style: none; padding: 0; margin: 12px 0 0; }
.oz-footer-menu a { display: inline-block; padding: 4px 0; color: var(--oz-muted); }
.oz-footer-menu a:hover { color: var(--oz-accent); }
.oz-footer-bottom { border-top: 1px solid var(--oz-line); margin-top: 28px; padding-top: 18px; font-size: .9rem; }
.oz-page { padding: 72px 0; }
.oz-entry { background: #fff; border: 1px solid var(--oz-line); border-radius: var(--oz-radius); padding: clamp(28px, 5vw, 72px); box-shadow: var(--oz-shadow-soft); }
.oz-entry h1 { font-family: var(--oz-serif); font-weight: 400; font-size: clamp(2rem, 4vw, 4.4rem); line-height: 1; margin: 0 0 20px; }
.oz-entry-content { max-width: 860px; }
.oz-entry-content a { color: var(--oz-accent); text-decoration: underline; }
.oz-entry-meta { color: var(--oz-muted); margin-bottom: 18px; }

/* Reveal */
[data-oz-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-oz-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1280px) {
  .oz-nav { grid-template-columns: var(--oz-logo-box-width) minmax(0, 1fr) auto; gap: 18px; }
  .oz-menu { gap: 16px; }
  .oz-phone { display: none; }
  .oz-journey__grid { grid-template-columns: repeat(5, minmax(140px, 1fr)); }
  .oz-sketch-card { display: none; }
  .oz-results__grid { grid-template-columns: 1fr 1.4fr; }
  .oz-result-block { border-bottom: 1px solid var(--oz-line); }
  .oz-result-block:nth-child(2n) { border-right: 0; }
}

@media (max-width: 980px) {
  :root { --oz-container: min(100% - 32px, var(--oz-container-width)); }
  .oz-nav { grid-template-columns: var(--oz-logo-box-width) 1fr auto; }
  .oz-primary-menu {
    display: none;
    position: absolute;
    left: 16px; right: 16px; top: calc(var(--oz-header-height) + 8px);
    background: #fff;
    border: 1px solid var(--oz-line);
    border-radius: var(--oz-radius);
    box-shadow: var(--oz-shadow);
    padding: 14px;
  }
  .oz-primary-menu.is-open { display: block; }
  .oz-menu { display: grid; gap: 0; justify-content: stretch; }
  .oz-menu a { width: 100%; justify-content: flex-start; border-bottom: 1px solid var(--oz-line); }
  .oz-menu li:last-child a { border-bottom: 0; }
  .oz-menu .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; }
  .oz-menu-toggle { display: flex; justify-self: end; }
  .oz-header-actions { display: none; }
  .oz-hero__wrap { grid-template-columns: 1fr; min-height: 0; }
  .oz-hero__content { padding: 54px 24px 34px; }
  .oz-hero__content::after { display: none; }
  .oz-hero__visual { min-height: 520px; }
  .oz-journey__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oz-featured__grid, .oz-cta__grid { grid-template-columns: 1fr; }
  .oz-featured__visual { min-height: 360px; aspect-ratio: 4 / 3; }
  .oz-featured__visual > .oz-ba { min-height: 360px; }
  .oz-build__grid { grid-template-columns: repeat(2, 1fr); }
  .oz-cta__icons { grid-template-columns: repeat(3, 1fr); }
  .oz-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .oz-nav { min-height: 76px; }
  .oz-brand { width: min(var(--oz-logo-box-width), 145px); height: 60px; }
  .oz-title { font-size: clamp(2.4rem, 12vw, 4rem); }
  .oz-btn { width: 100%; }
  .oz-hero__visual { min-height: 420px; }
  .oz-ba__label { top: 14px; padding: 7px 12px; font-size: .66rem; }
  .oz-ba__label--before { left: 14px; }
  .oz-ba__label--after { right: 14px; }
  .oz-hero__side-notes, .oz-scroll-note { display: none; }
  .oz-journey__grid, .oz-build__grid, .oz-results__grid, .oz-cta__icons, .oz-badges { grid-template-columns: 1fr; }
  .oz-result-block { border-right: 0; border-bottom: 1px solid var(--oz-line); }
  .oz-result-block:last-child { border-bottom: 0; }
}
.oz-site-header.is-scrolled { box-shadow: 0 12px 28px rgba(35,25,16,.07); }


/* Performance enhancements */
.oz-journey,
.oz-featured,
.oz-build,
.oz-results,
.oz-cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}
.oz-editable-bg::before,
.oz-cta {
  transition: background-image .2s ease-out;
}
.oz-ba img,
.oz-sketch-card img,
.oz-logo-img {
  image-rendering: auto;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
