@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Montserrat:wght@400;450;500;600&display=swap');
:root {
  --ink:#242a32;
  --muted:#6b7079;
  --line:#e5e7eb;
  --blue:#315ce7
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}

body {
  margin:0;
  background:#fff;
  color:var(--ink);
  font-family:Montserrat,sans-serif;
  font-size:16px;
  line-height:1.7
}

h1,h2,h3,.wordmark,.button,.filters,.placeholder {
  font-family:'DM Sans',sans-serif
}

h1,h2,h3,p {
  margin:0
}

a {
  color:inherit;
  text-decoration:none
}

button,input,select,textarea {
  font:inherit
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

button:focus-visible,a:focus-visible {
  outline:3px solid #7695fb;
  outline-offset:5px
}

button {
  color:inherit
}

h2 {
  font-size:clamp(36px,4vw,56px);
  line-height:1.12;
  letter-spacing:-2px;
  font-weight:500
}

h2 em {
  font-weight:400;
  color:#7c828c
}

h3 {
  font-weight:500;
  line-height:1.3
}

.header {
  height:100px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 6%;
  border-bottom:1px solid var(--line);
  background:#fff;
  position:relative;
  z-index:10
}

.wordmark {
  font-size:35px;
  font-weight:700;
  letter-spacing:-2.5px
}

.wordmark span {
  font-size:13px;
  vertical-align:top;
  display:inline-block;
  margin:8px 0 0 5px;
  letter-spacing:0
}

.nav {
  display:flex;
  gap:35px;
  font-size:14px
}

.nav a:hover {
  color:var(--blue)
}

.nav-contact {
  font-size:14px;
  font-weight:600;
  display:flex;
  gap:22px;
  align-items:center
}

.tiny-star {
  font-size:28px;
  color:var(--blue)
}

.menu-toggle {
  display:none
}

.hero {
  padding:42px 6% 20px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:radial-gradient(ellipse at 81% 90%,#e6eaff 0,transparent 49%),radial-gradient(ellipse at 92% 50%,#fff0e8 0,transparent 48%)
}

.hero-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:34px
}

.eyebrow {
  font-size:12px;
  letter-spacing:1.9px;
  font-weight:600;
  display:block
}

.hero-note {
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
  text-align:right
}

.hero h1 {
  font-size:clamp(48px,6.45vw,96px);
  font-weight:500;
  line-height:1.09;
  letter-spacing:-5px;
  max-width:1200px
}

.hero h1>span {
  color:#8b919d
}

.hero em {
  color:var(--blue);
  font-weight:400
}

.hero-bottom {
  display:flex;
  align-items:center;
  gap:50px;
  margin:37px 0 55px
}

.hero-bottom p {
  font-size:15px;
  line-height:1.85;
  color:#555d68
}

.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:32px;
  border:1px solid var(--line);
  border-radius:5px;
  padding:15px 22px;
  font-size:15px;
  font-weight:500;
  background:white;
  transition:transform .2s,background .2s
}

.button:hover {
  transform:translateY(-2px)
}

.button.primary {
  background:var(--blue);
  border-color:var(--blue);
  color:white
}

.button.primary:hover {
  background:#224bcf
}

.hero-index {
  font-size:11px;
  letter-spacing:1px;
  margin-left:auto;
  line-height:2;
  text-align:right
}

.hero-index span {
  font-size:12px;
  letter-spacing:0;
  color:var(--muted)
}

.hero-foot {
  display:flex;
  justify-content:space-between;
  font-size:10px;
  letter-spacing:1.4px;
  color:#6d7480;
  border-top:1px solid #dce0eb;
  padding-top:17px
}

.tool-section {
  position:relative;
  padding:30px 0;
  border-bottom:1px solid var(--line)
}

.tool-caption {
  text-align:center;
  font-size:10px;
  letter-spacing:2px;
  color:#8a8e96;
  margin-bottom:25px
}

.marquee {
  overflow:hidden;
  mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)
}

.track {
  display:flex;
  width:max-content;
  animation:marquee 32s linear infinite
}

.track.paused,.marquee:hover .track {
  animation-play-state:paused
}

.tool-group {
  display:flex;
  align-items:center;
  gap:65px;
  padding-right:65px
}

.tool {
  display:flex;
  gap:13px;
  align-items:center;
  color:#696f79;
  font-family:'DM Sans';
  font-size:17px
}

.software {
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  border-radius:8px;
  font-family:Arial;
  font-weight:600;
  font-size:24px;
  letter-spacing:-1px
}

.software svg {
  height:33px;
  width:23px
}

.ai {
  background:#fff0d9;
  color:#b66300
}

.ps {
  background:#e0efff;
  color:#1570bd
}

.id {
  background:#ffe3ed;
  color:#bf1b50
}

.fr {
  background:#eceef2;
  color:#434a58
}

.ae,.pr {
  background:#ede6ff;
  color:#6f42b6
}

