:root {
  --ink: #10222f;
  --ink-deep: #08151d;
  --paper: #f7f5ef;
  --paper-strong: #fffdf8;
  --line: rgba(16, 34, 47, 0.18);
  --brass: #a98242;
  --brick: #8b4638;
  --moss: #43594c;
  --blue: #49758e;
  --max: 1240px;
  --ease-premium: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}
img { display: block; width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(255,255,255,.24);
  color: white;
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { width: 260px; filter: none; }
.main-nav { display: flex; justify-content: center; gap: 28px; }
.main-nav a {
  color: white;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, opacity 160ms ease;
}
.main-nav a:hover { color: #e4c883; }
.header-cta, .button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  background: var(--paper-strong);
  color: var(--ink-deep);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms var(--ease-premium), box-shadow 180ms var(--ease-premium), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.header-cta:hover, .button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(8,21,29,.18); }
.header-cta:active, .button:active { transform: scale(.97); box-shadow: none; }
.button.dark { background: var(--ink); color: white; }
.button.ghost { background: transparent; border-color: rgba(255,255,255,.52); color: white; }

.hero {
  min-height: 780px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  color: white;
  background: #111 center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4,14,20,.84) 0%, rgba(4,14,20,.55) 39%, rgba(4,14,20,.08) 72%),
              linear-gradient(0deg, rgba(4,14,20,.62), transparent 42%);
}
.hero-content {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 180px 0 84px;
}
.eyebrow {
  margin: 0 0 22px;
  color: #e4c883;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 6.4vw, 6.7rem);
  font-weight: 400;
  line-height: .93;
}
.hero-lead { max-width: 670px; font-size: 1.1rem; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin: 22px 0 0; font-size: .75rem; color: rgba(255,255,255,.72); }

.proof-bar { background: var(--ink); color: white; }
.proof-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-item { padding: 25px 26px; border-right: 1px solid rgba(255,255,255,.16); }
.proof-item:first-child { border-left: 1px solid rgba(255,255,255,.16); }
.proof-item strong { display: block; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.proof-item span { color: rgba(255,255,255,.66); font-size: .72rem; text-transform: uppercase; }

.section { padding: 110px 0; }
.section.compact { padding: 76px 0; }
.inner { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: end; margin-bottom: 52px; }
.section-kicker { color: var(--brick); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
h2 { font-family: Georgia, serif; font-size: clamp(2.4rem, 4.4vw, 4.7rem); font-weight: 400; line-height: 1.02; }
.section-head p { max-width: 640px; margin-bottom: 7px; color: #52616a; font-size: 1rem; }

.architecture-grid {
  display: grid;
  grid-template-columns: 1.45fr .85fr .85fr;
  grid-template-rows: 360px 360px;
  gap: 16px;
}
.architecture-card { position: relative; overflow: hidden; min-height: 260px; background: #ddd; }
.architecture-card:first-child { grid-row: 1 / 3; }
.architecture-card img { height: 100%; object-fit: cover; transition: transform 700ms var(--ease-soft), filter 360ms ease; }
.architecture-card:hover img { transform: scale(1.025); filter: saturate(1.04) contrast(1.02); }
.architecture-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 65px 24px 22px;
  color: white;
  background: linear-gradient(transparent, rgba(4,14,20,.82));
}
.architecture-label strong { display: block; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.architecture-label span { font-size: .72rem; color: rgba(255,255,255,.72); text-transform: uppercase; }

.services { background: #e9ece7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service {
  min-height: 245px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease, transform 180ms var(--ease-premium), box-shadow 180ms var(--ease-premium);
}
.service:hover { background: rgba(255,253,248,.72); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16,34,47,.08); }
.service:nth-child(3n+1) { border-left: 1px solid var(--line); }
.service-number { color: var(--brass); font-family: Georgia, serif; font-size: 1.05rem; }
.service h3 { margin: 50px 0 10px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.service p { margin-bottom: 0; color: #5a676d; font-size: .9rem; }

.split-story { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 680px; }
.split-story .image { min-height: 570px; background: center / cover; }
.split-copy { display: flex; align-items: center; padding: 80px max(48px, calc((100vw - var(--max))/2)); background: var(--ink-deep); color: white; }
.split-copy > div { max-width: 510px; }
.split-copy h2 { font-size: clamp(2.5rem, 4vw, 4.3rem); }
.split-copy p { color: rgba(255,255,255,.72); }
.detail-list { margin: 32px 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.detail-list li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: .82rem; text-transform: uppercase; }

.quote { padding: 100px 0; text-align: center; }
.quote blockquote { max-width: 900px; margin: 0 auto 28px; font-family: Georgia, serif; font-size: clamp(2rem, 3.6vw, 3.75rem); line-height: 1.12; }
.quote cite { color: #657179; font-size: .78rem; font-style: normal; text-transform: uppercase; }

.studio-teaser { padding: 0; background: #081922; color: white; }
.studio-teaser-layout { display: grid; grid-template-columns: 1.3fr .7fr; min-height: 650px; }
.studio-teaser-media { position: relative; overflow: hidden; min-height: 560px; border-right: 1px solid rgba(255,255,255,.14); }
.studio-teaser-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.studio-teaser-media span {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 11px 14px;
  background: #c99b55;
  color: #101b22;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
}
.studio-teaser-copy { display: flex; align-items: center; padding: 72px clamp(42px, 5vw, 86px); }
.studio-teaser-copy > div { max-width: 470px; }
.studio-teaser-copy h2 { margin-bottom: 22px; }
.studio-teaser-copy p { color: rgba(255,255,255,.7); }
.studio-teaser-points { margin: 28px 0 32px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.studio-teaser-points li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: .76rem; text-transform: uppercase; }

.project-cta { position: relative; min-height: 590px; display: flex; align-items: center; color: white; background: #111 center / cover; isolation: isolate; }
.project-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5,16,23,.66); }
.project-cta .inner { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: end; }
.project-cta h2 { margin-bottom: 0; }
.project-cta p { max-width: 520px; color: rgba(255,255,255,.78); }

.site-footer { padding: 60px 0 30px; background: #071219; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; }
.footer-grid img { width: 230px; }
.footer-grid h3 { font-size: .72rem; text-transform: uppercase; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.65); font-size: .82rem; text-decoration: none; }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.45); font-size: .7rem; }

.review-dock {
  position: fixed;
  z-index: 50;
  top: auto;
  bottom: 18px;
  right: 14px;
}
.review-dock details { position: relative; }
.review-dock summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(6,18,25,.82);
  color: white;
  cursor: pointer;
  font-size: 0;
  backdrop-filter: blur(12px);
}
.review-dock summary::after { content: "⋮"; font-size: 1.45rem; line-height: 1; }
.review-menu {
  position: absolute;
  top: auto;
  bottom: 52px;
  right: 0;
  width: 250px;
  padding: 8px;
  background: white;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.review-menu a { display: block; padding: 12px 13px; color: var(--ink); font-size: .76rem; font-weight: 700; text-decoration: none; }
.review-menu a:hover { background: #eef0ec; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 76px; }
  .brand img { width: 210px; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .hero { min-height: 720px; background-position: 62% center; }
  .hero::before { background: linear-gradient(0deg, rgba(4,14,20,.88) 0%, rgba(4,14,20,.52) 58%, rgba(4,14,20,.1)); }
  .hero-content { padding: 170px 0 56px; }
  h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .proof-inner { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(3) { border-left: 1px solid rgba(255,255,255,.16); }
  .section { padding: 78px 0; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .architecture-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 460px 280px 280px; }
  .architecture-card:first-child { grid-column: 1 / 3; grid-row: auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3n+1) { border-left: 0; }
  .service:nth-child(odd) { border-left: 1px solid var(--line); }
  .split-story { grid-template-columns: 1fr; }
  .split-story .image { min-height: 460px; }
  .split-copy { padding: 72px 32px; }
  .project-cta .inner, .footer-grid { grid-template-columns: 1fr; }
  .studio-teaser-layout { grid-template-columns: 1fr; }
  .studio-teaser-media { min-height: 460px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .studio-teaser-copy { padding: 68px 32px; }
}

@media (max-width: 560px) {
  .header-inner, .hero-content, .inner, .proof-inner { width: min(calc(100% - 28px), var(--max)); }
  .brand img { width: 186px; }
  .hero { min-height: 690px; }
  .hero-content { padding-bottom: 42px; }
  .eyebrow { margin-bottom: 15px; }
  h1 { font-size: 3.55rem; }
  .hero-lead { font-size: .98rem; }
  .hero-actions .button { width: 100%; }
  .proof-inner { width: 100%; }
  .proof-item { padding: 18px 15px; }
  .section { padding: 64px 0; }
  h2 { font-size: 2.8rem; }
  .architecture-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 320px); }
  .architecture-card:first-child { grid-column: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service, .service:nth-child(odd), .service:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .service { min-height: 210px; }
  .service h3 { margin-top: 32px; }
  .split-story .image { min-height: 360px; }
  .quote { padding: 70px 0; }
  .project-cta { min-height: 650px; background-position: 58% center; }
  .studio-teaser-media { min-height: 330px; }
  .footer-grid { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .architecture-card img { transition: none; }
  .header-cta:hover, .button:hover, .service:hover, .architecture-card:hover img { transform: none !important; box-shadow: none !important; filter: none !important; }
}

/* RoofReady is intentionally direct, technical, and fast to scan. */
.route-roof { background: #071720; color: white; }
.route-roof .site-header { background: rgba(5,17,25,.84); backdrop-filter: blur(14px); }
.route-roof .hero {
  min-height: 720px;
  background-position: 67% center;
}
.route-roof .hero::before {
  background: linear-gradient(90deg, #071720 0%, rgba(7,23,32,.95) 40%, rgba(7,23,32,.14) 72%);
}
.route-roof h1,
.route-roof h2,
.route-roof h3 { font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; font-weight: 700; }
.route-roof h1 { max-width: 690px; font-size: clamp(3.5rem, 6.2vw, 6.4rem); line-height: .96; }
.route-roof .eyebrow { color: #63c4d6; }
.route-roof .proof-bar { background: #0c2a36; }
.route-roof .services { color: white; background-color: #0a202a; background-image: linear-gradient(rgba(99,196,214,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(99,196,214,.06) 1px, transparent 1px); background-size: 44px 44px; }
.route-roof .section-head p,
.route-roof .service p { color: rgba(255,255,255,.68); }
.route-roof .service-grid,
.route-roof .service,
.route-roof .service:nth-child(odd),
.route-roof .service:nth-child(3n+1) { border-color: rgba(255,255,255,.15); }
.route-roof .service-number { color: #63c4d6; }
.route-roof .quote { background: #f4f3ed; color: var(--ink); }
.route-roof .button { background: #63c4d6; color: #06141b; }
.route-roof .button.ghost { background: transparent; color: white; border-color: rgba(255,255,255,.5); }

/* Property Partner uses a quieter, documentation-led commercial language. */
.route-property { background: #eef0ec; }
.route-property .site-header { position: relative; color: var(--ink); background: var(--paper-strong); border-bottom-color: var(--line); }
.route-property .main-nav a { color: var(--ink); }
.route-property .header-cta { background: var(--ink); color: white; }
.route-property .hero { min-height: 680px; color: var(--ink); background-position: center 42%; }
.route-property .hero::before { background: linear-gradient(90deg, rgba(247,245,239,.98) 0%, rgba(247,245,239,.91) 39%, rgba(247,245,239,.08) 70%); }
.route-property .hero-content { padding: 100px 0 80px; }
.route-property h1 { max-width: 720px; font-size: clamp(3.3rem, 5.7vw, 6rem); }
.route-property .hero-lead { color: #43535d; }
.route-property .hero-note { color: #627079; }
.route-property .eyebrow { color: var(--brick); }
.route-property .button.ghost { color: var(--ink); border-color: rgba(16,34,47,.45); }
.route-property .proof-bar { background: #2e463d; }
.route-property .services { background: #dde3de; }
.route-property .split-copy { background: #2e463d; }

@media (max-width: 900px) {
  .route-roof .hero::before { background: linear-gradient(0deg, rgba(7,23,32,.96), rgba(7,23,32,.2)); }
  .route-property .site-header { position: absolute; color: white; background: rgba(7,18,25,.52); }
  .route-property .hero { min-height: 730px; color: white; background-position: 58% center; }
  .route-property .hero::before { background: linear-gradient(0deg, rgba(6,18,25,.92), rgba(6,18,25,.1)); }
  .route-property .hero-lead, .route-property .hero-note { color: rgba(255,255,255,.78); }
  .route-property .button.ghost { color: white; border-color: rgba(255,255,255,.55); }
}
