:root {
  color-scheme: light;
  --canvas: 246 243 237;
  --canvas-muted: 236 231 222;
  --ink: 28 26 24;
  --ink-muted: 82 76 70;
  --ink-subtle: 124 116 106;
  --accent: 72 112 106;
  --accent-soft: 186 205 198;
  --frost: 255 255 255;
  --border: 215 206 192;
  --ring: 72 112 106;
}

.dark {
  color-scheme: dark;
  --canvas: 11 13 20;
  --canvas-muted: 18 21 30;
  --ink: 242 238 230;
  --ink-muted: 186 178 166;
  --ink-subtle: 138 130 118;
  --accent: 164 196 186;
  --accent-soft: 52 68 64;
  --frost: 22 26 36;
  --border: 42 48 62;
  --ring: 164 196 186;
}

/* Site font: Cormorant Garamond only (navbar, hero, and all pages) */
html {
  --font-cormorant: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  scroll-behavior: smooth;
}

html,
body,
.font-serif,
.font-sans,
.font-script,
button,
input,
select,
textarea {
  font-family: var(--font-cormorant);
}

/* Design tokens — Tailwind CDN does not compile custom theme colors; explicit fallbacks */
.bg-canvas {
  background-color: rgb(var(--canvas));
}
.bg-canvas-muted {
  background-color: rgb(var(--canvas-muted));
}
.text-ink {
  color: rgb(var(--ink));
}
.text-ink-muted {
  color: rgb(var(--ink-muted));
}
.text-ink-subtle {
  color: rgb(var(--ink-subtle));
}
.text-accent {
  color: rgb(var(--accent));
}
.bg-accent {
  background-color: rgb(var(--accent));
}
.bg-accent-soft {
  background-color: rgb(var(--accent-soft));
}
.bg-frost {
  background-color: rgb(var(--frost));
}
.border-accent {
  border-color: rgb(var(--accent));
}
.border-accent\/30 {
  border-color: rgb(var(--accent) / 0.3);
}
.outline-accent,
.ring-accent {
  --tw-ring-color: rgb(var(--accent));
  outline-color: rgb(var(--accent));
}
.ring-accent\/30 {
  --tw-ring-color: rgb(var(--accent) / 0.3);
}
.shadow-accent\/25 {
  --tw-shadow-color: rgb(var(--accent) / 0.25);
  box-shadow:
    0 10px 15px -3px rgb(var(--accent) / 0.25),
    0 4px 6px -4px rgb(var(--accent) / 0.25);
}
.hover\:bg-accent\/90:hover {
  background-color: rgb(var(--accent) / 0.9);
}
.border-ink\/10 {
  border-color: rgb(var(--ink) / 0.1);
}
.bg-white\/40 {
  background-color: rgb(255 255 255 / 0.4);
}
.bg-white\/50 {
  background-color: rgb(255 255 255 / 0.5);
}
.bg-white\/60 {
  background-color: rgb(255 255 255 / 0.6);
}
.bg-white\/80,
.hover\:bg-white\/80:hover {
  background-color: rgb(255 255 255 / 0.8);
}
.hover\:bg-white\/70:hover {
  background-color: rgb(255 255 255 / 0.7);
}
.hover\:bg-white\/90:hover {
  background-color: rgb(255 255 255 / 0.9);
}
.bg-accent\/10 {
  background-color: rgb(var(--accent) / 0.1);
}
.max-w-site {
  max-width: min(100%, 110rem);
}
.ease-luxury {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.bg-noise-soft {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

.dark .dark\:border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}
.dark .dark\:bg-white\/\[0\.06\] {
  background-color: rgb(255 255 255 / 0.06);
}
.dark .dark\:hover\:bg-white\/\[0\.1\]:hover,
.dark .dark\:hover\:bg-white\/\[0\.12\]:hover {
  background-color: rgb(255 255 255 / 0.1);
}
.dark .dark\:hover\:bg-white\/8:hover {
  background-color: rgb(255 255 255 / 0.08);
}
.dark .dark\:bg-white\/\[0\.08\] {
  background-color: rgb(255 255 255 / 0.08);
}
.bg-ink\/15 {
  background-color: rgb(var(--ink) / 0.15);
}
.hover\:bg-ink\/30:hover {
  background-color: rgb(var(--ink) / 0.3);
}
.dark .bg-white\/15 {
  background-color: rgb(255 255 255 / 0.15);
}
.ring-accent\/30:focus {
  --tw-ring-color: rgb(var(--accent) / 0.3);
}
.focus\:ring-2:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgb(var(--accent) / 0.3);
}
.dark .dark\:text-ink {
  color: rgb(var(--ink));
}
.dark .dark\:text-ink-muted {
  color: rgb(var(--ink-muted));
}
.dark .dark\:bg-white\/20 {
  background-color: rgb(255 255 255 / 0.2);
}
.dark .dark\:hover\:bg-white\/30:hover {
  background-color: rgb(255 255 255 / 0.3);
}

