:root {
  --base: #2c2e35;
  --accent: #4d94ff;
  --offwhite: #ececec;
  --text: #2c2c2c;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
html { scroll-padding-top: 92px; }
body {
  font-family: 'Figtree', sans-serif;
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 70px;
}
main { flex: 1; }

a { color: inherit; }
.container { width: min(var(--max-width), calc(100% - 2rem)); margin-inline: auto; }
.text-narrow { width: min(700px, 100%); margin-inline: auto; }

.site-header, .site-footer { background: var(--base); color: #fff; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.header-inner {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img { max-height: 65px; display: block; }
.nav-area { display: flex; gap: 1rem; align-items: center; }
.menu-toggle {
  display: none;
  background: transparent;
  border: 0px solid #ffffff66;
  color: #fff;
  border-radius: .3rem;
  font-size: 1.1rem;
  padding: .2rem .55rem;
}
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.1rem;
}
.nav-link {
  text-decoration: none;
  font-weight: 500;
  transition: .2s;
}
.nav-link:hover {
  color: var(--accent);
}
.nav-link.active {
  color: var(--accent);
  font-weight: 700;
}
.lang-toggle {
  border: 0px solid #ffffff66;
  border-radius: 99px;
  background: transparent;
  padding: .2rem .42rem;
  cursor: pointer;
}
.lang-toggle img { width: 22px; height: 22px; display: block; }

.button {
  display: inline-block;
  border: none;
  border-radius: .35rem;
  background: var(--base);
  color: #fff;
  font-size: 1.1rem;
  padding: .7rem 1.8rem;
  text-decoration: none;
  cursor: pointer;
  transition: .2s;
  text-align: center;
}
.button:hover { background: var(--accent); }
.button:disabled { opacity: .7; cursor: wait; }

.hero {
  position: relative;
  min-height: 620px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 2.0rem;
  overflow: hidden;
}
.hero-slider-link { display: block; height: 70vh; }
.hero-slider {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 45%, 100% 100%, 0 100%);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity .7s ease, transform .7s ease;
  background-position: center;
  background-size: cover;
}
.hero-slide.active { opacity: 1; transform: translateX(0); }
.hero-overlay {
  position: absolute;
  top: 0px;
  right: max(1rem, calc((100vw - var(--max-width)) / 2 + 1rem));
  width: min(680px, 58vw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .9rem 1rem;
  align-items: center;
  text-align: right;
}
.hero-overlay h1 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.65rem);
  line-height: 1.02;
  color: #101010;
  text-wrap: balance;
}
.hero-actions {
  grid-column: 1;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: .65rem;
}
.intro-copy {
  width: min(40rem, 100%);
  margin: 1.3rem auto 2.3rem;
}
.intro-copy h2 {
  line-height: 1.08;
}
.button-secondary {
  background: rgba(44, 46, 53, 0.14);
  color: var(--base);
  border: 1px solid #2c2e3524;
}
.button-secondary:hover {
  background: rgba(77, 148, 255, 0.22);
  color: var(--base);
}

