/* R Builders, Inc. — site styles
   Palette: Penn State official colors. Type: Saira (variable width), Michroma for the wordmark. */

@font-face {
  font-family: "Saira";
  src: url("/fonts/saira-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}

:root {
  --navy: #001E44;      /* Nittany Navy */
  --navy-2: #0B2C5A;
  --blue: #1E407C;      /* Beaver Blue */
  --pugh: #96BEE6;      /* Pugh Blue */
  --pugh-25: #E5EDF8;
  --slate: #4B5B70;
  --line: #D3DCE8;
  --on-navy: #C2D3EA;
  --white: #FFFFFF;

  --font: "Saira", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-logo: "Archivo", "Saira", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 112px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--pugh); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  font-stretch: 115%;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--slate); max-width: 36em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--pugh); color: var(--navy); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  border-radius: var(--radius); border: 2px solid transparent;
  background: var(--blue); color: var(--white);
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--pugh); color: var(--navy); }
.btn--light:hover { background: var(--white); color: var(--navy); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }
.btn--dark { background: var(--navy); }
.btn--dark:hover { background: var(--blue); }

/* Logo lockup: RBI | R BUILDERS INC. / GENERAL CONTRACTOR / rule / Est. 2004
   --lk sets the size of the whole lockup. */
.logo { --lk: 1.3rem; display: inline-grid; grid-template-columns: auto auto auto; align-items: start; column-gap: calc(var(--lk) * .7); color: var(--navy); text-decoration: none; }
.logo:hover { color: var(--navy); }
.logo__mark { width: calc(var(--lk) * 4.6); height: calc(var(--lk) * 1.52); flex: none; margin-top: calc(var(--lk) * .02); }
.logo__divider { width: 2px; align-self: stretch; background: var(--blue); margin-top: calc(var(--lk) * -.2); }
.logo__words { display: flex; flex-direction: column; }
.logo__name { font-family: var(--font-logo); font-stretch: 125%; font-weight: 800; font-size: var(--lk); line-height: .9; letter-spacing: .02em; white-space: nowrap; }
.logo__inc { font-weight: 400; font-stretch: 100%; font-size: .42em; margin-left: .5em; vertical-align: .95em; letter-spacing: .02em; color: var(--blue); }
.logo__tag { margin-top: calc(var(--lk) * .2); font-weight: 500; font-stretch: 110%; font-size: max(.66rem, calc(var(--lk) * .43)); line-height: 1.1; letter-spacing: .4em; color: var(--blue); white-space: nowrap; }
.logo__rule { height: 2px; margin-top: calc(var(--lk) * .2); background: var(--pugh); }
.logo__est { grid-column: 3; margin-top: calc(var(--lk) * .25); font-size: max(.7rem, calc(var(--lk) * .38)); letter-spacing: .12em; color: var(--slate); }
.logo--light, .logo--light:hover { color: var(--white); }
.logo--light .logo__divider { background: var(--pugh); }
.logo--light .logo__inc { color: var(--on-navy); }
.logo--light .logo__tag { color: var(--pugh); }
.logo--light .logo__est { color: var(--on-navy); }
.site-header .logo { --lk: 1.45rem; }
.site-header .logo__est { display: none; }
.site-footer .logo { --lk: 1.4rem; }

/* Supplied logo artwork (transparent PNG, light colors for navy backgrounds) */
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 60px; width: auto; }
.logo--footer img { height: 62px; }

