/* WRHoldings — Winchester Realty & Holdings, LLC */
:root {
  /* WRH brand */
  --ink: #1D1B18;
  --ink-2: #26231F;
  --ink-3: #3A362F;
  --paper: #FFFFFF;
  --sand: #F4EFE4;
  --sand-2: #EDE6D8;
  --gold: #F59E0B;
  --gold-dk: #D97706;
  --gold-text: #92400E;
  --highlight: #FCD9A0;
  --sub: #5A544A;
  --muted: #6E685C;
  --on-dark: #CFC8BB;
  --on-dark-2: #A39C8F;
  --border: #E9E4DA;
  --radius: 14px;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1240px;

  /* Prop-Folio brand (used only inside .pf) */
  --pf-bg: #FAF7F2;
  --pf-card: #FFFFFF;
  --pf-text: #1D1B18;
  --pf-sub: #5A544A;
  --pf-border: #E9E4DA;
  --pf-gold: #F59E0B;
  --pf-gold-dk: #D97706;
  --pf-green: #16A34A;
  --pf-serif: 'Iowan Old Style', 'Charter', Georgia, ui-serif, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--highlight); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; position: relative; }
.nowrap { white-space: nowrap; }
.visually-hidden, .hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow--light { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: var(--radius); border: 0;
  font: 800 16px/1 var(--sans); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold-dk); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(217,119,6,0.7); }
.btn--gold:hover { background: var(--gold); box-shadow: 0 16px 30px -12px rgba(217,119,6,0.8); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.btn--outline { background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 24px -18px rgba(29,27,24,0.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 74px; height: 44px; }
.brand__name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; font-weight: 600; text-decoration: none; }
.nav > a:not(.btn):not(.nav__pf) { position: relative; }
.nav > a:not(.btn):not(.nav__pf)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold-dk); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav > a:not(.btn):not(.nav__pf):hover::after { transform: scaleX(1); }
.nav__pf {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 7px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--pf-bg);
  color: var(--ink); transition: border-color .2s ease;
}
.nav__pf:hover { border-color: #F3D9B1; }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.nav-toggle {
  display: none;
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--paper); cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(29,27,24,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,27,24,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 30%, transparent 75%);
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 720px; height: 720px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.16), transparent 65%);
}
.hero__roofs {
  position: absolute; z-index: -1; right: -60px; bottom: -40px;
  width: min(58vw, 760px); height: auto; pointer-events: none;
}
.hero__roofs polyline { fill: none; stroke: var(--sand-2); stroke-width: 22; stroke-linejoin: miter; }
.hero__roofs polyline.gold { stroke: rgba(245,158,11,0.35); }
.hero__roofs rect { fill: var(--sand-2); }
.hero .wrap { padding-top: 112px; padding-bottom: 64px; }
.hero__copy { max-width: 1120px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); color: var(--gold-text);
  border: 1px solid #F3D9B1;
  font-weight: 700; font-size: 13px; padding: 8px 14px 8px 12px; border-radius: 99px;
  box-shadow: 0 6px 18px -12px rgba(146,64,14,0.5);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-dk); box-shadow: 0 0 0 4px rgba(245,158,11,0.18); }