.pause {
  position:absolute;
  right:12px;
  top:14px;
  border:0;
  background:#f4f5f7;
  border-radius:50%;
  height:28px;
  width:28px;
  display:grid;
  place-items:center
}

@keyframes marquee {
  to {
    transform:translateX(-50%)
  }
}

.section {
  padding:95px 6%;
  scroll-margin-top:10px
}

.section-top {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:35px;
  margin-bottom:42px
}

.section-top .eyebrow,.about .eyebrow,.contact .eyebrow {
  margin-bottom:24px
}

.section-top>p {
  font-size:14px;
  color:var(--muted);
  margin-bottom:4px;
  line-height:1.8
}

.filters {
  display:flex;
  gap:8px;
  margin-bottom:32px;
  flex-wrap:wrap
}

.filters button {
  border:1px solid transparent;
  border-radius:30px;
  background:white;
  padding:9px 21px;
  font-size:14px
}

.filters button.active {
  background:#eef2ff;
  color:#315ce7;
  border-color:#dbe4ff
}

.filters button:hover {
  background:#f4f6fa
}

.filters span {
  font-size:10px;
  margin-left:8px
}

.project {
  text-align:left;
  border:0;
  background:none;
  padding:0
}

.project-art {
  aspect-ratio:1.45;
  border-radius:8px;
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  transition:transform .35s
}

.project:hover .project-art {
  transform:translateY(-5px)
}

