/* Elias & Co. — Off-White/Charcoal/Cream */

@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&family=Source+Code+Pro:wght@400;500;600;700&display=swap");

:root{
  --bg: #FFFFFF;
  --surface: rgba(255,255,255,0.85);
  --text: #2C2C2C;
  --muted: rgba(44,44,44,0.65);;
  --border: rgba(54,69,79,0.15);
  --shadow: 0 20px 50px rgba(0,0,0,0.08);
  --charcoal: #36454F;
  --charcoal-light: rgba(54,69,79,0.12);
  --charcoal-dark: #2B3539;
  --cream: #FFFEF5;
  --cream-2: rgba(255,254,245,0.75);
  --header-bg: #FFFFFF;
  --header-height: 76px;
  --radius: 20px;
  --max: 1200px;
  --pad: 24px;

  --sans: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --serif: "Libre Baskerville", "Times New Roman", serif;
  --title: "Libre Baskerville", "Times New Roman", serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

.home::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55)),
    url("../img/Bg3.avif") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.work::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("../img/Bg3.avif") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.work .hero-title{
  color: #000;
  text-shadow: none;
}

.services::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("../img/dog.avif") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.marble::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("../img/marble.avif") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.marble-2::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("../img/marble2.avif") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.wood::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("../img/wood.avif") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .9; }

br.mobile-only{ display:none; }

.container{
  max-width: var(--max);
  padding: 0 var(--pad);
  margin: 0 auto;
}

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{ left: 20px; top: 20px; width:auto; height:auto; padding:10px 14px; background:#fff; border:1px solid var(--border); border-radius: 12px; z-index:9999; }

.header{
  position: sticky;
  top:0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  font-family: var(--title);
}
.header.is-scrolled{
  background: rgba(255,255,255,0.78);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px);
}

.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 18px);
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
}
.brand .name{
  display:flex;
  align-items:center;
  gap:8px;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight:600;
  line-height:1;
  font-family: var(--title);
}
.amp-icon{
  height: clamp(40px, 5vw, 54px);
  width:auto;
  display:block;
}


