:root {
  color-scheme: light;
  --accent: #bc511b;
  --orange: #e97d35;
  --accent-soft: #fbede3;
  --text-main: #202326;
  --text-muted: #62676c;
  --bg: #f4f5f6;
  --white: #fff;
  --line: #e1e3e5;
  --graphite: #171a1e;
  --max-width: 1100px;
  --radius-lg: 16px;
  --radius-md: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text-main); background: var(--bg); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: 24px; }
.skip-link { position: fixed; top: 10px; left: 16px; transform: translateY(-180%); z-index: 200; padding: 10px 18px; border-radius: 6px; color: #fff; background: #171a1e; }
.skip-link:focus { transform: none; }
.site-header { --nav-height: 88px; position: sticky; top: 0; z-index: 50; height: 88px; isolation: isolate; pointer-events: none; }
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: var(--nav-height); background: linear-gradient(110deg, #f6b358, #e97d35 75%, #e4742f); border-bottom: 1px solid #aa4d2070; opacity: 1; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: height .28s ease, opacity .28s ease, box-shadow .28s ease; }
.site-header.scrolled { --nav-height: 66px; }
.site-header.scrolled::before { opacity: .88; box-shadow: 0 5px 24px #171a1e17; }
.nav { min-height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; pointer-events: auto; transition: min-height .28s ease, padding .28s ease; }
.logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo img { width: 52px; height: 52px; object-fit: contain; transition: width .28s ease, height .28s ease; }
.site-header.scrolled .logo img { width: 42px; height: 42px; }
.logo-type { font-size: 1.125rem; font-weight: 780; letter-spacing: .045em; line-height: 1.15; text-transform: uppercase; }
.logo-type small { display: block; font-size: .75rem; letter-spacing: .27em; font-weight: 550; padding-top: 6px; }
.nav-links { display: flex; align-items: center; gap: 25px; font-size: .875rem; font-weight: 650; }
.nav-links a { padding-block: 12px 9px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover, .nav-links [aria-current="page"] { border-color: #27221e; }
.nav-links a:last-child { padding: 9px 13px; border: 1px solid #27221e55; border-radius: 6px; }
.instagram-link { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 6px; transition: opacity .18s ease; }
.instagram-link svg { display: block; }
.instagram-link:hover { opacity: .7; }
.nav-links .instagram-link { width: 36px; padding: 0; border: 0; }
.nav-toggle { display: none; min-height: 44px; border: 1px solid #27221e66; border-radius: 6px; padding: 7px 12px; background: transparent; color: #202326; font-size: .875rem; }
main { padding-bottom: 30px; }
section { padding-block: 46px; }
main > section:nth-of-type(even) { background: #fff; }
.hero { position: relative; isolation: isolate; text-align: center; overflow: hidden; padding: 52px 0 42px; background: #f9fafb; border-bottom: 1px solid var(--line); }
.hero::after, .portfolio-intro::after { content: ""; position: absolute; z-index: -1; width: 270px; height: 160px; right: -42px; top: 45px; opacity: .2; background: url('/assets/brand/circuit-trace.svg') center / contain no-repeat; }
.hero-inner { display: grid; grid-template-columns: 1fr; }
.hero-kicker, .section-kicker, .service-label, .eyebrow { font-size: .8125rem; font-weight: 650; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.hero-kicker span { margin-inline: 8px; }
.hero h1 { font-size: clamp(2rem, 3.4vw, 2.95rem); font-weight: 700; line-height: 1.18; letter-spacing: -.035em; margin: 17px 0 24px; }
.hero h1 span { color: var(--accent); }
.hero-carousel { max-width: 660px; margin: 24px auto; }
.carousel-container { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: #24282d; box-shadow: 0 10px 25px #171a1e14; }
.carousel-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 0; pointer-events: none; transition: opacity .8s ease-in-out; }
.carousel-slide.active { opacity: 1; z-index: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 48px; display: grid; place-content: center; background: #171a1e70; color: #fff; border: 1px solid #ffffff33; border-radius: 7px; font-size: 2rem; line-height: 1; opacity: 0; pointer-events: none; transition: opacity .2s ease, background .2s ease; }
.hero-carousel:hover .carousel-arrow, .hero-carousel:focus-within .carousel-arrow { opacity: .75; pointer-events: auto; }
.hero-carousel .carousel-arrow:hover, .hero-carousel .carousel-arrow:focus-visible { opacity: 1; background: #171a1e8c; }
.carousel-arrow-left { left: 12px; }.carousel-arrow-right { right: 12px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.carousel-indicators { display: flex; gap: 2px; }
.indicator { position: relative; width: 32px; height: 44px; border: 0; background: transparent; }
.indicator::after { content: ""; display: block; width: 7px; height: 7px; margin: auto; border-radius: 50%; border: 1px solid var(--accent); }
.indicator.active::after { background: var(--accent); }
.hero-subtitle { max-width: 650px; margin: 20px auto; font-size: 1rem; color: #565c62; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 23px 0; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; padding: 7px 12px; border-radius: 50px; border: 1px solid #d4d7da; background: #fff; }
.badge-dot { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero-cta-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 26px; }
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 25px; border-radius: 50px; font-size: .875rem; letter-spacing: .025em; font-weight: 700; transition: transform .18s, background .18s; }
.btn-primary { border: 1px solid transparent; background: linear-gradient(120deg, #f5ac4a, #e97d35); color: #202326; }
.btn-secondary { background: #23272c; border: 1px solid #23272c; color: #fff; }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); }
.section-header { margin-bottom: 25px; }
.section-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.section-kicker::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.section-title { font-size: clamp(1.5rem, 2.5vw, 1.9rem); line-height: 1.3; letter-spacing: -.025em; margin: 0; }
.section-intro { max-width: 620px; color: var(--text-muted); font-size: 1rem; margin-top: 13px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.about-card, .service-card, .location-card, .contact-card { border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; padding: 23px 25px; }
.about-card h3, .service-card h3, .location-card h3, .contact-card h3 { margin: 0 0 9px; font-size: 1.0625rem; line-height: 1.4; }
.about-card p, .service-card p { color: var(--text-muted); font-size: 1rem; }
.about-list, .service-list { list-style: none; padding: 0; font-size: .9375rem; }
.about-list li, .service-list li { padding-left: 16px; margin-bottom: 8px; position: relative; }
.about-list li::before, .service-list li::before { content: ""; width: 4px; height: 4px; background: var(--accent); position: absolute; left: 0; top: .7em; }
.about-placeholder { overflow: hidden; border-radius: var(--radius-lg); }
.about-placeholder img { width: 100%; height: 320px; object-fit: cover; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { padding: 23px; display: flex; flex-direction: column; border-top: 2px solid #e6ae89; }
.service-label { font-size: .75rem; margin-bottom: 11px; }
.service-card p { margin: 0 0 10px; }
.service-list { margin-block: 8px 18px; }
.service-pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.pill { font-size: .75rem; padding: 4px 9px; border-radius: 30px; background: var(--accent-soft); color: #85431f; }
.location-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
address { font-style: normal; font-size: 1rem; }
.location-meta { margin-block: 17px 25px; font-size: .9375rem; }
.location-meta a:hover, .contact-details a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid #edeef0; }
.hours-table td:last-child { text-align: right; }
.map-image { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.map-image img { width: 100%; height: 285px; object-fit: cover; }
.map-caption { display: flex; justify-content: space-between; padding: 13px 18px; font-size: .875rem; font-weight: 650; }
.contact-details { font-size: 1rem; overflow-wrap: anywhere; }
.contact-details div { margin-top: 8px; }.contact-details span { font-weight: 650; }
.danny-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr); gap: 30px; align-items: center; border-top: 1px solid var(--line); margin-top: 45px; padding-top: 32px; }
.danny-photo-placeholder { width: 240px; max-width: 100%; height: 300px; border-radius: var(--radius-lg); overflow: hidden; margin: auto; }
.danny-photo-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.danny-text { text-align: center; }.danny-text h3 { font-size: 1.125rem; line-height: 1.4; margin: 0 0 15px; }.danny-text p { font-size: 1rem; color: var(--text-muted); }
.site-footer { position: relative; overflow: hidden; background: var(--graphite); color: #c6c9cc; border-top: 2px solid var(--orange); padding: 36px 0 20px; font-size: .875rem; }
.footer-wordmark { width: 235px; height: auto; max-height: 65px; object-fit: contain; object-position: left; }
.footer-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand-row > a:first-child { flex: 0 1 235px; min-width: 0; }
.footer-brand-row .instagram-link { color: #f5a166; }
.footer-inner > p { font-size: .8125rem; letter-spacing: .04em; margin: 16px 0 25px; }
.footer-partners { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin: 0 0 28px; }
.footer-partners h2 { margin: 0; font-size: 1.125rem; font-weight: 650; letter-spacing: .015em; color: #e4e6e8; }
.footer-partners a { color: #f5a166; font-size: .9375rem; text-decoration: underline; text-decoration-color: #f5a16666; text-underline-offset: 5px; }
.footer-partners a:hover { text-decoration-color: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid #ffffff24; }
.footer-bottom a { color: #f5a166; }.footer-bottom a:hover { text-decoration: underline; }
.portfolio-main { background: #f7f8f9; padding-bottom: 65px; }
.portfolio-intro { position: relative; isolation: isolate; padding: 48px 0 26px; overflow: hidden; }
.portfolio-heading-row { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.portfolio-intro h1 { margin: 9px 0 13px; font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.12; letter-spacing: -.045em; }
.portfolio-intro p { max-width: 620px; margin-block: 0; color: var(--text-muted); }
.portfolio-mark { width: 120px; height: 120px; object-fit: contain; }
.portfolio-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 16px; margin: 10px 0 24px; padding-block: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--text-muted); }
.portfolio-note strong { color: var(--text-main); font-weight: 600; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.portfolio-card { display: block; text-align: left; width: 100%; padding: 0; border: none; background: transparent; color: var(--text-main); }
.portfolio-card-media { position: relative; overflow: hidden; border-radius: 9px; background: #24282d; aspect-ratio: 1; }
.portfolio-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.portfolio-card:hover img { transform: scale(1.025); }
.card-open { position: absolute; bottom: 14px; right: 14px; display: grid; place-content: center; width: 36px; height: 36px; border-radius: 50%; background: #ffffffeb; color: #202326; font-size: 1.125rem; transition: background .2s; }
.portfolio-card:hover .card-open { background: #f5a166; }
.portfolio-card-caption { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-top: 13px; }
.portfolio-card h2 { font-size: 1rem; font-weight: 650; line-height: 1.4; margin: 4px 0 0; }
.card-photo-count { position: absolute; top: 14px; right: 14px; color: #fff; background: #171a1ebd; padding: 4px 9px; font-size: .75rem; border-radius: 4px; }
.card-category { font-size: .75rem; color: var(--text-muted); }.card-number { color: #73787d; font-size: .75rem; padding-top: 4px; font-variant-numeric: tabular-nums; }
.portfolio-dialog { width: min(1060px, calc(100vw - 64px)); max-width: none; max-height: calc(100dvh - 64px); margin: auto; padding: 0; border: 1px solid #ffffff33; border-radius: 15px; background: #22262b; color: var(--text-main); box-shadow: 0 30px 100px #0005; overflow: auto; overscroll-behavior: contain; }
.portfolio-dialog::backdrop { background: #111418aa; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dialog-shell { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; min-height: 520px; }
.project-gallery { background: #22262b; min-width: 0; position: sticky; top: 0; color: #fff; padding-bottom: 20px; }
.dialog-image { min-width: 0; height: min(550px, calc(100dvh - 260px)); display: flex; align-items: center; }
.dialog-image img { width: 100%; height: 100%; object-fit: contain; }
.dialog-content { min-width: 0; padding: 65px 32px 35px; background: #fff; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 0; }
.gallery-arrow { min-width: 44px; min-height: 44px; border: 1px solid #ffffff40; border-radius: 50%; background: transparent; color: #fff; font-size: 1.125rem; }
.gallery-arrow:hover { background: #ffffff1a; }.gallery-arrow:disabled { opacity: .35; cursor: default; }
#photo-count { font-size: .875rem; font-variant-numeric: tabular-nums; }
.photo-caption { font-size: .8125rem; color: #d0d4d8; padding: 0 22px; margin: 10px 0 16px; text-align: center; }
.photo-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 4px 22px; }
.photo-thumbnails button { flex-shrink: 0; width: 64px; height: 64px; padding: 2px; border: 2px solid transparent; border-radius: 5px; background: transparent; }
.photo-thumbnails [aria-pressed="true"] { border-color: #f0a16b; }.photo-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.project-story h3 { font-size: 1rem; margin: 28px 0 9px; }.project-story p { font-size: 1rem; margin-top: 0; }
.project-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px 16px; margin: 22px 0; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); font-size: .875rem; }
.project-facts dt { color: var(--text-muted); overflow-wrap: anywhere; }.project-facts dd { min-width: 0; margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.project-parts { margin: 0; padding-left: 1.1rem; color: var(--text-muted); font-size: .9375rem; line-height: 1.6; }
.project-parts li { margin: 8px 0; padding-left: .2rem; overflow-wrap: anywhere; }.project-parts li::marker { color: var(--accent); font-size: .8em; }
.copy-project-link { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; border: 1px solid #d8dce0; border-radius: 6px; background: #fff; color: #202326; font-size: .875rem; font-weight: 650; }
.copy-project-link:hover { border-color: var(--accent); }.copy-status { min-height: 23px; font-size: .8125rem; overflow-wrap: anywhere; }
.dialog-close { position: absolute; right: 14px; top: 14px; z-index: 2; min-height: 40px; border: 1px solid #d5d8dc; background: #fff; color: #202326; border-radius: 50px; padding: 7px 13px; font-size: .875rem; }
.mobile-back { display: none; }
.dialog-content h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.2; margin: 13px 0 18px; letter-spacing: -.025em; }
.dialog-content p { color: var(--text-muted); }
.dialog-placeholder-note { font-size: .875rem; padding-top: 22px; margin-top: 25px; border-top: 1px solid var(--line); }
.dialog-brand { width: 70px; height: 70px; object-fit: contain; margin-bottom: 28px; }
@media (max-width: 960px) {
  .nav { gap: 16px; }.nav-links { gap: 16px; font-size: .8125rem; }
  .logo-type { font-size: 1rem; }.logo img { width: 44px; height: 44px; }
  .about-grid, .location-grid { gap: 20px; }
  .services-grid { gap: 14px; }.service-card { padding: 19px; }
  .dialog-shell { grid-template-columns: 1.1fr 1fr; min-height: 420px; }.dialog-content { padding: 65px 24px 24px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 88px; }.container { padding-inline: 20px; }
  .site-header { --nav-height: 76px; height: 76px; }
  .site-header.scrolled { --nav-height: 62px; }
  .nav { flex-wrap: wrap; gap: 0 12px; padding-block: 12px; }
  .site-header.scrolled .nav { padding-block: 5px; }
  .site-header.scrolled .logo img { width: 38px; height: 38px; }
  .nav-toggle:not([hidden]) { display: flex; gap: 9px; align-items: center; }
  .nav-links { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 4px 18px; padding-block: 12px 4px; font-size: .875rem; }
  .js .nav-links:not(.is-open) { display: none; }
  .js .nav-links { position: absolute; top: var(--nav-height); left: 0; padding: 12px 20px 16px; background: linear-gradient(110deg, #f6b358, #e97d35 75%, #e4742f); box-shadow: 0 10px 20px #171a1e14; transition: top .28s ease; }
  html:not(.js) .site-header { height: auto; }
  html:not(.js) .site-header::before { height: 100%; }
  .nav-links a:last-child { padding: 10px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
  section { padding-block: 34px; }.hero { padding: 34px 0; }
  .hero h1 { font-size: clamp(1.8rem, 7.4vw, 2.4rem); margin-top: 16px; }.hero-kicker { font-size: .75rem; letter-spacing: .085em; }
  .hero-subtitle { text-align: left; }.hero-badges { justify-content: flex-start; }.badge { font-size: .75rem; padding: 6px 9px; }
  .hero-cta-group { justify-content: flex-start; }.hero-carousel { margin-block: 21px; }.carousel-container { border-radius: 11px; }
  .about-grid, .services-grid, .location-grid, .danny-section { grid-template-columns: minmax(0, 1fr); }
  .about-card, .location-card, .contact-card, .service-card { padding: 22px; }.about-placeholder img { height: 280px; }
  .danny-section { gap: 25px; }.danny-photo-placeholder { width: 210px; height: 265px; }
  .portfolio-intro { padding: 32px 0 24px; }.portfolio-intro::after { right: -130px; }.portfolio-mark { display: none; }
  .portfolio-note { margin-top: 0; }.portfolio-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .portfolio-card-media { border-radius: 8px; }
  .portfolio-dialog { width: 100%; height: 100dvh; max-height: 100dvh; border: none; border-radius: 0; margin: 0; }
  .dialog-shell { display: block; min-height: 100%; padding-top: calc(60px + env(safe-area-inset-top)); }
  .dialog-close { position: fixed; left: 14px; right: auto; top: calc(10px + env(safe-area-inset-top)); border: 0; border-radius: 5px; min-height: 40px; padding: 7px 9px; }
  .dialog-shell::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: calc(60px + env(safe-area-inset-top)); background: #fff; z-index: 1; border-bottom: 1px solid var(--line); }
  .desktop-close { display: none; }.mobile-back { display: inline; }
  .project-gallery { position: static; }.dialog-image { height: auto; aspect-ratio: 1; }.dialog-image img { height: 100%; }.dialog-content { padding: 28px 24px calc(30px + env(safe-area-inset-bottom)); }.dialog-brand { display: none; }
  .footer-bottom { flex-direction: column; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