/* Top bar */
.topbar { background: #00142F; color: var(--on-navy); font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--pugh); font-weight: 700; text-decoration: none; margin-left: 8px; }
.topbar a:hover { color: var(--white); }

/* Header + nav */
.site-header { background: var(--navy); border-bottom: 1px solid rgba(150, 190, 230, .22); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--white); font-weight: 600; text-decoration: none; padding: 8px 0; }
.site-nav ul a:hover { box-shadow: inset 0 -3px 0 var(--pugh); }
.site-nav__phone { color: var(--pugh); font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-header .btn { background: var(--pugh); color: var(--navy); }
.site-header .btn:hover { background: var(--white); color: var(--navy); }
.site-nav ul a[aria-current] { box-shadow: inset 0 -3px 0 var(--pugh); }
.menu-toggle { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--navy); color: var(--white); }
.hero__text {
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(56px, 7vw, 96px);
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero__kicker {
  display: inline-block; font-size: .9rem; font-weight: 600;
  padding: 6px 14px; border-radius: 40px; background: rgba(150, 190, 230, .16); color: var(--pugh);
}
.hero h1 { margin: 22px 0 22px; font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.hero .lead { color: var(--on-navy); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__media { position: relative; min-height: 360px; }
.creds { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 36px 0 0; padding: 0; }
.creds li { display: flex; flex-direction: column; padding: 12px 16px 12px 14px; border-left: 3px solid var(--pugh); background: rgba(150, 190, 230, .1); font-size: .9rem; color: var(--on-navy); }
.creds strong { color: var(--white); font-size: 1rem; }

/* Reach + licensing */
.reach { background: #00142F; color: var(--white); padding: var(--section) 0; }
.reach__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.reach__map img { width: 100%; max-width: 520px; margin: 0 auto; }
.reach h2 { font-size: clamp(2.2rem, 4vw, 3.25rem); }
.reach .lead { color: var(--on-navy); margin-top: 16px; }
.reach .btn { margin-top: 32px; }
.reach__areas { margin: 32px 0 0; display: grid; gap: 22px; }
.reach__area { padding-left: 46px; position: relative; }
.reach__area::before { content: ""; position: absolute; left: 0; top: 4px; width: 28px; height: 28px; border-radius: 4px; }
.reach__area--commercial::before { background: var(--pugh); }
.reach__area--residential::before { background: var(--white); }
.reach__area dt { font-stretch: 112%; font-weight: 700; font-size: 1.45rem; line-height: 1.2; }
.reach__area dd { margin: 4px 0 0; color: var(--on-navy); font-size: 1.1rem; }
.licenses--dark { margin-top: 36px; }
.reach .licenses--dark li { background: rgba(150, 190, 230, .08); border-top-color: var(--pugh); padding: 20px 22px; }
.reach .licenses--dark h3 { font-size: 1.05rem; color: var(--white); }
.reach .licenses--dark p { color: var(--on-navy); margin-top: 4px; }
.licenses__wide { grid-column: 1 / -1; }
.text-link--light { display: inline-block; margin-top: 20px; color: var(--pugh); }
.text-link--light:hover { color: var(--white); }
.tile__region { align-self: flex-start; font-size: .85rem; font-weight: 700; padding: 3px 10px; border-radius: 3px; background: var(--pugh); color: var(--navy); margin-bottom: 4px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* License placard */
.placard {
  position: relative; z-index: 2; margin-top: -84px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 3fr); gap: 32px;
  padding: 30px 36px; background: var(--pugh); color: var(--navy);
  box-shadow: 0 18px 40px rgba(0, 30, 68, .18);
}
.placard__intro h2 { font-size: 1.4rem; line-height: 1.2; }
.placard__intro a { display: inline-block; margin-top: 8px; color: var(--navy); font-weight: 600; font-size: .95rem; }
.placard__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.placard__facts dt { font-stretch: 118%; font-weight: 800; font-size: 1.9rem; line-height: 1.05; }
.placard__facts dd { margin: 6px 0 0; font-size: .95rem; font-weight: 600; }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.section-head .lead { max-width: 30em; }

/* Service tiles */
.services { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: 300px 300px; gap: 20px; }
.tile { position: relative; overflow: hidden; display: block; color: var(--white); text-decoration: none; background: var(--navy-2); }
.tile--feature { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 30, 68, .92) 12%, rgba(0, 30, 68, 0) 68%); }
.tile__text { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; display: flex; flex-direction: column; gap: 6px; }
.tile__title { font-stretch: 112%; font-weight: 700; font-size: 1.75rem; line-height: 1.1; }
.tile__body { color: var(--on-navy); max-width: 30em; }
.tile:hover { color: var(--white); }
.tile:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }

/* Brands */
.brands { background: var(--pugh-25); padding: 56px 0; }
.brands h2 { font-size: 1.25rem; }
.brands__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px;
  list-style: none; margin: 22px 0 0; padding: 0;
}
.brands__grid li {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.brands__grid svg { flex: none; width: 28px; height: 28px; color: var(--blue); }
.brands__grid span { font-stretch: 106%; font-weight: 700; font-size: 1.05rem; color: var(--navy); line-height: 1.25; }

/* Projects */
.section-head--action { align-items: center; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.project a { display: block; color: var(--navy); text-decoration: none; }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--navy-2); }
.project__name { display: block; margin-top: 14px; font-stretch: 108%; font-weight: 700; font-size: 1.2rem; }
.project__meta { display: block; color: var(--slate); font-size: .95rem; }
.project a:hover .project__name { text-decoration: underline; text-decoration-color: var(--pugh); text-underline-offset: 4px; }
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; font-size: .75rem; font-weight: 700; background: var(--pugh); color: var(--navy); border-radius: 3px; }

/* Process */
.process { background: var(--navy); color: var(--white); padding: var(--section) 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; counter-reset: step; margin: 48px 0 0; padding: 0; border-top: 2px solid rgba(150, 190, 230, .3); }
.steps li { counter-increment: step; padding: 0 28px 0 0; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 42px; height: 42px; margin: -22px 0 20px;
  border-radius: 50%; background: var(--pugh); color: var(--navy); font-weight: 800;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--on-navy); }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.story__media { margin: 0; }