.navlinks{
  display:flex;
  align-items:center;
  justify-content: center;
  gap: clamp(14px, 4vw, 50px);
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.navlinks a{
  color: #000;
  font-size: clamp(14px, 1.8vw, 20px);
  padding: clamp(6px, 0.9vw, 8px) clamp(8px, 1.4vw, 12px);
  border-radius: 10px;
  transition: all 0.2s ease;
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.navlinks a::after{
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: clamp(6px, 0.9vw, 8px) clamp(8px, 1.4vw, 12px);
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  z-index: 1;
  pointer-events: none;
}
.navlinks .nav-cta{
  display: none;
}
.navlinks a:hover{
  color: transparent;
}
.navlinks a:hover::after{
  animation: nav-typing 0.6s steps(var(--nav-steps, 8), end) forwards;
}
.navlinks a[aria-current="page"]{
  color: #d11a1a;
  background: transparent;
  font-weight: 500;
}
.navlinks a[aria-current="page"]::after{
  color: #d11a1a;
}

@keyframes nav-typing{
  from{ width: 0; }
  to{ width: 100%; }
}

.actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor:pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
}
.btn.contact-cta{
  font-family: var(--title);
  font-size: 17px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 12px;
  border: 1px solid #0f0f0f;
  background: linear-gradient(180deg, #222222 0%, #111111 60%, #0b0b0b 100%);
  color: #f7f2e8;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -2px 6px rgba(0,0,0,0.45);
}

/* Header CTA should scale down before mobile menu breakpoint */
.header .btn.contact-cta{
  font-size: clamp(14px, 1.6vw, 17px);
  padding: clamp(8px, 1vw, 12px) clamp(14px, 2.2vw, 28px);
  background: transparent;
  background-image: none;
  background-color: transparent;
  color: #000;
  text-shadow: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.btn.contact-cta::after{
  content: "→";
  font-size: 1.15em;
  line-height: 1;
}
/* Header buttons: no arrow */
.header .btn.contact-cta::after{
  content: none;
}
/* Header CTA: keep transparent on hover/active */
.header .btn.contact-cta:hover{
  background: transparent;
  background-image: none;
  background-color: transparent;
  color: #000;
  border-color: var(--border);
  transform: translateY(-2px);
  filter: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header .btn.contact-cta:active{
  background: transparent;
  background-image: none;
  background-color: transparent;
  color: #000;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* About page CTA: no arrow */
.about-page .btn.contact-cta::after{
  content: none;
}

/* Inverted "View Packages" button (used for CTA secondary) */
.btn.contact-cta.about-cta-invert{
  background: linear-gradient(180deg, #ffffff 0%, #f7f2e8 100%);
  color: #111111;
  border-color: #0f0f0f;
  text-shadow: none;
  box-shadow:
    0 18px 40px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.75),
    inset 0 -2px 8px rgba(0,0,0,0.08);
}
.btn.contact-cta.about-cta-invert:hover{
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  color: #111111;
  border-color: #0f0f0f;
  filter: none;
  box-shadow:
    0 24px 50px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -2px 10px rgba(0,0,0,0.10);
}
.btn.contact-cta.about-cta-invert:active{
  box-shadow:
    0 10px 24px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.75),
    inset 0 -1px 6px rgba(0,0,0,0.12);
}
.btn.contact-cta:hover{
  /* Keep desktop CTA dark (no invert on hover) */
  background: linear-gradient(180deg, #222222 0%, #111111 60%, #0b0b0b 100%);
  color: #f7f2e8;
  border-color: #0f0f0f;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 24px 50px rgba(0,0,0,0.26),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -2px 8px rgba(0,0,0,0.55);
}
.btn.contact-cta:active{
  transform: translateY(0);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 4px rgba(0,0,0,0.5);
}
.btn:hover{ 
  transform: translateY(-2px); 
  box-shadow: 0 10px 30px rgba(54,69,79,0.15); 
  background: rgba(255,255,255,1);
  border-color: var(--charcoal-light);
}
.btn:active{ transform: translateY(0px); box-shadow: 0 4px 12px rgba(54,69,79,0.10); }

.btn.primary{
  border-color: var(--charcoal);
  background: #212121;
  color: var(--cream);
}
.btn.primary:hover{
  background: var(--charcoal-dark);
  box-shadow: 0 10px 30px rgba(54,69,79,0.25);
}
.btn.outline{
  border: 1.5px solid rgba(54,69,79,0.3);
  background: transparent;
  color: var(--text);
}
.btn.outline:hover{
  background: rgba(255,254,245,0.6);
  border-color: var(--charcoal);
}

.mobile-toggle{
  display:none;
}

.hero{
  padding: 90px 0 60px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero.hero-centered{
  min-height: calc(100vh - var(--header-height));
  padding: 0;
}

/* About page — editorial layout (white, spacious, alternating text/image) */
.about-page::before{
  content: '';
  position: fixed;
  inset: 0;
  background: url("../img/Bg3.avif") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.about-main{
  padding-top: 32px;
}

.container.about-wide{
  max-width: 1400px;
}

.about-editorial{
  padding: clamp(64px, 8vw, 120px) 0;
}
.about-editorial--first{
  padding-top: clamp(44px, 6vw, 90px);
}
.about-editorial--last{
  padding-bottom: clamp(72px, 10vw, 140px);
}

.about-grid{
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
  grid-template-areas: "copy media";
}
.about-grid.about-grid--centered{
  align-items: center;
  justify-items: center;
}
.about-grid--centered .about-copy{
  text-align: center;
}
.about-grid--centered .about-headline,
.about-grid--centered .about-prose p,
.about-grid--centered .about-text{
  margin-left: auto;
  margin-right: auto;
}
.about-grid--centered .about-figure{
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.about-grid--centered .about-caption{
  text-align: center;
}
.about-copy{ grid-area: copy; }
.about-figure{ grid-area: media; margin: 0; }

.about-grid.is-reversed{
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  grid-template-areas: "media copy";
}

.about-eyebrow{
  margin: 0 0 22px;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.65);
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.about-headline{
  margin: 0 0 20px;
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  font-weight: 700;
  font-size: clamp(28px, 2.75vw, 44px);
  line-height: 1.22;
  color: #101010;
  max-width: 720px;
}

.about-prose p{
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(0,0,0,0.62);
  max-width: 560px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}
.about-prose .about-strong{
  margin-top: 18px;
  color: rgba(0,0,0,0.80);
  font-weight: 700;
}

.about-section-title{
  margin: 0 0 12px;
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 14px;
  color: rgba(0,0,0,0.80);
}
.about-section-title.about-section-title--lg{
  font-size: clamp(22px, 2.25vw, 34px);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: #101010;
}
.about-text{
  margin: 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(0,0,0,0.62);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.about-figure img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f2f2f2;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,0.06);
}
.about-caption{
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.50);
  text-transform: none;
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.about-feature{
  position: relative;
  padding: clamp(90px, 9vw, 140px) 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.60), rgba(0,0,0,0.12) 62%, rgba(0,0,0,0.10)),
    var(--about-feature-image) center / cover no-repeat;
  color: #fff;
  margin: 0;
}
.about-feature-content{
  max-width: 520px;
}
.about-feature-kicker{
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  margin-bottom: 14px;
}
.about-feature-title{
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
  font-family: var(--title);
}
.about-feature-subtitle{
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: 18px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}
.about-feature-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.18);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  backdrop-filter: blur(8px);
}
.about-feature-link:hover{
  background: rgba(0,0,0,0.28);
}

.about-cta{
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: clamp(36px, 5vw, 56px);
  text-align: center;
}
.about-cta-title{
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.4px;
  margin: 0 0 clamp(16px, 2.2vw, 26px);
  color: #101010;
  font-family: var(--title);
}
.about-cta-text{
  margin: 0 0 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(0,0,0,0.62);
}
.about-cta-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.about-cta-actions .btn:not(.contact-cta){
  background: #fff;
  color: #111;
}
.about-cta-actions .btn.outline{
  background: transparent;
}

@media (max-width: 900px){
  .about-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media";
    gap: 22px;
  }
  .about-grid.is-reversed{
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy";
  }
  /* About page: on mobile keep copy above media for specific reversed sections */
  .about-grid.is-reversed.about-grid--mobile-copy-first{
    grid-template-areas:
      "copy"
      "media";
  }
  .about-figure img{
    aspect-ratio: 4 / 3;
  }
  .about-feature{
    background:
      linear-gradient(180deg, rgba(0,0,0,0.62), rgba(0,0,0,0.18) 65%, rgba(0,0,0,0.18)),
      var(--about-feature-image) center / cover no-repeat;
  }
}

/* About page — inline edit mode (about.html?edit=1) */
body.is-editing [data-editable-text]{
  outline: 1px dashed rgba(0,0,0,0.35);
  outline-offset: 6px;
  border-radius: 6px;
  cursor: text;
}
body.is-editing [data-editable-text]:focus{
  outline-color: rgba(209,26,26,0.55);
  background: rgba(255,255,255,0.75);
}
body.is-editing [data-editable-image],
body.is-editing [data-editable-bg]{
  outline: 1px dashed rgba(0,0,0,0.35);
  outline-offset: 6px;
  cursor: pointer;
}
body.is-editing .edit-panel{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  width: min(340px, calc(100vw - 36px));
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 22px 60px rgba(0,0,0,0.12);
  backdrop-filter: blur(12px);
  padding: 14px 14px 12px;
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
body.is-editing .edit-panel-title{
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: rgba(0,0,0,0.85);
}
body.is-editing .edit-panel-help{
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 10px;
  color: rgba(0,0,0,0.62);
}
body.is-editing .edit-panel-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
body.is-editing .edit-panel-btn{
  appearance: none;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  color: rgba(0,0,0,0.86);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
body.is-editing .edit-panel-btn.danger{
  border-color: rgba(209,26,26,0.35);
  color: rgba(209,26,26,0.95);
}

.hero.hero-centered.hero-compact{
  min-height: auto;
  padding: 76px 0 26px;
  align-items: flex-start;
}
.hero.hero-centered.hero-compact .hero-title{
  font-size: clamp(40px, 4.2vw, 56px);
}

.faq-hero-title{
  color: var(--cream);
  text-shadow:
    0 8px 18px rgba(0,0,0,0.95),
    0 30px 70px rgba(0,0,0,0.95),
    0 0 52px rgba(0,0,0,0.85);
}

.terms-hero-title{
  color: var(--cream);
}

.terms-hero-lead{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
  font-size: 1.2rem;
  color: var(--cream);
}

.privacy-hero-title{
  text-align: center;
  color: var(--cream);
}

.privacy-hero-lead{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
  font-size: 1.2rem;
  color: var(--cream);
}
.contact-hero .privacy-hero-lead{
  font-size: 1.4rem;
}

.eyebrow-centered{
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.typing-cursor{
  display: inline-block;
  margin-left: 2px;
  animation: typing-cursor-blink 1s step-end infinite;
}

@keyframes typing-cursor-blink{
  50%{ opacity: 0; }
}

.contact-hero{
  min-height: 70vh;
}

.contact-hero-container{
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 0;
  margin-top: -420px;
}

#book .grid-2{
  margin-top: -560px;
}
#book .card{
  background: transparent;
}
#book h2,
#book p,
#book label{
  color: var(--cream);
}
#book .contact-details{
  color: var(--charcoal);
}
#book .contact-details > p{
  color: var(--cream);
  font-size: 1.05rem;
}
#book .contact-details .feature p,
#book .contact-details .feature a,
#book .contact-details .feature strong{
  color: var(--charcoal);
}
#book .btn.dark{
  opacity: 0.8;
  border-radius: 12px;
}
.contact-page #book.section{
  padding-bottom: 20px;
}

