:root {
  --navy: #253551;
  --grey: #e0e0db;
  --ink: #000;
  --bg: #fff;
  --gutter: 3vw;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font: 400 15px/1.8 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 1.5rem + 4.6vw, 5.7rem); line-height: 1; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.4rem); line-height: 1.3; }
h3 { font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.9rem); line-height: 1.3; }
h4 { font-size: 1.15rem; line-height: 1.4; color: var(--navy); }
p { margin: 0 0 1em; }
.center { text-align: center; }

.btn {
  display: inline-block;
  background: var(--navy); color: #fff;
  font-weight: 500; font-size: 14.4px; line-height: 1.2; letter-spacing: .02em;
  text-decoration: none;
  padding: 18px 31px;
  transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn.light { background: #fff; color: #000; padding: 13px 22px; }

/* ---------- header ---------- */
.site-header {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px var(--gutter);
}
.overlay-header .site-header { position: absolute; top: 0; left: 0; right: 0; color: #fff; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 16px; font-size: 16px; }
.nav a { text-decoration: none; padding: 2px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.active { border-bottom-color: currentColor; }
.nav .social { margin-left: 14px; }
.social { display: inline-flex; align-items: center; gap: 14px; }
.social a { display: inline-flex; border: 0 !important; }
.social a:hover { opacity: .6; }
.site-header .nav { color: #000; }
.overlay-header .site-header .nav { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }

.burger { display: none; background: none; border: 0; padding: 8px 0; width: 34px; cursor: pointer; color: var(--navy); }
.burger span { display: block; height: 2px; background: currentColor; margin: 7px 0; }
.overlay-header .burger { color: #fff; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--grey);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mobile-menu nav a { font-size: 1.9rem; font-weight: 700; text-decoration: none; }
.mobile-menu nav a.active { text-decoration: underline; text-underline-offset: 6px; }
.mobile-menu .close { position: absolute; top: 16px; right: var(--gutter); background: none; border: 0; font-size: 2.6rem; line-height: 1; cursor: pointer; color: var(--navy); }

/* ---------- grey heroes ---------- */
.grey { background: var(--grey); }
body:has(main > .hero.grey:first-child) .site-header { background: var(--grey); }
.hero { padding: 30px var(--gutter) 60px; }
.display { font-size: clamp(3rem, 1rem + 9.4vw, 11rem); line-height: 1; letter-spacing: -0.02em; }
.underline { position: relative; display: inline-block; white-space: nowrap; }
.underline .brush {
  position: absolute; left: -2%; width: 104%; bottom: -0.22em; height: .3em;
  color: var(--navy); pointer-events: none;
}
.lede { font-size: clamp(1.45rem, 1.1rem + 1vw, 2.05rem); line-height: 1.4; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; margin-top: clamp(40px, 6vw, 90px); }
.hero-split .lede { margin-bottom: 10px; max-width: 36rem; }
.brands { display: flex; flex-direction: column; gap: 42px; padding-left: 4vw; }
.brands-row { display: flex; align-items: center; gap: 22px; }
.brand-place { width: clamp(90px, 11vw, 140px); }
.brand-stayful { width: clamp(100px, 13vw, 165px); }
.brand-mwb { width: clamp(180px, 22vw, 285px); }

/* slanted bottom edge into the next section, like the Squarespace divider */
.slant-bottom { padding-bottom: clamp(120px, 15vw, 210px); clip-path: polygon(0 0, 100% 0, 100% 100%, 25% calc(100% - 60px), 0 100%); margin-bottom: -60px; position: relative; z-index: 1; }
.home-fill { background: var(--grey); }

.invest-copy { padding-top: 130px; padding-bottom: 110px; font-size: 16.5px; color: #000; }
.narrow { max-width: calc(470px + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.small { font-size: 12px; line-height: 1.7; }

.str-hero { padding-bottom: 50px; }
.str-hero .lede { margin-top: 70px; max-width: 26rem; }
.str-hero h4 { font-size: 13.5px; color: #000; max-width: 16rem; margin-top: 6px; }
.slant-image { position: relative; height: clamp(220px, 30vw, 380px); margin-top: -1px; background: var(--grey); }
.slant-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 15%, 25% 0, 100% 10%, 100% 100%, 0 100%); }

/* ---------- option cards (navy) ---------- */
.options { background: var(--navy); display: grid; grid-template-columns: 1fr 1fr; gap: 3.5vw; padding: 26px var(--gutter); }
.option-card { background: #fff; text-align: center; padding: 22px 24px 20px; font-size: 13px; line-height: 1.5; }
.option-card h2 { font-size: 1.15rem; margin-bottom: 4px; }
.option-card p { margin: 0 0 14px; }
.option-card p:first-of-type { margin-bottom: 18px; }
.option-card .btn { padding: 12px 24px; font-size: 12px; margin: 4px 0 26px; }
.option-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- services carousel ---------- */
.services { padding: 60px 0 90px; }
.services h2 { margin-bottom: 50px; }
.carousel { position: relative; }
.track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.card { flex: 0 0 clamp(220px, 21vw, 290px); scroll-snap-align: start; font-size: 13px; line-height: 1.7; color: #000; }
.card img, .card-noimg { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 18px; background: var(--grey); }
.card h4 { font-size: 14.5px; color: #000; margin-bottom: 10px; }
.carousel button {
  position: absolute; top: calc(clamp(220px, 21vw, 290px) / 2 - 22px); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(37, 53, 81, .75); color: #fff; font-size: 20px;
}
.carousel .prev { left: var(--gutter); }
.carousel .next { right: var(--gutter); }

.contact-us { text-align: center; padding: 60px var(--gutter) 70px; }
.contact-us h2 { margin-bottom: 26px; }
.contact-us p { max-width: 560px; margin: 0 auto 1em; font-size: 13px; line-height: 1.8; text-align: left; color: #000; }
.contact-us .btn { margin-top: 20px; font-size: 13px; padding: 14px 22px; }

/* ---------- image bands ---------- */
.band { position: relative; height: clamp(230px, 28vw, 360px); overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mirror { position: relative; height: clamp(180px, 23vw, 295px); overflow: hidden; }
.mirror img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.intro-centered { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: 60px var(--gutter) 70px; text-align: center; color: #000; font-size: 13.5px; }
.intro-centered h2 { margin-bottom: 26px; }
.intro-centered .btn { margin-top: 20px; }

.overlay-block { position: relative; min-height: clamp(420px, 46vw, 590px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.overlay-block > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay-block::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); z-index: 1; }
.overlay-text { position: relative; z-index: 2; max-width: calc(380px + var(--gutter)); padding: 60px 0 60px var(--gutter); font-size: 14px; }
.overlay-text h2, .overlay-text .big { color: #fff; font-size: clamp(2.3rem, 1.6rem + 2vw, 3.4rem); margin-bottom: 26px; line-height: 1.1; }
.overlay-text .stack { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; margin-top: 16px; }
.overlay-block.overview .overlay-text { max-width: calc(440px + 15vw); padding-left: 15vw; align-self: center; }
.overlay-block.overview { min-height: clamp(520px, 70vw, 900px); }
.overlay-block.overview p { margin-bottom: .9em; }
.overlay-block.overview::before { background: rgba(0,0,0,.28); }

/* ---------- alternating overlap features ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 44px var(--gutter); }
.feature-img, .feature-text { grid-row: 1; min-width: 0; }
.feature-img img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.feature-text { position: relative; z-index: 2; font-size: 13.5px; color: #000; }
.feature-text h2 { display: table; background: #fff; padding: 2px 10px; line-height: 1.3; margin-bottom: 16px; }
.feature ul { padding-left: 25px; margin: 0; }
.feature.img-right .feature-img { grid-column: 2; }
.feature.img-right .feature-text { grid-column: 1; padding: 0 36px 0 5%; }
.feature.img-right .feature-text h2 { margin-left: auto; margin-right: -100px; text-align: right; }
.feature.img-left .feature-img { grid-column: 1; }
.feature.img-left .feature-text { grid-column: 2; padding: 0 3% 0 36px; }
.feature.img-left .feature-text h2 { margin-left: -100px; }

/* ---------- galleries ---------- */
.strips { padding: 40px var(--gutter) 20px; display: flex; flex-direction: column; gap: 16px; }
.strip { display: flex; gap: 16px; }
.strip > div { min-width: 0; }
.strip img { width: 100%; height: auto; }
.grid-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 50px var(--gutter) 30px; }
.grid-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.cta { text-align: center; padding: 80px var(--gutter) 70px; }
.cta h3 { max-width: 460px; margin: 0 auto 26px; font-size: clamp(1.4rem, 1.2rem + .5vw, 1.7rem); }
.cta p { max-width: 460px; margin: 0 auto 26px; text-align: left; font-size: 13px; color: #000; }
.cta .btn { display: table; margin: 0 auto 26px; font-size: 13px; padding: 14px 22px; }

/* ---------- faq ---------- */
.faq { padding: 60px var(--gutter) 60px; }
.faq > h2 { margin-bottom: 60px; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); }
.qa-grid { columns: 3; column-gap: 32px; }
.qa { break-inside: avoid; padding-bottom: 40px; font-size: 13px; color: #000; }
.qa h4 { font-size: 14px; margin-bottom: 18px; }
.faq .btn { margin-top: 30px; }

/* ---------- case studies ---------- */
.cs-head { text-align: center; padding: 100px var(--gutter) 110px; }
.cs-head h2 { margin-bottom: 26px; }
.cs-head p { max-width: 380px; margin: 0 auto; font-size: 13px; color: #000; }
.challenges { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; padding: 50px var(--gutter) 80px; font-size: 13px; color: #000; }
.challenges h3 { color: var(--navy); }
.results-glance { margin: 0 var(--gutter); padding: 30px 0 20px; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); }
.results-glance h3 { margin-bottom: 18px; }
.results-glance ul { margin: 0 0 12px; padding-left: 25px; font-weight: 700; font-size: 14px; line-height: 1.6; }
.before { padding: 70px var(--gutter) 20px; }
.before h4, .after h4 { font-size: 13.5px; margin-bottom: 26px; }
.before-row { display: flex; gap: 26px; align-items: flex-start; }
.before-row > div { min-width: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: calc(600px + 2 * var(--gutter)); margin: 0 auto; padding: 70px var(--gutter) 60px; text-align: center; font-size: 13px; color: #000; }
.two-col h3 { margin-bottom: 22px; }
.after { padding: 40px var(--gutter) 20px; }
.after img { width: 100%; }
.results { padding: 40px var(--gutter) 10px; max-width: calc(760px + 2 * var(--gutter)); font-size: 13.5px; color: #000; }
.results h2 { margin-bottom: 22px; }
.testimonial { display: grid; grid-template-columns: 160px 1fr; gap: 34px; align-items: center; padding: 80px var(--gutter) 40px; max-width: calc(900px + 2 * var(--gutter)); }
.testimonial .avatar { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.testimonial .who { font-size: 12px; font-style: italic; color: #000; margin-bottom: 16px; }
.testimonial blockquote { margin: 0; font-weight: 700; font-size: 14px; line-height: 1.55; }
.back { padding: 40px 0 70px; }

/* ---------- simple pages ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 12vw; align-items: start; padding: 170px var(--gutter) 170px; font-size: 12.5px; color: #000; }
.about h2 { max-width: 20rem; }
.contact-page { text-align: center; padding: 200px var(--gutter) 220px; font-size: 13px; color: #000; }
.contact-page h2 { margin-bottom: 20px; }
.contact-page p { margin: 0 0 10px; }
.contact-page a { text-decoration: none; }
.contact-page a:hover { text-decoration: underline; }
.privacy { max-width: calc(760px + 2 * var(--gutter)); padding: 90px var(--gutter) 90px; font-size: 14px; color: #000; }
.privacy h2 { margin-bottom: 26px; }

/* ---------- footer ---------- */
.site-footer {
  display: flex; justify-content: flex-end; gap: 60px; align-items: flex-start;
  padding: 40px var(--gutter) 50px; font-size: 13px; color: #000;
}
.site-footer p { margin: 0; }
.prs img { width: 170px; margin-bottom: 10px; }
.site-footer .links { display: flex; flex-direction: column; gap: 10px; }
.site-footer .links .social { margin-bottom: 6px; }
.site-footer .links a:not(.social a) { color: var(--navy); }

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  :root { --gutter: 6vw; }
  body { font-size: 15px; }
  .nav { display: none; }
  .burger { display: block; }
  .site-header { padding: 20px var(--gutter); }
  .logo img { height: 20px; }
  .display { font-size: 13vw; }
  .underline { white-space: normal; }
  .hero-split { grid-template-columns: 1fr; gap: 50px; }
  .brands { padding-left: 0; }
  .slant-bottom { clip-path: polygon(0 0, 100% 0, 100% 100%, 25% calc(100% - 30px), 0 100%); margin-bottom: -30px; }
  .invest-copy { padding-top: 80px; padding-bottom: 70px; }
  .str-hero .lede { margin-top: 40px; }
  .options { grid-template-columns: 1fr; gap: 20px; padding: 24px var(--gutter); }
  .card { flex-basis: 70vw; }
  .carousel button { top: calc(35vw - 22px); }
  .feature { display: block; padding: 30px var(--gutter); }
  .feature .feature-text { padding: 0 !important; margin-top: -24px; }
  .feature .feature-text h2 { margin: 0 0 14px 12px !important; text-align: left !important; }
  .strip { flex-wrap: wrap; gap: 10px; }
  .strip > div { flex: 1 1 40% !important; }
  .strip img { aspect-ratio: 3 / 2; object-fit: cover; }
  .strips { gap: 10px; }
  .grid-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qa-grid { columns: 1; }
  .cs-head { padding: 50px var(--gutter) 60px; }
  .challenges { grid-template-columns: 1fr; gap: 10px; }
  .before-row { flex-direction: column; }
  .before-row > div { flex: none !important; width: 100%; }
  .two-col { grid-template-columns: 1fr; }
  .testimonial { grid-template-columns: 1fr; justify-items: start; gap: 20px; }
  .overlay-block.overview .overlay-text { padding-left: var(--gutter); padding-right: var(--gutter); }
  .overlay-text { padding-right: var(--gutter); }
  .about { grid-template-columns: 1fr; gap: 30px; padding: 70px var(--gutter); }
  .contact-page { padding: 110px var(--gutter); }
  .site-footer { justify-content: space-between; gap: 30px; flex-wrap: wrap; }
}