.section { padding: 3rem 0; }
.section-intro {
  width: min(48rem, 100%);
  margin-bottom: 1.6rem;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: center;
  padding: 1.2rem;
  background: #e4e6ea;
  border: 1px solid #d3d6dc;
  border-radius: .45rem;
}
.info-card-icon {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
}
.info-card-copy p { margin: 0; }
.info-card h3 { margin: 0 0 .35rem; }
.info-card em { color: #585858; }
.animate-card {
  opacity: 0;
  transform: translateX(46px);
  transition: opacity .52s ease, transform .52s ease;
}
.animate-card.in-view {
  opacity: 1;
  transform: translateX(0);
}
.animate-card--1 { transition-delay: 0s; }
.animate-card--2 { transition-delay: .09s; }
.animate-card--3 { transition-delay: .18s; }
.featured-work-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
}
.text-link {
  color: var(--base);
  text-decoration: none;
  font-weight: 700;
}
.text-link:hover { color: var(--accent); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.pricing-card,
.plan-card,
.addons-card {
  background: #f4f5f7;
  border: 1px solid #d5d7dd;
  border-radius: .6rem;
}
.pricing-card {
  padding: 1.05rem;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  background: #e2ebfb;
  border-color: #aac0e3;
  box-shadow: 0 10px 24px #1f2a3c10;
}
.pricing-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
}
.pricing-badge {
  align-self: flex-start;
  margin: 0 0 .45rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: #c8daf6;
  color: #28466d;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pricing-kicker {
  margin: 0 0 .35rem;
  color: #4d5f7f;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.pricing-topline .pricing-kicker,
.pricing-topline .pricing-badge {
  margin: 0;
}
.pricing-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}
.pricing-price,
.plan-price {
  margin: .28rem 0 .55rem;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
}
.pricing-copy {
  margin: 0 0 .8rem;
  color: #4a4f58;
  font-size: .95rem;
}
.pricing-card .feature-list {
  margin-bottom: 1.45rem;
}
.pricing-note {
  margin: -.35rem 0 0;
  color: #5b5f68;
  font-size: .92rem;
}
.feature-list,
.addons-list {
  margin: 0;
  padding-left: 1rem;
  color: #32363d;
  font-size: .93rem;
}
.feature-list li + li,
.addons-list li + li {
  margin-top: .4rem;
}
.pricing-button {
  width: 100%;
  margin-top: auto;
  padding: .62rem 1rem;
  font-size: .98rem;
}
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.support-plans {
  display: grid;
  gap: 1rem;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.plan-card {
  padding: 1.25rem;
  min-height: 0;
  height: 100%;
}
.plan-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.plan-head h3 {
  margin: 0;
}
.feature-list--compact {
  margin-top: 0;
}
.addons-card {
  padding: 1.35rem;
  height: 100%;
}
.addons-list {
  list-style: none;
  padding-left: 0;
}
.addons-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem 0;
  border-bottom: 1px solid #d5d7dd;
}
.addons-list li:first-child {
  padding-top: 0;
}
.addons-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.addons-list strong,
.addons-list span {
  display: block;
}
.addons-note {
  margin: 1rem 0 0;
  color: #5b5f68;
}

h2 { font-size: clamp(1.3rem, 2.6vw, 2rem); margin: 0 0 1rem; }

.about-preview { text-align: left; }
.about-preview-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.2rem 1.8rem;
  align-items: center;
}
.about-preview-layout img {
  width: 100%;
  border-radius: 50%;
}
.home-contact {
  padding-top: 2.25rem;
}
.home-contact-layout {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1.4rem 2rem;
  align-items: start;
  padding: 2.95rem;
  background: #f4f5f7;
  border: 1px solid #d5d7dd;
  border-radius: .55rem;
}
.home-contact-copy p {
  margin: 0;
  max-width: 34rem;
}
.home-contact-soft {
  margin-top: .75rem !important;
  color: #5b5f68;
  font-size: .98rem;
}
.page-intro {
  padding: 3.5rem 0 3.5rem;
  font-size: clamp(0.9rem, 1.5vw, 2.14rem);
  line-height: 1.4;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
  padding-bottom: 3.5rem;
}
.portfolio-grid.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: 0;
}
.card { text-decoration: none; }
.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: filter .2s;
}
.card img:hover { filter: brightness(.85); }
.card h3 {
  margin: .5rem 0 0;
  padding-bottom: 1.4rem;
  text-align: center;
  transition: color .2s;
}
.card:hover h3 { color: var(--accent); }