.hero h1 {
  margin: 26px 0 0;
  font-weight: 900; font-size: clamp(48px, 7.6vw, 112px);
  line-height: 1.14; letter-spacing: -0.035em; word-spacing: 0.04em;
}
.mark {
  background-image: linear-gradient(transparent 70%, var(--highlight) 70%, var(--highlight) 92%, transparent 92%);
  background-repeat: no-repeat; background-size: 100% 100%;
  padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.js .mark { background-size: 0% 100%; transition: background-size 1s cubic-bezier(.2,.7,.2,1) .45s; }
.js .is-in .mark { background-size: 100% 100%; }
.hero__tagline { margin: 30px 0 0; max-width: 760px; font-size: 20px; color: var(--sub); }
.hero__tagline strong { color: var(--ink); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts {
  margin: 88px 0 0; padding: 26px 0 0; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 860px;
}
.hero__facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero__facts dd { margin: 6px 0 0; font-weight: 700; font-size: 17px; }

/* ---------- Roof divider + Projects ---------- */
.roof { height: 72px; background: var(--ink); clip-path: polygon(0 100%, 50% 0, 100% 100%); margin-top: 48px; margin-bottom: -1px; }
.projects { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); isolation: isolate; }
.projects::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 40%; transform: translate(-50%, -50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(245,158,11,0.14), transparent 65%);
}
.projects__roof { position: absolute; z-index: -1; left: 50%; bottom: 0; transform: translateX(-50%); width: min(1200px, 120vw); height: auto; }
.projects__roof polyline { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 18; }
.projects .wrap { padding-top: 96px; padding-bottom: 136px; text-align: center; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(245,158,11,0.35); background: rgba(245,158,11,0.08);
  padding: 8px 14px; border-radius: 99px;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.55); } 50% { box-shadow: 0 0 0 7px rgba(245,158,11,0); } }
.projects h2 { margin: 22px 0 0; font-weight: 900; font-size: clamp(56px, 8vw, 112px); line-height: 0.95; letter-spacing: -0.055em; }
.projects .wrap > p { margin: 22px auto 0; max-width: 540px; font-size: 18px; color: var(--on-dark); }
.notify {
  margin: 40px auto 0; max-width: 540px;
  display: flex; gap: 8px; padding: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px;
}
.notify input {
  flex: 1 1 auto; min-width: 0; min-height: 54px; padding: 0 16px; border-radius: 12px;
  border: 0; background: transparent; color: var(--paper); font: 16px var(--sans);
}
.notify input:focus { outline: none; background: rgba(255,255,255,0.05); }
.notify input::placeholder { color: var(--on-dark-2); }
.notify .btn { border-radius: 12px; flex: none; }

/* ---------- Our software / Prop-Folio ---------- */
.software { background: linear-gradient(var(--paper), var(--sand) 60%, var(--paper)); }
.software .wrap { padding-top: 128px; padding-bottom: 128px; }
.software__intro { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.software__intro h2 { margin: 14px 0 0; font-weight: 900; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -0.045em; }
.software__intro p { margin: 16px 0 0; font-size: 18px; color: var(--sub); }

/* Prop-Folio panel — styled in Prop-Folio's own brand */
.pf {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--pf-bg); color: var(--pf-text);
  border: 1px solid var(--pf-border); border-radius: 28px;
  box-shadow: 0 40px 80px -40px rgba(29,27,24,0.35);
}
.pf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(ellipse 50% 60% at 78% 40%, rgba(245,158,11,0.16), transparent 70%),
    linear-gradient(rgba(29,27,24,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,27,24,0.035) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}
.pf__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 28px; border-bottom: 1px solid var(--pf-border); background: rgba(255,255,255,0.6);
}
.pf__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--pf-serif); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.pf__note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pf-sub); }
.pf-icon {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(160deg, var(--pf-gold), var(--pf-gold-dk)); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-style: italic; font-weight: 700; font-size: 19px;
  box-shadow: 0 4px 10px -4px rgba(217,119,6,0.6);
}
.pf-icon--sm { width: 24px; height: 24px; border-radius: 7px; font-size: 14px; box-shadow: none; }
.pf__body { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 56px; }
.pf__copy { flex: 1 1 440px; }
.pf__title { margin: 0; font-family: var(--pf-serif); font-weight: 500; font-size: clamp(44px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
.pf__title em { color: var(--pf-gold-dk); }
.pf__lede { margin: 18px 0 0; font-size: 18px; color: var(--pf-sub); max-width: 480px; }
.pf__features { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--pf-sub); }
.pf__features li { display: flex; gap: 12px; align-items: flex-start; }
.pf__features strong { color: var(--pf-text); }
.pf__check {
  flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px;
  background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.35); position: relative;
}
.pf__check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid var(--pf-gold-dk); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pf__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.pf__tags li { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--pf-card); border: 1px solid var(--pf-border); padding: 7px 11px; border-radius: 8px; }
.pf__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.pf-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px;
  background: var(--pf-text); color: var(--pf-bg); border-radius: 16px;
  font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .18s ease;
}
.pf-btn:hover { transform: translateY(-2px); }
.pf__small { font-size: 13px; color: var(--pf-sub); }
.pf__device { flex: 0 1 320px; display: flex; justify-content: center; margin: 0 auto; }