.story__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.story__text h2 { margin-bottom: 20px; }
.quote { margin: 30px 0 24px; padding: 0; }
.quote p { font-stretch: 105%; font-size: 1.6rem; line-height: 1.3; font-weight: 600; }
.quote footer { margin-top: 10px; color: var(--slate); font-size: .95rem; }
.text-link { font-weight: 700; }

/* Service area */
.area { background: var(--pugh-25); padding: var(--section) 0; }
.area__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; }
.area h2 { margin-bottom: 18px; }
.area__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; list-style: none; margin: 0; padding: 0; }
.area__list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }

/* CTA */
.cta { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
.cta__main, .cta__hiring { padding: clamp(32px, 5vw, 56px); }
.cta__main { background: var(--navy); color: var(--white); }
.cta__main .lead { color: var(--on-navy); margin: 14px 0 28px; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta__phone { color: var(--white); font-weight: 700; text-decoration: none; }
.cta__phone:hover { color: var(--pugh); }
.cta__hiring { background: var(--pugh); }
.cta__hiring h2 { font-size: 1.75rem; }
.cta__hiring p { margin: 10px 0 24px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 72px 0 36px; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer h2 { font-size: 1rem; font-stretch: 100%; color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 7px 0; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .logo { color: var(--white); text-decoration: none; }
.site-footer__about { margin-top: 20px; max-width: 24em; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(150, 190, 230, .2); font-size: .85rem; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--navy); color: var(--white); }
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero--text .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { margin: 14px 0 20px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero .lead { color: var(--on-navy); }
.page-hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-hero .hero__actions { margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--pugh); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--pugh); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { color: var(--on-navy); }

.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 44px; list-style: none; margin: 36px 0 0; padding: 0; }
.scope li { border-top: 2px solid var(--navy); padding-top: 16px; }
.scope h3 { font-size: 1.2rem; margin-bottom: 6px; }
.scope p { color: var(--slate); }
.facts { background: var(--pugh-25); padding: 32px; }
.facts dl { margin: 0; }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { padding-top: 0; }
.facts dt { font-stretch: 118%; font-weight: 800; font-size: 1.9rem; line-height: 1.05; }
.facts dd { margin: 6px 0 0; color: var(--slate); }
.facts .btn { width: 100%; margin-top: 24px; }
.tint { background: var(--pugh-25); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; list-style: none; margin: 36px 0 0; padding: 0; }
.gallery img { width: 100%; height: 320px; object-fit: cover; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 10px; font-size: .95rem; color: var(--slate); }

.service-rows { display: grid; gap: clamp(48px, 7vw, 88px); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-row h2 { margin-bottom: 16px; }
.service-row ul { margin: 18px 0 26px; padding-left: 20px; color: var(--slate); }
.service-row li { margin: 4px 0; }

.faq > * { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--slate); max-width: 40em; }

/* Projects listing */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; padding: 0; list-style: none; }
.filters button {
  min-height: 44px; padding: 8px 18px; border-radius: 40px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--navy); font: inherit; font-weight: 600; cursor: pointer;
}
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.projects--all { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
.project[hidden] { display: none; }
.empty-note { color: var(--slate); }

/* Case study */
.meta-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta-list dt { font-size: .9rem; color: var(--slate); }
.meta-list dd { margin: 4px 0 0; font-weight: 700; font-size: 1.1rem; }
.prose { max-width: 42em; }
.prose p + p, .prose h2 + p, .prose p + h2 { margin-top: 18px; }
.prose h2 { font-size: 1.8rem; margin-top: 40px; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.compare figure { margin: 0; }
.compare img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.compare figcaption { margin-top: 8px; font-weight: 600; }

/* About */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 44px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.timeline li { position: relative; padding: 24px 24px 0 0; }
.timeline li::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--pugh); box-shadow: 0 0 0 3px var(--navy); }
.timeline strong { display: block; font-stretch: 118%; font-weight: 800; font-size: 1.9rem; line-height: 1.1; }
.timeline p { margin-top: 6px; color: var(--slate); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 40px 0 0; padding: 0; }
.team__photo { aspect-ratio: 4 / 5; background: var(--pugh-25); display: grid; place-items: center; color: var(--slate); font-size: .9rem; }
.team h3 { margin-top: 16px; }
.team p { color: var(--slate); }
.licenses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 36px 0 0; padding: 0; }
.licenses li { background: var(--white); padding: 28px; border-top: 4px solid var(--blue); }
.licenses h3 { font-size: 1.25rem; }
.licenses p { margin-top: 8px; color: var(--slate); }