.content-page { padding: 2.5rem 0 3rem; }
.content-page h1 { text-align: center; margin: 0 0 1.25rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.content-page p { font-size: clamp(1.05rem, 2.4vw, 1.03rem); margin: 1.5rem 0; }
.content-page img.full {
  width: 100vw;
  max-height: 50vh;
  margin-left: calc(50% - 50vw);
  display: block;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  object-fit: cover;
}
.content-page img.center {
  width: min(100%, 600px);
  display: block;
  margin: 2.5rem auto;
}
.content-page .banner-repeat {
  width: 100vw;
  height: clamp(20vh, 50vh, 50vh);
  margin-left: calc(50% - 50vw);
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: left center;
}
.content-page .post-body {
  width: min(900px, 100%);
  margin-inline: auto;
}
.content-page .post-copy {
  width: min(38rem, 100%);
  margin: 2.5rem auto;
}
.content-page .post-copy p { margin: 0; }
.content-page .post-copy.center { text-align: center; }
.contact-helper {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.1rem;
  background: #f5f5f5;
  border: 1px solid #d5d7dd;
  border-radius: .45rem;
}
.contact-helper p { margin: 0; }
.contact-helper p + p { margin-top: .7rem; }
.cta-panel {
  width: min(760px, 100%);
  margin: 0 auto 3.5rem;
  padding: 1.4rem 1.5rem;
  text-align: center;
  background: #f4f5f7;
  border: 1px solid #d5d7dd;
  border-radius: .55rem;
}
.simple-page .cta-panel {
  width: min(680px, 100%);
  margin-top: 4.5rem;
}
.cta-panel h2 { margin-bottom: .65rem; }
.cta-panel p {
  margin: 0 auto 1rem;
  width: min(34rem, 100%);
}
.content-page .post-stage {
  width: min(900px, 100%);
  margin: 2.5rem auto;
}
.content-page .post-stage img,
.content-page .post-stage video {
  width: 100%;
  display: block;
}
.content-page .post-stack {
  display: grid;
  gap: .75rem;
}
.content-page .post-stack--compact {
  width: min(320px, 100%);
}
.content-page .post-stage--medium { width: min(720px, 100%); }
.content-page .post-stage--narrow { width: min(560px, 100%); }
.content-page .post-stage--square { width: min(420px, 100%); }
.content-page .post-pair {
  width: min(900px, 100%);
  margin: 2.5rem auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.content-page .post-pair img {
  width: 100%;
  display: block;
}
.content-page .post-pair--tight { width: min(720px, 100%); }
.content-page .post-pair--compact { gap: .7rem; }
.content-page .post-strip {
  width: min(900px, 100%);
  margin: 2.5rem auto;
  display: grid;
  gap: .9rem;
}
.content-page .post-strip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.content-page .post-strip--mobile-five img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f3f4f6;
}
.content-page .post-strip--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.content-page .post-strip--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-page .post-linkline {
  width: min(38rem, 100%);
  margin: 2.5rem auto;
  text-align: center;
}
.content-page .post-linkline a { color: var(--accent); }
.content-page .post-gap-lg { margin-top: 6rem; }
.content-page .post-gap-xl { margin-top: 9rem; }
.image-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}
.image-row img { width: 100%; display: block; }
.back-link { display: block; text-align: center; margin-top: 2.5rem; text-decoration: none; font-weight: 700; }

