/* Bird Dog Structures — site styles */

:root {
  --white: #FFF;
  --gray-bg: #F3F4F6;
  --charcoal: #202428;
  --deep-red: #B4232C;
  --deep-red-dark: #8F1B23;
  --deep-red-light: #E8828A;
  --gray-copy: #454B52;
  --paper: #F6F4EF;
  --paper-2: #ECE8DF;
  --ink: #202428;
  --ink-soft: #454B52;
  --navy: #171B20;
  --navy-deep: #10141A;
  --on-navy: #EDEFF1;
  --on-navy-soft: #A9B0B8;
  --rust: #B4232C;
  --rust-dark: #8F1B23;
  --steel-blue: #7C93A6;
  --line: #DAD5C9;
  --line-on-navy: rgba(237, 239, 241, 0.14);
  --card: #FFF;
  --focus: #1C6E5C;
  --max-width: 1280px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--gray-copy);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Archivo', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

p { margin: 0 0 1em; }

a { color: inherit; }

img, svg { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(32, 36, 40, 0.05);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Logo artwork is 3.94:1; widths below are chosen so its height clears the
   header without crowding the nav. */
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img {
  display: block;
  width: 270px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 0 1 auto;
  min-width: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover { color: var(--deep-red); }

/* Header sizing steps. The logo is much wider than the old text wordmark, so
   the nav links drop out at 1040px rather than 760px — below that the logo,
   four links and the button could not sit on one line without crowding. */
@media (max-width: 1140px) {
  .logo img { width: 240px; }

  .header-nav { gap: 20px; }
}

@media (max-width: 1040px) {
  .header-nav .nav-link { display: none; }

  .site-header .wrap { height: 88px; }
}

@media (max-width: 600px) {
  .logo img { width: 195px; }

  .site-header .wrap { height: 76px; gap: 12px; }
}

@media (max-width: 400px) {
  .logo img { width: 172px; }
}

/* Smallest phones: the logo and a one-line "Schedule a Call" have to share
   about 280px, so both tighten rather than letting the button wrap. */
@media (max-width: 380px) {
  .site-header .wrap { padding: 0 14px; gap: 10px; }

  .logo img { width: 150px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 15px 26px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn[hidden] { display: none; }

.btn-primary {
  background: var(--deep-red);
  color: #FFF9F5;
}

.btn-primary:hover { background: var(--deep-red-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-small {
  padding: 12px 20px;
  font-size: 0.88rem;
}

/* The header CTA must stay on one line at every width. */
.site-header .btn {
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .site-header .btn-small { padding: 11px 14px; font-size: 0.82rem; }
}

@media (max-width: 400px) {
  .site-header .btn-small { padding: 10px 12px; font-size: 0.78rem; }
}

@media (max-width: 380px) {
  .site-header .btn-small { padding: 9px 10px; font-size: 0.74rem; }
}

.link-ghost {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink-soft);
}

.on-navy .link-ghost { color: var(--on-navy-soft); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Sections */
section { padding: 56px 0; }

.on-navy {
  background: var(--navy);
  color: var(--on-navy);
}

.on-navy h1, .on-navy h2, .on-navy h3 { color: var(--on-navy); }
.on-navy p { color: var(--on-navy-soft); }
.on-navy .eyebrow { color: var(--steel-blue); }

.section-head {
  margin-bottom: 30px;
  max-width: 62ch;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 6px;
}

.section-head p {
  color: var(--ink-soft);
  margin: 10px 0 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}

/* Hero — full-bleed photo with a readable text panel */

/* The hero photo is full-bleed, so the wider the viewport the more it scales
   up and the more of its height is cropped away. At a fixed 620px the roof
   peak was cut off from about 1900px upward. Growing the hero with the
   viewport past that point keeps the whole building in frame; 620px is the
   floor, so anything up to ~1930px is unchanged. */
.hero {
  position: relative;
  min-height: max(620px, 32vw);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
  padding: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* The hero rendering (16:9) puts the building right of centre with open field
   to the left, so the copy panel sits over the emptier side. On desktop the
   container is wider than 16:9, so the full image width shows and only the
   vertical band is selectable — this anchor keeps the roof peak and both
   doors inside the crop. */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
}

@media (max-width: 760px) {
  /* Phones load the portrait crop above, which is already framed on the
     building, so it just needs centring. */
  .hero-photo { object-position: 50% 50%; }
}

.hero-media.no-photo .hero-photo { display: none; }

.hero-media.no-photo {
  background:
    repeating-linear-gradient(135deg, #2B3138 0, #2B3138 14px, #262B31 14px, #262B31 28px);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(32, 36, 40, 0.86) 0%, rgba(32, 36, 40, 0.6) 42%, rgba(32, 36, 40, 0.18) 72%);
}

/* Disclosure that the building imagery is AI-generated concept art. */
.render-note {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--gray-copy);
  margin: -14px 0 26px;
  max-width: 78ch;
}

.hero-render-note {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  margin: 0;
  max-width: none;
  padding: 7px 18px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(18, 21, 24, 0.66);
  border-top-left-radius: 4px;
}

@media (max-width: 760px) {
  .hero-render-note {
    left: 0;
    right: 0;
    text-align: center;
    border-top-left-radius: 0;
    font-size: 0.7rem;
    padding: 7px 16px;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 100px 20px;
}

.hero-copy { max-width: 680px; }

.hero-copy .eyebrow { color: var(--deep-red-light); }

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  margin-top: 10px;
  color: #fff;
}

.hero-copy .subhead {
  margin-top: 18px;
  font-size: 1.1rem;
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.88);
}

.hero-ctas {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.photo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.no-photo .photo-badge { display: inline-flex; }

@media (max-width: 760px) {
  .hero { min-height: 560px; }

  /* Kept deliberately lighter than a text-legibility-only scrim would be: the
     building has to stay readable through it, so the copy carries a shadow
     instead of hiding the photo behind a near-solid overlay. */
  .hero-scrim {
    background: linear-gradient(180deg, rgba(24, 28, 32, 0.74) 0%, rgba(24, 28, 32, 0.6) 46%, rgba(24, 28, 32, 0.46) 74%, rgba(24, 28, 32, 0.68) 100%);
  }

  .hero-inner { padding: 44px 20px 52px; }
  .hero-copy { max-width: 100%; }

  .hero-copy h1,
  .hero-copy .subhead,
  .hero-copy .eyebrow { text-shadow: 0 1px 10px rgba(16, 19, 22, 0.75); }
}

/* Buildings — photo-forward category tiles */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.category-tile:nth-child(-n+3) { grid-column: span 2; }
.category-tile:nth-child(n+4) { grid-column: span 3; }

@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-tile { grid-column: span 1 !important; }
  .category-tile:last-child:nth-child(odd) { grid-column: span 2 !important; }
}

@media (max-width: 560px) {
  .category-grid { grid-template-columns: 1fr; }

  /* The 900px block above makes a lone last tile span 2 columns. In a
     single-column grid that spills into an implicit second column, which
     placed tiles two-across and stretched each row to its tallest tile. */
  .category-tile,
  .category-tile:last-child:nth-child(odd) { grid-column: span 1 !important; }
}

.category-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tile-photo {
  position: relative;
  height: 240px;
  background: var(--gray-bg);
  overflow: hidden;
}

@media (max-width: 560px) {
  .tile-photo { height: 210px; }
}

.tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-photo.no-photo img { display: none; }

.tile-photo.no-photo {
  background:
    repeating-linear-gradient(135deg, #E9EAEC 0, #E9EAEC 12px, var(--gray-bg) 12px, var(--gray-bg) 24px);
}

.tile-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tile-body h3 {
  font-size: 1.08rem;
  text-transform: none;
}

.tile-body p {
  color: var(--gray-copy);
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
}

.tile-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--deep-red);
  text-decoration: none;
}

.tile-action:hover { text-decoration: underline; }
.tile-action svg { width: 14px; height: 14px; }

/* About (combined with Why Bird Dog) */
.alt-bg { background: var(--gray-bg); }

.about-body {
  max-width: 72ch;
  display: grid;
  gap: 18px;
}

.about-body .why-list {
  margin-top: 14px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Site readiness */
.readiness-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) { .readiness-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .readiness-grid { grid-template-columns: 1fr; } }

.readiness-item h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  text-transform: none;
}

.readiness-item p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

.step { position: relative; }

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--deep-red);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  text-transform: none;
}

.step p {
  color: var(--gray-copy);
  font-size: 0.92rem;
  margin: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.faq-item {
  background: var(--card);
  padding: 18px 20px;
}

.faq-item h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  text-transform: none;
}

.faq-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

/* Why list */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.why-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why-list svg { flex: 0 0 auto; margin-top: 3px; color: var(--deep-red); }

.why-list p { margin: 0; color: var(--gray-copy); }

.why-list strong { color: var(--charcoal); }

/* Schedule a Call */
.schedule-cta {
  text-align: center;
}

.btn-large {
  font-size: 1.08rem;
  padding: 18px 34px;
}

.schedule-note {
  margin: 16px auto 0;
  max-width: 48ch;
  font-size: 0.9rem;
  color: var(--gray-copy);
}

.contact-alt {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}

.contact-alt a { color: var(--rust); font-weight: 600; text-decoration: none; }
.contact-alt a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-on-navy);
  padding: 32px 0 40px;
  background: var(--navy-deep);
  color: var(--on-navy-soft);
}

