/* Keystone Field Services LLC — custom responsive theme */
:root {
  --navy: #102a43;
  --navy-deep: #0a1d2f;
  --navy-mid: #193b58;
  --gold: #d7a64b;
  --gold-light: #edc875;
  --ink: #162a3a;
  --muted: #637483;
  --paper: #f7f6f2;
  --white: #fff;
  --line: #dfe5e8;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); font-family: "DM Sans", sans-serif; line-height: 1.65; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.topbar { background: var(--navy-deep); color: #d9e2e8; font-size: 11px; letter-spacing: .045em; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar p { margin: 0; }
.topbar a { color: var(--gold-light); font-weight: 700; }
.topbar a span { margin-left: 6px; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--gold); border-radius: 50%; vertical-align: 1px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255); border-bottom: 1px solid rgba(16,42,67,.08); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-name { display: flex; flex-direction: column; color: var(--navy); font-family: "Manrope", sans-serif; font-weight: 800; font-size: 17px; letter-spacing: .08em; line-height: 1.2; }
.brand-name small { margin-top: 5px; font-size: 9px; font-weight: 700; letter-spacing: .19em; color: #617282; }
.primary-nav { display: flex; align-items: center; gap: clamp(17px, 2.3vw, 32px); font-size: 12px; font-weight: 700; color: #354b5c; }
.primary-nav > a:not(.nav-cta) { transition: color .2s ease; }
.primary-nav > a:not(.nav-cta):hover { color: #a87928; }
.nav-cta { padding: 13px 17px; background: var(--navy); color: white; }
.nav-cta span { margin-left: 12px; color: var(--gold-light); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--navy); margin: 5px; transition: transform .2s ease; }
.hero { position: relative; min-height: 690px; display: flex; align-items: center; overflow: hidden; background: var(--navy-deep); color: white; }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { background: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=85") center 53%/cover no-repeat; transform: scale(1.02); }
.hero-shade { background: linear-gradient(90deg, rgba(7,24,39,.94) 0%, rgba(10,31,49,.83) 42%, rgba(10,31,49,.24) 100%), linear-gradient(0deg, rgba(7,24,39,.55), transparent 35%); }
.hero-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding-top: 80px; padding-bottom: 110px; }
.hero-copy { max-width: 690px; }
.eyebrow { margin: 0 0 19px; display: flex; align-items: center; gap: 10px; color: #9b7027; font-size: 10px; font-weight: 800; letter-spacing: .19em; line-height: 1.4; }
.eyebrow > span { width: 27px; height: 2px; background: var(--gold); display: inline-block; }
.eyebrow-light { color: #e8d4ad; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(44px, 6.2vw, 76px); font-weight: 700; letter-spacing: -.055em; line-height: 1.08; }
h1 em, h2 em { color: var(--gold-light); font-style: normal; }
.hero-lede { max-width: 550px; margin: 25px 0 30px; color: #d6e0e7; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 0 21px; border: 1px solid transparent; font-size: 11px; font-weight: 800; letter-spacing: .035em; transition: transform .2s ease, background .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 16px; }
.button-gold { background: var(--gold); color: var(--navy-deep); }
.button-gold:hover { background: var(--gold-light); }
.button-outline { border-color: rgba(255,255,255,.45); color: white; background: rgba(255,255,255,.03); }
.button-outline:hover { background: rgba(255,255,255,.12); }
.hero-note { margin-top: 40px; display: flex; align-items: center; gap: 13px; color: #b7c4ce; font-size: 11px; letter-spacing: .03em; }
.note-line { width: 42px; height: 1px; background: var(--gold); }
.hero-stamp { width: 158px; height: 158px; margin: 30px 30px 0 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(237,200,117,.55); border-radius: 50%; color: white; transform: rotate(8deg); text-align: center; }
.stamp-icon { font-family: "Manrope", sans-serif; font-size: 49px; font-weight: 800; color: var(--gold-light); line-height: 1; }
.stamp-label { margin-top: 8px; font-size: 8px; line-height: 1.6; letter-spacing: .14em; }
.stamp-label b { color: var(--gold-light); }
.hero-bottom { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(7,24,39,.78); border-top: 1px solid rgba(255,255,255,.13); }
.hero-bottom-inner { min-height: 59px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #d0d9df; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.hero-bottom-inner i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.section-pad { padding: 110px 0; }
.intro-grid { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: clamp(55px, 9vw, 125px); }
.intro-visual { position: relative; padding: 0 35px 35px 0; }
.intro-image { min-height: 470px; background: url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat; position: relative; z-index: 1; }
.image-caption { position: absolute; z-index: 2; bottom: 0; right: 0; width: 245px; min-height: 100px; display: flex; align-items: center; gap: 17px; padding: 20px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; line-height: 1.5; }
.caption-number { font-family: "Manrope", sans-serif; font-size: 31px; font-weight: 800; }
.gold-square { position: absolute; top: -15px; right: 18px; width: 110px; height: 110px; border: 1px solid var(--gold); }
.intro-copy h2, .value-copy h2, .contact-copy h2 { margin: 0 0 23px; color: var(--navy); font-size: clamp(34px, 4vw, 49px); letter-spacing: -.05em; line-height: 1.16; }
.intro-copy h2 em, .value-copy h2 em, .contact-copy h2 em, .process-heading h2 em { color: #b17c2b; }
.lead { color: #31495a; font-size: 16px; line-height: 1.85; }
.intro-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 22px; margin-top: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--gold); color: var(--navy); font-size: 12px; font-weight: 800; }
.text-link span { color: #b17c2b; font-size: 16px; }
.intro-points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; padding-top: 25px; border-top: 1px solid var(--line); }
.intro-points > div { display: flex; align-items: flex-start; gap: 10px; }
.check { display: grid; place-items: center; flex-shrink: 0; width: 23px; height: 23px; border-radius: 50%; background: #f5e9d0; color: #93671f; font-size: 12px; font-weight: 800; }
.intro-points b, .intro-points small { display: block; }
.intro-points b { color: var(--navy); font-size: 11px; }
.intro-points small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.services { background: var(--navy-deep); color: white; }
.section-heading { margin-bottom: 44px; }
.heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 45px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4.2vw, 51px); letter-spacing: -.05em; line-height: 1.16; }
.heading-description { max-width: 365px; margin: 0 0 6px; color: #b9c7d0; font-size: 13px; line-height: 1.9; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.service-card { min-width: 0; background: #122b41; border: 1px solid rgba(255,255,255,.09); transition: transform .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(215,166,75,.7); }
.service-photo { height: 170px; background-position: center; background-size: cover; }
.photo-inspection { background-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=700&q=80"); }
.photo-maintenance { background-image: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=700&q=80"); }
.photo-repair { background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=700&q=80"); }
.photo-preservation { background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=700&q=80"); }
.service-card-body { position: relative; padding: 25px 22px 24px; }
.service-index { color: var(--gold-light); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.service-icon { position: absolute; top: 13px; right: 18px; display: grid; place-items: center; width: 43px; height: 43px; background: var(--gold); color: var(--navy); font-size: 25px; font-weight: 600; }
.service-card h3 { margin: 20px 0 10px; color: white; font-size: 18px; letter-spacing: -.035em; line-height: 1.3; }
.service-card p { min-height: 95px; margin: 0; color: #b9c7d0; font-size: 12px; line-height: 1.8; }
.service-link { display: inline-flex; align-items: center; gap: 13px; margin-top: 18px; color: #f0d49b; font-size: 10px; font-weight: 800; }
.service-link span { font-size: 15px; }
.services-footnote { margin: 24px 0 0; color: #94a7b5; font-size: 10px; }
.value-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(55px, 9vw, 120px); }
.value-copy .lead { max-width: 520px; margin-bottom: 32px; }
.value-list { border-top: 1px solid var(--line); }
.value-item { display: grid; grid-template-columns: 48px 1fr; gap: 17px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value-no { color: #b17c2b; font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 800; }
.value-item h3 { margin: 0 0 5px; color: var(--navy); font-size: 15px; }
.value-item p { margin: 0; color: var(--muted); font-size: 12px; }
.value-visual { position: relative; padding: 25px 0 65px 40px; }
.value-image { min-height: 520px; background: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat; }
.value-card { position: absolute; left: 0; bottom: 0; width: 245px; min-height: 220px; padding: 27px; background: var(--gold); color: var(--navy); box-shadow: 0 18px 40px rgba(16,42,67,.12); }
.value-card-mark { display: block; font-family: "Manrope", sans-serif; font-size: 43px; font-weight: 800; line-height: 1; }
.value-card p { margin: 14px 0 18px; font-family: "Manrope", sans-serif; font-size: 17px; line-height: 1.5; }
.value-card-rule { display: block; width: 35px; height: 2px; margin-bottom: 12px; background: var(--navy); }
.value-card small { font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.process { background: var(--paper); }
.process-heading { max-width: 700px; text-align: center; margin: 0 auto 52px; }
.process-heading .eyebrow { justify-content: center; }
.process-heading > p:last-child { max-width: 530px; margin: 18px auto 0; color: var(--muted); font-size: 13px; }
.process-heading h2 { margin: 0; color: var(--navy); font-size: clamp(34px, 4.1vw, 49px); line-height: 1.18; letter-spacing: -.05em; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #d7dfe3; }
.process-step { position: relative; padding: 28px 24px 10px 0; }
.process-step:not(:last-child) { border-right: 1px solid #d7dfe3; margin-right: 24px; }
.step-number { color: #a9b4bb; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.step-symbol { display: grid; place-items: center; width: 49px; height: 49px; margin: 27px 0 20px; border: 1px solid #d7b46f; color: #a87928; font-size: 24px; }
.process-step h3 { margin: 0 0 9px; color: var(--navy); font-size: 17px; }
.process-step p { max-width: 230px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: white; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr .65fr; align-items: center; gap: 60px; padding-top: 75px; padding-bottom: 75px; }
.cta-inner h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(38px, 4.5vw, 55px); line-height: 1.12; letter-spacing: -.05em; }
.cta-right { position: relative; z-index: 1; }
.cta-right p { max-width: 380px; margin: 0 0 22px; color: #c4d0d8; font-size: 13px; line-height: 1.8; }
.cta-watermark { position: absolute; right: 4%; top: -100px; color: rgba(255,255,255,.035); font-family: "Manrope", sans-serif; font-size: 420px; font-weight: 800; line-height: 1; pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(55px, 9vw, 120px); align-items: start; }
.contact-copy .lead { margin-top: 0; max-width: 460px; }
.contact-note { display: flex; align-items: flex-start; gap: 14px; max-width: 390px; margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); }
.contact-note-icon { display: grid; place-items: center; width: 37px; height: 37px; flex-shrink: 0; background: #f5e9d0; color: #a87928; }
.contact-note p { margin: 0; color: var(--muted); font-size: 12px; }
.contact-note b { color: var(--navy); }
.contact-form { padding: 32px; background: var(--paper); border-top: 3px solid var(--gold); }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.form-required, .optional { color: #788794; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 17px; color: #31495a; font-size: 11px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #dce3e7; border-radius: 0; outline: none; background: white; color: var(--ink); font-size: 12px; font-weight: 400; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #bd8c3b; box-shadow: 0 0 0 3px rgba(215,166,75,.13); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9ba7af; }
.button-navy { background: var(--navy); color: white; }
.button-navy:hover { background: var(--navy-mid); }
.form-submit { width: 100%; }
.form-disclaimer { margin: 14px 0 0; color: #788794; font-size: 10px; line-height: 1.6; }
.site-footer { background: #081b2b; color: #c0ccd4; }
.footer-main { display: grid; grid-template-columns: 1.3fr .7fr .9fr 1fr; gap: 45px; padding-top: 65px; padding-bottom: 55px; }
.brand-footer .brand-name { color: white; }
.brand-footer .brand-name small { color: #91a2af; }
.footer-brand > p, .footer-contact > p { max-width: 270px; color: #91a2af; font-size: 11px; line-height: 1.9; }
.footer-links h3, .footer-contact h3 { margin: 7px 0 19px; color: white; font-size: 12px; letter-spacing: .02em; }
.footer-links a { display: block; margin: 10px 0; color: #9baab5; font-size: 11px; transition: color .2s ease; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--gold-light); }
.footer-contact-link { display: inline-flex; align-items: center; gap: 17px; padding-bottom: 7px; border-bottom: 1px solid var(--gold); color: var(--gold-light); font-size: 11px; font-weight: 800; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; border-top: 1px solid rgba(255,255,255,.1); color: #8395a2; font-size: 10px; }
.footer-bottom a { color: #c4d0d8; }
.footer-credit { color: #637987; }
@media (max-width: 1000px) {
  .primary-nav { gap: 16px; }
  .primary-nav > a:not(.nav-cta) { font-size: 11px; }
  .nav-cta { padding: 12px; font-size: 10px; }
  .hero-stamp { width: 130px; height: 130px; margin-right: 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-photo { height: 200px; }
  .service-card p { min-height: 65px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .topbar-inner { min-height: 34px; font-size: 9px; }
  .topbar-inner p { max-width: 75%; }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 39px; height: 39px; }
  .brand-name { font-size: 14px; }
  .brand-name small { font-size: 8px; }
  .nav-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; background: white; box-shadow: 0 15px 25px rgba(10,29,47,.12); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.nav-cta) { padding: 13px 8px; border-bottom: 1px solid #edf0f2; font-size: 12px; }
  .nav-cta { margin-top: 12px; text-align: center; padding: 14px; font-size: 11px; }
  .hero { min-height: 690px; }
  .hero-photo { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,24,39,.92), rgba(10,31,49,.69)), linear-gradient(0deg, rgba(7,24,39,.55), transparent 45%); }
  .hero-content { padding-top: 70px; padding-bottom: 105px; }
  .hero-copy { max-width: 600px; }
  .hero h1 { font-size: clamp(42px, 11vw, 64px); }
  .hero-lede { font-size: 14px; }
  .hero-stamp { display: none; }
  .hero-bottom-inner { justify-content: flex-start; overflow: hidden; white-space: nowrap; min-height: 52px; font-size: 8px; gap: 12px; }
  .section-pad { padding: 78px 0; }
  .intro-grid, .value-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-visual { max-width: 550px; }
  .intro-image { min-height: 380px; }
  .intro-copy h2, .value-copy h2, .contact-copy h2 { font-size: clamp(34px, 9vw, 46px); }
  .heading-row { display: block; }
  .heading-description { margin-top: 22px; max-width: 560px; }
  .service-grid { gap: 12px; }
  .service-photo { height: 160px; }
  .service-card-body { padding: 22px 17px; }
  .service-card h3 { font-size: 16px; }
  .service-card p { font-size: 11px; min-height: 95px; }
  .value-visual { max-width: 560px; padding-left: 28px; }
  .value-image { min-height: 400px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { padding: 24px 16px 25px 0; }
  .process-step:not(:last-child) { margin-right: 0; border-right: 0; }
  .process-step:nth-child(odd) { border-right: 1px solid #d7dfe3; margin-right: 18px; }
  .process-step:nth-child(n+3) { border-top: 1px solid #d7dfe3; }
  .cta-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 62px; padding-bottom: 62px; }
  .cta-watermark { right: -10%; top: 30px; font-size: 300px; }
  .contact-form { padding: 24px 20px; }
  .footer-main { gap: 30px 22px; }
}
@media (max-width: 480px) {
  .topbar-inner { justify-content: center; }
  .topbar-inner > a { display: none; }
  .hero { min-height: 670px; }
  .hero-content { padding-top: 60px; }
  .hero h1 { font-size: 42px; }
  .hero-lede { margin-top: 20px; font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 310px; }
  .button { min-height: 50px; justify-content: space-between; }
  .hero-note { align-items: flex-start; font-size: 10px; }
  .intro-image { min-height: 310px; }
  .image-caption { width: 215px; min-height: 85px; padding: 15px; }
  .intro-points { grid-template-columns: 1fr; gap: 15px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-photo { height: 190px; }
  .service-card p { min-height: 0; }
  .service-card h3 { font-size: 19px; }
  .value-image { min-height: 330px; }
  .value-card { width: 210px; min-height: 195px; padding: 22px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(odd) { padding: 23px 0; margin-right: 0; border-right: 0; }
  .process-step:not(:first-child) { border-top: 1px solid #d7dfe3; }
  .step-symbol { margin: 16px 0 14px; }
  .process-step p { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 25px 16px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; padding-top: 17px; padding-bottom: 17px; }
  .footer-credit { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