/* Page shell — matches globals.css body */
body {
  background-color: rgb(var(--canvas));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  color: rgb(var(--ink));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

::selection {
  background: rgb(var(--accent-soft) / 0.45);
}

a {
  transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

:focus-visible {
  outline: 2px solid rgb(var(--ring));
  outline-offset: 2px;
}

.glass-panel,
.glass-panel-stained {
  border-radius: 1.5rem;
  border: 1px solid rgb(167 243 208 / 0.38);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.28),
    inset 0 -1px 0 rgb(0 0 0 / 0.06),
    0 14px 44px rgb(15 80 60 / 0.12);
  backdrop-filter: blur(22px) saturate(1.45);
  background: linear-gradient(
    142deg,
    rgb(255 255 255 / 0.48) 0%,
    rgb(72 112 106 / 0.26) 38%,
    rgb(220 252 231 / 0.42) 72%,
    rgb(236 253 245 / 0.55) 100%
  );
}

.dark .glass-panel,
.dark .glass-panel-stained {
  border-color: rgb(52 211 153 / 0.22);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 12px 40px rgb(0 0 0 / 0.35);
  background: linear-gradient(
    142deg,
    rgb(8 45 38 / 0.58) 0%,
    rgb(15 55 48 / 0.48) 45%,
    rgb(6 30 28 / 0.52) 100%
  );
}

.glass-strip {
  backdrop-filter: blur(20px) saturate(1.42);
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 0.52) 0%,
    rgb(220 252 231 / 0.38) 55%,
    rgb(236 253 245 / 0.45) 100%
  );
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22);
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: none !important;
  -webkit-transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  padding-top: env(safe-area-inset-top, 0px);
}

body.mobile-nav-open {
  overflow: hidden;
}

.dark .glass-strip {
  background: linear-gradient(
    180deg,
    rgb(12 48 40 / 0.72) 0%,
    rgb(8 32 30 / 0.65) 100%
  );
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.text-balance-pretty {
  text-wrap: balance;
}

.legal-doc h2 {
  margin-top: 2.5rem;
  font-family: inherit;
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: -0.025em;
  color: rgb(var(--ink));
}
.legal-doc h2:first-child {
  margin-top: 0;
}
.legal-doc h3 {
  margin-top: 1.5rem;
  font-family: inherit;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: rgb(var(--ink));
}
.legal-doc p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgb(var(--ink-muted));
}
@media (min-width: 640px) {
  .legal-doc p {
    font-size: 1.125rem;
    line-height: 1.75;
  }
}
.legal-doc ul,
.legal-doc ol {
  margin-top: 1rem;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgb(var(--ink-muted));
}
.legal-doc ul {
  list-style: disc;
}
.legal-doc ol {
  list-style: decimal;
}
.legal-doc li {
  line-height: 1.625;
}
.legal-doc strong {
  color: rgb(var(--ink));
}

.checklist-card h3 {
  font-family: inherit;
  font-size: 1.5rem;
  line-height: 2rem;
  color: rgb(var(--ink));
}
.checklist-card ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
  font-size: 1rem;
  line-height: 1.625;
  color: rgb(var(--ink-muted));
}
@media (min-width: 640px) {
  .checklist-card ul,
  .checklist-card p {
    font-size: 1.125rem;
    line-height: 1.75;
  }
}
.checklist-card p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgb(var(--ink-muted));
}
.checklist-card strong {
  color: rgb(var(--ink));
}

.checklist-services-grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1280px) {
  .checklist-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.checklist-service-lead {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgb(var(--ink-muted));
}

@media (min-width: 640px) {
  .checklist-service-lead {
    font-size: 1.0625rem;
    line-height: 1.7;
  }
}

.checklist-section-title {
  font-family: inherit;
  font-size: 1.875rem;
  line-height: 2.25rem;
  letter-spacing: -0.025em;
  color: rgb(var(--ink));
}

.checklist-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgb(var(--ink));
}

@media (min-width: 640px) {
  .checklist-note p {
    font-size: 1.125rem;
    line-height: 1.75;
  }
}

