@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;1,400&family=Fraunces:wght@500;600&display=swap");

:root {
  --color-bg: #000000;
  --color-surface: #000000;
  --color-raised: #1a1a1a;
  --color-fg: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.72);
  --color-subtle: rgba(255, 255, 255, 0.55);
  --color-accent: #966937;
  --color-accent-fg: #ffffff;
  --color-gold: #edb320;
  --color-cream: #e8dcc8;
  --color-cream-fg: #000000;
  --color-border: rgba(255, 255, 255, 0.16);
  --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", "Times New Roman", serif;
  --shadow-border: 0 0 0 1px rgba(255, 255, 255, 0.12);
  --shadow-border-hover: 0 0 0 1px rgba(255, 255, 255, 0.24);
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--color-fg);
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

a:link,
a:visited {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--color-fg);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

button:not(:disabled) {
  cursor: pointer;
}

.container-site {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
}

.header-bar {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: 72rem;
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.brand-link,
.brand-link:link,
.brand-link:visited,
.brand-link:hover,
.brand-link:focus,
.brand-link:active {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex: none;
}

.logo-frame {
  display: inline-flex;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 0.25rem 0.375rem;
  box-shadow: 0 0 0 2px var(--color-gold);
}

.logo-frame img {
  display: block;
  height: 3rem;
  width: auto;
  object-fit: contain;
  background: transparent;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 0.4rem 1.25rem 1.15rem;
  background: color-mix(in srgb, var(--color-bg) 96%, transparent);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

.site-nav.is-open {
  display: flex;
}

@media (max-width: 1023px) {
  .site-nav.is-open {
    max-height: calc(100dvh - var(--header-h) - 5.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-dd.is-open .nav-dd-menu {
    max-height: none;
    overflow: visible;
  }
}

.site-nav a,
.site-nav a:link,
.site-nav a:visited,
.site-nav a:hover,
.site-nav a:focus,
.site-nav a:active {
  color: var(--color-fg);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: var(--color-accent);
}

.nav-dd {
  position: relative;
}

.nav-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-fg);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
}

.nav-dd-btn:hover,
.nav-dd-btn:focus,
.nav-dd-btn[aria-current="true"] {
  color: var(--color-accent);
}

.nav-chevron {
  width: 1rem;
  height: 1rem;
  flex: none;
  transition: transform 0.15s ease;
}

.nav-dd:hover .nav-chevron,
.nav-dd:focus-within .nav-chevron,
.nav-dd.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dd-menu {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0.15rem 0 0.15rem 0.85rem;
}

.nav-dd.is-open .nav-dd-menu {
  display: flex;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.header-actions .header-phone,
.header-phone:link,
.header-phone:visited,
.header-phone:hover,
.header-phone:focus,
.header-phone:active {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  color: var(--color-fg);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.header-phone svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
  flex: none;
}

.header-actions a.header-quote {
  display: none;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-fg);
}

.menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.btn,
.btn:link,
.btn:visited,
.btn:hover,
.btn:focus,
.btn:active {
  letter-spacing: -0.01em;
  border-radius: 9999px;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  transition: background-color 0.15s cubic-bezier(0.22, 1, 0.36, 1), color 0.15s cubic-bezier(0.22, 1, 0.36, 1), transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:focus,
.btn-primary:active {
  background: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: #ffffff;
  color: #000000;
}

.btn-secondary,
.btn-secondary:link,
.btn-secondary:visited,
.btn-secondary:focus,
.btn-secondary:active {
  color: #ffffff;
  background: transparent;
  box-shadow: inset 0 0 0 1px #ffffff;
}

.btn-secondary:hover {
  color: #000000;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff;
}

.subbar {
  background: var(--color-cream);
  color: #000000;
  font-size: 0.82rem;
}

.subbar-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem 1rem;
  min-height: 2.4rem;
}

.subbar a,
.subbar a:link,
.subbar a:visited,
.subbar a:hover,
.subbar a:focus {
  color: #000000;
  font-weight: 600;
  text-decoration: none;
}

.subbar .line-label {
  color: rgba(0, 0, 0, 0.62);
  font-weight: 500;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 88dvh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg) 0%, color-mix(in srgb, var(--color-bg) 70%, transparent) 46%, color-mix(in srgb, var(--color-bg) 35%, transparent) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding: 7rem 1.25rem 4rem;
  text-align: left;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--color-accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  max-width: 48rem;
}

.eyebrow + .eyebrow {
  margin-top: 1.25rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.eyebrow a,
.eyebrow a:link,
.eyebrow a:visited,
.eyebrow a:hover,
.eyebrow a:focus {
  color: inherit;
  text-decoration: none;
}

.eyebrow-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--color-accent);
  flex: none;
}

.hero h1 {
  margin: 0.75rem 0 0;
  max-width: 56rem;
  font-size: 2.25rem;
}

