.web-hero { padding-block: clamp(54px, 6vw, 88px) 0; }
.web-hero .specialty-grid { position: relative; z-index: 1; gap: clamp(32px, 4vw, 58px); }
.web-hero h1 { font-size: clamp(2.8rem, 4.5vw, 4.35rem); line-height: 1.04; }
.web-hero .eyebrow { font-size: .64rem; letter-spacing: .15em; }
.web-hero .button-row { gap: 12px; }
.web-hero .button { padding-inline: 22px; font-size: .86rem; }
.web-hero .web-personal-note { max-width: 400px; margin: 22px 0 0; font-size: .8rem !important; line-height: 1.7 !important; }
.web-principles { display: flex; justify-content: space-between; gap: 22px; margin-top: 64px; padding-block: 24px; border-top: 1px solid #cce1e5; color: #52747d; font: .65rem/1.7 ui-monospace, monospace; }
.web-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 570px; margin: 0; padding: 28px 12px 0; }
.web-preview-orbit { position: absolute; z-index: -1; width: 90%; aspect-ratio: 1; border: 1px solid #b9dce3; border-radius: 50%; transform: rotateX(20deg) rotateY(-24deg); box-shadow: 0 0 0 35px #c8ebef30, 0 0 0 70px #c8ebef20; }
.web-preview-frame { position: relative; width: 100%; max-width: 530px; border: 1px solid #a6cbd2; border-radius: 19px; background: #fff; box-shadow: 6px 8px 0 #bdd9df, 7px 9px 0 #85b4bf, 0 32px 60px #00425126; transform: rotateX(calc(6deg + var(--tilt-x))) rotateY(calc(-10deg + var(--tilt-y))) rotateZ(-2deg); transition: transform .35s ease, max-width .45s ease; }
.web-preview-chrome { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 18px; border-bottom: 1px solid #d9e8ea; border-radius: 19px 19px 0 0; color: #587b85; background: #f8fcfc; font: .6rem ui-monospace, monospace; }
.web-chrome-dots { display: flex; gap: 5px; }
.web-chrome-dots i { width: 5px; height: 5px; border-radius: 50%; background: #90bcc7; }
.web-preview-page { padding: 25px; overflow: hidden; border-radius: 0 0 19px 19px; background: linear-gradient(135deg, #fff, #f0f9fa); }
.web-preview-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #0b303b; font-size: .62rem; }
.web-preview-nav strong { letter-spacing: -.02em; }
.web-preview-nav strong span { color: #0097aa; }
.web-preview-nav > span { color: #5b7a82; font-size: .52rem; }
.web-preview-body { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 12px; min-height: 285px; padding-block: 30px; }
.web-preview-kicker { display: block; color: #54818b; font: .48rem/1.5 ui-monospace, monospace; letter-spacing: .08em; }
.web-preview-title { display: block; margin-top: 12px; color: #10343d; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.04; letter-spacing: -.06em; }
.web-preview-title em { color: #007b8d; font-style: normal; }
.web-preview-cta { display: inline-flex; gap: 28px; margin-top: 21px; padding: 10px 15px; border-radius: 6px; color: #fff; background: #075363; font-size: .57rem; }
.web-preview-sculpture { position: relative; height: 200px; perspective: 700px; }
.web-preview-sculpture > div { position: absolute; inset: 25px 0 20px; border: 1px solid #49b8c7; border-radius: 38% 38% 20% 20%; transform: rotateX(18deg) rotateY(-30deg) rotateZ(20deg); background: linear-gradient(130deg, #92e3e9, #03829a 45%, #064455); box-shadow: 9px 8px 0 #064858, 10px 9px 0 #55b5c3, 20px 30px 38px #0347562b; }
.web-preview-sculpture > div:nth-child(2) { inset: 52px 19px 47px; transform: translateZ(30px) rotateX(18deg) rotateY(-30deg) rotateZ(20deg); background: linear-gradient(135deg, #b9eef0, #459aa8); }
.web-preview-sculpture > div:nth-child(3) { inset: 80px 38px 74px; transform: translateZ(60px) rotateX(18deg) rotateY(-30deg) rotateZ(20deg); background: #d9f7f5; box-shadow: 6px 6px 0 #126176, 7px 7px 0 #99d6de; }
.web-preview-bottom { display: flex; justify-content: space-between; gap: 8px; padding-top: 18px; border-top: 1px solid #d2e6e9; color: #4e7079; font-size: .52rem; }
.web-preview-frame[data-view="mobile"] { max-width: 255px; transform: rotateY(calc(-6deg + var(--tilt-y))) rotateZ(-1deg); }
.web-preview-frame[data-view="mobile"] .web-preview-nav > span { display: none; }
.web-preview-frame[data-view="mobile"] .web-preview-body { grid-template-columns: 1fr; min-height: 285px; padding-block: 25px; }
.web-preview-frame[data-view="mobile"] .web-preview-title { font-size: 2.1rem; }
.web-preview-frame[data-view="mobile"] .web-preview-sculpture { display: none; }
.web-preview-frame[data-view="mobile"] .web-preview-bottom { flex-direction: column; gap: 6px; }
.web-preview-controls { display: flex; margin-top: 35px; gap: 4px; padding: 4px; border: 1px solid #bed9df; border-radius: 999px; background: #fff; }
.web-preview-controls[hidden] { display: none; }
.web-preview-controls button { min-height: 40px; padding: 8px 19px; border: 0; border-radius: 999px; background: transparent; color: #496c76; font: 600 .72rem/1.4 "Inter", sans-serif; cursor: pointer; }
.web-preview-controls button[aria-pressed="true"] { color: #fff; background: #075363; }
.web-preview figcaption { margin-top: 15px; text-align: center; color: #587680; font: .6rem/1.7 ui-monospace, monospace; }
.web-service-list article { display: grid; grid-template-columns: .35fr 1.2fr 1fr; gap: 35px; padding: 36px 0; border-top: 1px solid #d3e3e7; }
.web-service-list article:last-child { border-bottom: 1px solid #d3e3e7; }
.web-service-list h3 { font-size: 1.4rem; letter-spacing: -.04em; line-height: 1.3; }
.web-service-list p { font-size: .96rem; margin-bottom: 0; }
.web-service-list ul { margin: 0; padding-left: 20px; color: #526e78; font-size: .9rem; line-height: 1.9; }
.web-related-note { max-width: 820px; margin: 32px 0 0; font-size: .85rem; }
.web-related-note a, .web-seo-note a { color: #006a7b; text-decoration: underline; text-underline-offset: 4px; }
.web-build-notes { padding: 36px; border: 1px solid #c8dfe4; border-radius: 26px; background: #fff; box-shadow: 7px 8px 0 #dfedf0; }
.web-build-notes dl { margin: 25px 0 0; }
.web-build-notes dl > div { padding-block: 20px; border-top: 1px solid #dfebee; }
.web-build-notes dl > div:last-child { padding-bottom: 0; }
.web-build-notes dt { margin-bottom: 7px; color: #173e48; font-size: .95rem; font-weight: 700; }
.web-build-notes dd { margin: 0; color: #56727b; font-size: .86rem; line-height: 1.8; }
.web-seo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.web-seo-grid > div { padding-top: 22px; border-top: 2px solid #80b8c5; }
.web-seo-grid h3 { margin-top: 24px; font-size: 1.32rem; line-height: 1.3; letter-spacing: -.03em; }
.web-seo-grid p { font-size: .94rem; }
.web-seo-note { display: grid; grid-template-columns: .6fr 1.4fr; gap: 40px; margin-top: 32px; padding: 30px; border-radius: 18px; background: #edf7f8; }
.web-seo-note strong { color: #1f535f; line-height: 1.6; }
.web-seo-note p { margin-bottom: 0; font-size: .85rem; }
.web-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 0; list-style: none; }
.web-process li { border-top: 1px solid #35606b; padding-top: 24px; }
.web-process li > span { display: block; margin-bottom: 30px; color: #66c5d2; font: .75rem ui-monospace, monospace; }
.web-process h3 { font-size: 1.12rem; letter-spacing: -.03em; }
.web-process p { font-size: .88rem; line-height: 1.8; }
.web-brief { padding: 36px; border: 1px solid #acd5dd; border-radius: 26px; background: linear-gradient(135deg, #edf8f8, #fff); }
.web-brief h3 { margin-top: 20px; font-size: 1.65rem; line-height: 1.25; letter-spacing: -.04em; }
.web-brief ul { padding-left: 20px; color: #496c76; font-size: .9rem; line-height: 1.9; }
.web-brief p { margin: 24px 0 0; font-size: .8rem; }
@media (max-width: 1100px) {
  .web-hero h1 { font-size: clamp(2.5rem, 4.9vw, 3.8rem); }
  .web-preview { min-height: 520px; padding-inline: 8px; }
  .web-preview-page { padding: 20px; }
  .web-preview-title { font-size: 1.95rem; }
  .web-preview-sculpture { height: 170px; }
  .web-service-list article { grid-template-columns: .3fr 1fr 1fr; gap: 25px; }
  .web-process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 850px) {
  .web-hero .specialty-grid { gap: 20px; }
  .web-hero-copy { max-width: 640px; }
  .web-hero h1 { max-width: 600px; font-size: clamp(2.8rem, 7.5vw, 4rem); }
  .web-preview { min-height: 510px; width: min(100%, 530px); }
  .web-preview-title { font-size: clamp(1.95rem, 5vw, 2.5rem); }
  .web-principles { margin-top: 40px; flex-wrap: wrap; gap: 14px 28px; }
  .web-service-list article { grid-template-columns: 1fr 1fr; }
  .web-service-list article > span { grid-column: 1 / -1; }
  .web-seo-grid { grid-template-columns: 1fr; gap: 25px; }
  .web-seo-grid h3 { margin-top: 16px; }
  .web-seo-note { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 540px) {
  .web-hero { padding-top: 40px; }
  .web-hero .eyebrow { font-size: .59rem; line-height: 1.8; }
  .web-hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.4rem); }
  .web-preview { min-height: 460px; padding-top: 18px; }
  .web-preview-frame { transform: rotateX(2deg) rotateY(-3deg) rotateZ(-1deg); box-shadow: 4px 5px 0 #bdd9df, 5px 6px 0 #85b4bf, 0 25px 40px #0042511c; }
  .web-preview-page { padding: 18px; }
  .web-preview-body { grid-template-columns: 1.3fr .7fr; min-height: 250px; }
  .web-preview-title { font-size: 1.8rem; }
  .web-preview-sculpture { height: 155px; }
  .web-preview-sculpture > div:nth-child(2) { inset: 47px 13px 42px; }
  .web-preview-sculpture > div:nth-child(3) { inset: 67px 23px 62px; }
  .web-preview-nav > span { display: none; }
  .web-preview-bottom { font-size: .46rem; }
  .web-principles { flex-direction: column; margin-top: 30px; padding-block: 22px; }
  .web-service-list article { grid-template-columns: 1fr; gap: 20px; padding-block: 30px; }
  .web-build-notes, .web-brief { padding: 26px; }
  .web-seo-note { padding: 24px; }
  .web-process { grid-template-columns: 1fr; gap: 24px; }
  .web-process li > span { margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .web-preview-frame { transition: none; }
}