.checklist-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.checklist-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.checklist-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 1rem 1.25rem;
  text-align: center;
  font-weight: 600;
  color: rgb(var(--ink));
  background: rgb(236 253 245 / 0.92);
  border-bottom: 1px solid rgb(167 243 208 / 0.45);
}

.dark .checklist-table thead th {
  background: rgb(12 48 40 / 0.95);
  border-bottom-color: rgb(52 211 153 / 0.22);
}

.checklist-table thead th:first-child {
  text-align: left;
}

.checklist-table tbody th,
.checklist-table tbody td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgb(167 243 208 / 0.28);
  vertical-align: middle;
}

.dark .checklist-table tbody th,
.dark .checklist-table tbody td {
  border-bottom-color: rgb(52 211 153 / 0.14);
}

.checklist-table tbody th {
  font-weight: 500;
  text-align: left;
  color: rgb(var(--ink));
}

.checklist-table tbody td {
  text-align: center;
  color: rgb(var(--ink-muted));
}

.checklist-table tbody tr:last-child th,
.checklist-table tbody tr:last-child td {
  border-bottom: 0;
}

.checklist-table tbody tr:nth-child(even) {
  background: rgb(255 255 255 / 0.22);
}

.dark .checklist-table tbody tr:nth-child(even) {
  background: rgb(255 255 255 / 0.03);
}

.checklist-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgb(6 78 59);
  background: rgb(167 243 208 / 0.55);
}

.dark .checklist-yes {
  color: rgb(167 243 208);
  background: rgb(6 78 59 / 0.55);
}

.checklist-no {
  color: rgb(var(--ink-subtle));
}

.checklist-stamps {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .checklist-stamps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.checklist-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.checklist-stamp-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 9999px;
  color: rgb(6 78 59);
  background:
    radial-gradient(circle at 30% 25%, rgb(255 255 255 / 0.55), transparent 55%),
    linear-gradient(145deg, rgb(220 252 231 / 0.95), rgb(167 243 208 / 0.75));
  border: 3px double rgb(16 120 88 / 0.55);
  box-shadow:
    inset 0 0 0 4px rgb(255 255 255 / 0.35),
    inset 0 -2px 8px rgb(15 80 60 / 0.12),
    0 10px 28px rgb(15 80 60 / 0.14);
}

.dark .checklist-stamp-seal {
  color: rgb(167 243 208);
  background:
    radial-gradient(circle at 30% 25%, rgb(255 255 255 / 0.08), transparent 55%),
    linear-gradient(145deg, rgb(12 48 40 / 0.95), rgb(6 78 59 / 0.85));
  border-color: rgb(52 211 153 / 0.45);
  box-shadow:
    inset 0 0 0 4px rgb(255 255 255 / 0.06),
    0 10px 28px rgb(0 0 0 / 0.35);
}

.checklist-stamp-seal svg {
  width: 2.75rem;
  height: 2.75rem;
}

.checklist-stamp-seal--satisfaction {
  transform: rotate(-4deg);
}

.checklist-stamp-seal--insured {
  transform: rotate(3deg);
}

.checklist-stamp-seal--stars {
  transform: rotate(-2deg);
}

.checklist-stamp-seal--eco {
  transform: rotate(5deg);
}

.checklist-stamp-label {
  max-width: 11rem;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgb(var(--ink));
}

.checklist-stamp-sub {
  max-width: 11rem;
  margin: -0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgb(var(--ink-muted));
}

.checklist-star {
  font-size: 0.75em;
  color: rgb(var(--accent));
  font-weight: 700;
}

.checklist-footnote {
  max-width: 48rem;
  margin-inline: auto;
  padding-top: 1rem;
  border-top: 1px solid rgb(167 243 208 / 0.35);
}

.dark .checklist-footnote {
  border-top-color: rgb(52 211 153 / 0.2);
}

.checklist-footnote p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgb(var(--ink-muted));
}

@media (min-width: 640px) {
  .checklist-footnote p {
    font-size: 0.9375rem;
  }
}