.ai-chat-widget{
  position: fixed;
  right: 24px;
  bottom: var(--chatbot-bottom, 24px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.ai-chat-widget.is-open .ai-chat-toggle{
  display: none;
}
.ai-chat-toggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
  border-radius: 999px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 16px 30px rgba(54,69,79,0.14);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: ai-chat-toggle-invert 10s ease-in-out infinite;
  position: relative;
}
.contact-page .ai-chat-toggle{
  font-size: 16px;
}
.ai-chat-toggle::before{
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background-color: #f2f2f2;
  border: 1px solid #111;
  box-shadow: 0 6px 16px rgba(54,69,79,0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24'%3E%3Crect x='4' y='5' width='16' height='14' rx='4' fill='%23ffffff' stroke='%23111111' stroke-width='1.5'/%3E%3Ccircle cx='9' cy='12' r='1.5' fill='%23111111'/%3E%3Ccircle cx='15' cy='12' r='1.5' fill='%23111111'/%3E%3Cpath d='M12 3v2' stroke='%23111111' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='3' r='1' fill='%23111111'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  pointer-events: none;
}
.ai-chat-toggle:hover{
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(54,69,79,0.18);
}
.ai-chat-dot{
  display: none;
}

@keyframes ai-chat-pulse{
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(46,204,113,0.2); }
  50% { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(46,204,113,0.15); }
}

@keyframes ai-chat-toggle-invert{
  0%, 100% {
    background: #181818;
    color: #f2f2f2;
    border-color: #181818;
  }
  50% {
    background: #ededed;
    color: #1a1a1a;
    border-color: #181818;
  }
}
.ai-chat-panel{
  width: min(420px, 92vw);
  max-height: min(80vh, 400px);
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(54,69,79,0.18);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(54,69,79,0.18);
  overflow: hidden;
  backdrop-filter: blur(14px);
  display: none;
}
.ai-chat-widget.is-open .ai-chat-panel{
  display: flex;
  flex-direction: column;
}
.ai-chat-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255,254,245,0.95), rgba(255,255,255,0.95));
  border-bottom: 1px solid rgba(54,69,79,0.12);
}
.ai-chat-progress-wrap{
  padding: 10px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ai-chat-header-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.ai-chat-close{
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.ai-chat-body{
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.ai-chat-message{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,254,245,0.9);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}
.ai-chat-options{
  display: grid;
  gap: 8px;
}
.ai-chat-option{
  border: 1px solid rgba(54,69,79,0.16);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.9));
  color: var(--text);
  font-size: 13px;
  padding: 11px 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ai-chat-option:hover{
  border-color: var(--charcoal);
  box-shadow: 0 10px 20px rgba(54,69,79,0.12);
  transform: translateY(-1px);
}
.ai-chat-result{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-chat-progress{
  font-size: 11px;
  letter-spacing: 0.2px;
  color: var(--muted);
  text-transform: uppercase;
}
.ai-chat-progress-bar{
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(54,69,79,0.12);
  overflow: hidden;
}
.ai-chat-progress-bar span{
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #000;
  transition: width 0.25s ease;
}
.ai-chat-helper{
  font-size: 12px;
  color: var(--muted);
}
.ai-chat-checkboxes{
  display: grid;
  gap: 8px;
}
.ai-chat-checkbox{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(54,69,79,0.16);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.9));
  font-size: 13px;
  cursor: pointer;
}
.ai-chat-checkbox input{
  margin-top: 2px;
}
.ai-chat-checkbox span{
  line-height: 1.4;
}
.ai-chat-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-chat-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(54,69,79,0.2);
  background: linear-gradient(135deg, #2b3539, #36454f);
  color: #fff;
  cursor: pointer;
}
.ai-chat-action.secondary{
  background: transparent;
  color: var(--charcoal);
  border-color: rgba(54,69,79,0.2);
}
.ai-chat-action.ghost{
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 120% 80% at 50% 50%, rgba(255,254,245,0.4), transparent 70%),
    radial-gradient(ellipse 100% 60% at 50% 50%, rgba(54,69,79,0.05), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.soft-hero .hero::before {
  background:
    radial-gradient(ellipse 120% 80% at 50% 50%, rgba(255,254,245,0.12), transparent 70%),
    radial-gradient(ellipse 100% 60% at 50% 50%, rgba(54,69,79,0.02), transparent 65%);
}

.hero-geometric {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-geometric::before,
.hero-geometric::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, 
    rgba(54,69,79,0.08) 0%,
    rgba(255,254,245,0.15) 50%,
    rgba(54,69,79,0.08) 100%);
  border: 1px solid rgba(255,254,245,0.2);
  transform: rotate(45deg);
  border-radius: 30px;
  backdrop-filter: blur(40px);
  box-shadow: 
    0 0 60px rgba(255,254,245,0.2),
    inset 0 0 60px rgba(255,255,255,0.1);
}

