/* Public-site presentation correction, September 2026.
 * Loaded after the original styles. No admin, form, database, or JS behavior changes.
 * The 1320px stage holds the artwork together on wide monitors. The hero scales
 * by width, so its mansion and knight no longer zoom to fill a tall text column.
 */
:root {
  --stage-width: 1320px;
  --header-space: clamp(94px, 8.5vw, 112px);
  --content-width: 1220px;
}
body:not(.admin-body) {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  background: #101110 url('cracked-metal-bg.png') center top / 1100px auto fixed;
}
body:not(.admin-body)::before { background: rgb(0 0 0 / .60); }
.page-content, .site-footer {
  width: 100%; max-width: var(--stage-width); margin-inline: auto;
  box-shadow: 0 0 45px #0009;
}
.page-content { padding-top: var(--header-space); }
.page-content h1, .page-content h2, .page-content h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700; letter-spacing: .005em;
}
.page-content h1 { text-shadow: 1px 2px 2px #000; }
.page-content .eyebrow, .page-content .button,
.page-content input, .page-content textarea, .page-content select {
  font-family: Arial, Helvetica, sans-serif;
}
.page-content .button {
  min-height: 46px; border-radius: 5px; padding: 10px 17px;
  font-size: 15px; font-weight: 400; letter-spacing: .015em;
  border: 2px solid #686c54;
  background: linear-gradient(100deg,#28392b,#3b5137 48%,#253a2a);
  box-shadow: inset 0 0 0 1px #b8b29255, inset 0 2px 5px #c2cca225, 0 3px 5px #000b;
}
.page-content .button.secondary { background: linear-gradient(100deg,#28392b,#3b5137 48%,#253a2a); }
/* Shared fixed header: the logo overlaps the hero; navigation stays inside its slab. */
.site-header {
  inset: 0 auto auto 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--stage-width); height: var(--header-space);
  background: #171619; box-shadow: 0 4px 7px #0008;
}
.header-inner { max-width: none; grid-template-columns: 36% 64%; height: 100%; }
.brand { aspect-ratio: 2.85; height: auto; filter: drop-shadow(0 5px 4px #0009); }
.brand-stone { inset: -3% -1% auto; width: 102%; height: 105%; object-fit: fill; }
.brand-logo { left: 5%; top: 9%; width: 90%; height: auto; }
.navigation-panel {
  min-height: 0; height: var(--header-space); margin-left: -10px;
  border: 0; box-shadow: none; background: #1a181a;
}
.navigation-art {
  inset: -22% auto auto -4%; width: 104%; height: auto;
  object-fit: contain; opacity: 1;
}
.service-area {
  width: auto; right: 10%; top: 28px; margin: 0;
  color: #bcb4a2; font: 600 14px/1.3 Arial,Helvetica,sans-serif;
}
.primary-navigation { left: 4%; right: 7%; bottom: 22%; }
.primary-navigation > ul { gap: 12px; }
.nav-item > a {
  font: 700 16px/1.35 Arial,Helvetica,sans-serif;
  letter-spacing: 0; padding: 8px 0;
}
.submenu-toggle { min-width: 22px; height: 34px; }
.primary-navigation .submenu { width: 300px; }
.primary-navigation .submenu a { font: 600 16px/1.4 Arial,Helvetica,sans-serif; }
/* Desktop composition. Crop only the lower decorative tail of the wide artwork,
 * not its sides; keep the photo, angled boundary and text in separate regions.
 */
.hero {
  margin-top: 0; min-height: 0; aspect-ratio: 2.95;
  background: #171817; overflow: hidden;
  border-bottom: 2px solid #8a806d;
  box-shadow: none;
}
.hero-art {
  inset: 0; background: url('hero-master.png') center top / 100% auto no-repeat;
}
.hero::after {
  inset: auto 0 0; height: 12px;
  background: url('horizontal-ornament.png') center / 100% 100% no-repeat;
  opacity: .85;
}
.hero-video { object-fit: cover; object-position: center top; }
.hero-copy {
  width: 46%; max-width: none; padding: 5.2% 1% 2% 6.7%;
}
.hero-copy .eyebrow {
  font: 700 clamp(14px,1.4vw,18px)/1.3 Arial,Helvetica,sans-serif;
  letter-spacing: .012em; margin: 0 0 13px; text-align: center;
}
.hero-copy h1 {
  font: 700 clamp(32px,3.45vw,45px)/1.13 Georgia,'Times New Roman',serif;
  letter-spacing: 0; text-wrap: balance; margin: 0 0 17px;
  color: #e5d8bf; text-shadow: 1px 3px 2px #000;
}
.hero-copy > p:not(.eyebrow) {
  font: 400 clamp(14px,1.27vw,17px)/1.45 Arial,Helvetica,sans-serif;
  margin: 0 0 16px; color: #d2c8b6; max-width: none;
}
.hero-points {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 7px; margin: 0; font: 600 12px/1.25 Arial,Helvetica,sans-serif;
  letter-spacing: 0;
}
.hero-points li { gap: 6px; border-right: 1px solid #988e6b66; padding-right: 5px; }
.hero-points li:last-child { border: 0; }
.hero-points li::before { font-size: 16px; color: #b0a28b; text-shadow: 1px 2px #000; }
.hero-actions { gap: 12px; margin: 21px 0 0; flex-wrap: nowrap; }
.hero-actions .button { flex: 1; padding: 9px 8px; font-size: 14px; text-align: center; }
.hero-plaque {
  right: 1.4%; bottom: 5%; max-width: none; width: 27%;
  gap: 9px; padding: 12px 14px 12px 22px; min-height: 58px;
  background: linear-gradient(110deg,#242620f0,#171817ed);
  border: 1px solid #8d8574; box-shadow: inset 0 0 0 3px #24241f,0 4px 8px #0008;
  clip-path: polygon(7% 0,100% 0,100% 100%,0 100%);
}
.hero-plaque::before { width: 29px; height: 37px; flex-basis: 29px; background-size: 116px auto; background-position: left center; }
.hero-plaque span { font: 700 16px/1.25 Arial,Helvetica,sans-serif; letter-spacing: 0; }
.hero-scroll-cue { /* Retain the link for keyboard/screen-reader use without adding a competing visual label. */
  left: auto; right: 1%; bottom: 2px; transform: none;
  font: 600 10px/1 Arial,Helvetica,sans-serif; letter-spacing: .02em;
}
.hero-scroll-cue::after { display: none; }
/* Five compact parchment cells, with the existing expand/collapse interaction. */
.service-band {
  padding: 12px 0 10px;
  background: radial-gradient(ellipse at 15% 20%,#fff0cf66,transparent 45%),
    radial-gradient(ellipse at 72% 90%,#86674955,transparent 40%),
    linear-gradient(180deg,#9c8260,#ddc7a0 13%,#d3bd96 80%,#a88a63);
  border-inline: 2px solid #60554a;
}
.service-band::before, .service-band::after {
  height: 10px; opacity: 1;
  background: url('horizontal-ornament.png') center / 100% 100% no-repeat;
}
.service-grid { width: calc(100% - 42px); grid-template-columns: repeat(var(--service-count,5),minmax(0,1fr)); }
.service-card {
  min-height: 148px; padding: 10px 15px 12px;
  border-color: #66543a88; color: #262219;
}
.service-icon {
  float: left; width: 38px; height: 40px; margin: 0 10px 9px 0;
  font: 400 31px/1 Georgia,serif; border: 0; border-radius: 0;
  color: #49463d; background: none;
  box-shadow: none; text-shadow: 1px 1px #f3dec099,-1px -1px #171710;
}
.service-card .service-icon { font-size: 0; background: center / contain no-repeat; filter: drop-shadow(1px 2px 1px #27251d99); }
.service-card .service-icon-thermal { background-image: url('icons/thermal.svg'); }
.service-card .service-icon-camera { background-image: url('icons/camera.svg'); }
.service-card .service-icon-storm { background-image: url('icons/storm.svg'); }
.service-card .service-icon-hail { background-image: url('icons/hail.svg'); }
.service-card .service-icon-home { background-image: url('icons/home.svg'); }
.service-card h3 {
  display: flex; align-items: center; min-height: 40px;
  margin: 0 0 10px;
  font: 700 15px/1.2 Georgia,'Times New Roman',serif;
  letter-spacing: 0;
}
.service-card > p { clear: both; font: 400 15px/1.4 Arial,Helvetica,sans-serif; }
.service-card .service-details { clear: both; font-family: Arial,Helvetica,sans-serif; }
.service-card .service-details p { font-family: inherit; }
.service-card:hover .service-icon, .service-card.is-open .service-icon { background-color: transparent; }
/* Restore the tighter lower band, stone crest and parchment callout. */
.trust-band {
  padding: 58px 0 32px; overflow: hidden;
  background: #181a17 url('cracked-metal-bg.png') center / cover;
  border-top: 3px ridge #787466; border-bottom: 2px solid #665c4b;
}
.trust-band::before { background: #06080699; mix-blend-mode: normal; opacity: 1; }
.trust-grid { width: calc(100% - 56px); grid-template-columns: 1.15fr .85fr 1.2fr; gap: 24px; }
.trust-brand { gap: 16px; }
.trust-brand img { width: 77px; height: 103px; object-fit: cover; object-position: left center; flex-shrink: 0; }
.trust-brand p { font: 400 20px/1.35 Georgia,serif; letter-spacing: -.015em; margin: 0; color: #c9bfa8; }
.trust-list { gap: 8px; font: 400 16px/1.3 Arial,Helvetica,sans-serif; text-transform: none; letter-spacing: 0; }
.trust-list li { gap: 9px; }
.angel-callout {
  isolation: isolate; display: flex; align-items: center; min-height: 150px;
  margin: 0; padding: 25px 184px 22px 34px;
  border-radius: 8px; overflow: visible;
  background:
    linear-gradient(90deg,#796545 0,#c4ad81 6%,#ead9ad 20%,#d7c394 72%,#9b815a 100%);
  border: 2px solid #77684c;
  box-shadow: inset 11px 0 12px #5c4c3788,inset -11px 0 12px #5c4c3788,0 7px 12px #000a;
}
.angel-callout::before,
.angel-callout::after {
  content: ""; position: absolute; z-index: 0; top: 8px; bottom: 8px; width: 29px;
  border: 2px solid #6e5c40; border-radius: 50%;
  background: linear-gradient(90deg,#675338,#b99e72 27%,#ead7aa 53%,#8d724e 79%,#5c492f);
  box-shadow: inset 0 0 7px #5b482f,0 3px 7px #0008;
}
.angel-callout::before { left: -15px; }
.angel-callout::after { right: -15px; }
.angel-callout > div { position: relative; z-index: 4; width: 100%; max-width: 210px; transform: translateX(-27px); }
.angel-callout h3 { font: 700 20px/1.12 Georgia,'Times New Roman',serif; text-align: center; text-transform: none; }
.angel-callout p { font: 400 16px/1.3 Arial,Helvetica,sans-serif; text-align: center; margin: 7px 0 0; }
.angel-figure {
  width: clamp(235px,20vw,285px); right: -42px; bottom: -10px;
  pointer-events: none; z-index: 3;
  filter: drop-shadow(-7px 8px 6px #000a);
  transition: filter .45s ease;
}
.angel-frame {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: contain; opacity: 1; transition: opacity .48s ease;
}
.angel-frame-hover { opacity: 0; }
.angel-callout:hover .angel-frame-rest,
.angel-callout:focus-visible .angel-frame-rest,
.angel-callout.is-activated .angel-frame-rest { opacity: 0; }
.angel-callout:hover .angel-frame-hover,
.angel-callout:focus-visible .angel-frame-hover,
.angel-callout.is-activated .angel-frame-hover { opacity: 1; }
.angel-callout:hover .angel-figure,
.angel-callout:focus-visible .angel-figure,
.angel-callout.is-activated .angel-figure {
  transform: none; filter: drop-shadow(-7px 8px 6px #000a) drop-shadow(0 0 9px #b9dfff55);
}
.angel-eye {
  top: 25.5%; width: 4px; height: 4px;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 3px 1px #e7fbff,0 0 8px 3px #31aaff;
}
.angel-eye-left { left: 47.25%; }
.angel-eye-right { left: 52.75%; }
.angel-callout:hover .angel-eye,
.angel-callout:focus-visible .angel-eye,
.angel-callout.is-activated .angel-eye { animation: angel-eye-wake .8s ease-out .12s both; }
@keyframes angel-eye-wake {
  0%,28% { opacity: 0; transform: translate(-50%,-50%) scale(.35); }
  60% { opacity: 1; transform: translate(-50%,-50%) scale(1.18); }
  100% { opacity: .92; transform: translate(-50%,-50%) scale(1); }
}
.content-section { padding: 55px 0; }
.page-banner { margin-top: 0; }
.page-banner h1 { font-family: Georgia,'Times New Roman',serif; font-weight: 700; }
.site-footer { padding-top: 35px; }
.footer-inner, .footer-bottom { width: calc(100% - 56px); }
/* Match the existing JavaScript menu breakpoint exactly. */
@media (max-width:1100px) {
  :root { --header-space: 98px; }
  .header-inner { grid-template-columns: 340px minmax(0,1fr); }
  .navigation-panel { height: var(--header-space); }
  .menu-toggle { bottom: 16px; right: 24px; }
  .primary-navigation {
    top: calc(100% + 4px); bottom: auto; left: auto; right: 16px;
    width: 330px; max-height: calc(100dvh - 120px);
  }
  .nav-item > a { padding: 12px; }
  .primary-navigation .submenu { width: 100%; }
  .hero { min-height: 394px; aspect-ratio: auto; }
  .hero-copy { width: 47%; padding-top: 5%; padding-bottom: 28px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-actions .button { font-size: 12px; }
  .hero-points { font-size: 11px; }
  .hero-plaque span { font-size: 13px; }
  .service-grid { grid-template-columns: repeat(var(--service-count,5),minmax(0,1fr)); width: calc(100% - 22px); }
  .service-card { padding-inline: 10px; }
  .service-card:nth-child(4) { border-left: 0; }
  .service-card:nth-child(n+4) { border-top: 0; }
  .service-card h3 { font-size: 13px; }
  .service-card > p { font-size: 14px; }
  .trust-grid { grid-template-columns: 1fr .9fr 1.1fr; gap: 15px; }
  .trust-brand p { font-size: 16px; }
  .trust-list { font-size: 14px; }
  .angel-callout { grid-column: auto; padding-right: 150px; padding-left: 25px; }
  .angel-callout > div { max-width: 165px; transform: translateX(-18px); }
  .angel-callout h3 { font-size: 19px; }
  .angel-figure { width: 235px; right: -36px; }
}
/* Mobile composition: show the complete wide artwork, then readable live copy.
 * The video occupies exactly the same artwork window, never the text area.
 */
@media (max-width:900px) {
  .hero { display: flex; flex-direction: column; min-height: 0; aspect-ratio: auto; }
  .hero-art { position: relative; inset: auto; flex: none; width: 100%; aspect-ratio: 1916 / 821; }
  .hero-video { height: calc(100vw * 821 / 1916); }
  .hero-copy {
    width: 100%; padding: 28px 7% 32px;
    background: linear-gradient(#121511dd,#121511dd),url('cracked-metal-bg.png') center / cover;
  }
  .hero-copy .eyebrow { text-align: left; font-size: 16px; }
  .hero-copy h1 { max-width: 650px; font-size: clamp(32px,5.5vw,44px); text-wrap: balance; }
  .hero-copy > p:not(.eyebrow) { font-size: 17px; }
  .hero-points { max-width: 620px; font-size: 13px; }
  .hero-actions { display: flex; max-width: 620px; flex-wrap: nowrap; }
  .hero-actions .button { font-size: 15px; }
  .hero-plaque { top: calc(100vw * 821 / 1916 - 62px); bottom: auto; width: 36%; min-height: 42px; padding: 6px 12px 6px 17px; }
  .hero-plaque span { font-size: 12px; }
  .hero-plaque::before { height: 29px; }
  .hero-scroll-cue { display: none; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { padding: 18px; min-height: 135px; }
  .service-card:nth-child(n) { border: 0; border-bottom: 1px solid #66543a88; }
  .service-card:nth-child(odd) { border-right: 1px solid #66543a88; }
  .service-card h3 { font-size: 17px; }
  .service-card > p { font-size: 16px; }
  .service-card:last-child { grid-column: 1/-1; border-right: 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .trust-band { padding-top: 56px; }
  .angel-callout { grid-column: 1/-1; min-height: 150px; margin-top: 18px; padding: 27px 210px 22px 40px; }
  .angel-callout > div { max-width: calc(100% - 190px); transform: translateX(-18px); }
  .angel-figure { width: min(270px,42vw); right: -18px; bottom: -9px; }
  .trust-brand p { font-size: 18px; }
}
@media (max-width:600px) {
  :root { --header-space: 82px; }
  .header-inner { grid-template-columns: minmax(0,1fr) 105px; }
  .brand { min-height: 0; height: 100px; max-width: 300px; aspect-ratio: auto; }
  .brand-stone { inset: -3px 0 auto; width: 100%; height: 101px; }
  .brand-logo { left: 5%; top: 13px; width: 90%; }
  .navigation-panel { margin-left: -10px; height: 82px; min-height: 0; }
  .navigation-art, .service-area { display: none; }
  .menu-toggle { right: 12px; bottom: 16px; }
  .primary-navigation { position: fixed; top: 88px; right: 12px; width: calc(100vw - 24px); max-height: calc(100dvh - 104px); }
  .hero-copy { padding: 24px 22px 30px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-copy .eyebrow { font-size: 14px; }
  .hero-plaque { right: 10px; width: 45%; top: calc(100vw * 821 / 1916 - 48px); min-height: 36px; padding: 5px 8px 5px 12px; }
  .hero-plaque::before { display: none; }
  .hero-plaque span { font-size: 10px; }
  .hero-points { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .button { width: 100%; font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; width: calc(100% - 24px); }
  .service-card:nth-child(n) { grid-column: auto; border-right: 0; min-height: 0; }
  .trust-grid { grid-template-columns: 1fr; width: calc(100% - 40px); }
  .trust-brand { align-items: center; }
  .trust-brand img { width: 77px; }
  .trust-brand p { font-size: 20px; }
  .trust-list { font-size: 16px; }
  .trust-band { padding-top: 48px; }
  .angel-callout { min-height: 142px; margin-top: 18px; padding: 24px 145px 19px 24px; }
  .angel-callout > div { max-width: calc(100% - 125px); transform: translateX(-12px); }
  .angel-callout h3 { font-size: 18px; }
  .angel-callout p { font-size: 14px; }
  .angel-figure { width: min(215px,58vw); right: -22px; bottom: -7px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion:reduce) {
  .angel-callout:hover .angel-figure, .angel-callout:focus-visible .angel-figure,
  .angel-callout.is-activated .angel-figure { transform: none; }
  .angel-frame, .angel-eye { transition: none; animation: none !important; }
}
