@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  /* colors */
  --charcoal-900: #1E1E1E;
  --charcoal-700: #4A4A48;
  --brass-500: #A9825A;
  --brass-300: #C4A582;
  --sand-200: #D8CFC0;
  --paper-50: #FAFAF8;
  --white: #FFFFFF;
  --success: #5C7A5C;
  --danger: #A9503D;
  --text-heading: var(--charcoal-900);
  --text-body: var(--charcoal-700);
  --text-muted: color-mix(in oklch, var(--charcoal-700) 65%, var(--paper-50));
  --text-on-dark: var(--paper-50);
  --text-accent: var(--brass-500);
  --surface-page: var(--paper-50);
  --surface-card: var(--white);
  --surface-sunken: var(--sand-200);
  --surface-dark: var(--charcoal-900);
  --border-subtle: color-mix(in oklch, var(--charcoal-900) 12%, transparent);
  --border-strong: var(--charcoal-900);
  --border-accent: var(--brass-500);
  --focus-ring: color-mix(in oklch, var(--brass-500) 55%, transparent);

  /* fonts */
  --font-serif-display: 'Fraunces', Georgia, serif;
  --font-sans-body: 'Public Sans', -apple-system, sans-serif;

  /* typography */
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.75rem;
  --text-4xl: 3.75rem;
  --text-5xl: 5rem;
  --leading-tight: 1.08;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.06em;
  --tracking-wider: 0.14em;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
  --space-10: 9rem;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-pill: 999px;
  --border-width-hairline: 1px;
  --border-width-thick: 3px;
  --shadow-card: 0 1px 2px color-mix(in oklch, var(--charcoal-900) 8%, transparent), 0 8px 24px color-mix(in oklch, var(--charcoal-900) 10%, transparent);
  --shadow-lifted: 0 4px 8px color-mix(in oklch, var(--charcoal-900) 10%, transparent), 0 20px 48px color-mix(in oklch, var(--charcoal-900) 14%, transparent);
  --ease-standard: cubic-bezier(.4,0,.2,1);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 360ms;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--surface-page);
  font-family: var(--font-sans-body);
  color: var(--text-body);
  min-height: 100vh;
}

a { color: var(--brass-500); }
a:hover { color: var(--charcoal-900); }

button { font: inherit; }

img { max-width: 100%; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--sand-200); border-radius: 8px; }

/* ---------- keyframes ---------- */
@keyframes homeZoomFade {
  0% { opacity: 1; }
  9.99% { opacity: 1; }
  10% { opacity: 0; }
  99.99% { opacity: 0; }
}
@keyframes homeZoomIn {
  0% { transform: scale(1); }
  10% { transform: scale(1.14); }
}
@keyframes homeZoomOut {
  0% { transform: scale(1.14); }
  10% { transform: scale(1); }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeRev {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 84px;
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header .logo-link {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.site-header .logo-link img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.site-nav .nav-link {
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-sans-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0 0 4px;
  color: var(--charcoal-700);
  border-bottom: 3px solid transparent;
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard);
}

.site-nav .nav-link:hover { color: var(--charcoal-900); }

.site-nav .nav-link.active {
  color: var(--charcoal-900);
  border-bottom-color: var(--brass-500);
}

/* ---------- tabs ---------- */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp var(--duration-slow) var(--ease-standard); }

/* ---------- home ---------- */
.hero-intro {
  background: var(--charcoal-900);
  color: var(--paper-50);
  padding: 96px 40px 64px;
  text-align: center;
}

.hero-intro .brand {
  font-family: var(--font-serif-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--paper-50);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.hero-intro .eyebrow {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--brass-500);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-intro h1 {
  font-family: var(--font-serif-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.1;
  margin: 0 auto;
  max-width: 980px;
  letter-spacing: -0.01em;
}

.hero-slideshow {
  position: relative;
  height: 62vh;
  min-height: 380px;
  overflow: hidden;
  background: var(--charcoal-900);
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slideshow .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,30,30,0.05) 0%, rgba(30,30,30,0.35) 100%);
  z-index: 5;
}

.marquee-row {
  background: var(--surface-page);
  padding: 22px 0;
  overflow: hidden;
  border-bottom: 0.5px solid var(--charcoal-900);
  white-space: nowrap;
}

.marquee-row.images-row { padding: 20px 0; }

.marquee-track {
  display: inline-flex;
  animation: marquee 26s linear infinite;
}

.marquee-track.reverse {
  animation: marqueeRev 102s linear infinite;
}

.marquee-text-group {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  font-family: var(--font-sans-body);
  font-size: var(--text-lg);
  color: var(--charcoal-700);
  font-weight: 500;
}

.marquee-text-group .dot { color: var(--brass-500); }

.marquee-image-group {
  display: inline-flex;
  gap: 14px;
  padding-right: 14px;
}

.marquee-image-group img {
  height: 128px;
  width: 172px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.trust-band {
  background: var(--charcoal-900);
  color: var(--paper-50);
  padding: 96px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.trust-band .rule {
  width: 64px;
  border-top: 3px solid var(--brass-500);
  border-bottom: 1px solid var(--charcoal-700);
  padding-bottom: 6px;
}

.trust-band h2 {
  font-family: var(--font-serif-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0;
  max-width: 640px;
}

.trust-band p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--sand-200);
  max-width: 640px;
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans-body);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}

.btn-brass {
  margin-top: 10px;
  background: var(--brass-500);
  color: var(--paper-50);
  border-bottom: 3px solid var(--paper-50);
  padding: 16px 34px;
  font-size: var(--text-sm);
}
.btn-brass:hover { background: var(--paper-50); color: var(--charcoal-900); border-bottom-color: var(--brass-500); }

.btn-dark {
  background: var(--charcoal-900);
  color: var(--paper-50);
  border-bottom: 3px solid var(--brass-500);
  padding: 16px 30px;
  font-size: var(--text-sm);
}
.btn-dark:hover { background: var(--brass-500); border-bottom-color: var(--charcoal-900); }

.btn-large-brass {
  background: var(--brass-500);
  color: var(--paper-50);
  border-bottom: 4px solid var(--charcoal-900);
  padding: 22px 52px;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-lifted);
}
.btn-large-brass:hover { background: var(--charcoal-900); transform: translateY(-3px); }