.hero-copy {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--color-fg) 90%, transparent);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.page-main {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.page-main h2 {
  margin: 0 0 1.25rem;
  font-size: 1.875rem;
}

.section {
  margin: 0 0 4.5rem;
}

.lede {
  font-size: 1.125rem;
  max-width: 42rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
}

.page-main h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.card {
  background: #ffffff;
  color: #000000;
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid #000000;
  box-shadow: none;
}

.page-main .card h2,
.card h3 {
  margin: 0;
  color: #000000;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.card p {
  margin: 0.5rem 0 0;
  color: #000000;
  font-size: 0.875rem;
}

.card a,
.card a:link,
.card a:visited,
.callout a,
.callout a:link,
.callout a:visited {
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.card a:hover,
.card a:focus,
.callout a:hover,
.callout a:focus {
  color: #000000;
  text-decoration: underline;
}

.photo-caption {
  margin: 0 0 1.5rem;
}

.photo-caption figcaption {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.callout {
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.35rem;
  margin: 1.5rem 0;
  box-shadow: none;
}

.callout p {
  color: #000000;
}

.callout p:last-child {
  margin-bottom: 0;
}

.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.town-list li {
  background: #ffffff;
  color: #000000;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  border: 1px solid #000000;
}

.cta-row {
  margin: 3rem 0 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.stack dt {
  font-weight: 600;
  margin-top: 1rem;
}

.stack dd {
  margin: 0.25rem 0 0;
}

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.footer-main {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

.footer-id {
  margin-top: 1.25rem;
  color: var(--color-fg);
  font-style: normal;
}

.field-label {
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
}

.site-footer a,
.site-footer a:link,
.site-footer a:visited {
  color: var(--color-fg);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--color-accent);
}

.div-links {
  margin: 0;
  max-width: 28rem;
  line-height: 1.7;
}

.footer-bar {
  border-top: 1px solid var(--color-border);
}

.footer-bar .container-site {
  padding-block: 1.25rem;
}

.footer-tagline {
  margin: 0 0 0.35rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-style: italic;
}

.footer-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.mobile-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--color-bg) 95%, transparent);
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

.mobile-bar .btn {
  width: 100%;
}

.mobile-bar svg {
  width: 1rem;
  height: 1rem;
}

body {
  padding-bottom: 5.25rem;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: row;
  }

  .header-actions a.header-quote {
    display: inline-flex;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 4.75rem;
  }

  .container-site {
    padding-inline: 2rem;
  }

  .header-bar,
  .hero-inner {
    padding-inline: 2rem;
  }

  .logo-frame img {
    height: 3.5rem;
  }

  .header-actions .header-phone {
    display: inline-flex;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .page-main h2 {
    font-size: 3rem;
  }

  .footer-main {
    grid-template-columns: 1.4fr 0.8fr 1.1fr;
    gap: 2rem;
  }

  .mobile-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
  }

  .nav-dd-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    gap: 0.1rem 0.75rem;
    min-width: 36rem;
    margin-top: 0.6rem;
    padding: 0.45rem;
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 0.7rem;
  }

  .nav-dd-menu::before {
    content: "";
    position: absolute;
    top: -0.6rem;
    left: 0;
    right: 0;
    height: 0.6rem;
  }

  .nav-dd:hover .nav-dd-menu,
  .nav-dd:focus-within .nav-dd-menu,
  .nav-dd.is-open .nav-dd-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .nav-dd-menu a,
  .nav-dd-menu a:link,
  .nav-dd-menu a:visited {
    display: block;
    padding: 0.45rem 0.65rem;
    border-radius: 0.4rem;
    color: #000000;
    font-size: 0.9rem;
  }

  .nav-dd-menu a:hover,
  .nav-dd-menu a:focus,
  .nav-dd-menu a[aria-current="page"] {
    background: var(--color-accent);
    color: #ffffff;
  }
}

/* Home page only. Other pages keep the shared card and hero rules. */
.home .hero {
  min-height: 100dvh;
}

.home .hero h1 {
  font-size: 2.75rem;
  max-width: 16ch;
}

.home .home-main {
  padding-top: 0;
  padding-bottom: 0;
}

.home-services {
  padding: 4.5rem 0 4.25rem;
}

.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.job-card,
.job-card:link,
.job-card:visited,
.job-card:hover,
.job-card:focus {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  border: 2px solid transparent;
}

.job-card:hover,
.job-card:focus-visible {
  border-color: var(--color-accent);
}

.job-photo {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1a1a;
}

.job-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.job-card:hover .job-photo img,
.job-card:focus-visible .job-photo img {
  transform: scale(1.04);
}

.job-body {
  display: block;
  padding: 1.15rem 1.25rem 1.3rem;
}

.home .job-card h3 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  color: #000000;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.home .job-card h3::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.45rem;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  transform: rotate(45deg);
  flex: none;
}

.job-card p {
  margin: 0.55rem 0 0;
  color: #000000;
  font-size: 0.875rem;
}

.process-strip {
  border-top: 3px solid var(--color-accent);
  padding: 4rem 0 4.25rem;
}

.process-grid {
  display: grid;
  gap: 1.75rem;
}

.process-strip .process-kicker {
  margin: 0;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.home .process-strip h3 {
  margin: 0.4rem 0 0.55rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.process-strip p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.process-strip h3 + p {
  margin-top: 0;
}

.area-strip {
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 1rem;
}

.area-strip .town-list {
  margin-top: 0.25rem;
}

.quote-band {
  border-top: 3px solid var(--color-accent);
  padding: 4.25rem 0 4.75rem;
}

.quote-copy p:last-child {
  margin-bottom: 0;
}

.home .quote-band h2 {
  max-width: 16ch;
  margin: 0 0 1rem;
  font-size: 2.25rem;
}

.quote-actions {
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .home .hero h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 720px) {
  .job-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .home .hero h1 {
    font-size: 5rem;
  }

  .home .quote-band h2 {
    font-size: 3.25rem;
  }
}

@media (min-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .quote-band-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.5rem;
  }

  .quote-copy {
    max-width: 42rem;
  }

  .quote-actions {
    flex: none;
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .home .hero h1 {
    font-size: 5.5rem;
  }
}
