@font-face {
  font-family: "Funnel Display";
  src: url("../assets/fonts/FunnelDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Funnel Display";
  src: url("../assets/fonts/FunnelDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Funnel Sans";
  src: url("../assets/fonts/FunnelSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Funnel Sans";
  src: url("../assets/fonts/FunnelSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Bristol;
  src: url("../assets/fonts/Bristol.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 18px/1.55 var(--font-body);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

button,
summary {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a,
summary {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}

section {
  scroll-margin-top: 32px;
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

.wrap {
  width: min(1240px,calc(100% - 96px));
  margin: auto;
}

.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  padding: 12px;
  background: var(--paper);
  z-index: 20;
}

.skip:focus {
  top: 16px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 28px;
}

.logo {
  width: 176px;
  flex: none;
}

.logo img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
}

.nav a:hover {
  text-decoration: underline;
}

.nav .contact-link {
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0 22px;
}

.hero {
  position: relative;
  padding: 70px 0 72px;
}

.hero h1 {
  font-size: clamp(58px,6.2vw,92px);
  max-width: 1180px;
}

.hero h1 .second {
  display: block;
}

.hero .lead {
  max-width: 610px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.5;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  border-radius: var(--pill);
  min-height: 52px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms,transform 180ms;
}

.primary {
  background: var(--ink);
  color: var(--paper);
}

.primary:hover {
  background: var(--blue);
}

.secondary {
  color: var(--ink);
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  min-height: 44px;
}

.secondary:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.hero .second span {
  position: relative;
  z-index: 0;
}

.hero .second span:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .06em;
  height: .075em;
  background: var(--cyan);
  z-index: -1;
}

.section {
  padding: 44px 0 90px;
}

.project-top {
  max-width: 690px;
}

.project-top .meta {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}

main h2 {
  font-size: clamp(38px,4vw,56px);
}

.project-top p {
  margin-top: 20px;
  max-width: 620px;
  color: var(--muted);
}

.project-links {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 22px;
  font-size: 16px;
}

.project-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.stage {
  margin-top: 38px;
  background: var(--surface);
  border-radius: var(--media-radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.55fr;
  gap: 34px;
  align-items: center;
  min-height: 600px;
}

.phone {
  background: var(--paper);
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: 0 12px 28px var(--line);
  overflow: hidden;
  transition: transform 200ms;
}

.phone img {
  width: 100%;
  border-radius: 28px;
}

.phone.two {
  margin-top: 65px;
}

.web-slot {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  min-height: 246px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  color: var(--muted);
  font-size: 15px;
}

.caption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}

.project-detail {
  margin-top: 22px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 20px;
}

.project-detail>summary {
  cursor: pointer;
  min-height: 44px;
  display: list-item;
  font-size: 16px;
}

.detail-copy {
  max-width: 780px;
  padding: 22px 0 8px;
}

.detail-copy p {
  margin: 0 0 20px;
  color: var(--muted);
}

.detail-copy h3 {
  font-size: 26px;
  margin: 24px 0 10px;
}

.review-note {
  font-size: 14px;
  color: var(--blue);
  line-height: 1.5;
}

.practice {
  padding: 94px 0 110px;
}

.practice h2 {
  max-width: 780px;
}

.practice-list {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 58px;
  margin-top: 54px;
}

.practice-list h3 {
  font-size: 27px;
  letter-spacing: -.025em;
  margin-bottom: 18px;
}

.practice-list p {
  font-size: 17px;
  color: var(--muted);
}

.visuals {
  padding: 64px 0 110px;
}

.visuals>p {
  margin-top: 20px;
  color: var(--muted);
  max-width: 640px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 30px;
  align-items: start;
  margin-top: 44px;
}

.photo-placeholder {
  border-radius: 12px;
  background: var(--surface);
  aspect-ratio: 1.45;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 16px;
  padding: 30px;
  text-align: center;
}

.photo-grid figure:nth-child(2) {
  margin-top: 76px;
}

.photo-grid figure:nth-child(2) .photo-placeholder {
  aspect-ratio: .95;
}

.photo-grid figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.about {
  padding: 76px 0 110px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}

.about .copy p {
  max-width: 660px;
  color: var(--muted);
  margin-bottom: 20px;
}

.contact {
  padding: 48px 0 100px;
}

.contact h2 {
  font-size: clamp(44px,5vw,70px);
  max-width: 930px;
}

.contact>p {
  max-width: 610px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 20px;
}

.contact details {
  margin-top: 30px;
  max-width: 650px;
}

.contact summary {
  min-height: 52px;
  width: fit-content;
  border-radius: var(--pill);
  padding: 12px 24px;
  background: var(--cyan);
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
}

.contact details p {
  margin-top: 16px;
  font-size: 16px;
}

.footer {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.footer img {
  width: 125px;
}

.footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.review-bar {
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 14px;
  padding: 20px 0;
}

.review-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.review-bar a {
  color: var(--blue);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hero-mark {
  display: none;
}

.handmade {
  font-family: var(--font-note);
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.2;
}

.hero-mark img {
  width: 145px;
  transform: rotate(7deg);
}

@media(min-width:1440px) {
    .hero {
    padding-top: 80px;
  }
}

@media(max-width:1000px) {
    .wrap {
    width: calc(100% - 48px);
  }
    .hero h1 {
    font-size: clamp(54px,6.2vw,76px);
  }
    .hero .lead {
    max-width: 540px;
  }
    .hero-mark img {
    width: 105px;
  }
    .stage {
    grid-template-columns: 1fr 1fr;
    padding: 40px;
    gap: 32px;
    min-height: 0;
  }
    .phone {
    max-width: 280px;
    margin: auto;
  }
    .phone.two {
    margin-top: 40px;
  }
    .web-slot {
    grid-column: 1/-1;
    min-height: 220px;
    width: 100%;
    max-width: 560px;
    margin: 8px auto 0;
  }
    .practice-list {
    gap: 30px;
  }
    .about {
    gap: 40px;
  }
}

@media(max-width:700px) {
    body {
    font-size: 17px;
  }
    .wrap {
    width: calc(100% - 40px);
  }
    .header {
    min-height: 0;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 0 10px;
  }
    .logo {
    width: 127px;
  }
    .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0 20px;
  }
    .nav a {
    font-size: 14px;
  }
    .nav .contact-link {
    border: 0;
    padding: 0;
  }
    .hero {
    padding: 36px 0 68px;
    min-height: 0;
  }
    .hero h1 {
    font-size: clamp(39px,9.8vw,66px);
    letter-spacing: -.035em;
    line-height: 1.1;
  }
    .hero h1 .second {
    display: inline;
  }
    .hero h1 .second:before {
    content: " ";
  }
    .hero .lead {
    margin-top: 26px;
    font-size: 18px;
    max-width: 500px;
  }
    .actions {
    margin-top: 22px;
    gap: 17px;
  }
    .button {
    font-size: 15px;
    padding: 12px 19px;
  }
    .secondary {
    padding-left: 0;
    padding-right: 0;
  }
    .hero-mark img {
    width: 84px;
  }
    .section {
    padding: 20px 0 64px;
  }
    .section h2 {
    font-size: 36px;
  }
    .project-top .meta {
    margin-bottom: 16px;
    font-size: 14px;
  }
    .project-links {
    gap: 22px;
  }
    .stage {
    padding: 26px 22px;
    gap: 20px;
    margin-top: 28px;
    border-radius: 24px;
  }
    .phone {
    border-radius: 22px;
    padding: 4px;
    transform: none;
  }
    .phone img {
    border-radius: 17px;
  }
    .phone.two {
    margin-top: 35px;
  }
    .web-slot {
    min-height: 170px;
    font-size: 14px;
    padding: 24px;
  }
    .caption {
    font-size: 13px;
  }
    .practice {
    padding: 56px 0 70px;
  }
    .practice h2 {
    font-size: 37px;
    max-width: 500px;
  }
    .practice-list {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 36px;
  }
    .practice-list h3 {
    font-size: 27px;
    margin-bottom: 12px;
  }
    .visuals {
    padding: 20px 0 70px;
  }
    .photo-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
  }
    .photo-grid figure:nth-child(2) {
    margin-top: 0;
  }
    .photo-placeholder,
  .photo-grid figure:nth-child(2) .photo-placeholder {
    aspect-ratio: 1.3;
  }
    .about {
    padding: 48px 0 52px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
    .about h2 {
    font-size: 37px;
  }
    .contact {
    padding: 20px 0 64px;
  }
    .contact h2 {
    font-size: 40px;
  }
    .contact>p {
    font-size: 18px;
  }
    .footer {
    align-items: start;
  }
    .footer img {
    width: 100px;
  }
    .review-bar .wrap {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
}

@media(max-width:350px) {
    .wrap {
    width: calc(100% - 32px);
  }
    .logo {
    width: 106px;
  }
    .nav {
    gap: 0 12px;
  }
    .nav a {
    font-size: 13px;
  }
    .actions {
    gap: 14px;
  }
    .button {
    font-size: 14px;
    padding: 12px 17px;
  }
    .secondary {
    padding-left: 0;
    padding-right: 0;
  }
    .hero h1 {
    font-size: 37px;
  }
    .stage {
    padding: 20px 14px;
    gap: 13px;
  }
}

@media(prefers-reduced-motion:reduce) {
    html {
    scroll-behavior: auto;
  }
    *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.editorial .hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-top: 36px;
}

.editorial .hero .lead {
  margin-top: 0;
}

.editorial .hero h1 .second {
  display: block;
}

.editorial .hero h1 .second:before {
  content: none;
}

.motion-type {
  position: relative;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
}

.motion-type canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero .second .motion-label {
  display: block;
  background: var(--paper);
  color: var(--ink);
  position: relative;
}

.hero .second .motion-label:after {
  content: none;
}

.hero .motion-ready .motion-label {
  mix-blend-mode: screen;
  color: #000;
  background: var(--paper);
}

.motion-toggle {
  flex: none;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  cursor: pointer;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
}

.motion-toggle:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.motion-toggle:disabled {
  cursor: default;
  border-color: transparent;
}

[hidden] {
  display: none !important;
}

.stage-current {
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  padding: 48px 40px;
  min-height: 560px;
}

.web-preview {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 12px 28px var(--line);
}

.web-preview img {
  width: 100%;
  height: auto;
}

.mobile-previews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 18px;
}

.stage-current .phone {
  border-radius: 27px;
  padding: 5px;
  margin: 0;
}

.stage-current .phone img {
  border-radius: 22px;
}

.stage-current .phone.two {
  margin-top: 54px;
}

.additional-media {
  margin-top: 20px;
  font-size: 16px;
}

.additional-media summary {
  min-height: 44px;
  cursor: pointer;
}

.additional-media figure {
  max-width: 320px;
  margin: 20px 0 26px;
}

.additional-media img {
  border: 1px solid var(--line);
  border-radius: 24px;
}

@media(max-width:1000px) {
    .stage-current {
    grid-template-columns: 1fr;
    padding: 36px;
    min-height: 0;
  }
    .web-preview {
    width: 100%;
    max-width: 720px;
    margin: auto;
  }
    .mobile-previews {
    width: 100%;
    max-width: 400px;
    margin: auto;
  }
    .stage-current .phone.two {
    margin-top: 35px;
  }
}

@media(max-width:700px) {
    .editorial .hero-bottom {
    display: block;
    margin-top: 26px;
  }
    .motion-toggle {
    margin-top: 22px;
  }
    .stage-current {
    padding: 24px 20px;
    gap: 26px;
  }
    .stage-current .phone {
    border-radius: 22px;
    padding: 4px;
  }
    .stage-current .phone img {
    border-radius: 18px;
  }
    .editorial .hero {
    padding-bottom: 44px;
  }
}

.photography-grid .photo-column {
  display: grid;
  gap: 30px;
  min-width: 0;
}

.photography-grid figure {
  margin: 0;
}

.photography-grid figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.photography-grid .photo-column:nth-child(2) {
  margin-top: 76px;
}

.demo-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-choice {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 15px;
  transition: background-color 180ms, color 180ms, border-color 180ms;
}

.demo-choice:hover,
.demo-choice.is-active {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.demo-figure {
  margin-top: 18px;
}

.demo-screen {
  height: min(70vh, 620px);
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(16px, 4vw, 42px);
  border-radius: var(--media-radius);
  background: var(--surface);
}

.demo-screen img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.demo-screen img.screen-enter {
  animation: screen-enter 360ms cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes screen-enter {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.komi-in-situ {
  margin-top: 88px;
}

.komi-in-situ h3 {
  font-size: clamp(28px, 4vw, 46px);
}

.komi-in-situ > p {
  margin-top: 12px;
  color: var(--muted);
}

.komi-photo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 24px;
  margin-top: 30px;
}

.komi-photo-row img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.komi-photo-row figure {
  min-width: 0;
}

.komi-photo-row figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.lightbox {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  padding: 64px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
}

.lightbox[open] {
  display: grid;
  grid-template-columns: minmax(84px, 1fr) minmax(0, 4fr) minmax(84px, 1fr);
  align-items: center;
  gap: 16px;
}

.lightbox::backdrop {
  background: rgba(10, 19, 24, .88);
  backdrop-filter: blur(5px);
}

.lightbox figure {
  min-width: 0;
  text-align: center;
}

.lightbox figure img {
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
  border-radius: 12px;
}

.lightbox figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.lightbox-close,
.lightbox-step {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 14px;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.lightbox-close:hover,
.lightbox-step:hover {
  border-color: var(--cyan);
}

@media(max-width:800px) {
  .demo-screen {
    height: min(68vh, 560px);
    min-height: 320px;
    padding: 14px;
    border-radius: 20px;
  }

  .komi-in-situ {
    margin-top: 64px;
  }

  .komi-photo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .komi-photo-row figure:last-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 540px;
  }

  .lightbox[open] {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 62px 12px 12px;
  }

  .lightbox figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lightbox figure img {
    max-height: 68vh;
  }

  .lightbox-previous { grid-column: 1; }
  .lightbox-next { grid-column: 2; justify-self: end; }
}

.photo-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.photo-link img {
  width: 100%;
  height: auto;
}

.photo-link:hover {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.photo-document figure {
  max-width: 900px;
}

@media(max-width:700px) {
    .photography-grid {
    grid-template-columns: 1fr;
  }
    .photography-grid .photo-column {
    gap: 28px;
  }
    .photography-grid .photo-column:nth-child(2) {
    margin-top: 0;
  }
}