.btn-outline {
  background: transparent;
  color: var(--charcoal-900);
  border: 1.5px solid var(--charcoal-900);
  padding: 16px 34px;
  font-size: var(--text-sm);
  margin-bottom: 32px;
}
.btn-outline:hover { background: var(--charcoal-900); color: var(--paper-50); }

.btn-submit {
  margin-top: 8px;
  align-self: center;
  background: var(--charcoal-900);
  color: var(--paper-50);
  border-bottom: 3px solid var(--brass-500);
  padding: 16px 44px;
  font-size: var(--text-sm);
}
.btn-submit:hover { background: var(--brass-500); }

/* ---------- generic tab layout ---------- */
.tab-main {
  padding: 88px 40px 100px;
}

.tab-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.tab-heading .eyebrow {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--brass-500);
  font-weight: 600;
  margin-bottom: 14px;
}

.tab-heading h1 {
  font-family: var(--font-serif-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--charcoal-900);
  margin: 0 0 14px;
}

.tab-heading p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--charcoal-700);
  margin: 0;
}

/* ---------- project types ---------- */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.type-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}
.type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lifted); }

.type-card .media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.type-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--ease-standard);
}
.type-card .media:hover img { transform: scale(1.08); }

.type-card .body { padding: 24px; }

.type-card h3 {
  font-family: var(--font-serif-display);
  font-size: var(--text-xl);
  color: var(--charcoal-900);
  margin: 0 0 10px;
  font-weight: 600;
}

.type-card .body p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--charcoal-700);
  margin: 0;
}

/* ---------- caption chip (project types + gallery) ---------- */
.caption {
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent;
  color: var(--charcoal-900);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  max-width: calc(100% - 24px);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-standard);
  pointer-events: none;
  text-shadow: 0 1px 2px var(--paper-50), 0 0 6px var(--paper-50);
}

.caption.light {
  left: auto;
  right: 12px;
  text-align: right;
  color: var(--paper-50);
  text-shadow: 0 1px 3px rgba(30,30,30,0.9), 0 0 8px rgba(30,30,30,0.7);
}

.caption.dark-on-light {
  color: var(--charcoal-900);
  text-shadow: 0 1px 2px var(--paper-50), 0 0 6px var(--paper-50);
}

.gallery-tile:hover .caption { opacity: 1; }

body.always-captions .caption { opacity: 1; }

/* ---------- process ---------- */
.process-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 72px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.process-col { flex: 1 1 420px; min-width: 320px; }

.process-col h1 { margin: 0 0 40px; }

.process-step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 0;
}

.process-step .n {
  font-family: var(--font-serif-display);
  font-size: var(--text-2xl);
  color: var(--brass-500);
  font-weight: 600;
  flex-shrink: 0;
  width: 44px;
}

.process-step .title {
  font-size: var(--text-lg);
  color: var(--charcoal-900);
  font-weight: 600;
  margin-bottom: 6px;
}

.process-step .text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--charcoal-700);
}