.peach {
  background:radial-gradient(at 90% 20%,#ffe3d4,transparent 70%),#f7eeea;
  color:#966b57
}

.blue {
  background:radial-gradient(at 85% 15%,#c4d4f8,transparent 75%),#e8eef9;
  color:#5475a9
}

.purple {
  background:radial-gradient(at 10% 80%,#e0d5f4,transparent 70%),#f1edf7;
  color:#85709f
}

.green {
  background:radial-gradient(at 90% 80%,#d0eae3,transparent 70%),#eaf4f0;
  color:#668b80
}

.art-label {
  position:absolute;
  left:26px;
  top:22px;
  font-size:10px;
  letter-spacing:2px
}

.placeholder {
  text-align:center;
  padding:40px 15px
}

.placeholder>span {
  font-size:clamp(60px,7vw,110px);
  font-weight:400;
  line-height:1;
  letter-spacing:-7px;
  opacity:.28
}

.placeholder p {
  font-size:21px;
  font-weight:400;
  letter-spacing:-.5px;
  margin-top:12px
}

.placeholder small {
  font-family:Montserrat;
  font-size:9px;
  letter-spacing:2px;
  display:block;
  margin-top:10px;
  opacity:.7
}

.art-plus {
  position:absolute;
  bottom:22px;
  right:24px;
  border:1px solid currentColor;
  border-radius:50%;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  opacity:.65
}

.project-info {
  padding:18px 0 0;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center
}

.project-info h3 {
  font-size:19px;
  letter-spacing:-.4px
}

.project-info>span {
  font-size:11px;
  color:var(--muted);
  white-space:nowrap
}

.gallery-note {
  font-size:12px;
  color:#858b94;
  margin-top:25px
}

.about {
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:70px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:radial-gradient(ellipse at 0% 100%,#eaf0ff,transparent 50%)
}

.about-monogram {
  font-family:'DM Sans';
  font-size:230px;
  letter-spacing:-20px;
  line-height:1.1;
  font-weight:500;
  color:#d8e1fa;
  position:relative;
  width:240px
}

.about-monogram span {
  position:absolute;
  font-size:92px;
  right:0;
  top:38px;
  letter-spacing:0;
  color:#4166df
}

.about-copy h2 {
  margin-bottom:25px
}

.about-copy p {
  color:var(--muted);
  margin-bottom:18px;
  max-width:580px;
  font-size:15px;
  line-height:1.9
}

.about-tags {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:26px
}

.about-tags span {
  font-size:11px;
  border:1px solid #dfe3ea;
  border-radius:30px;
  padding:6px 12px
}

.service-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0
}

.service {
  padding:28px 24px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  border-right:1px solid var(--line)
}

.service:first-child {
  padding-left:0
}

.service:last-child {
  border-right:0;
  padding-right:0
}

.service-head {
  display:flex;
  justify-content:space-between;
  color:var(--blue);
  margin-bottom:42px
}

.service-head span {
  color:#9a9fa8;
  font-size:12px
}

.service h3 {
  font-size:21px;
  margin-bottom:13px;
  letter-spacing:-.6px
}

.service p {
  font-size:14px;
  color:var(--muted);
  line-height:1.9;
  margin-bottom:24px
}

.service small {
  font-size:11px;
  line-height:1.8;
  color:#828891;
  display:block
}

.process {
  background:radial-gradient(ellipse at 90% 30%,#fff4ed,transparent 58%);
  padding-top:60px
}

.steps {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:35px;
  margin-top:60px
}

.step-num {
  display:block;
  color:#315ce7;
  font-family:'DM Sans';
  font-size:15px;
  border-bottom:1px solid #dfe2e8;
  padding-bottom:22px;
  margin-bottom:24px
}

.steps h3 {
  font-size:25px;
  margin-bottom:12px
}

.steps p {
  color:var(--muted);
  font-size:14px;
  line-height:1.9
}

.contact {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:90px;
  border-top:1px solid var(--line);
  background:radial-gradient(ellipse at 5% 80%,#eaf0ff,transparent 60%)
}

.contact-intro>p {
  font-size:15px;
  color:var(--muted);
  margin-top:25px
}

.contact-star {
  display:block;
  color:#315ce7;
  font-size:110px;
  line-height:1.5;
  margin-top:10px
}

form label {
  display:flex;
  flex-direction:column;
  font-size:12px;
  font-weight:500;
  gap:9px;
  margin-bottom:23px
}

input,select,textarea {
  width:100%;
  padding:12px 0;
  border:0;
  border-bottom:1px solid #cfd5df;
  border-radius:0;
  background:transparent;
  font-size:13px;
  color:var(--ink);
  outline:none
}

input:focus,select:focus,textarea:focus {
  border-bottom-color:var(--blue);
  box-shadow:0 1px var(--blue)
}

textarea {
  resize:vertical
}

input::placeholder,textarea::placeholder {
  color:#9298a2
}

.honeypot {
  position:absolute;
  left:-10000px
}

form .button {
  margin-top:4px
}

form .button:disabled {
  opacity:.6;
  cursor:wait
}

.form-status {
  font-size:13px;
  margin-top:14px;
  color:#315ce7
}

footer {
  padding:32px 6%;
  display:flex;
  align-items:center;
  gap:30px;
  border-top:1px solid var(--line)
}

footer p {
  font-size:12px;
  color:var(--muted);
  margin-right:auto
}

footer>span,footer>a:last-child {
  font-size:11px;
  color:var(--muted)
}

.case-dialog {
  width:min(760px,92vw);
  max-height:90vh;
  overflow-y:auto;
  border:1px solid var(--line);
  border-radius:14px;
  padding:50px;
  color:var(--ink);
  background:white
}

.case-dialog::backdrop {
  background:#17203866;
  backdrop-filter:blur(6px)
}

.dialog-close {
  position:absolute;
  right:16px;
  top:16px;
  border:0;
  background:#f0f3f9;
  border-radius:50%;
  padding:8px;
  display:grid;
  place-items:center
}

.case-dialog h2 {
  font-size:38px;
  margin:20px 0 25px
}

.case-art {
  aspect-ratio:2
}

.case-notice {
  font-size:13px;
  color:var(--muted);
  margin:22px 0
}

.case-part {
  display:flex;
  gap:24px;
  padding:20px 0;
  border-top:1px solid var(--line)
}

.case-part>span {
  font-size:12px;
  color:var(--blue)
}

.case-part h3 {
  font-size:20px;
  margin-bottom:5px
}

.case-part p {
  font-size:14px;
  color:var(--muted)
}

.case-dialog .button {
  margin-top:20px
}

@media(min-width:1600px) {
  .header,.hero,.section,footer {
    padding-left:max(6%,calc((100vw - 1400px)/2));
    padding-right:max(6%,calc((100vw - 1400px)/2))
  }
}

@media(max-width:1000px) {
  .hero h1 {
    letter-spacing:-3px
  }
  .hero-bottom {
    gap:25px
  }
  .hero-index {
    display:none
  }
  .project-info {
    display:block
  }
  .project-info>span {
    display:block;
    margin-top:6px
  }
  .service-grid {
    grid-template-columns:1fr 1fr;
    gap:25px
  }
  .service {
    padding:25px!important;
    border-right:0;
    background:#fafbfe;
    border-radius:8px
  }
  .contact {
    gap:40px
  }
  .about {
    gap:40px
  }
  .steps {
    gap:20px
  }
  .nav {
    gap:22px
  }
}

@media(max-width:650px) {
  .header {
    height:78px;
    padding:0 6%
  }
  .wordmark {
    font-size:31px
  }
  .nav {
    display:none;
    position:absolute;
    top:77px;
    left:0;
    right:0;
    padding:25px 6%;
    background:white;
    border-bottom:1px solid var(--line)
  }
  .nav.open {
    display:flex;
    flex-direction:column
  }
  .nav-contact {
    margin-left:auto;
    margin-right:23px;
    font-size:12px;
    gap:10px
  }
  .tiny-star {
    font-size:23px
  }
  .menu-toggle {
    display:grid;
    place-items:center;
    background:none;
    border:0;
    padding:5px
  }
  .hero {
    padding-top:30px
  }
  .hero-note {
    display:none
  }
  .eyebrow {
    font-size:10px;
    letter-spacing:1.6px
  }
  .hero-top {
    margin-bottom:29px
  }
  .hero h1 {
    font-size:clamp(41px,9.7vw,62px);
    letter-spacing:-2px;
    line-height:1.12
  }
  .hero-bottom {
    display:block;
    margin-top:28px;
    margin-bottom:36px
  }
  .hero-bottom p {
    font-size:14px
  }
  .hero-bottom .button {
    margin-top:24px
  }
  .hero-foot {
    font-size:8px
  }
  .tool-section {
    padding:25px 0
  }
  .tool-caption {
    font-size:9px;
    margin-bottom:20px
  }
  .tool-group {
    gap:32px;
    padding-right:32px
  }
  .tool {
    font-size:15px
  }
  .software {
    width:32px;
    height:32px;
    font-size:20px
  }
  .section {
    padding:64px 6%
  }
  .section-top {
    display:block;
    margin-bottom:29px
  }
  .section-top>p {
    margin-top:23px;
    font-size:13px
  }
  h2 {
    font-size:37px;
    letter-spacing:-1.5px
  }
  .section-top .eyebrow,.about .eyebrow,.contact .eyebrow {
    margin-bottom:18px
  }
  .filters {
    gap:2px;
    margin-bottom:22px
  }
  .filters button {
    font-size:12px;
    padding:8px 12px
  }
  .gallery {
    grid-template-columns:1fr;
    gap:28px
  }
  .placeholder>span {
    font-size:80px
  }
  .project-art {
    aspect-ratio:1.3
  }
  .project-info h3 {
    font-size:19px
  }
  .gallery-note {
    font-size:11px
  }
  .about {
    grid-template-columns:1fr;
    gap:20px
  }
  .about-monogram {
    display:none
  }
  .about-copy p {
    font-size:14px
  }
  .service-grid {
    grid-template-columns:1fr;
    gap:16px
  }
  .service-head {
    margin-bottom:24px
  }
  .service p {
    margin-bottom:18px
  }
  .steps {
    grid-template-columns:1fr 1fr;
    gap:30px 22px;
    margin-top:32px
  }
  .steps p {
    font-size:13px
  }
  .steps h3 {
    font-size:22px
  }
  .step-num {
    padding-bottom:12px;
    margin-bottom:18px
  }
  .contact {
    grid-template-columns:1fr;
    gap:35px
  }
  .contact-star {
    display:none
  }
  .contact-intro>p {
    font-size:14px
  }
  .form-row {
    grid-template-columns:1fr;
    gap:0
  }
  input,select,textarea {
    font-size:16px
  }
  footer {
    flex-wrap:wrap;
    gap:15px;
    justify-content:space-between
  }
  footer p {
    font-size:10px;
    margin:0
  }
  footer>span {
    flex-basis:60%
  }
  .case-dialog {
    padding:40px 23px 28px
  }
  .case-dialog h2 {
    font-size:30px
  }
  .case-art {
    aspect-ratio:1.4
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  .track {
    animation:none
  }
  .project-art,.button {
    transition:none
  }
}

[hidden] {
  display:none!important
}

dialog {
  margin:auto
}

.project-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover
}

.case-art .project-image {
  object-fit:contain
}

/* Portrait hero: text and photo side by side, stacked on mobile. */
.hero-layout {
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:clamp(28px,4.5vw,70px);
  align-items:center;
  margin:12px 0 44px
}

.hero-copy {
  min-width:0
}

.hero-copy h1 {
  font-size:clamp(44px,5.1vw,76px);
  letter-spacing:-3px;
  line-height:1.1
}

.hero-copy h1>span {
  display:block
}

.hero-copy .hero-bottom {
  display:block;
  margin:30px 0 0
}

.hero-copy .hero-bottom .button {
  margin-top:26px
}

.hero-copy .hero-index {
  display:none
}

.hero-portrait {
  margin:0;
  position:relative;
  isolation:isolate;
  border-radius:18px;
  overflow:hidden;
  background:#f0ebe4;
  box-shadow:0 18px 55px #33436b0f;
  aspect-ratio:4/4.6
}

.hero-portrait img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:46% 45%
}

.hero-portrait figcaption {
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:13px 17px;
  border:1px solid #ffffff80;
  border-radius:8px;
  background:#fffffff0;
  color:#353c48;
  font-size:11px;
  backdrop-filter:blur(12px)
}

.hero-portrait figcaption span:first-child {
  font-weight:600;
  letter-spacing:2px
}

@media(min-width:1600px) {
  .hero-copy h1 {
    font-size:76px
  }
}

@media(max-width:900px) {
  .hero-layout {
    gap:26px;
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)
  }
  .hero-copy h1 {
    font-size:48px;
    letter-spacing:-2px
  }
  .hero-portrait {
    aspect-ratio:3/4.4
  }
  .hero-portrait figcaption {
    flex-direction:column;
    align-items:flex-start;
    gap:3px;
    padding:10px;
    left:12px;
    right:12px;
    bottom:12px
  }
}

@media(max-width:650px) {
  .hero-layout {
    grid-template-columns:1fr;
    gap:32px;
    margin:0 0 30px
  }
  .hero-copy h1 {
    font-size:clamp(41px,10vw,60px);
    letter-spacing:-2px
  }
  .hero-copy .hero-bottom {
    margin:24px 0 0
  }
  .hero-portrait {
    aspect-ratio:1/1.05;
    width:100%;
    max-width:480px;
    justify-self:center;
    border-radius:14px
  }
  .hero-portrait img {
    object-position:46% 35%
  }
  .hero-portrait figcaption {
    flex-direction:row;
    align-items:center;
    gap:10px;
    padding:13px
  }
  .hero-top {
    margin-bottom:26px
  }
}

/* Original logo artwork remains uncropped in both gallery and enlarged previews. */
.logo-art {
  background:#f6f7f9;
  aspect-ratio:1.25;
  border:1px solid #e8eaf0
}

.logo-art .project-image {
  object-fit:contain;
  padding:12px
}

.logo-art .art-plus {
  z-index:1;
  background:#fff;
  color:#315ce7;
  border-color:#dce3f5;
  opacity:1;
  font-size:25px;
  line-height:1
}

.logo-preview {
  width:min(1050px,94vw)
}

.logo-preview .case-art {
  aspect-ratio:auto;
  height:min(65vh,820px);
  background:#f6f7f9;
  border:1px solid #e8eaf0
}

.logo-preview .case-art .project-image {
  padding:8px;
  object-fit:contain
}

.logo-preview h2 {
  font-size:32px
}

.logo-preview .button {
  margin-top:24px
}

@media(max-width:650px) {
  .logo-preview {
    padding:44px 16px 22px
  }
  .logo-preview .case-art {
    height:60vh
  }
  .logo-preview h2 {
    font-size:27px
  }
  .logo-art .project-image {
    padding:8px
  }
}

.gallery-pagination {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  margin-top:38px
}

.gallery-pagination .button {
  min-width:160px;
  border-color:#d8e1f7;
  color:#315ce7;
  background:#f6f8ff
}

.gallery-pagination .button:hover {
  background:#edf2ff
}

#gallery-count {
  font-size:12px;
  color:#757d89
}

.gallery-pagination .button[hidden] {
  display:none!important
}

.gallery-empty {
  text-align:center;
  padding:55px 20px;
  color:#757d89;
  border:1px dashed #dbe1ed;
  border-radius:10px;
  background:#fafbff;
  font-size:15px
}

/* Uncropped infographic thumbnails and readable, vertically scrollable full artwork. */
.infographic-art {
  background:#f4f6fa;
  aspect-ratio:1.05;
  border:1px solid #e3e7ef
}

.infographic-art .project-image {
  object-fit:contain;
  padding:12px
}

.infographic-art .art-plus {
  z-index:1;
  background:white;
  color:#315ce7;
  border-color:#dce3f5;
  opacity:1;
  font-size:25px;
  line-height:1
}

.infographic-project .project-info {
  align-items:flex-start
}

.infographic-project .project-info h3 {
  max-width:76%;
  font-size:18px
}

.infographic-preview {
  width:min(1060px,96vw)
}

.infographic-preview .case-art {
  display:block;
  aspect-ratio:auto;
  height:auto;
  background:#f4f6fa
}

.infographic-preview .case-art .project-image {
  position:static;
  display:block;
  width:100%;
  height:auto;
  padding:0;
  object-fit:contain
}

.infographic-preview h2 {
  font-size:32px
}

.infographic-preview .dialog-close {
  position:sticky;
  top:0;
  float:right;
  z-index:3;
  margin:-28px -28px 8px 8px;
  box-shadow:0 2px 12px #1f2d4a15
}

@media(max-width:650px) {
  .infographic-preview {
    padding:30px 12px 24px
  }
  .infographic-preview .dialog-close {
    margin:-12px 0 8px 8px
  }
  .infographic-preview h2 {
    font-size:26px
  }
  .infographic-project .project-info h3 {
    max-width:none
  }
  .infographic-art .project-image {
    padding:8px
  }
}

.dashboard-art {
  background:#f4f7fc;
  aspect-ratio:1.35;
  border:1px solid #e1e7f0
}

.dashboard-art .project-image {
  object-fit:contain;
  padding:10px
}

.dashboard-art .art-plus {
  z-index:1;
  background:white;
  color:#315ce7;
  border-color:#dce3f5;
  opacity:1;
  font-size:25px;
  line-height:1
}

.dashboard-project .project-info h3 {
  font-size:18px
}

.dashboard-preview {
  width:min(1240px,96vw)
}

.dashboard-preview .case-art {
  display:block;
  aspect-ratio:auto;
  height:auto;
  background:#f4f7fc
}

.dashboard-preview .case-art .project-image {
  position:static;
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  padding:0
}

.dashboard-preview h2 {
  font-size:32px
}

@media(max-width:650px) {
  .dashboard-preview {
    padding:44px 12px 24px
  }
  .dashboard-preview h2 {
    font-size:26px
  }
}

.uiux-art {
  background:#f2f5fb;
  aspect-ratio:1.05;
  border:1px solid #e1e7f0
}

.uiux-art .project-image {
  object-fit:contain;
  padding:12px
}

.uiux-art .art-plus {
  z-index:1;
  background:white;
  color:#315ce7;
  border-color:#dce3f5;
  opacity:1;
  font-size:25px;
  line-height:1
}

.uiux-preview {
  width:min(1020px,96vw)
}

.uiux-preview .case-art {
  display:block;
  aspect-ratio:auto;
  height:auto;
  background:#f4f7fc
}

.uiux-preview .case-art .project-image {
  position:static;
  display:block;
  width:100%;
  height:auto;
  padding:0;
  object-fit:contain
}

.uiux-preview h2 {
  font-size:32px
}

.uiux-preview .dialog-close {
  position:sticky;
  top:0;
  float:right;
  z-index:3;
  margin:-28px -28px 8px 8px;
  box-shadow:0 2px 12px #1f2d4a15
}

@media(max-width:650px) {
  .uiux-preview {
    padding:30px 12px 24px
  }
  .uiux-preview .dialog-close {
    margin:-12px 0 8px 8px
  }
  .uiux-preview h2 {
    font-size:26px
  }
}

.social-art {
  background:#f4f6fb;
  aspect-ratio:1;
  border:1px solid #e1e7f0
}

.social-art .project-image {
  object-fit:contain;
  padding:10px
}

.social-art .art-plus {
  z-index:1;
  background:white;
  color:#315ce7;
  border-color:#dce3f5;
  opacity:1;
  font-size:25px;
  line-height:1
}

.social-project .project-info {
  align-items:flex-start
}

.social-project .project-info h3 {
  font-size:18px
}

.social-preview {
  width:min(900px,96vw)
}

.social-preview .case-art {
  display:block;
  aspect-ratio:auto;
  height:auto;
  background:#f4f6fb
}

.social-preview .case-art .project-image {
  position:static;
  display:block;
  width:100%;
  height:auto;
  padding:0;
  object-fit:contain
}

.social-preview h2 {
  font-size:32px
}

@media(max-width:650px) {
  .social-preview {
    padding:44px 12px 24px
  }
  .social-preview h2 {
    font-size:26px
  }
}

.mobile-art {
  background:#f3f6fb;
  aspect-ratio:1.2;
  border:1px solid #e1e7f0
}

.mobile-art .project-image {
  object-fit:contain;
  padding:10px
}

.mobile-art .art-plus {
  z-index:1;
  background:white;
  color:#315ce7;
  border-color:#dce3f5;
  opacity:1;
  font-size:25px;
  line-height:1
}

.mobile-project .project-info h3 {
  font-size:18px
}

.mobile-preview {
  width:min(1180px,96vw)
}

.mobile-preview .case-art {
  display:block;
  aspect-ratio:auto;
  height:auto;
  background:#f3f6fb
}

.mobile-preview .case-art .project-image {
  position:static;
  display:block;
  width:100%;
  height:auto;
  padding:0;
  object-fit:contain
}

.mobile-preview h2 {
  font-size:32px
}

@media(max-width:650px) {
  .mobile-preview {
    padding:44px 12px 24px
  }
  .mobile-preview h2 {
    font-size:26px
  }
}

/* Optional animation polish: gallery hover, sliding tab highlight, scroll progress. */
.page-scroll-progress {
  position:fixed;
  inset:0 0 auto;
  height:3px;
  background:#315ce7;
  transform:scaleX(0);
  transform-origin:left;
  z-index:1000;
  pointer-events:none
}

.filters.has-tab-highlight {
  position:relative;
  isolation:isolate
}

.filters.has-tab-highlight button {
  position:relative;
  z-index:1;
  background:transparent;
  border-color:transparent;
  transition:color .22s ease
}

.filters.has-tab-highlight button.active {
  background:transparent;
  border-color:transparent
}

.filters.has-tab-highlight button:hover {
  background:transparent;
  color:#315ce7
}

.filters .tab-highlight {
  position:absolute;
  left:0;
  top:0;
  z-index:0;
  pointer-events:none;
  margin:0;
  border:1px solid #dbe4ff;
  border-radius:30px;
  background:#eef2ff;
  transition:transform .38s cubic-bezier(.22,1,.36,1),width .38s cubic-bezier(.22,1,.36,1),height .38s cubic-bezier(.22,1,.36,1)
}

.project .project-image {
  transition:transform .55s cubic-bezier(.22,1,.36,1)
}

.project .project-info h3 {
  transition:color .25s ease
}

.project .art-plus {
  transition:transform .35s ease,background .25s ease,color .25s ease
}

@media(hover:hover) and (pointer:fine) {
  .project:hover .project-image {
    transform:scale(1.025)
  }
  .project:hover .project-info h3 {
    color:#315ce7
  }
  .project:hover .art-plus {
    transform:rotate(90deg);
    background:#315ce7;
    color:#fff
  }
}

.project:focus-visible .project-info h3 {
  color:#315ce7
}

.project:focus-visible .art-plus {
  background:#315ce7;
  color:#fff
}

@media(prefers-reduced-motion:reduce) {
  .filters .tab-highlight,.filters.has-tab-highlight button,.project .project-image,.project .project-info h3,.project .art-plus {
    transition:none
  }
  .project:hover .project-image,.project:hover .art-plus {
    transform:none
  }
}

/* Subtle continuous hero specialties and ambient gradients. */
.hero-specialties {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 14px;
  margin-top:25px
}

.specialty-label {
  font-size:10px;
  font-weight:600;
  letter-spacing:1.8px;
  color:#737c8e
}

.specialty-words {
  display:grid;
  overflow:hidden;
  font-family:'DM Sans',sans-serif;
  font-size:clamp(21px,2.4vw,29px);
  line-height:1.5;
  letter-spacing:-.5px;
  color:#315ce7;
  min-width:9.5em
}

.specialty-words>span {
  grid-area:1/1;
  opacity:0;
  animation:specialty-cycle 12s infinite both
}

.specialty-words>span:nth-child(2) {
  animation-delay:4s
}

.specialty-words>span:nth-child(3) {
  animation-delay:8s
}

@keyframes specialty-cycle {
  0% {
    opacity:0;
    transform:translateY(70%)
  }
  4%,27% {
    opacity:1;
    transform:translateY(0)
  }
  33%,100% {
    opacity:0;
    transform:translateY(-70%)
  }
}

.hero-motion-toggle {
  border:1px solid #dce3f2;
  background:#ffffffb0;
  color:#65728b;
  border-radius:50%;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  padding:0
}

.hero-motion-toggle:hover {
  color:#315ce7;
  background:white
}

.motion-sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.hero,.contact {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#fff
}

.hero::before,.contact::before {
  content:'';
  position:absolute;
  inset:-18%;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(ellipse at 80% 65%,#e1e9ff 0,transparent 48%),radial-gradient(ellipse at 95% 30%,#ffe9dc 0,transparent 44%);
  animation:ambient-drift 22s ease-in-out infinite alternate
}

.contact::before {
  background:radial-gradient(ellipse at 15% 75%,#e5edff 0,transparent 52%),radial-gradient(ellipse at 0% 30%,#fff0e5 0,transparent 40%);
  animation-duration:26s;
  animation-delay:-8s
}

@keyframes ambient-drift {
  0% {
    transform:translate3d(-3%,2%,0) scale(1)
  }
  100% {
    transform:translate3d(5%,-4%,0) scale(1.08)
  }
}

body.hero-motion-paused .specialty-words>span,body.hero-motion-paused .hero::before,body.hero-motion-paused .contact::before,.hero.loop-offscreen .specialty-words>span,.hero.loop-offscreen::before,.contact.loop-offscreen::before {
  animation-play-state:paused
}

@media(max-width:650px) {
  .hero-specialties {
    margin-top:20px;
    gap:8px 10px
  }
  .specialty-words {
    font-size:22px
  }
  .specialty-label {
    font-size:9px;
    letter-spacing:1px
  }
  .hero-motion-toggle {
    width:30px;
    height:30px
  }
}

@media(prefers-reduced-motion:reduce) {
  .specialty-words>span {
    animation:none;
    opacity:0;
    transform:none
  }
  .specialty-words>span:first-child {
    opacity:1
  }
  .hero::before,.contact::before {
    animation:none;
    transform:none
  }
  .hero-motion-toggle {
    display:none
  }
}

/* Dedicated page views in a single downloadable file; hash URLs also work offline. */
.page-banner {
  padding:58px 6% 50px;
  background:radial-gradient(ellipse at 90% 30%,#edf2ff,transparent 55%);
  border-bottom:1px solid #e5e7eb
}

.page-breadcrumb {
  display:inline-block;
  font-size:13px;
  color:#727b8d;
  margin-bottom:32px
}

.page-banner .eyebrow {
  color:#315ce7;
  margin-bottom:18px
}

.page-banner h1 {
  font-family:'DM Sans',sans-serif;
  font-size:clamp(44px,6vw,78px);
  font-weight:500;
  line-height:1.08;
  letter-spacing:-2.5px
}

.page-banner>p {
  max-width:700px;
  color:#6b7079;
  margin-top:22px;
  font-size:16px
}

.page-banner h1:focus {
  outline:none
}

.nav a[aria-current="page"] {
  color:#315ce7
}

.page-details {
  margin-top:65px;
  grid-column:1/-1;
  width:100%;
  border-top:1px solid #e5e7eb;
  padding-top:42px
}

.detail-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:35px;
  margin:30px 0 40px
}

.detail-grid h3,.page-callout h3,.contact-guide h3 {
  font-size:23px;
  margin-bottom:14px
}

.detail-grid p,.process-details p,.page-callout p,.contact-guide p {
  font-size:15px;
  line-height:1.9;
  color:#6b7079
}

.detail-grid .deliverables {
  font-size:12px;
  margin-top:18px;
  color:#315ce7
}

.page-callout {
  padding:30px;
  background:#f3f6ff;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:32px;
  justify-content:space-between
}

.page-callout>div {
  max-width:660px
}

.page-callout .button {
  flex-shrink:0
}

.process-details {
  margin:30px 0 40px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px
}

.process-details article {
  display:flex;
  gap:20px
}

.process-details article>span {
  color:#315ce7;
  font-size:14px
}

.process-details h3 {
  font-size:24px;
  margin-bottom:12px
}

.contact-guide p {
  margin-top:12px
}

.home-discover {
  border-top:1px solid #e5e7eb;
  background:radial-gradient(ellipse at 0 90%,#eef3ff,transparent 55%)
}

.home-discover h2 {
  margin-top:22px
}

.text-link {
  display:inline-block;
  margin-top:18px;
  color:#315ce7;
  font-size:14px;
  border-bottom:1px solid #b5c6fb
}

.header .nav {
  gap:24px
}

.page-banner~.section {
  scroll-margin-top:0
}

body[data-current-page="portfolio"] .work {
  padding-top:50px
}

body[data-current-page="portfolio"] .work .section-top {
  display:none
}

body[data-current-page="about"] .about {
  border-top:0
}

.home-discover .button {
  margin-top:10px
}

@media(max-width:1050px) {
  .header .nav {
    display:none;
    position:absolute;
    top:99px;
    left:0;
    right:0;
    padding:25px 6%;
    background:white;
    border-bottom:1px solid #e5e7eb;
    gap:20px
  }
  .header .nav.open {
    display:flex;
    flex-direction:column
  }
  .menu-toggle {
    display:grid;
    place-items:center;
    background:none;
    border:0;
    padding:5px
  }
  .nav-contact {
    margin-left:auto;
    margin-right:22px
  }
  .page-callout {
    align-items:flex-start;
    flex-direction:column
  }
}

@media(max-width:650px) {
  .header .nav {
    top:77px
  }
  .page-banner {
    padding:35px 6%
  }
  .page-banner h1 {
    font-size:44px;
    letter-spacing:-1.5px
  }
  .page-banner>p {
    font-size:14px
  }
  .detail-grid,.process-details {
    grid-template-columns:1fr;
    gap:28px
  }
  .page-details {
    margin-top:35px;
    padding-top:30px
  }
  .page-callout {
    padding:23px
  }
  .detail-grid h3 {
    font-size:22px
  }
}


/* Frequently asked questions: native, keyboard-accessible expandable answers. */
.faq-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; border-top: 1px solid #e5e7eb; background: radial-gradient(ellipse at 0% 70%, #edf3ff, transparent 55%); }
.faq-intro h2 { margin-top: 22px; }
.faq-intro > p { margin-top: 24px; color: #6b7079; font-size: 15px; max-width: 350px; }
.faq-item { border-bottom: 1px solid #dfe5ef; }
.faq-item:first-child { border-top: 1px solid #dfe5ef; }
.faq-item summary { list-style: none; cursor: pointer; position: relative; padding: 22px 42px 22px 0; font-family: 'DM Sans', sans-serif; font-size: 19px; font-weight: 500; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 20px; color: #315ce7; font-size: 25px; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { color: #315ce7; }
.faq-item summary:focus-visible { outline: 2px solid #7695fb; outline-offset: 4px; border-radius: 4px; }
.faq-answer { padding: 0 30px 24px 0; color: #6b7079; font-size: 15px; line-height: 1.9; }
.faq-item[open] .faq-answer { animation: faq-answer-in .25s ease-out; }
@keyframes faq-answer-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) { .faq-section { grid-template-columns: 1fr; gap: 30px; } .faq-intro > p { max-width: none; } }
@media (max-width: 650px) { .faq-item summary { font-size: 18px; } .faq-answer { padding-right: 10px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .faq-item[open] .faq-answer { animation: none; } }

/* Direct contact details */
.contact-links { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.contact-links a { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 18px; border: 1px solid #dfe6f2; border-radius: 8px; background: #ffffffb8; transition: border-color .2s, background .2s; }
.contact-links a:hover { border-color: #8da8fa; background: #f5f8ff; }
.contact-links span { color: #738099; font-size: 10px; letter-spacing: 1.5px; margin-bottom: 4px; }
.contact-links strong { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 500; color: #315ce7; overflow-wrap: anywhere; }
.contact-links small { font-size: 12px; color: #6b7079; margin-top: 3px; }
.contact-links + .contact-star { font-size: 65px; }
@media (prefers-reduced-motion: reduce) { .contact-links a { transition: none; } }

.contact-links .contact-address strong { font-size: 16px; line-height: 1.65; }