.carousel { position: relative; margin: 1rem 0 1.2rem; }
.carousel-track { position: relative; height: clamp(320px, 52vw, 520px); }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: .3s; pointer-events: none; }
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; object-position: top center; background: #e9e9e9; }
.zoomable { cursor: zoom-in; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 36px;
  height: 72px;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(120, 120, 120, 0.72);
  color: white;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
}
.carousel-btn.prev { left: .5rem; }
.carousel-btn.next { right: .5rem; }
.carousel-dots {
  position: absolute;
  bottom: .4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
}
.carousel-dot { width: 8px; height: 8px; border-radius: 999px; border: none; background: #ffffff8d; }
.carousel-dot.active { background: #212121; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(10, 10, 10, 0.88);
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  position: relative;
  width: min(96vw, 1400px);
  max-height: 92vh;
}
.lightbox-image {
  width: 100%;
  max-height: 92vh;
  display: block;
  object-fit: contain;
  background: #111;
}
.lightbox-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav.prev { left: .75rem; }
.lightbox-nav.next { right: .75rem; }
.lightbox-nav[hidden] { display: none; }

.contact-form { display: grid; gap: .75rem; }
.contact-form label { font-weight: 600; }
.contact-form-note {
  margin: 0 0 .35rem;
  color: #5a5f68;
  font-size: .96rem;
}
.contact-form-intro {
  margin-bottom: .35rem;
}
.contact-form-intro p {
  margin: 0;
}
.contact-form-intro p + p {
  margin-top: .75rem;
}
.contact-form input, .contact-form textarea {
  border: 1px solid #666;
  border-radius: .45rem;
  background: transparent;
  padding: .7rem;
  font: inherit;
}
.contact-form textarea {
  min-height: 170px;
  resize: none;
  overflow: hidden;
}
.contact-form--full {
  margin-top: 2.4rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid #d7d9df;
  border-radius: .55rem;
}
.required-mark {
  color: #8f1f1f;
}
.contact-form--compact textarea { min-height: 140px; }
.contact-form--minimal {
  gap: .6rem;
}
.contact-form--minimal label {
  font-size: .95rem;
}
.contact-form--minimal input,
.contact-form--minimal textarea {
  border-color: #c9ced6;
  background: rgba(255, 255, 255, 0.78);
}
.contact-form--minimal textarea {
  min-height: 120px;
}
.form-msg { min-height: 1.6em; margin: 0; }
.contact-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.portrait-photo {
  width: min(100%, 320px);
  max-width: 320px !important;
  border-radius: 50%;
}

.simple-page h1 { font-size: clamp(1.75rem, 3.1vw, 2.3rem); }

.site-footer { margin-top: 3rem; }
.footer-inner {
  min-height: 190px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.footer-logo img { height: 70px; }
.footer-table {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 3rem;
  row-gap: .8rem;
}
.footer-head { font-weight: 700; }
.social-link img { width: 30px; transition: transform .2s; }
.social-link:hover img { transform: scale(1.1); }

.animate { opacity: 0; transform: translateY(24px); transition: .6s; }
.animate.in-view { opacity: 1; transform: translateY(0); }

@media (min-width: 1921px) {
  .hero-overlay {
    top: 18px;
  }
}

@media (max-width: 900px) {
  .hero { min-height: 560px; }
  .hero-overlay {
    top: 10px;
    text-align: right;
    left: auto;
    right: 1rem;
    width: min(24rem, calc(100vw - 2rem));
  }
  .hero-overlay h1 {
    font-size: clamp(1.3rem, 5.1vw, 1.95rem);
    max-width: none;
    margin-left: auto;
  }
  .about-preview-layout { grid-template-columns: 1fr; }
  .about-preview-layout img { width: min(280px, 35vw, 100%); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .pricing-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .support-plans {
    grid-template-rows: none;
  }
  .image-row { grid-template-columns: 1fr; }
  .content-page .post-pair,
  .content-page .post-strip--five,
  .content-page .post-strip--three {
    grid-template-columns: 1fr;
  }
  .content-page .post-strip--mobile-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .4rem;
  }
  .content-page .post-gap-lg,
  .content-page .post-gap-xl {
    margin-top: 3rem;
  }
}

@media (min-width: 761px) and (max-width: 907px) {
  .hero-actions {
    gap: .5rem;
  }
  .hero-actions .button {
    font-size: .96rem;
    padding: .58rem 1.25rem;
  }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .hero-overlay {
    top: 0px;
    text-align: right;
    width: min(19rem, calc(100vw - 2rem));
    grid-template-columns: 1fr;
    justify-items: end;
  }
  .hero-overlay h1 {
    margin-left: auto;
    max-width: 19rem;
    font-size: clamp(1.3rem, 6vw, 1.85rem);
  }
  .hero-actions {
    grid-column: 1;
    width: auto;
    justify-content: flex-end;
  }
  .hero-actions .button {
    font-size: .84rem;
    padding: .46rem .88rem;
  }
  .featured-work-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .animate {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .animate.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  .animate-card {
    transform: translateX(54px);
    transition: opacity .64s ease, transform .64s ease;
  }
  .animate-card--1 { transition-delay: 0s; }
  .animate-card--2 { transition-delay: .1s; }
  .animate-card--3 { transition-delay: .2s; }
  .content-page .banner-repeat { height: min(24vh, 56vw); }
  .nav-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    width: 100vw;
    background: var(--base);
    border-radius: 0;
    padding: .8rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-menu.open { display: flex; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid { gap: .7rem; }
  .info-card { grid-template-columns: 40px 1fr; }
  .info-card-icon {
    width: 44px;
    height: 44px;
  }
  .home-contact-layout {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }
  .plan-head,
  .addons-list li {
    flex-direction: column;
    gap: .35rem;
  }
  .addons-card {
    height: auto;
  }
  .footer-inner {
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem 0;
    flex-direction: column;
  }
  .footer-table {
    grid-template-columns: 1fr;
    row-gap: .35rem;
  }
  .footer-table > :nth-child(1) { grid-row: 1; }
  .footer-table > :nth-child(3) { grid-row: 2; }
  .footer-table > :nth-child(2) { grid-row: 3; margin-top: .65rem; }
  .footer-table > :nth-child(4) { grid-row: 4; }
  .simple-page img.center {
    max-width: min(300px, 60vh, 60vw) !important;
  }
  .simple-page img.center.portrait-photo {
    max-width: min(280px, 56vw) !important;
  }
  .lightbox {
    padding: .75rem;
  }
  .lightbox-inner {
    width: min(100%, calc(100vw - 1.5rem));
    max-width: calc(100vw - 1.5rem);
    max-height: calc(100vh - 1.5rem);
  }
  .lightbox-image {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 1.5rem);
    margin: 0 auto;
  }
}