.process-image-col {
  flex: 1 1 380px;
  min-width: 300px;
  position: sticky;
  top: 110px;
}

.process-image-col .frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lifted);
  border-bottom: 3px solid var(--brass-500);
}

.process-image-col img { width: 100%; display: block; }

/* ---------- gallery ---------- */
.gallery-groups {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.gallery-divider {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
}

.gallery-grid {
  display: grid;
  gap: 14px;
}

.gallery-grid.g1 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; }
.gallery-grid.g2 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; }
.gallery-grid.g3 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 360px; }

.gallery-tile {
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
}

.gallery-grid.g1 .gallery-tile { background: var(--sand-200); }

.gallery-tile img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 500ms var(--ease-standard);
}

.gallery-grid.g1 .gallery-tile img { object-fit: contain; }
.gallery-grid.g2 .gallery-tile img,
.gallery-grid.g3 .gallery-tile img { object-fit: cover; }

.gallery-grid.g1 .gallery-tile:hover img { transform: scale(1.06); }
.gallery-grid.g2 .gallery-tile:hover img,
.gallery-grid.g3 .gallery-tile:hover img { transform: scale(1.08); }

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

/* ---------- permit ---------- */
.permit-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.permit-text { flex: 1 1 480px; min-width: 300px; }

.permit-text h1 {
  font-family: var(--font-serif-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--charcoal-900);
  margin: 0 0 34px;
}

.permit-text p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--charcoal-700);
  margin: 0 0 20px;
}

.permit-text h2 {
  font-family: var(--font-serif-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  color: var(--charcoal-900);
  margin: 0 0 18px;
}

.permit-cta {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--sand-200);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  align-self: flex-start;
  position: sticky;
  top: 130px;
}

.permit-cta p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--charcoal-900);
  margin: 0;
  text-align: center;
  font-weight: 500;
}

/* ---------- contact ---------- */
.contact-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.booking-embed {
  max-width: 920px;
  margin: 0 auto 72px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface-sunken);
  overflow: auto;
  box-shadow: var(--shadow-card);
  height: 85vh;
  min-height: 680px;
  max-height: 900px;
}

.booking-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 680px;
  border: 0;
}

@media (max-width: 560px) {
  .booking-embed { height: 85vh; min-height: 760px; max-height: 1050px; }
  .booking-embed iframe { min-height: 760px; }
}

.contact-form-wrap { max-width: 640px; margin: 0 auto; text-align: center; }

.or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.or-divider .line { flex: 1; height: 1px; background: var(--border-subtle); }

.or-divider span {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--charcoal-700);
}

.thank-you {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.thank-you .title {
  font-family: var(--font-serif-display);
  font-size: var(--text-xl);
  color: var(--charcoal-900);
  margin-bottom: 8px;
}

.thank-you p {
  font-size: var(--text-sm);
  color: var(--charcoal-700);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.contact-form[hidden] { display: none; }

.contact-form label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--charcoal-700);
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--charcoal-900);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans-body);
  font-size: var(--text-base);
  background: var(--surface-card);
  color: var(--charcoal-900);
}

.contact-form textarea { resize: vertical; }

.form-error {
  background: color-mix(in oklch, var(--danger) 10%, var(--surface-card));
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: var(--text-sm);
  color: var(--charcoal-900);
  margin: 0 0 18px;
  text-align: left;
}

.form-error a { color: var(--danger); font-weight: 600; }

.botcheck-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ---------- faq ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border-subtle); }

.faq-item .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  padding: 24px 4px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-serif-display);
  font-size: var(--text-lg);
  color: var(--charcoal-900);
  font-weight: 600;
}
.faq-item .faq-question:hover { color: var(--brass-500); }

.faq-item .faq-icon {
  font-family: var(--font-sans-body);
  font-size: 20px;
  color: var(--brass-500);
  transition: transform var(--duration-base) var(--ease-standard);
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-item .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-standard);
}

.faq-item.open .faq-body { max-height: 400px; }

.faq-item .faq-body p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--charcoal-700);
  margin: 0 0 24px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--charcoal-900);
  color: var(--paper-50);
  padding: 56px 40px 30px;
  font-family: var(--font-sans-body);
}

.site-footer .footer-top {
  max-width: 1280px;
  margin: 0 auto 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .footer-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.site-footer .footer-brand span {
  font-family: var(--font-serif-display);
  font-size: var(--text-lg);
  font-weight: 600;
}

.site-footer .footer-contact {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--sand-200);
}

.site-footer .footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--charcoal-700);
  padding-top: 18px;
  font-size: var(--text-xs);
  color: var(--charcoal-700);
}