.phone {
  width: 280px; border-radius: 44px; border: 10px solid #1D1B18; background: var(--pf-bg);
  padding: 34px 16px 22px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 50px 80px -40px rgba(29,27,24,0.55);
  transform: rotate(3deg);
}
.phone__top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; padding: 0 4px; }
.phone__chip { font-family: var(--mono); font-size: 10px; color: #B45309; background: rgba(245,158,11,0.10); border: 1px solid rgba(245,158,11,0.3); padding: 3px 7px; border-radius: 6px; text-transform: uppercase; }
.phone__card { background: var(--pf-card); border: 1px solid var(--pf-border); border-radius: 16px; padding: 14px; }
.phone__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.phone__row--big { margin-top: 6px; align-items: baseline; }
.phone__tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: #15803D; }
.phone__label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: #6E685C; }
.phone__addr { font-family: var(--pf-serif); font-weight: 600; font-size: 18px; }
.phone__score { font-family: var(--pf-serif); font-size: 30px; color: var(--pf-green); line-height: 1; }
.phone__meter { display: flex; gap: 5px; margin-top: 10px; }
.phone__meter i { flex: 1; height: 7px; border-radius: 4px; background: var(--pf-green); }
.phone__meter i.off { background: var(--pf-border); }
.phone__metrics { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.phone__metrics div { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 8px; }
.phone__metrics b { height: 6px; border-radius: 3px; background: var(--pf-green); }
.phone__metrics b.warn { background: var(--pf-gold-dk); }
.phone__total { display: flex; justify-content: space-between; align-items: center; background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.3); font-size: 12px; font-weight: 600; color: #92400E; }

/* ---------- Contact ---------- */
.contact .wrap { padding-top: 40px; padding-bottom: 112px; }
.contact__card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--paper); border-radius: 32px; padding: 64px;
  display: flex; flex-wrap: wrap; gap: 56px;
  box-shadow: 0 50px 90px -50px rgba(29,27,24,0.7);
}
.contact__roof { position: absolute; z-index: -1; right: -40px; top: -20px; width: 420px; height: auto; }
.contact__roof polyline { fill: none; stroke: rgba(245,158,11,0.12); stroke-width: 16; }
.contact__info { flex: 1 1 360px; }
.contact h2 { margin: 14px 0 0; font-weight: 900; font-size: clamp(38px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.045em; }
.contact__details { margin: 36px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; font-size: 17px; color: var(--on-dark); }
.contact__details li { display: flex; gap: 14px; align-items: flex-start; }
.contact__details svg { flex: none; margin-top: 4px; color: var(--gold); }
.contact__details a { color: var(--paper); font-weight: 700; text-decoration: none; }
.contact__details a:hover { color: var(--gold); }
.contact__details .label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); }
.contact-form {
  flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 22px; padding: 28px;
}
.contact-form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--on-dark); }
.field input, .field select, .field textarea {
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px;
  color: var(--paper); padding: 15px 16px; font: 16px var(--sans); transition: border-color .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.contact-form .btn { align-self: flex-start; margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer .wrap { padding-top: 72px; padding-bottom: 32px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--ink-3); }
.footer__brand { flex: 1 1 280px; }
.footer__brand img { width: 120px; height: 72px; }
.footer__brand p { margin: 20px 0 0; font-size: 15px; line-height: 1.6; }
.footer__brand strong { color: var(--paper); }
.footer__cols { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; }
.footer__cols h3 { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.footer__cols p { margin: 0; font-size: 15px; line-height: 1.9; }
.footer__cols a { color: var(--paper); text-decoration: none; }
.footer__cols a:hover { color: var(--gold); }
.footer__cols .muted { color: var(--on-dark-2); font-size: 13px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; color: var(--on-dark-2); }
.footer__bottom a { color: var(--on-dark); text-decoration: none; }
.footer__bottom a:hover { color: var(--gold); }

/* ---------- Form notes ---------- */
.form-note { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--on-dark-2); }
.form-note a { color: var(--on-dark); }
.form-note a:hover { color: var(--gold); }
.projects .wrap > .form-note--dark { margin: 14px auto 0; max-width: 540px; text-align: center; font-size: 13px; color: var(--on-dark-2); }

/* ---------- Footer legal ---------- */
.footer__legal { display: flex; gap: 18px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid var(--ink-3); }
.footer__legal img { flex: none; width: 40px; height: 40px; }
.footer__legal p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.6; color: var(--on-dark-2); max-width: 900px; }
.footer__legal p:last-child { margin-bottom: 0; }
.footer__legal strong { color: var(--on-dark); }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Legal pages ---------- */
.legal-header { border-bottom: 1px solid var(--border); }
.legal-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.legal-header .back { font-size: 15px; font-weight: 600; text-decoration: none; }
.legal-header .back:hover { color: var(--gold-text); }
.legal { max-width: 760px; margin: 0 auto; padding: 72px 32px 96px; }
.legal h1 { margin: 12px 0 0; font-weight: 900; font-size: clamp(40px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.04em; }
.legal .updated { margin: 14px 0 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legal h2 { margin: 40px 0 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; scroll-margin-top: 24px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: var(--sub); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--gold-text); }
.legal strong { color: var(--ink); }
@media (max-width: 860px) { .legal { padding: 48px 20px 72px; } }

/* ---------- Simple pages ---------- */
.simple { min-height: 70vh; display: flex; align-items: center; }
.simple .wrap { text-align: center; padding-top: 80px; padding-bottom: 80px; }
.simple h1 { margin: 16px 0 0; font-weight: 900; font-size: clamp(44px, 6vw, 72px); letter-spacing: -0.05em; line-height: 1; }
.simple p { margin: 18px auto 32px; max-width: 520px; font-size: 18px; color: var(--sub); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { gap: 22px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px; display: none;
    box-shadow: 0 20px 30px -24px rgba(29,27,24,0.4);
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav > a:not(.btn):not(.nav__pf)::after { display: none; }
  .nav__pf { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: none; padding: 14px 0; }
  .nav .btn { margin-top: 14px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 40px; }
  .hero__roofs { width: 90vw; right: -30vw; bottom: 0; opacity: 0.7; }
  .hero__facts { margin-top: 56px; gap: 16px; }
  .roof { height: 40px; margin-top: 24px; }
  .projects .wrap { padding-top: 64px; padding-bottom: 88px; }
  .software .wrap { padding-top: 80px; padding-bottom: 80px; }
  .pf__bar { padding: 14px 20px; }
  .pf__body { padding: 32px 22px 40px; gap: 40px; }
  .phone { transform: none; }
  .contact .wrap { padding-bottom: 72px; }
  .contact__card { padding: 36px 22px; border-radius: 24px; gap: 36px; }
  .contact-form { padding: 20px; }
}
@media (max-width: 560px) {
  .hero__facts { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .notify { flex-direction: column; }
  .notify .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn svg, .pf-btn { transition: none; }
  .status__dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .mark { background-size: 100% 100%; transition: none; }
}
