/*
Theme Name: CST — Hello Elementor Child
Template: hello-elementor
Version: 1.13.2
Text Domain: cst-hello
*/
.cst-home {
  --cst-ink: #000029;
  --cst-night: #000051;
  --cst-blue: #173ded;
  --cst-paper: #dcdee2;
  --cst-grey: #bababa;
  --cst-edge: clamp(1.25rem, 5vw, 5rem);
  --cst-header-height: 68px;
  padding: var(--cst-header-height) 0 0;
  background: #f5f5f7;
  color: var(--cst-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.cst-home .elementor-heading-title,
.cst-home .elementor-button {
  font-family: inherit;
}
.cst-home .e-con { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; }
.cst-home .cst-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: var(--cst-header-height);
  padding-inline: var(--cst-edge);
  border-bottom: 1px solid var(--cst-paper);
  background: #f5f5f7;
}
.admin-bar .cst-home .cst-nav { top: var(--wp-admin--admin-bar--height, 32px); }
.cst-home .cst-nav-mark img, .cst-home .cst-footer img { width: 44px; height: auto; }
.cst-home .cst-nav-links .elementor-button {
  padding: .65rem .25rem;
  background: transparent;
  color: var(--cst-ink);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}
.cst-home .cst-nav-links .elementor-button:hover { color: var(--cst-blue); }
.cst-home a:focus-visible { outline: 2px solid var(--cst-blue); outline-offset: 4px; }
.cst-home .cst-welcome {
  scroll-margin-top: var(--cst-header-height);
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: clamp(1.5rem, 4vh, 3rem) var(--cst-edge);
  text-align: center;
}
.cst-home .cst-welcome img { width: clamp(76px, 9vw, 120px); }
.cst-home .cst-welcome h1 {
  color: var(--cst-ink);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .045em;
}
.cst-home .cst-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; transition: none; }
.cst-home .cst-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: clamp(365px, 58svh, 780px);
  padding: 2rem var(--cst-edge);
  gap: .65rem;
}
.cst-home .cst-studio { background: var(--cst-paper); color: var(--cst-ink); }
.cst-home .cst-photo { background: var(--cst-night); color: #fff; }
.cst-home .cst-panel .cst-panel-image { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.cst-home .cst-panel-image .elementor-widget-container,
.cst-home .cst-panel-image img { display: block; width: 100%; height: 100%; }
.cst-home .cst-panel-image img { object-fit: cover; object-position: 50% 45%; }
.cst-home .cst-photo .cst-panel-image img { object-position: 50% 36%; }
.cst-home .cst-panel::before { position: absolute; inset: 0; z-index: -1; content: ""; }
.cst-home .cst-studio::before { background: linear-gradient(0deg, #dcdee2 4%, #dcdee2ed 24%, transparent 68%); }
.cst-home .cst-photo::before { background: linear-gradient(0deg, #000029 4%, #000029eb 24%, transparent 70%); }
.cst-home .cst-panel .elementor-heading-title { color: inherit; font-size: clamp(2.6rem, 5.7vw, 6.5rem); line-height: .96; letter-spacing: -.075em; font-weight: 700; }
.cst-home .cst-panel .elementor-widget-text-editor { color: inherit; font-size: clamp(.95rem, 1.5vw, 1.2rem); }
.cst-home .cst-panel p, .cst-home .cst-intro p { margin: 0; }
.cst-home .cst-panel .elementor-button {
  margin-top: .75rem;
  padding: .85rem 1.15rem;
  border-radius: 0;
  background: var(--cst-blue);
  color: #fff;
  font-size: .92rem;
  font-weight: 650;
}
.cst-home .cst-photo .elementor-button { background: var(--cst-paper); color: var(--cst-ink); }
.cst-home .cst-panel .elementor-button:hover { text-decoration: underline; text-underline-offset: .2em; }
.cst-home .cst-photo a:focus-visible { outline-color: #fff; }
.cst-home .cst-intro { align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem var(--cst-edge); }
.cst-home .cst-intro .elementor-widget-text-editor { color: var(--cst-ink); font-size: clamp(1rem, 2vw, 1.45rem); }
.cst-home .cst-intro .elementor-button {
  padding: .25rem 0;
  background: transparent;
  color: var(--cst-blue);
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-weight: 650;
}
.cst-home .cst-footer { border-top: 1px solid var(--cst-paper); padding: 1.25rem var(--cst-edge); align-items: center; }
@media (max-width: 767px) {
  .cst-home { --cst-header-height: 74px; }
  .cst-home .cst-nav {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .75rem;
  }
  .cst-home .cst-nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 .3rem;
    justify-items: center;
  }
  .cst-home .cst-nav-links .elementor-button {
    padding: .35rem 0;
    font-size: clamp(.66rem, 3vw, .85rem);
  }
  .cst-home .cst-split { grid-template-columns: minmax(0, 1fr); }
  .cst-home .cst-panel { min-height: clamp(320px, 57svh, 520px); padding-block: 1.5rem; }
  .cst-home .cst-intro { flex-wrap: wrap; align-items: flex-start; }
}

.cst-home .cst-inner {
  padding: clamp(2.5rem, 7vw, 7rem) var(--cst-edge);
  gap: 2rem;
  background: #f5f5f7;
}
.cst-home .cst-inner-dark { background: #000029; color: #fff; }
.cst-home .cst-inner .elementor-heading-title { color: inherit; font-weight: 700; }
.cst-home .cst-inner h1 { font-size: clamp(3.2rem, 8vw, 8rem); line-height: .95; letter-spacing: -.075em; }
.cst-home .cst-inner h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); letter-spacing: -.045em; }
.cst-home .cst-inner h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.cst-home .cst-inner .elementor-widget-text-editor { color: inherit; max-width: 68ch; }
.cst-home .cst-inner .elementor-button { background: var(--cst-blue); color: #fff; border-radius: 0; }
.cst-home .cst-inner-dark .elementor-button { background: var(--cst-paper); color: var(--cst-ink); }
.cst-home .cst-service-grid,
.cst-home .cst-image-grid,
.cst-home .cst-bio-grid { display: grid; gap: clamp(1.2rem, 3vw, 3rem); }
.cst-home .cst-service-grid, .cst-home .cst-image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cst-home .cst-bio-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.cst-home .cst-service { border-top: 1px solid currentColor; padding-top: 1.2rem; }
.cst-home .cst-image-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cst-home .cst-bio-grid img { width: 100%; }
.cst-home .cst-inner-dark .elementor-widget-text-editor a { color: #fff; }
@media (max-width: 767px) {
  .cst-home .cst-service-grid,
  .cst-home .cst-image-grid,
  .cst-home .cst-bio-grid { grid-template-columns: minmax(0, 1fr); }
}

.cst-home.cst-chooser { --cst-header-height: 68px; }
.cst-home .cst-chooser-header { display: flex; justify-content: space-between; }
.cst-home .cst-chooser-header .elementor-heading-title {
  color: var(--cst-ink);
  font-size: clamp(.72rem, 2.5vw, .875rem);
  font-weight: 650;
  letter-spacing: .02em;
}
.cst-home.cst-chooser .cst-panel { min-height: calc(100svh - var(--cst-header-height)); }
.cst-home .cst-brand-nav .cst-nav-mark img { width: 54px; }
.cst-home .cst-brand-nav-photo { background: var(--cst-ink); border-color: #32334e; }
.cst-home .cst-brand-nav-photo .cst-nav-mark img { filter: brightness(0) invert(1); }
.cst-home .cst-brand-nav-photo .elementor-button { color: white; }
.cst-home .cst-brand-nav-photo .elementor-button:hover { color: #a9bcff; }
.cst-home .cst-brand-hero {
  position: relative;
  isolation: isolate;
  min-height: max(570px, calc(88svh - var(--cst-header-height)));
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(2rem, 7vw, 7rem) var(--cst-edge);
  gap: 1.1rem;
}
.cst-home .cst-brand-hero .cst-panel-image { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.cst-home .cst-brand-hero::before { position: absolute; inset: 0; z-index: -1; content: ""; }
.cst-home .cst-brand-hero-studio { background: #eaf0fa; color: var(--cst-ink); }
.cst-home .cst-brand-hero-studio::before { background: linear-gradient(90deg, #edf2f9 4%, #edf2f9ef 28%, #edf2f94d 65%, transparent); }
.cst-home .cst-brand-hero-photo { background: var(--cst-night); color: #fff; }
.cst-home .cst-brand-hero-photo::before { background: linear-gradient(90deg, #000029 2%, #000029ed 30%, #00002925 80%), linear-gradient(0deg,#000029 1%,transparent 45%); }
.cst-home .cst-brand-hero-photo .cst-panel-image img { object-position: 50% 37%; }
.cst-home .cst-brand-hero .elementor-heading-title {
  color: inherit;
  font-size: clamp(3.5rem, 11vw, 11rem);
  line-height: .9;
  letter-spacing: -.08em;
}
.cst-home .cst-brand-hero .elementor-widget-text-editor { color: inherit; max-width: 37rem; font-size: clamp(1rem, 2vw, 1.4rem); }
.cst-home .cst-brand-hero .elementor-button { background: var(--cst-blue); color: white; border-radius: 0; }
.cst-home .cst-brand-hero-photo .elementor-button { background: #fff; color: var(--cst-ink); }
.cst-home .cst-brand-studio { background-color: #edf2f9; background-image: linear-gradient(#173ded0d 1px, transparent 1px), linear-gradient(90deg, #173ded0d 1px, transparent 1px); background-size: 40px 40px; }
.cst-home .cst-brand-studio .cst-service { border-color: var(--cst-blue); }
.cst-home .cst-brand-photo { background: var(--cst-ink); }
.cst-home .cst-brand-photo .cst-service { border-color: #829cff; }
@media (max-width: 767px) {
  .cst-home.cst-chooser { --cst-header-height: 56px; }
  .cst-home.cst-chooser .cst-split { min-height: calc(100svh - var(--cst-header-height)); grid-template-rows: repeat(2, minmax(235px, 1fr)); }
  .cst-home.cst-chooser .cst-panel { min-height: 0; padding-block: .85rem; gap: .35rem; }
  .cst-home.cst-chooser .cst-panel .elementor-heading-title { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .cst-home.cst-chooser .cst-panel .elementor-button { margin-top: .2rem; padding: .65rem .9rem; }
  .cst-home .cst-brand-hero { min-height: min(660px, calc(100svh - var(--cst-header-height))); }
  .cst-home .cst-brand-hero-studio::before { background: linear-gradient(0deg,#edf2f9 8%,#edf2f9ef 29%,transparent 77%); }
  .cst-home .cst-brand-hero-photo::before { background: linear-gradient(0deg,#000029 8%,#000029eb 27%,transparent 80%); }
}

.cst-home .cst-brand-main { gap: 0; }
.cst-home .cst-brand-main [id],
.cst-home .cst-split[id] { scroll-margin-top: calc(var(--cst-header-height) + var(--wp-admin--admin-bar--height, 0px)); }
.admin-bar .cst-home.cst-chooser { --cst-admin-offset: var(--wp-admin--admin-bar--height, 32px); }
.cst-home.cst-chooser .cst-panel { min-height: calc(100svh - var(--cst-header-height) - var(--cst-admin-offset, 0px)); }
.cst-home.cst-chooser .cst-panel .elementor-button { min-height: 44px; }
@media (max-width: 767px) {
  .cst-home.cst-chooser .cst-split { min-height: calc(100svh - var(--cst-header-height) - var(--cst-admin-offset, 0px)); }
  .cst-home.cst-chooser .cst-panel { min-height: 0; }
}

.cst-home .cst-nav-mark > .elementor-widget-container > a {
  display: grid;
  align-items: center;
  height: 44px;
}
.cst-home .cst-nav .cst-nav-mark img {
  display: block;
  width: auto;
  height: 44px;
  max-width: none;
  filter: none;
}
.cst-home .cst-chooser-header .cst-nav-mark img {
  width: 44px;
  padding: 11px 8px;
  border-radius: 50%;
  background: var(--cst-ink);
  object-fit: contain;
  content: url("assets/cst-white.svg");
}
.cst-home .cst-brand-nav-studio .cst-nav-mark img { content: url("assets/switch-studio.svg?v=1.8.2"); }
.cst-home .cst-brand-nav-photo .cst-nav-mark img { content: url("assets/switch-photo.svg?v=1.8.2"); }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(root) {
    animation-duration: 240ms;
    animation-timing-function: ease-in-out;
    animation-name: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 240ms;
    animation-timing-function: ease-in-out;
  }
}

.cst-home .cst-chooser-header .elementor-widget-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* Use the split as an image diptych, with two distinct caption surfaces. */
.cst-home.cst-chooser .cst-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  align-items: stretch;
  gap: 0;
  padding: 0;
}
.cst-home.cst-chooser .cst-panel::before { content: none; }
.cst-home.cst-chooser .cst-panel .cst-panel-image {
  position: relative;
  inset: auto;
  z-index: auto;
  overflow: hidden;
  min-height: 0;
}
.cst-home.cst-chooser .cst-panel-image img {
  position: absolute;
  inset: 0;
}
.cst-home.cst-chooser .cst-studio .cst-panel-image img { object-position: 50% 56%; }
.cst-home.cst-chooser .cst-photo .cst-panel-image img { object-position: 50% 34%; }
.cst-home.cst-chooser .cst-studio {
  background-color: var(--cst-paper);
  background-image: linear-gradient(#173ded0d 1px, transparent 1px), linear-gradient(90deg, #173ded0d 1px, transparent 1px);
  background-size: 40px 40px;
}
.cst-home.cst-chooser .cst-photo { background: var(--cst-ink); }
.cst-home.cst-chooser .cst-panel > .elementor-widget:not(.cst-panel-image) {
  margin-inline: var(--cst-edge);
  width: auto;
}
.cst-home.cst-chooser .cst-panel > .elementor-widget-heading { margin-block: clamp(1.1rem, 3vh, 2.35rem) .5rem; }
.cst-home.cst-chooser .cst-panel .elementor-heading-title {
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  letter-spacing: -.04em;
}
.cst-home.cst-chooser .cst-panel > .elementor-widget-button { margin-block: .8rem clamp(1.25rem, 3vh, 2.35rem); }
.cst-home.cst-chooser .cst-panel .elementor-button {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
}
.cst-home.cst-chooser .cst-panel .elementor-button:focus-visible {
  outline-color: currentColor;
  outline-offset: -4px;
}
.cst-home.cst-chooser ::selection { background: var(--cst-blue); color: #fff; }
@media (max-width: 767px) {
  .cst-home.cst-chooser .cst-split { grid-template-rows: repeat(2, minmax(265px, 1fr)); }
  .cst-home.cst-chooser .cst-panel .elementor-heading-title { font-size: clamp(1.9rem, 8.5vw, 2.75rem); }
  .cst-home.cst-chooser .cst-panel > .elementor-widget-heading { margin-block: .75rem .25rem; }
  .cst-home.cst-chooser .cst-panel > .elementor-widget-button { margin-block: .5rem .75rem; }
}

.cst-home.cst-chooser { --cst-header-height: 0px; }
.cst-home.cst-chooser .cst-chooser-header {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
.cst-home.cst-chooser .cst-chooser-header .cst-nav-mark { display: none; }
.cst-home.cst-chooser .cst-panel-image,
.cst-home.cst-chooser .cst-panel > .elementor-widget-heading { grid-area: 1 / 1; }
.cst-home.cst-chooser .cst-panel > .elementor-widget.elementor-widget-heading {
  position: relative;
  z-index: 1;
  justify-self: center;
  align-self: center;
  width: clamp(142px, 23vw, 290px);
  margin: 0;
  --cst-switch-color: var(--cst-blue);
  --cst-switch-lettering: url("assets/switch-lettering-studio.svg?v=1.8.2");
}
.cst-home.cst-chooser .cst-photo > .elementor-widget.elementor-widget-heading {
  --cst-switch-color: var(--cst-night);
  --cst-switch-lettering: url("assets/switch-lettering-photo.svg?v=1.8.2");
}
.cst-home.cst-chooser .cst-panel > .elementor-widget-heading {
  aspect-ratio: 2;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  background: var(--cst-switch-color);
  box-shadow: inset 0 0 0 1px #ffffff80;
}
.cst-home.cst-chooser .cst-panel > .elementor-widget-heading::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  border-radius: 50%;
  background: #fff;
  content: "";
}
.cst-home.cst-chooser .cst-panel .elementor-heading-title {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: transparent;
  background: linear-gradient(var(--cst-switch-color), var(--cst-switch-color)) left center / 50% 100% no-repeat, #fff;
  mask: var(--cst-switch-lettering) center / 100% 100% no-repeat;
  pointer-events: none;
}
.cst-home.cst-chooser .cst-panel:is(:has(a:focus-visible), .cst-switch-selected) > .elementor-widget-heading::after {
  transform: translateX(100%);
}
.cst-home.cst-chooser .cst-panel:is(:has(a:focus-visible), .cst-switch-selected) .elementor-heading-title {
  background-position: right center;
}
@media (hover: hover) and (pointer: fine) {
  .cst-home.cst-chooser .cst-panel:hover > .elementor-widget-heading::after {
    transform: translateX(100%);
  }
  .cst-home.cst-chooser .cst-panel:hover .elementor-heading-title {
    background-position: right center;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .cst-home.cst-chooser .cst-panel > .elementor-widget-heading::after {
    transition: transform 420ms cubic-bezier(.2,.75,.25,1);
  }
  .cst-home.cst-chooser .cst-panel .elementor-heading-title {
    transition: background-position 420ms cubic-bezier(.2,.75,.25,1);
  }
}

/* The switch and the call to action share the photograph as their surface. */
.elementor .elementor-button,
.elementor .elementor-field-type-submit button,
button.wp-block-button__link,
a.wp-block-button__link {
  border-radius: 999px;
}
.cst-home .elementor-button { border-radius: 999px; }
.cst-home .cst-panel .elementor-button,
.cst-home .cst-brand-hero .elementor-button,
.cst-home .cst-inner .elementor-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 1.35em;
  border-radius: 999px;
}
.cst-home.cst-chooser .cst-panel {
  grid-template-rows: minmax(1.25rem, 1fr) auto auto auto minmax(1.25rem, 1fr);
  gap: .7rem;
  color: #fff;
}
.cst-home.cst-chooser .cst-panel .cst-panel-image { grid-area: 1 / 1 / -1 / -1; }
.cst-home.cst-chooser .cst-panel::before {
  display: block;
  z-index: 1;
  content: "";
  background: linear-gradient(0deg, #0000298c 0%, #000029b8 41%, #00002999 54%, #00002912 86%);
  pointer-events: none;
}
.cst-home.cst-chooser .cst-panel > .elementor-widget-heading { grid-area: 2 / 1; }
.cst-home.cst-chooser .cst-panel > .elementor-widget-text-editor { grid-area: 3 / 1; }
.cst-home.cst-chooser .cst-panel > .elementor-widget-button { grid-area: 4 / 1; }
.cst-home.cst-chooser .cst-panel > .elementor-widget-text-editor,
.cst-home.cst-chooser .cst-panel > .elementor-widget-button {
  z-index: 2;
  justify-self: center;
  margin-block: 0;
  text-align: center;
}
.cst-home.cst-chooser .cst-panel > .elementor-widget-text-editor {
  width: fit-content;
  max-width: calc(100% - 2 * var(--cst-edge));
  color: #fff;
}
.cst-home.cst-chooser .cst-panel > .elementor-widget-heading { z-index: 2; }
.cst-home.cst-chooser .cst-panel .elementor-button { background: #fff; color: var(--cst-ink); }
.cst-home.cst-chooser .cst-panel .elementor-button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.cst-home .cst-brand-hero .elementor-heading-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.cst-home .cst-brand-hero-studio,
.cst-home .cst-brand-studio {
  background: #edf2f9;
}
.cst-home .cst-brand-hero-studio {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: clamp(1.5rem, 5vw, 6rem);
  align-items: center;
  min-height: clamp(480px, 75svh, 850px);
}
.cst-home .cst-brand-hero-studio::before { content: none; }
.cst-home .cst-brand-hero-studio .cst-panel-image {
  position: relative;
  z-index: auto;
  grid-area: 1 / 2 / -1 / 3;
  min-height: 330px;
  overflow: hidden;
  border-radius: 1rem;
}
.cst-home .cst-brand-hero-studio .cst-panel-image img { position: absolute; inset: 0; }
.cst-home .cst-brand-hero-studio > .elementor-widget-heading { grid-area: 2 / 1; }
.cst-home .cst-brand-hero-studio > .elementor-widget-text-editor { grid-area: 3 / 1; }
.cst-home .cst-brand-hero-studio > .elementor-widget-button { grid-area: 4 / 1; }
.cst-home .cst-brand-hero-photo {
  min-height: max(520px, calc(92svh - var(--cst-header-height)));
  padding-block: clamp(3rem, 8vw, 8rem);
}
.cst-home .cst-brand-hero-photo .cst-panel-image img { object-position: 50% 42%; }
.cst-home .cst-brand-main > .cst-inner {
  padding-block: clamp(3rem, 7vw, 8rem);
}
.cst-home .cst-brand-main > .cst-inner:has(.cst-service-grid) {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: clamp(2rem, 7vw, 8rem);
}
.cst-home .cst-brand-main > .cst-inner:has(.cst-service-grid) > .elementor-widget-heading { grid-area: 1 / 1; }
.cst-home .cst-brand-main > .cst-inner:has(.cst-service-grid) > .elementor-widget-text-editor { grid-area: 2 / 1; }
.cst-home .cst-brand-main .cst-service-grid {
  grid-area: 1 / 2 / span 2 / 3;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.cst-home .cst-brand-main .cst-service {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: .65rem 1rem;
}
.cst-home .cst-brand-main .cst-service p { margin: 0; }
.cst-home .cst-brand-main .cst-image-grid {
  grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 1fr));
  gap: clamp(.65rem, 2vw, 2rem);
}
.cst-home .cst-brand-main .cst-image-grid img { aspect-ratio: 1; border-radius: 1rem; }
.cst-home .cst-brand-photo .cst-image-grid img { aspect-ratio: 4/5; }

@media (max-width: 767px) {
  .cst-home.cst-chooser .cst-panel { gap: .45rem; }
  .cst-home .cst-brand-hero-studio,
  .cst-home .cst-brand-main > .cst-inner:has(.cst-service-grid),
  .cst-home .cst-brand-main .cst-service { display: flex; }
  .cst-home .cst-brand-hero-studio { align-items: stretch; min-height: 0; }
  .cst-home .cst-brand-hero-studio .cst-panel-image {
    position: relative;
    min-height: 0;
    aspect-ratio: 4/3;
  }
  .cst-home .cst-brand-hero-photo { min-height: max(475px, 70svh); }
  .cst-home .cst-brand-main .cst-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cst-home .cst-brand-main .cst-image-grid > :first-child { grid-column: 1 / -1; }
  .cst-home .cst-brand-main .cst-image-grid > :first-child img { aspect-ratio: 4/3; }
}

.cst-home:has(> .cst-brand-nav) {
  --cst-header-height: 88px;
  --cst-header-logo-height: 60px;
}
.cst-home .cst-brand-nav .cst-nav-mark a,
.cst-home .cst-brand-nav .cst-nav-mark img {
  height: var(--cst-header-logo-height);
}
@media (max-width: 767px) {
  .cst-home:has(> .cst-brand-nav) {
    --cst-header-height: 84px;
    --cst-header-logo-height: 48px;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cst-home.cst-chooser .cst-panel-image img {
    transform-origin: center;
    transition: transform 2.2s cubic-bezier(.2,.65,.3,1);
  }
  .cst-home.cst-chooser .cst-panel:hover .cst-panel-image img { transform: scale(1.075); }
}

/* CST heading typography. */
@font-face {
  font-family: "CST Poltab";
  src: url("assets/Poltab-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
.cst-home :is(h1, h2, h3, h4, h5, h6).elementor-heading-title {
  font-family: "CST Poltab", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.cst-home .elementor-widget.elementor-widget-text-editor,
.cst-home .elementor-widget.elementor-widget-button .elementor-button {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.page-id-62 .cst-bio-grid > .elementor-widget-image img { filter: grayscale(1); }

/* Shared navigation and full-screen Home. */
.cst-home .cst-shared-nav { background: #f5f5f7; border-color: var(--cst-paper); }
.cst-home .cst-shared-nav .cst-nav-mark :is(a, img) {
  width: var(--cst-header-logo-height);
  height: var(--cst-header-logo-height);
}
.cst-home .cst-shared-nav .cst-nav-mark img { content: url("assets/cst-round.svg"); }
.cst-home.cst-landing { padding-top: 0; background: var(--cst-ink); }
.cst-home .cst-landing-nav {
  position: absolute;
  top: 0;
  border: 0;
  background: transparent;
}
.admin-bar .cst-home .cst-landing-nav { top: 0; }
.cst-home .cst-landing-progress {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.cst-home.cst-landing .cst-landing-nav .cst-nav-mark img { content: url("assets/cst-round-inverse.svg"); }
.cst-home .cst-landing-nav .elementor-button,
.cst-home .cst-landing-nav .elementor-button:hover { color: #fff; }
.cst-home .cst-landing-nav .elementor-button:hover { text-decoration: underline; text-underline-offset: .3em; }
.cst-home .cst-landing-nav a:focus-visible { outline-color: #fff; }
.cst-home .cst-landing-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: var(--cst-header-height) var(--cst-edge);
  overflow: hidden;
  background: var(--cst-ink);
}
.admin-bar .cst-home .cst-landing-hero {
  min-height: calc(100svh - var(--wp-admin--admin-bar--height, 32px));
}
.cst-home .cst-landing-slides,
.cst-home .cst-landing-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cst-home .cst-landing-slides { z-index: -2; }
.cst-home .cst-landing-slide { opacity: 0; }
.cst-home .cst-landing-slide:first-child,
.cst-home .cst-landing-slide.is-current { opacity: 1; }
.cst-home .cst-landing-slides.is-playing .cst-landing-slide:not(.is-current) { opacity: 0; }
.cst-home .cst-landing-slide :is(.elementor-widget-container, img) { display: block; width: 100%; height: 100%; }
.cst-home .cst-landing-slide img { object-fit: cover; object-position: center 42%; }
.cst-home .cst-landing-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #000029c7 0, #00002927 25%, #00002955 65%, #0000299f 100%);
  content: "";
}
.cst-home .cst-landing-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@property --cst-thumb-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: .5;
}
.cst-home .cst-landing-switch {
  --cst-switch-size: clamp(86px, 11vw, 136px);
  --cst-thumb-size: calc(var(--cst-switch-size) - 8px);
  --cst-thumb-radius: calc(var(--cst-thumb-size) / 2);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: calc(2 * var(--cst-switch-size));
  height: var(--cst-switch-size);
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  background: var(--cst-blue);
}
.cst-home .cst-landing-switch { overflow: hidden; }
.cst-home .cst-landing-switch::after {
  position: absolute;
  inset: 28% auto 28% 50%;
  width: 1px;
  background: #ffffff85;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  content: "";
}
.cst-home .cst-landing-switch[data-choice]::after { opacity: 0; }
.cst-home .cst-landing-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: var(--cst-thumb-size);
  height: var(--cst-thumb-size);
  border-radius: 50%;
  background: white;
  opacity: 0;
  transform: translate(-50%, -50%) translateX(calc((var(--cst-thumb-progress) - .5) * var(--cst-switch-size) * 2));
  pointer-events: none;
}
.cst-home .cst-landing-switch[data-choice="studio"] { --cst-thumb-progress: .25; }
.cst-home .cst-landing-switch[data-choice="photo"] { --cst-thumb-progress: .75; }
.cst-home .cst-landing-switch[data-choice] :is(.cst-landing-thumb, .cst-landing-ink) { opacity: 1; }
.cst-home .cst-landing-ink {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  color: var(--cst-ink);
  mask-image: radial-gradient(circle at calc(var(--cst-thumb-progress) * 100%) 50%, #000 var(--cst-thumb-radius), transparent calc(var(--cst-thumb-radius) + .5px));
  pointer-events: none;
}
.cst-home .cst-landing-ink > span { display: grid; place-items: center; }
.cst-home .cst-landing-switch .elementor-widget { position: relative; z-index: 1; }
.cst-home .cst-landing-switch .elementor-widget,
.cst-home .cst-landing-switch :is(.elementor-widget-container,.elementor-button-wrapper) {
  width: 100%;
  height: 100%;
}
.cst-home .cst-landing-switch .elementor-widget-button .elementor-button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  color: white;
  text-decoration: none;
}
.cst-home .cst-landing-switch .elementor-widget-button .elementor-button,
.cst-home .cst-landing-ink {
  font-family: "CST Poltab", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  font-weight: 400;
  line-height: 1;
  text-transform: lowercase;
}
.cst-home .cst-landing-switch .cst-landing-studio .elementor-button-text,
.cst-home .cst-landing-ink > :first-child {
  --cst-label-offset: .13em;
  letter-spacing: -.01em;
}
.cst-home .cst-landing-switch .cst-landing-photo .elementor-button-text,
.cst-home .cst-landing-ink > :last-child {
  --cst-label-offset: -.12em;
  letter-spacing: .014em;
}
.cst-home .cst-landing-switch[data-choice="studio"] .cst-landing-studio .elementor-button-text,
.cst-home .cst-landing-switch[data-choice="studio"] .cst-landing-ink > :first-child {
  --cst-label-offset: .005em;
}
.cst-home .cst-landing-switch[data-choice="photo"] .cst-landing-photo .elementor-button-text,
.cst-home .cst-landing-switch[data-choice="photo"] .cst-landing-ink > :last-child {
  --cst-label-offset: -.003em;
}
.cst-home .cst-landing-switch :is(.elementor-button-text, .cst-landing-ink > span) {
  transform: translateX(var(--cst-label-offset));
  white-space: nowrap;
}
.cst-home .cst-landing-switch .elementor-button:is(:hover, :focus) { text-decoration: none; }
.cst-home .cst-landing-switch .elementor-button:focus-visible { outline: 2px solid white; outline-offset: -4px; }
@media (prefers-reduced-motion: no-preference) {
  .cst-home .cst-landing-slide { transition: opacity .9s ease; }
  .cst-home .cst-landing-switch::after { transition: opacity .13s ease; }
  .cst-home .cst-landing-switch :is(.cst-landing-thumb, .cst-landing-ink) {
    transition: opacity .14s ease-out;
  }
}

/* One Elementor header template for internal pages, including Canvas pages. */
.cst-internal-page .cst-home {
  --cst-header-height: 88px;
  --cst-header-logo-height: 60px;
  padding-top: 0;
}
.cst-internal-page .cst-site-header {
  min-height: var(--cst-header-height);
}
.cst-internal-page > :is(#site-header, .elementor-location-header),
.cst-internal-page .cst-home:not(.cst-site-header) > :is(.cst-brand-nav, .cst-about-header) {
  display: none;
}
@media (max-width: 767px) {
  .cst-internal-page .cst-home {
    --cst-header-height: 84px;
    --cst-header-logo-height: 48px;
  }
}

/* Internal page polish. Home uses a separate header and motion sequence. */
.cst-internal-page {
  --cst-ease-out: cubic-bezier(.16, 1, .3, 1);
}
.cst-internal-page .cst-site-header .cst-nav-links {
  gap: clamp(.25rem, 1vw, 1rem);
}
.cst-internal-page .cst-site-header .cst-nav-links .elementor-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .4rem .85rem;
}
.cst-internal-page .cst-site-header .cst-nav-links .elementor-button[aria-current="page"] {
  background: #e8ebff;
  color: var(--cst-blue);
}
.cst-internal-page .cst-site-header .cst-nav-links .elementor-button:hover {
  background: #e8ebff;
}
.cst-internal-page .cst-site-header a:focus-visible {
  outline: 2px solid var(--cst-blue);
  outline-offset: 3px;
}
.cst-internal-page .cst-brand-main :is(h1, h2, h3) {
  text-wrap: balance;
  letter-spacing: -.035em;
}
.cst-internal-page .cst-brand-main .elementor-widget-text-editor {
  line-height: 1.6;
}
.cst-internal-page .cst-about-copy .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.cst-internal-page .cst-bio-grid > .elementor-widget-image img {
  display: block;
  border-radius: 1rem;
}
.cst-internal-page ::selection { background: #173ded; color: #fff; }

@media (max-width: 767px) {
  .cst-internal-page .cst-home { --cst-header-height: 96px; }
  .cst-internal-page .cst-site-header .cst-nav-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 .2rem;
  }
  .cst-internal-page .cst-site-header .cst-nav-links .elementor-button {
    padding-inline: .3rem;
  }
  .cst-internal-page .cst-site-header a:focus-visible { outline-offset: -2px; }
}
@media (prefers-reduced-motion: no-preference) {
  .cst-internal-page .cst-site-header .elementor-button {
    transition: color .14s ease-out, background-color .14s ease-out;
  }
  .cst-internal-page .cst-brand-hero-studio .cst-panel-image {
    animation: cst-studio-frame .58s var(--cst-ease-out);
  }
  .cst-internal-page .cst-brand-hero-photo .cst-panel-image img {
    animation: cst-photo-frame .72s var(--cst-ease-out);
  }
  .cst-internal-page .cst-bio-grid > .elementor-widget-image img {
    animation: cst-portrait .45s var(--cst-ease-out);
  }
}
@keyframes cst-studio-frame {
  from { clip-path: inset(0 5% 0 0 round 1rem); }
  to { clip-path: inset(0 0 0 0 round 1rem); }
}
@keyframes cst-photo-frame {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}
@keyframes cst-portrait {
  from { opacity: .75; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* The navigation uses the site grid; the reading column is narrower. */
:root {
  --cst-site-width: 1290px;
  --cst-content-width: 1080px;
  --cst-page-gutter: clamp(1.25rem, 4vw, 3rem);
}
.cst-home :is(.cst-shared-nav, .cst-landing-nav) {
  inset-inline: 0;
  width: 100%;
  padding-inline: max(var(--cst-page-gutter), calc((100% - var(--cst-site-width)) / 2 + var(--cst-page-gutter)));
}
.cst-internal-page .cst-site-header { background: #f5f5f7; }
.cst-internal-page .cst-home > :is(.cst-brand-main, .cst-page-shell) {
  width: 100%;
  max-width: none;
}
.cst-internal-page .cst-brand-main > :is(.cst-inner, .cst-brand-hero, .cst-page-title),
.cst-internal-page .cst-page-shell > :is(.cst-contact-main, .cst-page-title),
.cst-internal-page .cst-home > .cst-footer {
  padding-inline: max(var(--cst-page-gutter), calc((100% - var(--cst-content-width)) / 2));
}
.cst-internal-page .cst-brand-main:has(.cst-bio-grid) > .cst-inner {
  padding-block: clamp(2rem, 5vw, 4.5rem);
}
.cst-internal-page #content.site-main:has(.cst-portfolio-choices) {
  width: 100%;
  max-width: none;
  min-height: 50svh;
  padding: 0 0 clamp(3rem, 6vw, 6rem);
}
.cst-internal-page #content:has(.cst-portfolio-choices) > .page-content {
  width: 100%;
}
.cst-internal-page #content :is(.cst-portfolio-choices, .cst-portfolio-gallery) {
  width: min(calc(100% - 2 * var(--cst-page-gutter)), var(--cst-content-width));
  margin-inline: auto;
}
.cst-internal-page #content:has(.cst-portfolio-choices) > .page-header { display: none; }
.cst-internal-page .cst-page-title {
  display: flex;
  align-items: start;
  justify-content: center;
  min-height: clamp(8.75rem, 15vw, 13rem);
  margin: 0;
  padding-block: clamp(1.75rem, 4vw, 3.5rem);
  padding-inline: max(var(--cst-page-gutter), calc((100% - var(--cst-content-width)) / 2));
  border-bottom: 1px solid #dcdee2;
  background: #edf2f9;
}
.cst-internal-page .cst-page-title h1 {
  margin: 0;
  color: #000029;
  font: 700 clamp(2.8rem, 6vw, 5.25rem)/1.05 "CST Poltab", "Helvetica Neue", sans-serif;
  letter-spacing: -.035em;
}
.cst-internal-page #content .cst-page-title { flex-direction: column; }
.cst-internal-page .cst-about-copy h2.elementor-heading-title {
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  line-height: 1.06;
}
.cst-internal-page .cst-brand-main > .cst-contact-main {
  padding-block: clamp(2rem, 5vw, 4.5rem);
}
.cst-internal-page .cst-portfolio-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 2.5vw, 1.75rem);
  margin-block: clamp(1.5rem, 4vw, 3rem);
}
.cst-portfolio-choices a {
  position: relative;
  display: flex;
  min-height: clamp(140px, 24vw, 320px);
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(.85rem, 3vw, 1.85rem);
  border-radius: 1rem;
  background: #000051;
  color: #fff;
  text-decoration: none;
  font: 700 clamp(1.2rem, 3.4vw, 2.4rem)/1.05 "CST Poltab", "Helvetica Neue", sans-serif;
}
.cst-portfolio-choices a::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #000029e6 0%, #00002966 35%, transparent 75%);
  content: "";
}
.cst-portfolio-choices img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cst-portfolio-choices [data-area="photo"] img { object-position: center 44%; }
.cst-portfolio-choices a:hover,
.cst-portfolio-choices a:visited { color: #fff; }
.cst-portfolio-choices a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.cst-portfolio-choices:has(a[aria-current="true"]) {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-block: 1.25rem clamp(1.8rem, 4vw, 3.25rem);
}
.cst-portfolio-choices:has(a[aria-current="true"]) a {
  min-height: 44px;
  align-items: center;
  padding: .55rem 1.15rem;
  border: 1px solid #b7c1f4;
  border-radius: 999px;
  background: transparent;
  color: #000029;
  font-size: .95rem;
  font-weight: 400;
}
.cst-portfolio-choices:has(a[aria-current="true"]) img,
.cst-portfolio-choices:has(a[aria-current="true"]) a::after { display: none; }
.cst-portfolio-choices:has(a[aria-current="true"]) a[aria-current="true"] {
  border-color: #173ded;
  background: #173ded;
  color: #fff;
}
.cst-portfolio-choices a:focus-visible,
.cst-portfolio-gallery a:focus-visible {
  outline: 2px solid #173ded;
  outline-offset: 3px;
}
.cst-internal-page .cst-portfolio-gallery > h2 {
  margin-block: 0 .5rem;
  font: 700 clamp(1.75rem, 4vw, 3rem)/1.05 "CST Poltab", "Helvetica Neue", sans-serif;
}
.cst-internal-page .cst-portfolio-gallery .cst-portfolio-sample {
  margin-block: 0 1.4rem;
  color: #000051;
}
.cst-internal-page .cst-portfolio-gallery .vp-block-loop-filter {
  margin-block: 0 1.5rem;
  justify-content: flex-start;
  gap: .5rem;
}
.cst-internal-page #content .cst-portfolio-gallery a { color: #000029; }
.cst-internal-page #content .cst-portfolio-gallery a:hover { color: #173ded; }
.cst-portfolio-gallery .vp-block-loop-filter-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .85rem;
  border-radius: 999px;
}
.cst-portfolio-gallery .vp-block-loop-filter-item[aria-current] {
  background: #e8ebff;
  color: #173ded;
}
.cst-internal-page .cst-portfolio-gallery .wp-block-visual-portfolio-item-image {
  overflow: hidden;
  border-radius: .85rem;
}
.cst-portfolio-gallery .wp-block-visual-portfolio-item-title { margin-block: .75rem .25rem; }
.cst-portfolio-gallery .wp-block-visual-portfolio-item-categories { font-size: .875rem; }
@media (max-width: 767px) {
  .cst-portfolio-gallery .vp-block-loop-filter { gap: .25rem; }
  .cst-portfolio-gallery .vp-block-loop-filter-item { padding-inline: .6rem; }
}

/* Shared Elementor footer. */
.cst-internal-page:has(> .cst-shared-footer) {
  display: flex;
  min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
  flex-direction: column;
}
.cst-internal-page > .cst-shared-footer { margin-top: auto; }
.cst-internal-page:has(> .cst-shared-footer) > :is(#site-footer, .elementor-location-footer),
.cst-internal-page:has(> .cst-shared-footer) .cst-home > .cst-footer {
  display: none;
}
.cst-home.cst-site-footer {
  width: 100%;
  max-width: none;
  padding: clamp(2.5rem, 6vw, 5rem) max(var(--cst-page-gutter), calc((100% - var(--cst-content-width)) / 2)) 1.3rem;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  background: #000;
  color: #fff;
}
.cst-site-footer .cst-footer-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 5vw, 5rem);
  align-items: end;
}
.cst-site-footer .cst-footer-mark img {
  display: block;
  width: clamp(74px, 11vw, 138px);
  height: auto;
  content: url("assets/cst-white.svg");
}
.cst-site-footer .cst-footer-links {
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  column-gap: clamp(.65rem, 2vw, 1.6rem);
  row-gap: .15rem;
}
.cst-site-footer .cst-footer-links .elementor-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .2rem;
  background: transparent;
  color: #fff;
  font: 400 clamp(.95rem, 1.8vw, 1.15rem)/1.2 "CST Poltab", "Helvetica Neue", sans-serif;
  text-transform: none;
}
.cst-site-footer .cst-footer-links .elementor-button:hover {
  color: #dcdee2;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.cst-site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.cst-site-footer .cst-footer-end {
  border-top: 1px solid #424242;
  padding-top: 1rem;
}
.cst-site-footer .cst-footer-end .elementor-widget-text-editor { color: #dcdee2; font-size: .85rem; }
.cst-site-footer .cst-footer-end p { margin: 0; }
@media (max-width: 767px) {
  .cst-site-footer .cst-footer-top { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .cst-site-footer .cst-footer-links { justify-content: flex-start; }
}