.compare-table-wrap {
  width: 100%;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.compare-col-feature {
  width: 24%;
}

.compare-col-ghc {
  width: 26%;
}

.compare-col-local,
.compare-col-franchise {
  width: 25%;
}

.compare-table thead th {
  padding: 1.125rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: rgb(var(--ink));
  vertical-align: top;
  background: rgb(236 253 245 / 0.96);
  border-bottom: 2px solid rgb(167 243 208 / 0.55);
  border-right: 1px solid rgb(167 243 208 / 0.4);
}

.compare-table thead th:last-child {
  border-right: 0;
}

.dark .compare-table thead th {
  background: rgb(12 48 40 / 0.98);
  border-bottom-color: rgb(52 211 153 / 0.3);
  border-right-color: rgb(52 211 153 / 0.18);
}

.compare-table thead th.compare-table-col--highlight {
  color: rgb(6 78 59);
  background: linear-gradient(180deg, rgb(220 252 231 / 0.98), rgb(167 243 208 / 0.5));
  box-shadow: inset 0 3px 0 rgb(16 120 88 / 0.55);
}

.dark .compare-table thead th.compare-table-col--highlight {
  color: rgb(167 243 208);
  background: linear-gradient(180deg, rgb(12 58 48 / 0.98), rgb(6 78 59 / 0.72));
  box-shadow: inset 0 3px 0 rgb(52 211 153 / 0.45);
}

.compare-table-head-main {
  display: block;
}

.compare-table-subhead {
  display: block;
  margin-top: 0.5rem;
}

.compare-table-subhead-line {
  display: block;
  font-size: 0.75rem;
  line-height: 1.45;
  font-weight: 500;
  color: rgb(var(--ink-muted));
}

.compare-table-subhead-line + .compare-table-subhead-line {
  margin-top: 0.15rem;
}

.compare-table tbody th,
.compare-table tbody td {
  padding: 1.125rem 1.5rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgb(167 243 208 / 0.45);
  border-right: 1px solid rgb(167 243 208 / 0.32);
  overflow-wrap: anywhere;
  word-break: normal;
}

.dark .compare-table tbody th,
.dark .compare-table tbody td {
  border-bottom-color: rgb(52 211 153 / 0.2);
  border-right-color: rgb(52 211 153 / 0.14);
}

.compare-table tbody th:last-child,
.compare-table tbody td:last-child {
  border-right: 0;
}

.compare-table tbody th {
  font-weight: 600;
  color: rgb(var(--ink));
  background: rgb(255 255 255 / 0.18);
}

.dark .compare-table tbody th {
  background: rgb(255 255 255 / 0.03);
}

.compare-table tbody td {
  color: rgb(var(--ink-muted));
}

.compare-table tbody td.compare-table-col--highlight {
  font-weight: 600;
  color: rgb(6 78 59);
  background: rgb(220 252 231 / 0.22);
}

.dark .compare-table tbody td.compare-table-col--highlight {
  color: rgb(167 243 208);
  background: rgb(6 78 59 / 0.2);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table-cell--ghc {
  transition:
    background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .compare-table-cell--ghc:hover {
    cursor: default;
    color: rgb(4 47 46);
    background: rgb(167 243 208 / 0.62);
    box-shadow:
      inset 0 0 0 1px rgb(16 120 88 / 0.28),
      0 0 22px rgb(52 211 153 / 0.38);
  }

  .dark .compare-table-cell--ghc:hover {
    color: rgb(236 253 245);
    background: rgb(16 120 88 / 0.48);
    box-shadow:
      inset 0 0 0 1px rgb(52 211 153 / 0.35),
      0 0 22px rgb(52 211 153 / 0.28);
  }
}

@media (min-width: 1024px) {
  .compare-table {
    font-size: 1rem;
  }

  .compare-table thead th,
  .compare-table tbody th,
  .compare-table tbody td {
    padding: 1.25rem 1.75rem;
  }

  .compare-table-subhead-line {
    font-size: 0.8125rem;
  }
}

@media (max-width: 767px) {
  .compare-table {
    min-width: 44rem;
    font-size: 0.8125rem;
  }

  .compare-table thead th,
  .compare-table tbody th,
  .compare-table tbody td {
    padding: 0.875rem 1rem;
  }

  .compare-table-subhead-line {
    font-size: 0.6875rem;
  }
}

.google-star {
  color: rgb(var(--ink-subtle));
}
.google-star--filled {
  color: rgb(var(--accent));
}

/* Pill CTAs — same as services page; fully self-contained (no Tailwind CDN required) */
a.ghc-btn,
button.ghc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 9999px;
  border: 1px solid rgb(var(--ink) / 0.1);
  background-color: rgb(255 255 255 / 0.6);
  padding: 0.75rem 2rem;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: rgb(var(--ink));
  text-decoration: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  cursor: pointer;
  box-sizing: border-box;
}

a.ghc-btn:hover,
button.ghc-btn:hover {
  background-color: rgb(255 255 255 / 0.9);
  text-decoration: none;
}

.dark a.ghc-btn,
.dark button.ghc-btn {
  border-color: rgb(255 255 255 / 0.1);
  background-color: rgb(255 255 255 / 0.06);
}

.dark a.ghc-btn:hover,
.dark button.ghc-btn:hover {
  background-color: rgb(255 255 255 / 0.12);
}

a.ghc-btn--primary,
button.ghc-btn--primary {
  border-color: transparent;
  background-color: rgb(var(--accent));
  color: #fff;
  box-shadow:
    0 10px 15px -3px rgb(var(--accent) / 0.25),
    0 4px 6px -4px rgb(var(--accent) / 0.25);
}

a.ghc-btn--primary:hover,
button.ghc-btn--primary:hover {
  background-color: rgb(var(--accent) / 0.9);
  color: #fff;
}

.dark a.ghc-btn--primary:hover,
.dark button.ghc-btn--primary:hover {
  background-color: rgb(var(--accent) / 0.9);
}

a.ghc-btn--text,
button.ghc-btn--text {
  border-color: transparent;
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: rgb(var(--accent));
  padding-left: 1rem;
  padding-right: 1rem;
  box-shadow: none;
}

a.ghc-btn--text:hover,
button.ghc-btn--text:hover {
  background-color: transparent;
  color: rgb(var(--accent));
  text-decoration: underline;
  text-underline-offset: 8px;
}

.dark a.ghc-btn--text:hover,
.dark button.ghc-btn--text:hover {
  background-color: transparent;
}

button.ghc-btn--submit {
  min-height: 48px;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

button.ghc-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

#ghc-lightbox.is-open {
  display: flex;
}

#ghc-lightbox.is-open.is-animating #ghc-lightbox-img {
  animation: ghc-lightbox-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ghc-lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  #cinematic-hero {
    display: none !important;
  }
  #cinematic-hero-reduced {
    display: flex !important;
  }
}