.hero-geometric::before {
  bottom: -200px;
  left: -150px;
  opacity: 0.6;
}

.hero-geometric::after {
  bottom: -250px;
  right: -150px;
  opacity: 0.5;
  width: 700px;
  height: 700px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.home .hero-content {
  transform: translateY(-36px);
}

.home .hero-content h1 {
  color: #f7f4ea;
  text-shadow:
    0 8px 18px rgba(0,0,0,0.95),
    0 30px 70px rgba(0,0,0,0.95),
    0 0 52px rgba(0,0,0,0.85);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 32px;
  align-items: stretch;
}
.card{
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.card.card-plain{
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.card.pad{ padding: 26px; }
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--charcoal-light);
  background: var(--cream-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

h1, h2, h3{
  margin: 10px 0 10px;
  font-family: var(--title);
}
h1{
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0 0 32px;
  color: var(--text);
}
.hero-title{
  text-align: center;
  color: #ffffff;
  text-shadow:
    0 8px 18px rgba(0,0,0,0.95),
    0 30px 70px rgba(0,0,0,0.95),
    0 0 52px rgba(0,0,0,0.85);
}
h2{
  font-size: 36px;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--text);
}
.center-text{
  text-align: center;
}
.highlight-title{
  display: inline-block;
  padding: 8px 16px;
  border-radius: 14px;
}
h3{
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
}
p{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
}
.hero-description{
  font-size: 20px;
  line-height: 1.75;
  margin: 0 0 48px;
  color: var(--muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.about-hero{
  text-align: center;
  color: #ffffff;
}
.about-hero .hero-title{
  margin-bottom: 16px;
}
.hero-subtitle{
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 16px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}
.hero-lead{
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto 16px;
  color: rgba(255,255,255,0.8);
  max-width: 820px;
}
.hero-emphasis{
  margin: 6px 0 0;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.92);
}
.about-list{
  list-style: none;
  padding: 0;
  margin: 10px 0 16px;
  display: grid;
  gap: 8px;
}
.about-list li{
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.about-list li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--charcoal);
}

.contact-hero-title{
  color: var(--cream);
  margin: 0 0 14px;
  text-shadow:
    0 8px 18px rgba(0,0,0,0.95),
    0 30px 70px rgba(0,0,0,0.95),
    0 0 52px rgba(0,0,0,0.85);
}

.hero-actions{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 48px 0 0;
}

.kpis{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.grid-3 .kpi {
  margin: 0;
}
.kpi{
  padding: 24px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(10px);
}
.kpi:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(54,69,79,0.10);
  background: var(--cream-2);
}
.kpi strong{
  display:block;
  font-size: 19px;
  font-family: var(--sans);
  margin-bottom: 6px;
  color: var(--text);
}
.kpi small{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section{
  padding: 60px 0;
}
.section-alt{
  background: var(--cream-2);
  margin: 0;
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header{
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-intro{
  font-size: 18px;
  line-height: 1.7;
  margin: 16px 0 0;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Services page: pull package cards slightly higher */
.services-page .packages-grid{
  margin-top: -28px;
}

/* Services page: fixed background image + dark hero headline */
.services-page::before{
  content: '';
  position: fixed;
  inset: 0;
  background: url("../img/Bg3.avif") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}
.services-page .hero-title{
  color: #000;
  text-shadow: none;
}
.services-page .hero-title,
.services-page .hero-title *{
  text-shadow: none !important;
  filter: none !important;
}

/* Services page: drop hero headline slightly */
.services-page .hero.hero-compact .hero-title{
  margin-top: 16px;
}

.feature{
  padding: 36px 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(10px);
}
.feature-centered{
  text-align: center;
}
.feature-centered .icon{
  margin: 0 auto 16px;
}
.audit-bubble{
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.contact-feature-invert{
  background: var(--charcoal);
  color: var(--cream);
  border-color: rgba(255,254,245,0.2);
}
.contact-feature-invert a{
  color: inherit;
}
.feature:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(54,69,79,0.12);
  border-color: var(--charcoal-light);
  background: var(--cream-2);
}

.feature[data-expand-card]{
  cursor: pointer;
  user-select: none;
}

.feature[data-expand-card]:focus-visible{
  outline: 3px solid rgba(209,26,26,0.35);
  outline-offset: 3px;
}

.feature[data-expand-card].is-expanded{
  transform: scale(1.09);
  box-shadow: 0 28px 90px rgba(54,69,79,0.18);
  border-color: rgba(54,69,79,0.28);
  background: rgba(255,255,255,0.95);
  position: relative;
  z-index: 3;
}

.feature[data-expand-card].is-expanded:hover{
  transform: scale(1.09);
}
.feature-icon{
  margin-bottom: 24px;
}
.feature .icon{
  width: 56px; height: 56px;
  border-radius: 18px;
  border: 1px solid var(--charcoal-light);
  background: linear-gradient(135deg, var(--cream-2), rgba(255,255,255,0.9));
  display:grid; place-items:center;
  font-weight: 700;
  font-size: 22px;
  color: var(--charcoal);
  font-family: var(--sans);
}
.feature h3{
  margin-bottom: 12px;
}
.feature .package-title{
  text-align: center;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.15;
}
.feature .package-price{
  margin-bottom: 10px;
}
.feature .package-price--starter,
.feature .package-blurb--starter{
  text-align: center;
}
.feature .package-price--growth,
.feature .package-blurb--growth{
  text-align: center;
}
.feature .package-price--enterprise,
.feature .package-blurb--enterprise{
  text-align: center;
}
.feature .package-price--starter strong{
  text-decoration: underline;
  text-underline-offset: 4px;
}
.feature .package-price--growth strong{
  text-decoration: underline;
  text-underline-offset: 4px;
}
.feature .package-price--enterprise strong{
  text-decoration: underline;
  text-underline-offset: 4px;
}
.feature p{
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.contact-details{
  margin-top: 24px;
}

.hr{
  height: 1px;
  background: var(--border);
  margin: 8px 0 18px;
}

.badges{
  display:flex; gap: 10px; flex-wrap: wrap;
  margin-top: 4px;
}
.feature--starter .package-includes{
  text-align: center;
}
.feature--starter .badges{
  justify-content: center;
}
.feature--starter .package-cta{
  display: flex;
  justify-content: center;
}
.feature--growth .package-includes{
  text-align: center;
}
.feature--growth .badges{
  justify-content: center;
}
.feature--growth .package-cta{
  display: flex;
  justify-content: center;
}
.feature--enterprise .package-includes{
  text-align: center;
}
.feature--enterprise .badges{
  justify-content: center;
}
.feature--enterprise .package-cta{
  display: flex;
  justify-content: center;
}
.badges span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: fit-content;
  max-width: min(320px, 100%);
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 14px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.callout{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 32px;
  padding: 52px 48px;
  border-radius: var(--radius);
  border: 1px solid var(--charcoal-light);
  background: linear-gradient(135deg, var(--cream-2), rgba(255,255,255,0.95));
  box-shadow: 0 24px 70px rgba(54,69,79,0.10);
  backdrop-filter: blur(10px);
}
.callout.callout-center{
  justify-content: center;
}
.callout-content h2{
  margin-bottom: 12px;
}
.callout-content p{
  margin: 0;
  font-size: 17px;
}
.callout-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.callout-actions.callout-actions-centered{
  justify-content: center;
}
.section-cta{
  margin-top: 18px;
}

/* Home page bottom CTA (bigger + lower) */
.home-bottom-cta{
  margin-top: 64px;
}
.home-bottom-cta .btn.btn-small{
  padding: 18px 44px;
  font-size: 18px;
  border-radius: 12px;
}
.btn.btn-small{
  padding: 14px 30px;
  font-size: 16px;
  border-radius: 10px;
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
  font-family: var(--title);
}

.footer{
  padding: 14px 0 20px;
  border-top: 1px solid var(--border);
  background: var(--header-bg);
  margin-top: 30px;
  font-family: var(--title);
}
.footer .brand .name{
  /* Smaller wordmark in footer vs header */
  font-size: clamp(13px, 1.25vw, 15px);
}
.footer .amp-icon{
  height: clamp(22px, 2.1vw, 28px);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}
.footer-left{
  justify-self: start;
}
.footer-center{
  justify-self: center;
}
.footer-right{
  display:flex;
  align-items: center;
  justify-self: end;
}
.footer-links{
  display:flex;
  gap: 30px;
  flex-wrap: wrap;
  letter-spacing: -0.2px;
  justify-content: center;
  word-spacing: -0.15em;
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.footer-links a{
  font-size: 15px;
}
.footer-left small{
  display: block;
  font-size: 12px;
}
.footer-socials{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.social-link{
  width: 52px;
  height: 52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.social-link:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(54,69,79,0.12);
  border-color: var(--charcoal-light);
}
.social-link svg{
  width: 32px;
  height: 32px;
}

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
}
.table th, .table td{
  text-align:left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.table th{ color: rgba(31,31,31,0.85); }
.table tr:last-child td{ border-bottom: none; }

.accordion details{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  padding: 14px 16px;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
}
.accordion summary{
  cursor:pointer;
  list-style: none;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 600;
}
.accordion summary::-webkit-details-marker{ display:none; }
.accordion .a{ padding-top: 10px; color: var(--muted); }

.form{
  display:grid;
  gap: 12px;
}
.input{
  display:grid;
  gap: 6px;
}
label{ font-size: 13px; color: rgba(31,31,31,0.85); }
input, textarea{
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  background: var(--surface);
  font: inherit;
  outline: none;
  transition: all 0.2s ease;
}
input:focus, textarea:focus{
  border-color: var(--charcoal-light);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 3px rgba(54,69,79,0.05);
}
textarea{ min-height: 140px; resize: vertical; }

.notice{
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 760px){
  :root{
    /* Mobile header is taller because nav sits under brand */
    --header-height: 118px;
  }
  .hero{
    padding: 80px 0 60px;
    min-height: 75vh;
  }
  .home .hero-content{
    transform: translateY(-20px);
  }
  .hero-geometric::before,
  .hero-geometric::after {
    width: 400px;
    height: 400px;
  }
  .hero-geometric::after {
    width: 500px;
    height: 500px;
  }
  /* Mobile: increase page-title sizes */
  h1{ 
    font-size: 48px; 
    letter-spacing: -0.8px;
  }
  /* Services/Work (compact hero) uses a more specific rule, so override it here */
  .hero.hero-centered.hero-compact .hero-title{
    font-size: 48px;
  }
  /* About + Blog have their own headline sizing */
  .about-headline{
    font-size: 38px;
  }
  .blog-headline{
    font-size: 44px;
  }
  .hero-description {
    font-size: 18px;
  }
  h2{ font-size: 32px; }
  .grid-3{ 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
  }
  .grid-2{ grid-template-columns: 1fr; gap: 20px; }
  .services-page .packages-grid{ margin-top: -16px; }
  .services-page .hero.hero-compact .hero-title{ margin-top: 12px; }
  /* Mobile footer: keep everything centered */
  .footer-grid{
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .footer-left,
  .footer-center,
  .footer-right{
    justify-self: center;
    width: 100%;
    text-align: center;
  }
  .footer-left .brand{
    justify-content: center;
  }
  .footer-left .name{
    justify-content: center;
  }
  .footer-right{
    justify-content: center;
  }
  .footer-links,
  .footer-socials{
    justify-content: center;
  }
  .footer-links{
    gap: 18px;
  }
  .footer-links a{
    font-size: 12px;
  }

  /* Services page (mobile): make add-ons table feel like tidy cards */
  .services-page .table{
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    border-collapse: separate;
  }
  .services-page .table thead{
    display: none;
  }
  .services-page .table tbody{
    display: grid;
    gap: 12px;
  }
  .services-page .table tr{
    display: block;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255,255,255,0.85);
    overflow: hidden;
  }
  .services-page .table td{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: right;
  }
  .services-page .table tr td:last-child{
    border-bottom: none;
    font-weight: 700;
  }
  .services-page .table tr td:first-child{
    font-weight: 650;
  }
  .services-page .table td::before{
    content: attr(data-label);
    flex: 0 0 40%;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px;
    font-weight: 700;
    color: rgba(31,31,31,0.70);
  }
  br.mobile-only{ display:inline; }

  /* Contact page (mobile): remove desktop negative offsets to prevent overlap */
  .contact-hero{
    min-height: auto;
  }
  .contact-hero-container{
    margin-top: 0;
    padding-top: 0;
  }
  #book .grid-2{
    margin-top: 0;
  }
  .contact-page #book.section{
    padding-top: 24px;
  }

  /* FAQ (mobile): shrink answer text only */
  .accordion .a{
    font-size: 13px;
    line-height: 1.65;
  }
  .section{
    padding: 60px 0;
}
  .section-alt{
    padding: 60px 0;
  }
  .section-header{
    margin-bottom: 40px;
  }
  .callout{
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 24px;
  }
  .callout-actions{
    width: 100%;
  }
  .callout-actions .btn{
    flex: 1;
    min-width: 140px;
  }
  /* Mobile header layout: brand centered, then nav items, then CTA */
  .nav{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 0 16px;
  }
  .brand{
    justify-content: center;
  }
  .brand .name{
    justify-content: center;
    text-align: center;
    font-size: clamp(24px, 5.2vw, 34px);
  }
  .amp-icon{
    height: clamp(44px, 7vw, 60px);
  }

  .actions{
    display:none;
  }
  .mobile-toggle{
    display:none;
  }

  .navlinks{
    display:flex;
    position: static;
    flex: none;
    width: max-content;
    max-width: 100%;
    justify-content: flex-start;
    gap: clamp(4px, 1.1vw, 8px);
    flex-wrap: nowrap; /* keep all links on one line */
    overflow-x: auto; /* scroll instead of wrapping */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 2px clamp(4px, 1.2vw, 8px);
    margin-inline: auto;
  }
  .navlinks::-webkit-scrollbar{ display:none; }
  .navlinks a{
    padding: clamp(4px, 1.0vw, 7px) clamp(5px, 1.3vw, 9px);
    font-size: clamp(12px, 2.9vw, 15px);
  }
  .navlinks a::after{
    padding: clamp(4px, 1.0vw, 7px) clamp(5px, 1.3vw, 9px);
  }
  .navlinks .nav-cta{
    /* Contact link is mobile-only (desktop keeps the button on the right) */
    display: inline;
  }

  /* If JS toggles `open`, keep the same stacked layout */
  .navlinks.open{
    position: static;
    left: auto;
    right: auto;
    top: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
}

@media (max-width: 640px){
  .grid-3{ 
    grid-template-columns: 1fr; 
    gap: 16px; 
  }
  /* Mobile (small): keep titles larger than before */
  h1{ 
    font-size: 42px; 
    letter-spacing: -0.6px;
  }
  .hero.hero-centered.hero-compact .hero-title{
    font-size: 42px;
  }
  .about-headline{
    font-size: 34px;
  }
  .blog-headline{
    font-size: 40px;
  }
  .hero-description {
    font-size: 16px;
  }
}

/* Work page — "momentum" section (content only) */
.work .hero.hero-centered.hero-compact{
  padding: 112px 0 46px;
}
.work .hero.hero-centered.hero-compact .hero-title{
  margin-top: 44px;
}

.work .momentum{
  padding: clamp(26px, 4vw, 54px) 0 clamp(70px, 8vw, 110px);
}

.work .momentum-container{
  max-width: 1120px;
}

.work .momentum-list{
  position: relative;
  padding: 1px 0; /* create space for top/bottom separators */
}

.work .momentum-list::before,
.work .momentum-list::after{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,0,0,0.78) 12%,
    rgba(0,0,0,0.78) 88%,
    transparent
  );
  opacity: 1;
  pointer-events: none;
}
.work .momentum-list::before{ top: 0; }
.work .momentum-list::after{ bottom: 0; }

.work .momentum-item{
  padding: clamp(22px, 3.4vw, 42px) 0;
  position: relative;
}
.work .momentum-item::after{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,0,0,0.70) 12%,
    rgba(0,0,0,0.70) 88%,
    transparent
  );
  opacity: 1;
  pointer-events: none;
}
.work .momentum-item:last-child::after{ display:none; }

.work .momentum-item-grid{
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: clamp(18px, 4vw, 56px);
  align-items: center;
}

.work .momentum-name{
  margin: 0;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.25px;
  color: #0b0b0b;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.40),
    0 18px 50px rgba(0,0,0,0.35);
  font-family: var(--title);
}

.work .momentum-industry{
  margin: 8px 0 0;
  font-size: clamp(15px, 1.35vw, 16px);
  line-height: 1.25;
  letter-spacing: 0.2px;
  color: rgba(0,0,0,0.78);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.32),
    0 18px 50px rgba(0,0,0,0.25);
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.work .momentum-media{
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 26px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
  justify-self: end;
}

.work .momentum-media img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.work .momentum-metrics{
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: min(310px, 86%);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.64);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
}

.work .metrics{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.work .metrics-item{
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(255,255,255,0.92);
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.work .metrics-icon{
  width: 18px;
  height: 18px;
  display: inline-flex;
  color: rgba(255,255,255,0.9);
}
.work .metrics-icon svg{
  width: 18px;
  height: 18px;
  display: block;
}

.work .metrics-value{
  color: #4FEA78;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.work .metrics-text{
  color: rgba(255,255,255,0.9);
}

.work .momentum-wordmark{
  margin-top: clamp(54px, 8vw, 92px);
  text-align: center;
  font-family: var(--title);
  color: #0b0b0b;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.35),
    0 18px 55px rgba(0,0,0,0.35);
  letter-spacing: 0.28em;
  font-size: clamp(18px, 2.2vw, 26px);
  position: relative;
  padding-bottom: 16px;
}

.work .momentum-wordmark::after{
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: clamp(70px, 12vw, 120px);
  height: 1px;
  background: rgba(0,0,0,0.65);
}

@media (max-width: 860px){
  .work .momentum-item-grid{
    grid-template-columns: 1fr;
  }
  .work .momentum-media{
    justify-self: start;
    max-width: 640px;
  }
}

@media (max-width: 520px){
  .work .momentum-metrics{
    right: 10px;
    bottom: 10px;
    width: min(320px, 92%);
  }
  .work .metrics-item{
    font-size: 13px;
  }
}

/* Blog page — editorial card grid (matches reference screenshot vibe) */
body.blog{
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.blog::before{
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.34)),
    url("../img/Bg3.avif") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* Sticky footer (blog only) */
body.blog > main{
  flex: 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: 0;
}

/* Page header (subtle, minimal) */
.blog-page{
  padding: 30px 0 74px;
}
.blog-page-header{
  text-align: center;
  margin: 14px 0 18px;
}
.blog-page-kicker{
  margin: 0 0 8px;
  font-size: clamp(16px, 2.4vw, 26px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.92);
  font-family: var(--title);
  font-weight: 700;
}
.blog-page-title{
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.50);
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 600;
}

/* Search/sort toolbar (kept, but styled to blend into the layout) */
.blog-toolbar{
  max-width: 980px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-search{
  flex: 1;
  min-width: min(540px, 100%);
}

.blog-sort{
  width: min(240px, 100%);
}

.blog-search-input,
.blog-sort-select{
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 12px 14px;
  background: rgba(255,255,255,0.98);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.blog-search-input:focus,
.blog-sort-select:focus{
  border-color: rgba(0,0,0,0.28);
  background: rgba(255,255,255,1);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.blog-status{
  max-width: 980px;
  margin: 0 auto 22px;
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}
.blog-status.is-error{
  color: rgba(209,26,26,0.95);
}
.blog-status.is-success{
  color: rgba(0,0,0,0.72);
}

.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.blog-empty{
  grid-column: 1 / -1;
  margin: 30px auto 10px;
  max-width: 60ch;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(0,0,0,0.55);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.blog-card{
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.blog-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.12);
}
.blog-card:focus-within{
  border-color: rgba(0,0,0,0.20);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.08);
}

/* Blog page: flatter look (no shadows) */
.blog .blog-card,
.blog .blog-card:hover,
.blog .blog-card:focus-within{
  box-shadow: none;
}
.blog .blog-card:hover{
  transform: none;
}
.blog .blog-search-input:focus,
.blog .blog-sort-select:focus{
  box-shadow: none;
}
.blog .ai-chat-toggle,
.blog .ai-chat-panel,
.blog .social-link:hover{
  box-shadow: none;
}

.blog-card-media{
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(0,0,0,0.04);
  overflow: hidden;
}
.blog-card-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.blog-card-body{
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-card-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-card-author{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.blog-card-avatar{
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.02);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: rgba(0,0,0,0.62);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.blog-card-author-text{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.2;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}
.blog-card-author-name{
  color: rgba(0,0,0,0.68);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 22ch;
}
.blog-card-date{
  color: rgba(0,0,0,0.42);
  white-space: nowrap;
}

.blog-card-menu{
  border: none;
  background: transparent;
  color: rgba(0,0,0,0.38);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: default;
  font-size: 16px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.blog-card:hover .blog-card-menu,
.blog-card:focus-within .blog-card-menu{
  opacity: 1;
}
.blog-card-menu:hover{
  background: rgba(0,0,0,0.04);
}

.blog-card-title{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-size: 14.5px;
  line-height: 1.32;
  letter-spacing: -0.12px;
  font-weight: 800;
  color: rgba(0,0,0,0.88);
}

.blog-card-excerpt{
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(0,0,0,0.52);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: calc(12.5px * 1.6 * 3);
}

.blog-card-footer{
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.blog-card-stats{
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(0,0,0,0.45);
  font-size: 11px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.blog-card-like{
  border: none;
  background: transparent;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: rgba(0,0,0,0.30);
  cursor: pointer;
  transition: transform 0.15s ease, color 0.2s ease, background 0.2s ease;
}
.blog-card-like:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,0.03);
}
.blog-card-like svg{
  width: 18px;
  height: 18px;
  display: block;
}
.blog-card.is-liked .blog-card-like{
  color: rgba(209,26,26,0.92);
}

.blog-admin{
  margin-top: 26px;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 14px;
}
.blog-admin summary{
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.62);
  font-family: "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.blog-admin-panel{
  margin-top: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.98);
  padding: 14px;
}
.blog-admin-form{
  display: grid;
  gap: 10px;
}
.blog-admin-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px){
  .blog-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 640px){
  .blog-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-page{
    padding-bottom: 56px;
  }
}
