:root {
  --home-ink: #0b1935;
  --home-paper: #fdfbf9;
  --home-button: linear-gradient(42deg, #074fc2, #0472d4 72%, #00bdea);
}
.homepage { color: var(--home-ink); background: var(--home-paper); }
.homepage section[id] { scroll-margin-top: 1rem; }
.homepage .eyebrow { color: #005cc7; font-weight: 750; letter-spacing: .025em; }
.mast-inner { min-height: clamp(4.25rem, 6.3vw, 5.6rem); }
.brand img { width: clamp(10rem, 18vw, 14.3rem); }
.homepage .button.primary { color: white; background: var(--home-button); border: 0; border-radius: .95rem; }
.homepage .button.primary:hover { filter: brightness(.92); }
.home-intro { position: relative; isolation: isolate; background: linear-gradient(130deg, #fdfbf9, #f6fbff 57%, #d9edf6); }
.homepage .intro-layout { width: 100%; display: grid; align-items: center; min-height: clamp(25rem, 46vw, 43rem); }
.intro-photo { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 60%; mask-image: linear-gradient(to right, transparent, black 21%); }
.intro-photo img { height: 100%; object-fit: cover; object-position: 56% 30%; }
.intro-copy { width: min(41%, 36rem); margin-inline-start: var(--site-edge-inset); padding-block: clamp(2rem, 4.5vw, 4rem); }
.intro-copy h1 { font-size: clamp(2.55rem, 4.8vw, 4.15rem); font-weight: 760; line-height: 1; text-wrap: balance; }
.intro-copy h1 em { font-size: .94em; }
.intro-copy .lead, .intro-copy .actions .text-link { font-size: clamp(1.1rem, 1.78vw, 1.4rem); }
.intro-copy .lead { max-width: 35ch; margin-top: 1rem; color: var(--home-ink); line-height: 1.38; }
.intro-copy .actions { margin-top: 1.55rem; }
.homepage .text-link { color: var(--home-ink); --underline-color: #1578d6; --underline-weight: 2px; }
.customer-story { display: grid; grid-template-columns: 1.32fr 1fr; grid-template-areas: "photo copy" "photo action"; gap: .6rem clamp(1.5rem, 4vw, 4rem); padding-block: clamp(1.4rem, 2.7vw, 2.3rem); }
.story-photo { grid-area: photo; align-self: center; }
.story-photo img { border-radius: 1.1rem; }
.story-copy { grid-area: copy; align-self: end; }
.story-copy h2 { margin-top: .6rem; font: 650 clamp(2.15rem, 3.85vw, 3.4rem)/1.04 var(--serif); letter-spacing: -.04em; }
.story-copy h2 em, .inquiry-copy h2 em { display: block; }
.story-copy h2 em { margin-block-start: .2em; }
.story-lead, .story-action { font-size: clamp(1.025rem, 1.6vw, 1.32rem); }
.story-lead { margin-top: .85rem; max-width: 40ch; line-height: 1.42; }
.story-action { grid-area: action; align-self: start; justify-self: start; font-style: italic; }

.results-section {
  margin-top: .35rem;
  padding-bottom: clamp(1.25rem, 2.5vw, 1.9rem);
}

.results-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.3rem, 4vw, 3.8rem);
  overflow: hidden;
  padding: clamp(1.4rem, 2.6vw, 2.25rem) clamp(1.25rem, 4.1vw, 3.25rem);
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at 100% 4%, #159cba75, transparent 46%),
    linear-gradient(60deg, #062959, #084782 57%, #076a86);
  color: white;
}

.results-banner::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(132deg, transparent 88%, #57dcf42a 88% 91.6%, transparent 91.6% 93%, #57dcf420 93% 93.2%, transparent 93.2%);
  content: "";
}

.homepage .results-banner .eyebrow { color: #daeffb; }

.results-banner h2 {
  margin-top: .38rem;
  font: 750 clamp(2.35rem, 5vw, 4.3rem)/1.02 var(--sans);
  letter-spacing: -.06em;
}

.results-banner h2 em {
  color: #cceeff;
  letter-spacing: -.047em;
}

.results-banner-lead {
  max-width: 31ch;
  padding-left: clamp(1rem, 2.2vw, 1.7rem);
  border-left: 1px solid #7ad7f4;
  color: #e3f4fc;
  font: 520 clamp(1rem, 1.7vw, 1.32rem)/1.45 var(--sans);
  text-wrap: pretty;
}

.results-banner-lead strong { color: #fff; font-weight: 740; }

.results-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.85rem, 1.5vw, 1.22rem);
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.result-step {
  overflow: hidden;
  border: 1px solid #c7dbe9;
  border-radius: 1.12rem;
  background: linear-gradient(145deg, #fff 30%, #f1f8fc);
  box-shadow: 0 8px 26px -18px #15477057;
}

.result-mast {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 1.35vw, 1rem);
  min-height: 4.25rem;
  padding: .67rem clamp(1rem, 2vw, 1.6rem);
  background: linear-gradient(104deg, #0a2547, #0b3459);
  color: #fff;
}
.result-mast::after {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  content: "";
  height: 2px;
  background: linear-gradient(90deg, #37c5f1, #2184de 52%, #37c5f14f);
}
.result-number {
  display: grid;
  font: 720 .8rem/1.2 var(--sans);
  flex: 0 0 auto;
  width: 2.14rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #a1ddff61;
  border-radius: .54rem;
  background: #75c9ff1c;
  color: #b9e7ff;
  letter-spacing: .06em;
}
.result-mast h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2em .35em;
  font: 750 clamp(1.23rem, 2.25vw, 1.95rem)/1.12 var(--sans);
  letter-spacing: -.046em;
}

.result-mast a {
  --underline-color: #9bd8fa;
  --underline-weight: 1px;
}
.result-mast a:focus-visible { outline-color: #a8dcff; }
.result-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(11.25rem, 16.5vw, 15.25rem);
  border-bottom: 1px solid #c8dce9;
  background-color: #dcebf5;
}
.result-photo {
  position: absolute;
  z-index: -1;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.result-visual-web .result-photo {
  object-position: center 52%;
  filter: saturate(1.08);
}
.result-visual-search {
  background: linear-gradient(105deg, #d6eefc, #edfbff);
}
.result-visual-search .result-photo {
  object-position: center 48%;
  filter: saturate(1.36) contrast(1.025);
}
.result-visual-social .result-photo {
  object-position: center 55%;
  filter: saturate(1.12);
}
.result-visual-paid .result-photo { object-position: 55% center; }

.result-sponsored {
  position: absolute;
  bottom: .85rem;
  left: clamp(.75rem, 2vw, 1.3rem);
  padding: .37rem .62rem;
  border: 1px solid #ffffff54;
  border-radius: .4rem;
  background: #0a223aec;
  color: #fff;
  box-shadow: 0 2px 8px #08182c33;
  font: 650 .78rem/1.25 var(--sans);
}

.result-example {
  position: absolute;
  left: clamp(.75rem, 2vw, 1.3rem);
  z-index: 1;
  display: grid;
  max-width: calc(100% - 1.5rem);
  border: 1px solid #c4ddeb;
  border-radius: .75rem;
  background: #fff;
  color: #113658;
  font: 530 .78rem/1.32 var(--sans);
  box-shadow: 0 6px 18px #09335635;
}
.search-example {
  top: 50%;
  width: max-content;
  max-width: min(15rem, calc(100% - 1.5rem));
  transform: translateY(-50%);
  overflow: hidden;
}
.example-query {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .62rem .7rem;
  background: #eaf6fd;
  color: #183a58;
  font-weight: 700;
}
.example-search-icon {
  position: relative;
  flex: 0 0 auto;
  width: .61rem;
  aspect-ratio: 1;
  border: 1.5px solid #195f91;
  border-radius: 50%;
}
.example-search-icon::after {
  position: absolute;
  top: 100%;
  left: 74%;
  width: .28rem;
  border-bottom: 1.5px solid #195f91;
  transform: rotate(45deg);
  content: "";
}
.example-result {
  display: grid;
  gap: .22rem;
  padding: .64rem .72rem .78rem;
}
.example-caption {
  color: #3c5972;
  font-size: .66rem;
  font-weight: 650;
}
.example-result strong {
  color: #0656a9;
  font-size: 1rem;
  line-height: 1.15;
}
.result-map-credit {
  position: absolute;
  right: .3rem;
  bottom: .25rem;
  padding: .16rem .27rem;
  border-radius: .22rem;
  background: #ffffffea;
  color: #234766;
  font: 550 .62rem/1.3 var(--sans);
}
.result-map-credit a { text-decoration: underline; }
.social-example {
  left: .55rem;
  bottom: .55rem;
  width: min(11.25rem, 54%);
  gap: .3rem;
  padding: .48rem .53rem .32rem;
  border-radius: .58rem;
  font-size: .72rem;
  line-height: 1.28;
}
.example-social-brand {
  display: flex;
  align-items: center;
  gap: .32rem;
}
.example-social-brand strong {
  flex: 1;
  line-height: 1.18;
}
.example-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 1.15rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #0968ac;
  color: #fff;
  font-size: .53rem;
  font-weight: 750;
}
.example-instagram {
  position: relative;
  flex: 0 0 auto;
  width: 1.05rem;
  aspect-ratio: 1;
  border-radius: .3rem;
  background: linear-gradient(40deg, #e9952b, #c53570 55%, #7c3cac);
}
.example-instagram::before {
  position: absolute;
  inset: .18rem;
  border: 1px solid #fff;
  border-radius: .23rem;
  background: radial-gradient(circle at 77% 24%, #fff 0 .055rem, transparent .06rem);
  content: "";
}
.example-instagram::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: .31rem;
  aspect-ratio: 1;
  border: 1px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  content: "";
}
.social-example p {
  max-width: 26ch;
  color: #1f3a52;
}
.example-social-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 1.15rem;
  padding-top: .2rem;
  border-top: 1px solid #e0e9ef;
  color: #213b53;
}
.example-like {
  color: #d71945;
  font: 700 1rem/1 var(--sans);
}
.example-comment {
  position: relative;
  width: .73rem;
  height: .63rem;
  border: 1.35px solid currentColor;
  border-radius: 48%;
}
.example-comment::after {
  position: absolute;
  left: 0;
  bottom: -.1rem;
  width: .22rem;
  aspect-ratio: 1;
  background: #fff;
  border: solid currentColor;
  border-width: 0 0 1.35px 1.35px;
  transform: skew(-17deg, -18deg);
  content: "";
}
.example-save {
  width: .67rem;
  height: .81rem;
  margin-left: auto;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%, 0 0, 13% 10%, 13% 80%, 50% 59%, 87% 80%, 87% 10%, 13% 10%);
}

.result-plus { color: #9fdafa; font-weight: 500; }

.result-content { padding: clamp(.95rem, 2.1vw, 1.55rem) clamp(1.05rem, 2.25vw, 1.8rem) clamp(1.15rem, 2.35vw, 1.8rem); }

.result-content h4 {
  margin: 0 0 .59rem;
  color: #0b2140;
  font: 650 clamp(1.45rem, 2.15vw, 1.84rem)/1.12 var(--serif);
  letter-spacing: -.035em;
  text-wrap: pretty;
}

.result-content p {
  color: #283f57;
  font-size: 1rem;
  line-height: 1.52;
}

.result-content p + p { margin-top: .52rem; }

@media (max-width: 760px) {
  .results-banner { grid-template-columns: minmax(0, 1fr); gap: .95rem; }
  .results-steps { grid-template-columns: minmax(0, 1fr); }
  .result-mast { min-height: 3.7rem; }
  .result-mast h3 { font-size: clamp(1.16rem, 4.95vw, 1.75rem); }
  .result-visual { height: clamp(10.75rem, 38vw, 15rem); }
  .search-example { max-width: 11rem; }
  .result-visual-search .result-photo { object-position: 70% 51%; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .result-photo { transition: transform 300ms cubic-bezier(.2, .65, .3, 1); }
  .result-step:hover .result-photo { transform: scale(1.027); }
}

.home-contact { padding: 1rem 0 1.15rem; }
.inquiry-layout { display: grid; grid-template-columns: 1.3fr 1fr; overflow: hidden; border: 1px solid #ccd5dc; border-radius: 1.15rem; background: white; }
.inquiry-intro { position: relative; isolation: isolate; color: white; background: #174a6e; }
.inquiry-photo { position: absolute; inset: 0; z-index: -2; height: 100%; object-fit: cover; object-position: center 91%; }
.inquiry-intro::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 84% 81% at 0 0, #033b76 15%, #044f85ed 40%, #064c7ca6 65%, transparent 100%); }
.inquiry-copy { padding: clamp(1.45rem, 3vw, 2.5rem); }
.inquiry-copy h2 { font: 720 clamp(2.3rem, 4.3vw, 3.8rem)/.98 var(--sans); }
.inquiry-copy h2 em { color: #bceaff; }
.inquiry-copy p { margin-top: 1rem; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.36; max-width: 22ch; text-shadow: 0 1px 4px #14314e; }
.inquiry-form {
  min-width: 0;
  padding: clamp(1.5rem, 2.65vw, 2.6rem);
  color: #102344;
  background: linear-gradient(120deg, white, #fcfcfd);
}
.goal-field {
  min-width: 0;
  padding: 0 0 1.45rem;
  margin: 0 0 1.3rem;
  border: 0;
  border-bottom: 1px solid #c7d8e7;
}
.goal-field legend {
  padding: 0;
  font: 600 clamp(2.1rem, 2.75vw, 2.45rem)/1.05 var(--serif);
  letter-spacing: -.045em;
}
.field-hint { margin: .35rem 0 .95rem; color: #324a65; font-size: 1rem; }
.goal-options { display: flex; flex-wrap: wrap; gap: .65rem .7rem; }
.goal-option { position: relative; display: inline-flex; max-width: 100%; cursor: pointer; }
.goal-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  opacity: 0;
}
.goal-option span {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-height: 44px;
  justify-content: center;
  padding: .44rem clamp(.85rem, 1.55vw, 1.45rem);
  border: 1px solid #89accd;
  border-radius: 999px;
  background: #fff;
  color: #173854;
  font-size: 1rem;
  line-height: 1.35;
}
.goal-option:hover span { border-color: #3975b4; background: #f3f8fd; }
.goal-option input:checked + span {
  color: #064998;
  border-color: #2676d8;
  background: linear-gradient(120deg, #edf7ff, #cce5fd);
  font-weight: 650;
}
.goal-option input:checked + span::before {
  content: "";
  flex: none;
  width: .75rem;
  height: .4rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}
.goal-option input:focus-visible + span { outline: 3px solid #1773c6; outline-offset: 3px; }
.field-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-bottom: 1rem; }
.inquiry-form label:not(.goal-option) { font-weight: 650; }
.inquiry-form input:not([type=checkbox]):not([type=hidden]), .inquiry-form textarea {
  display: block;
  width: 100%;
  padding: var(--field-padding-y, .72rem) .9rem;
  margin-top: .33rem;
  border: 1px solid #88a5c1;
  border-radius: .45rem;
  background: white;
  color: var(--home-ink);
  font: inherit;
}
.inquiry-form textarea { min-height: 6.25rem; resize: vertical; }
.send-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-top: 1.15rem; }
.inquiry-form textarea::placeholder { color: #526476; opacity: 1; }
.send-row button:disabled { opacity: .7; cursor: wait; }
.send-row .button.primary { background: var(--home-button); }
.send-row .button.primary:hover { background: linear-gradient(120deg, #075bc7, #093c9d); }
.form-error { color: #8e2530; }
.form-error:not(:empty) { margin-top: 1rem; }
#contact-success { padding: 1.5rem 0; }
#contact-success h3 { font: 400 clamp(2.2rem,3.3vw,3.6rem)/1.1 var(--serif); margin: .6rem 0; }
#contact-success p:last-child { max-width: 38ch; }

.inquiry-form { padding: clamp(1.3rem, 2.8vw, 2.3rem); font-size: 1rem; }
.goal-field { padding: 0; border: 0; margin-bottom: 1.25rem; }
.goal-field legend { font: 720 clamp(1.2rem, 1.8vw, 1.5rem)/1.2 var(--sans); letter-spacing: -.038em; }
.field-hint { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.goal-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .6rem; }
.goal-option span { width: 100%; min-height: 2.55rem; padding: .35rem .55rem; font-size: .93rem; text-align: center; }
.field-pair { gap: .8rem; margin-bottom: .75rem; }
.inquiry-form input:not([type=checkbox]):not([type=hidden]), .inquiry-form textarea { padding: .55rem .7rem; }
.inquiry-form textarea { min-height: 5rem; }
.send-row { margin-top: .75rem; }
@media (max-width: 840px) {
  .inquiry-layout { grid-template-columns: 1fr 1.1fr; }
}
@media (max-width: 760px) {
  .mast-inner { min-height: 0; }
  .brand img { width: min(34vw, 10rem); }
  .mast-contact { padding-inline: .65rem; font-size: .875rem; }
  .homepage .intro-layout { min-height: 0; }
  .intro-copy { width: var(--site-chrome-width); margin-inline: auto; padding: 2rem 0 1rem; }
  .intro-photo { position: relative; width: 100%; height: auto; aspect-ratio: 527 / 417; mask-image: linear-gradient(transparent, black 18%); }
  .intro-photo img { object-position: 50% 40%; }
  .intro-copy h1 { font-size: clamp(2.55rem, 8vw, 4.15rem); }
  .customer-story { grid-template-columns: 1fr; grid-template-areas: "photo" "copy" "action"; padding: 1.6rem 0; }
  .story-photo { margin-bottom: .6rem; }
  .inquiry-layout { grid-template-columns: 1fr; }
  .inquiry-intro { min-height: clamp(18rem, 70vw, 24rem); }
  .inquiry-intro::before { background: linear-gradient(155deg, #034579fa 10%, #064d7cee 34%, #064671b0 53%, transparent 76%); }
}
@media (max-width: 430px) {
  .field-pair { grid-template-columns: 1fr; }
  .inquiry-form { padding: 1rem; }
}
@media (forced-colors: active) {
  .goal-option input:checked + span { border: 2px solid Highlight; }
}
