/* Rocky Mountain Building Co. mockup */
:root {
  --bg: #FAF7F2;          /* warm white */
  --ink: #2A2A28;         /* charcoal */
  --ink-2: #57564F;
  --stone: #ECE6DC;       /* light stone, from the RMBC tile */
  --line: #DCD4C6;
  --accent: #394F5A;      /* slate-teal, from the RMBC tile */
  --accent-dk: #2C3F48;
  --accent-lt: #E3E9EA;
  --radius: 6px;
  --gap: 80px;
  --wrap: 1200px;
  font-family: "Instrument Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; interpolate-size: allow-keywords; }
body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 5vw, 62px); }
h2 { font-size: clamp(30px, 3.4vw, 42px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 820px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: 20px; color: var(--ink-2); max-width: 34em; }
.lede-sm { color: var(--ink-2); }
.muted { color: var(--ink-2); font-size: 16px; }


/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 24px; border-radius: var(--radius); font: 600 16px/1.2 inherit; text-decoration: none; border: 2px solid var(--accent); cursor: pointer; transition: background .15s, color .15s; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 28px 0; }
.text-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand-word { font-weight: 700; font-size: 14px; line-height: 1.1; letter-spacing: .1em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { background: none; border: 0; font: 500 16px/1 inherit; color: var(--ink); text-decoration: none; padding: 12px 14px; border-radius: var(--radius); cursor: pointer; }
.nav-link:hover { background: var(--stone); }
.nav-cta { margin-left: 10px; padding: 12px 20px; }
.nav-item { position: relative; }
.caret { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 6px; }
.mega { position: absolute; top: calc(100% + 8px); left: -20px; display: none; grid-template-columns: 1fr 1fr; gap: 36px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 30px; box-shadow: 0 18px 40px rgba(42,42,40,.12); min-width: 480px; }
.mega::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.open .mega { display: grid; }
.mega-head, .footer-head { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; }
.mega ul, .footer-grid ul, .link-list { list-style: none; margin: 0; padding: 0; }
.mega a { display: block; padding: 7px 0; text-decoration: none; font-size: 16px; }
.mega a:hover { color: var(--accent); }
.menu-toggle { display: none; }

/* sections */
.section { padding: var(--gap) 0; }
.section-stone { background: var(--stone); }
.section-dark { background: var(--accent-dk); color: #fff; }
.section-dark .eyebrow { color: #B9CBD1; }
.section-head { margin-bottom: 40px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.head-row h2 { margin: 0; }

/* hero */
.hero { padding: 64px 0 var(--gap); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-media { position: relative; }
.hero-media img { border-radius: 10px; aspect-ratio: 5/4; object-fit: cover; width: 100%; }

/* google badge */
.g-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.g-logo { width: 18px; height: 18px; }
.g-score { font-weight: 700; }
.stars { color: #E7A322; letter-spacing: 1px; font-size: 16px; }
.g-count { color: var(--ink-2); }
.g-link { color: var(--accent); font-weight: 600; text-decoration: none; margin-left: 4px; }
.g-link:hover { text-decoration: underline; }

/* what we build */
.build-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.build-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.build-img img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.build-body { padding: 30px 32px 34px; }
.build-body > p { color: var(--ink-2); }
.link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; margin-top: 18px; }
.link-list a { display: block; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 16px; }
.link-list a::after { content: " →"; color: var(--accent); }
.link-list a:hover { color: var(--accent); }

/* projects */
.proj-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; height: 560px; }
.proj { position: relative; display: block; overflow: hidden; border-radius: 10px; text-decoration: none; color: #fff; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.proj:hover img { transform: scale(1.03); }
.proj-large { grid-row: span 2; }
.proj-label { position: absolute; inset: auto 0 0 0; padding: 40px 22px 18px; background: linear-gradient(transparent, rgba(0,0,0,.6)); display: flex; flex-direction: column; }
.proj-label strong { font-size: 20px; }
.proj-label span { font-size: 14px; opacity: .9; }

/* reviews */
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 32px 34px; }
.review blockquote { margin: 12px 0 18px; font-size: 20px; line-height: 1.5; }
.review figcaption { display: flex; flex-direction: column; font-size: 15px; }
.review figcaption span { color: var(--ink-2); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.step { background: var(--bg); border-radius: 10px; padding: 30px; position: relative; }
.step-num { display: block; font-size: 40px; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.step p { color: var(--ink-2); font-size: 17px; }
.step-note { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-lt); color: var(--accent-dk) !important; font-weight: 600; padding: 12px 14px; border-radius: 6px; font-size: 15px !important; margin: 0; }
.step-note svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; margin-top: 1px; }

/* team */
.team-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.people { display: grid; gap: 18px; margin: 28px 0; }
.person { display: flex; gap: 18px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.person h3 { margin: 0 0 2px; font-size: 20px; }
.person p { margin: 0; font-size: 16px; color: var(--ink-2); }
.person .person-role { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--stone); }

/* estimate form */
.estimate-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.estimate-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: #DCE5E8; }
.field input, .field select, .field textarea { font-size: 17px; line-height: 1.4; padding: 13px 14px; border-radius: var(--radius); border: 1px solid transparent; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #9FB8C0; outline-offset: 1px; }
.section-dark .btn-solid { background: #fff; color: var(--accent-dk); border-color: #fff; }
.section-dark .btn-solid:hover { background: var(--stone); }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-thanks { background: rgba(255,255,255,.1); padding: 16px 18px; border-radius: 6px; margin: 0; }
.contact-aside { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 32px; margin-top: 70px; }
.big-phone { display: block; font-size: 34px; font-weight: 600; text-decoration: none; margin-bottom: 12px; letter-spacing: -.01em; }
.contact-aside p { color: #DCE5E8; font-size: 16px; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; font-size: 16px; }
.checks li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid rgba(255,255,255,.12); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 10px; height: 5px; border-left: 2px solid #B9CBD1; border-bottom: 2px solid #B9CBD1; transform: rotate(-45deg); }

/* service page */
.crumbs { font-size: 14px; color: var(--ink-2); padding-top: 22px; }
.crumbs a { color: var(--accent); text-decoration: none; }
.svc-hero { padding: 32px 0 var(--gap); }
.svc-hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.svc-hero-media img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.prose-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.prose p { font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.feature-img img { border-radius: 10px; aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.facts { display: grid; gap: 0; margin: 20px 0 28px; }
.facts div { display: flex; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { width: 110px; flex: none; font-size: 14px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.facts dd { margin: 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 20px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 22px; height: 22px; position: relative; margin-top: 4px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--accent); transition: transform .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item p { color: var(--ink-2); padding-bottom: 12px; max-width: 40em; }

/* project page */
.proj-hero { padding: 24px 0 var(--gap); }
.facts-row { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.facts-row div { flex-direction: column; gap: 4px; }
.facts-row dt { width: auto; }
.proj-hero-img { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.proj-hero-img img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: 10px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.shot { margin: 0; grid-column: span 3; }
.shot.wide { grid-column: span 3; }
.shot.detail { grid-column: span 2; }
.shot-btn { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: 8px; }
.shot img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .4s; }
.shot.detail img { aspect-ratio: 4/5; }
.shot-btn:hover img { transform: scale(1.03); }
.shot figcaption { font-size: 14px; color: var(--ink-2); padding-top: 8px; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; background: var(--stone); border-radius: 12px; padding: 48px 56px; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; color: var(--ink-2); }
.cta-band .btn-row { margin: 0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,22,22,.94); display: flex; align-items: center; justify-content: center; padding: 40px 80px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #E5E5E0; text-align: center; padding-top: 14px; font-size: 16px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 48px; line-height: 1; cursor: pointer; padding: 10px 18px; }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* footer */
.site-footer { background: #22282B; color: #D5D9D8; padding: 64px 0 28px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.brand-footer { color: #fff; margin-bottom: 18px; }
.footer-quote { font-style: italic; color: #AEB4B3; max-width: 22em; }
.footer-head { color: #8E9594; }
.footer-grid li { padding: 4px 0; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid #3A4245; margin-top: 44px; padding-top: 22px; font-size: 14px; color: #8E9594; }

/* responsive */
@media (max-width: 1000px) {
  .site-nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--bg); padding: 12px 24px 28px; border-bottom: 1px solid var(--line); display: none; max-height: calc(100vh - 78px); overflow: auto; }
  .site-nav.open { display: flex; }
  .nav-link { padding: 14px 0; font-size: 18px; text-align: left; width: 100%; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin: 18px 0 0; }
  .mega { position: static; box-shadow: none; border: 0; min-width: 0; padding: 8px 0 16px; grid-template-columns: 1fr; gap: 16px; background: none; }
  .has-menu:hover .mega, .has-menu:focus-within .mega { display: none; }
  .has-menu.open .mega { display: grid; }
  .menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
  .hero-grid, .svc-hero-grid, .team-grid, .estimate-grid, .prose-grid, .feature-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-aside { margin-top: 0; }
  .facts-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  :root { --gap: 44px; }
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .lede { font-size: 18px; }
  .hero { padding-top: 20px; }
  .header-inner { height: 68px; }
  .site-nav { inset: 68px 0 auto 0; }
  .brand-word { font-size: 12px; }
  .btn-row .btn { flex: 1 1 auto; }
  .build-grid, .review-grid { grid-template-columns: 1fr; }
  .build-body { padding: 24px; }
  .proj-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .proj-large { grid-row: auto; }
  .proj img { aspect-ratio: 4/3; }
  .estimate-form { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .shot, .shot.wide { grid-column: 1 / -1; }
  .shot.detail { grid-column: span 1; }
  .shot.detail:last-child { grid-column: 1 / -1; }
  .cta-band { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .g-badge { border-radius: 14px; }
  .review blockquote { font-size: 18px; }
  .lightbox { padding: 20px 8px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 10px; transform: none !important; }
}

/* ══ Polish pass ══════════════════════════════════════════ */
:root { --ease: cubic-bezier(.2, .7, .2, 1); --wide: 1440px; }
.wrap-wide { max-width: var(--wide); }
.btn { transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.arrow { display: inline-block; transition: transform .35s var(--ease); }
a:hover > .arrow, .btn:hover .arrow { transform: translateX(4px); }
.text-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease); }
.text-link:hover { text-decoration: none; background-size: calc(100% - 1.3em) 1px; }
.link-list a::after { display: inline-block; transition: transform .35s var(--ease); }
.link-list a:hover::after { transform: translateX(4px); }

/* header: hairline → soft shadow on scroll; dropdown fades in */
.site-header { transition: box-shadow .35s var(--ease), border-color .35s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(42,42,40,.08); border-bottom-color: transparent; }
.nav-link { transition: background .2s, color .2s; }
.caret { transition: transform .3s var(--ease); }
@media (min-width: 1001px) {
  .mega { display: grid; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .has-menu:hover .caret, .has-menu.open .caret { transform: translateY(0) rotate(-135deg); }
}

/* full-bleed photo hero */
.hero-photo { position: relative; padding: 0; min-height: min(86vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #1d2326; }
.hero-photo .hero-media { position: absolute; inset: 0; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); opacity: .6; } to { transform: none; opacity: 1; } }
.hero-photo .hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(16,20,22,.78) 0%, rgba(16,20,22,.45) 42%, rgba(16,20,22,0) 72%), linear-gradient(0deg, rgba(16,20,22,.55), rgba(16,20,22,0) 45%); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 72px; }
.hero-photo .hero-copy { max-width: 880px; }
.hero-photo .lede { max-width: 36em; }
.hero-photo h1 { font-size: clamp(40px, 5.2vw, 64px); }
.hero-photo .eyebrow { color: #CFDCE0; }
.hero-photo .lede { color: rgba(255,255,255,.86); }
.hero-photo .btn-solid { background: #fff; border-color: #fff; color: var(--accent-dk); }
.hero-photo .btn-solid:hover { background: var(--stone); border-color: var(--stone); }
.hero-photo .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-photo .btn-ghost:hover { background: #fff; color: var(--accent-dk); border-color: #fff; }
.hero-photo .g-badge { border-color: transparent; color: var(--ink); }
.hero-credit { position: absolute; z-index: 2; right: 32px; bottom: 28px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; background: rgba(16,20,22,.45); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 999px; }

/* image hover: slow, subtle zoom */
.img-zoom, .build-img, .proj, .shot-btn { overflow: hidden; }
.img-zoom img, .build-img img, .proj img, .shot img { transition: transform 1.2s var(--ease); }
.img-zoom:hover img, .build-card:hover .build-img img, .proj:hover img, .shot-btn:hover img { transform: scale(1.045); }
.feature-img { display: block; border-radius: 10px; }
.build-card { transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.build-card:hover { box-shadow: 0 22px 50px rgba(42,42,40,.1); transform: translateY(-3px); }
.build-img img { aspect-ratio: 3/2; }

/* recent projects run wider than the text container */
.proj-grid { height: 680px; }
.proj-label { padding: 70px 28px 24px; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.proj-label strong { font-size: 24px; letter-spacing: -.01em; }
.proj-large .proj-label strong { font-size: 30px; }

/* quote band: their own line, over a wide photo */
.quote-band { position: relative; overflow: hidden; color: #fff; padding: 150px 0; text-align: center; background: #1d2326; }
.quote-bg { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; opacity: .42; }
.quote-band .wrap { position: relative; max-width: 940px; }
.quote-band blockquote { margin: 0 0 20px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.quote-band p { color: #CFDCE0; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin: 0; }

/* service hero image: more than half the width, inside the container */
.svc-hero-media img { border-radius: 12px; aspect-ratio: 4/3; }
.proj-hero-img img { aspect-ratio: 2.3/1; }

/* steps + reviews: lift on hover */
.step, .review, .person { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step:hover, .review:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(42,42,40,.08); }
.step-num { font-size: 52px; letter-spacing: -.03em; }

/* FAQ opens smoothly */
.faq-item::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq-item[open]::details-content { height: auto; }
.faq-icon::before, .faq-icon::after { transition: transform .35s var(--ease); }

/* motion */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="rise"] { transform: translateY(64px) scale(.985); }
.js .reveal-lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .reveal-lines .line > span { display: block; transform: translateY(105%); transition: transform 1.15s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal-lines.is-in .line > span { transform: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .quote-bg { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes drift { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .reveal-lines .line > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-bg { animation: none; }
}

/* ══ Review marks (mockup only) ═══════════════════════════ */
.mockbar { position: relative; z-index: 60; background: #1d2326; color: #E6ECEE; font-size: 13px; padding: 7px 16px; display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap; }
.mock-title { font-weight: 600; letter-spacing: .04em; }
.marks-toggle { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: 12px; cursor: pointer; }
.marks-toggle:hover { background: rgba(255,255,255,.1); }

mark.tbd { color: #2A2A28; background: #FFE9A8; border-bottom: 2px dashed #B98900; padding: 0 2px; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; cursor: help; }
mark.tbd:empty { display: none; }
.tbd-link { text-decoration: underline dotted #7F9BA5 2px !important; text-underline-offset: 4px; cursor: help !important; }
.tbd-img { position: relative; }
.tbd-img::after { content: "Unconfirmed photo"; position: absolute; top: 14px; left: 14px; background: #FFE9A8; color: #2A2A28; border-bottom: 2px dashed #B98900; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 4px; cursor: help; }
.mock-note { display: inline-block; font-size: 14px !important; color: #2C3F48 !important; background: #DCE8EC; border: 1px solid #B7CDD5; padding: 6px 12px; border-radius: 6px; margin: 0; }
.mock-note::before { content: "Note for review: "; font-weight: 700; }
.tbd-tip { position: fixed; z-index: 200; max-width: 300px; background: #1d2326; color: #fff; font-size: 14px; line-height: 1.45; padding: 10px 13px; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.25); pointer-events: none; }
.tbd-tip b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.tbd-tip.copy b { color: #FFD66B; } .tbd-tip.fact b { color: #FF9E8C; } .tbd-tip.link b, .tbd-tip.photo b { color: #9FD0DE; }

.marks-off mark.tbd { background: none; border: 0; padding: 0; color: inherit; cursor: auto; }
.marks-off .tbd-link { text-decoration: none !important; cursor: pointer !important; }
.marks-off .tbd-img::after, .marks-off .mock-note, .marks-off .tbd-tip { display: none; }

@media (max-width: 1000px) {
  .proj-grid { height: 560px; }
}
@media (max-width: 700px) {
  /* Connor: on phones, put the headline below the photo so it doesn't cover the work */
  .hero-photo { display: block; min-height: 0; color: var(--ink); background: var(--bg); }
  .hero-photo .hero-media { position: relative; }
  .hero-photo .hero-media::after { display: none; }
  .hero-bg { aspect-ratio: 4/3.2; height: auto; }
  .hero-inner { padding-top: 26px; padding-bottom: 8px; }
  .hero-photo h1 { font-size: 38px; }
  .hero-photo .eyebrow { color: var(--accent); }
  .hero-photo .lede { color: var(--ink-2); }
  .hero-photo .btn-solid { background: var(--accent); border-color: var(--accent); color: #fff; }
  .hero-photo .btn-ghost { color: var(--accent); border-color: var(--accent); }
  .hero-photo .g-badge { border-color: var(--line); }
  .hero-credit { right: 14px; bottom: 14px; font-size: 13px; }
  .proj-label strong, .proj-large .proj-label strong { font-size: 22px; }
  .quote-band { padding: 90px 0; }
  .mockbar { padding: 6px 10px; gap: 6px 12px; }
  /* headline flows naturally on phones and fades in instead of sliding by line */
  .js .reveal-lines .line, .js .reveal-lines .line > span { display: inline; overflow: visible; transform: none; }
  .js .reveal-lines { opacity: 0; transition: opacity 1s var(--ease); }
  .js .reveal-lines.is-in { opacity: 1; }
  .mockbar { font-size: 12px; }
}

/* team: wide photo of Joe and Sam, intro + cards below */
.team-hero { position: relative; margin: 0 0 48px; border-radius: 12px; }
.team-hero img { width: 100%; aspect-ratio: 2.1/1; object-fit: cover; object-position: center 30%; border-radius: 12px; }
.team-hero figcaption { position: absolute; left: 20px; bottom: 18px; background: rgba(16,20,22,.5); backdrop-filter: blur(6px); color: #fff; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.team-hero figcaption span { font-weight: 400; opacity: .85; }
#team .team-grid { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
#team .people { margin: 0; }
@media (max-width: 1000px) { #team .team-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 700px) { .team-hero { margin-bottom: 28px; } .team-hero img { aspect-ratio: 4/3; object-position: 45% 30%; } .team-hero figcaption { left: 12px; bottom: 12px; font-size: 13px; } }