/* Careers */
.roles { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.role { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 26px 28px; border: 1.5px solid var(--line); }
.role h3 { font-size: 1.35rem; }
.role p { color: var(--slate); margin-top: 4px; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { display: grid; gap: 26px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .form label { display: block; font-weight: 700; margin-bottom: 10px; }
.form .hint { font-weight: 400; color: var(--slate); font-size: .95rem; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; color: var(--navy);
  background: var(--white); border: 1.5px solid #B7C4D6; border-radius: var(--radius);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--pugh); outline-offset: 1px; border-color: var(--blue); }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: block; height: 100%; padding: 16px; border: 1.5px solid #B7C4D6; border-radius: var(--radius); font-weight: 600; }
.choice small { display: block; font-weight: 400; color: var(--slate); font-size: .9rem; margin-top: 2px; }
.choice input:checked + span { border-color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); background: var(--pugh-25); }
.choice input:focus-visible + span { outline: 3px solid var(--pugh); outline-offset: 2px; }
.form .btn { justify-self: start; min-height: 56px; padding: 14px 34px; font-size: 1.05rem; }
.form .fine { font-size: .9rem; color: var(--slate); }
.hp { position: absolute; left: -9999px; }
.next-steps { background: var(--navy); color: var(--white); padding: 34px; }
.next-steps h2 { font-size: 1.5rem; }
.next-steps ol { list-style: none; counter-reset: n; margin: 20px 0 0; padding: 0; }
.next-steps li { counter-increment: n; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid rgba(150, 190, 230, .2); color: var(--on-navy); }
.next-steps li strong { display: block; color: var(--white); }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--pugh); color: var(--navy); font-weight: 800; }
.talk { background: var(--pugh-25); padding: 28px; margin-top: 20px; }
.talk h2 { font-size: 1.2rem; }
.talk p { margin-top: 8px; color: var(--slate); }

/* Creator landing */
.welcome { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 40px; background: rgba(150, 190, 230, .16); color: var(--on-navy); }
.welcome__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: var(--white); font-weight: 700; font-size: .8rem; }
.welcome strong { color: var(--white); }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--navy-2); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.video__note { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); font-weight: 600; text-align: center; padding: 20px; }

@media (max-width: 1080px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; border-top: 0; }
  .timeline li { border-top: 2px solid var(--navy); }
  .projects--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .page-hero__inner, .two-col, .service-row, .form-layout { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .scope { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: auto; aspect-ratio: 4 / 3; }
  .projects--all { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .licenses { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .form .row, .choices, .choices--4 { grid-template-columns: 1fr; }
  .choices--4 { grid-template-columns: 1fr 1fr; }
  .form .btn { width: 100%; }
}

/* Mobile action bar (hidden on desktop) */
.action-bar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .site-nav ul { gap: 20px; }
  .site-nav__phone { display: none; }
  .placard { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; border-top: 0; }
  .steps li { border-top: 2px solid rgba(150, 190, 230, .3); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .menu-toggle {
    display: grid; place-items: center; margin-left: auto;
    width: 48px; height: 48px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--white);
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    content: ""; display: block; width: 26px; height: 3px; background: currentColor; position: relative;
  }
  .menu-toggle__bars::before { position: absolute; top: -8px; }
  .menu-toggle__bars::after { position: absolute; top: 8px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid rgba(150, 190, 230, .22); padding: 8px var(--gutter) 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(150, 190, 230, .2); font-size: 1.1rem; }
  .site-nav__phone { display: block; padding: 16px 0; }
  .site-nav .btn { margin-top: 4px; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .topbar__inner p:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .site-header__inner { min-height: 68px; }
  .logo img { height: 34px; }
  .site-header .logo { --lk: .95rem; }
  .site-header .logo__tag, .site-header .logo__rule { display: none; }
  .site-header .logo__divider { margin-top: 0; }

  .hero { grid-template-columns: 1fr; }
  .hero__text { padding: 40px var(--gutter) 44px; }
  .reach__inner { grid-template-columns: 1fr; }
  .reach__map { order: 2; }
  .reach__map img { max-width: 300px; }
  .creds li { flex: 1 1 100%; }
  .hero__media { min-height: 0; aspect-ratio: 16 / 10; }
  .hero__actions .btn { flex: 1 1 100%; }

  .placard { margin-top: 0; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 26px var(--gutter); box-shadow: none; }
  .placard__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .placard__facts dt { font-size: 1.3rem; }
  .placard__facts dd { font-size: .8rem; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
  .services { grid-template-columns: 1fr; grid-template-rows: none; }
  .tile, .tile--feature { grid-row: auto; height: 240px; }
  .tile__title { font-size: 1.4rem; }

  .brands__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .brands__grid li { padding: 14px; gap: 10px; }
  .brands__grid svg { width: 22px; height: 22px; }
  .brands__grid span { font-size: .95rem; }

  .projects { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .area__inner { grid-template-columns: 1fr; gap: 24px; }
  .area__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }

  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--white); box-shadow: 0 -6px 20px rgba(0, 30, 68, .12);
  }
}