.site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
}

/* The logo artwork has a white background and white detail inside the dog and
   lettering, so on the dark footer it sits on its own white panel rather than
   being knocked out or recoloured. */
.footer-logo {
  display: inline-block;
  flex: 0 0 auto;
  background: #fff;
  padding: 12px 18px;
  border-radius: 5px;
  line-height: 0;
}

.footer-logo img {
  display: block;
  width: 210px;
  height: auto;
}

@media (max-width: 600px) {
  .footer-logo { padding: 10px 14px; }

  .footer-logo img { width: 180px; }
}

.site-footer .footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.site-footer .footer-links a { color: var(--on-navy-soft); text-decoration: none; }
.site-footer .footer-links a:hover { color: #fff; text-decoration: underline; }

.site-footer .disclosure {
  border-top: 1px solid var(--line-on-navy);
  padding-top: 18px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #7C8390;
  max-width: 80ch;
}

.site-footer .disclosure a { color: var(--steel-blue); text-decoration: underline; }

.site-footer .copyright {
  margin-top: 18px;
  font-size: 0.8rem;
}

.slim { padding: 36px 0; }

/* Utility */
.legal-page main .wrap {
  padding-top: 48px;
  padding-bottom: 56px;
  max-width: 760px;
}

.legal-page h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 8px; }
.legal-page .updated { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.15rem; margin: 32px 0 10px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 0.96rem; }
.legal-page ul { padding-left: 20px; }