#cinematic-hero-reduced {
  display: none;
}

[data-form-status]:not([hidden]) {
  animation: form-status-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes form-status-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cinematic hero */
#cinematic-hero .hero-layer {
  transition: opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}
#cinematic-hero .hero-line {
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
#cinematic-hero .hero-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}
#cinematic-hero .hero-line:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
}
#cinematic-hero .hero-signature {
  font-size: clamp(2.75rem, 12vw, 6.75rem);
  line-height: 1.08;
}

#cinematic-hero .hero-signature-line {
  display: inline;
  white-space: nowrap;
}

#cinematic-hero .hero-signature-line + .hero-signature-line::before {
  content: "\00a0";
}

@media (max-width: 639px) and (orientation: portrait) {
  #cinematic-hero .hero-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12em;
    font-size: clamp(2rem, 10.5vw, 3.35rem);
    line-height: 1.05;
  }

  #cinematic-hero .hero-signature-line {
    display: block;
    text-align: center;
    white-space: nowrap;
  }

  #cinematic-hero .hero-signature-line + .hero-signature-line::before {
    content: none;
  }
}

#cinematic-hero .signature-char {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(8px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
#cinematic-hero .signature-char.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
#cinematic-hero .stained-overlay {
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}
#portfolio-carousel .portfolio-carousel-stage {
  --carousel-height: 17.5rem;
  --carousel-main-width: min(58vw, 34rem);
  --carousel-side-width: min(22vw, 10.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: var(--carousel-height);
  margin-inline: auto;
  padding-block: 1.5rem;
}

@media (min-width: 640px) {
  #portfolio-carousel .portfolio-carousel-stage {
    --carousel-height: 20rem;
    --carousel-main-width: min(50vw, 36rem);
    --carousel-side-width: min(20vw, 12.5rem);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  #portfolio-carousel .portfolio-carousel-stage {
    --carousel-height: 22.5rem;
    --carousel-main-width: min(48vw, 38rem);
    --carousel-side-width: min(18vw, 13rem);
  }
}

#portfolio-carousel .portfolio-carousel-slot {
  flex: 0 0 auto;
  height: var(--carousel-height);
  border: 0;
  background: transparent;
}

#portfolio-carousel .portfolio-carousel-slot--main {
  z-index: 2;
  width: var(--carousel-main-width);
}

#portfolio-carousel .portfolio-carousel-slot--side {
  width: var(--carousel-side-width);
  pointer-events: none;
  opacity: 0.94;
}

#portfolio-carousel .portfolio-carousel-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  overflow: hidden;
}

#portfolio-carousel .portfolio-carousel-lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
}

#portfolio-carousel .portfolio-carousel-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

#portfolio-carousel .portfolio-carousel-img--side {
  filter: blur(3px);
}

#portfolio-carousel .portfolio-carousel-img--main {
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
