:root {
  --ink: #171719;
  --secondary: #55555d;
  --surface: #f5f5f7;
  --line: #dedee4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: white; color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; }
.wrap { width: min(90%, 1160px); margin-inline: auto; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.mast, nav, footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mast { min-height: 76px; border-bottom: 1px solid var(--line); }
nav { gap: clamp(.8rem, 3vw, 2.2rem); }
nav a, .brand { text-decoration: none; font-weight: 650; }
nav a:not(.button):hover { text-decoration: underline; }
.brand { display: grid; font-size: 1.6rem; line-height: 1; letter-spacing: -.065em; font-weight: 900; }
.brand { grid-template-columns: auto auto; align-items: center; gap: .46rem; }
.brand-wordmark { display: grid; }
.brand-wordmark > span { margin-top: .25rem; font-size: .7rem; letter-spacing: .14em; }
.brand-mark {
  display: block;
  width: 1.85rem;
  height: 1.85rem;
  background: linear-gradient(145deg, #8346ca 14%, #49d4ce 53%, #e987a6 74%);
  clip-path: polygon(31% 5%, 58% 0, 33% 60%, 84% 54%, 75% 73%, 4% 84%, 31% 5%, 0 90%, 99% 77%, 91% 96%, 0 100%, 0 90%);
}
@media (forced-colors: active) {
  .brand-mark { background: currentColor; forced-color-adjust: none; }
}
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 46px;
  padding: .6rem 1.3rem; border: 0; border-radius: 30px; background: var(--ink);
  color: white; text-decoration: none; font: inherit; font-weight: 650; cursor: pointer;
}
.button:hover { background: #363638; }
.button-outline { background: white; color: var(--ink); border: 1px solid var(--ink); }
.button-outline:hover { background: var(--surface); }
.hero { text-align: center; padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 7vw, 5.5rem); }
.label { color: var(--secondary); font-weight: 650; font-size: .9rem; margin: 0 0 .9rem; }
.hero .label span::before { content: " · "; padding-inline: .2rem; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.052em; }
h1 { font-size: clamp(2.75rem, 7.3vw, 6.8rem); font-weight: 770; }
h1 em { font-style: normal; color: var(--secondary); }
@supports (background-clip: text) {
  .hero h1 em {
    background: linear-gradient(105deg, #7037a5 6%, #087d79 52%, #aa3f66 94%);
    background-clip: text;
    color: transparent;
  }
}
@media (forced-colors: active) {
  .hero h1 em { color: CanvasText; background: none; }
}
.intro p { color: var(--secondary); max-width: 36ch; margin: 1.5rem auto; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.work { padding-bottom: clamp(4rem, 8vw, 7rem); }
.work h2 { color: var(--ink); font-size: clamp(1.65rem, 3vw, 2.4rem); margin: 0 0 1.25rem; }
.gallery { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; }
figure { margin: 0; min-width: 0; border-radius: 22px; overflow: hidden; background: var(--surface); }
figure img { display: block; width: 100%; height: clamp(230px, 34vw, 435px); object-fit: cover; }
figcaption { display: grid; gap: .15rem; padding: 1.2rem 1.4rem; }
figcaption strong { font-size: 1.25rem; letter-spacing: -.025em; }
figcaption span, .note { color: var(--secondary); font-size: .9rem; }
.services { background: var(--surface); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3.5rem, 8vw, 7rem); }
.split h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.rows article { border-top: 1px solid #d6d6dc; padding-block: 1.05rem; }
.rows h3 { font-size: 1.35rem; margin-bottom: .25rem; letter-spacing: -.03em; }
.rows p { margin: 0; color: var(--secondary); }
.quote h2 { margin-bottom: 1rem; }
.quote p { max-width: 43ch; color: var(--secondary); }
.quote a { color: var(--ink); }
form, label { display: grid; gap: .4rem; }
form { gap: 1rem; }
label { font-weight: 650; }
input, select, textarea {
  width: 100%; border: 1px solid #acacb5; border-radius: 10px; background: white;
  padding: .75rem; color: var(--ink); font: inherit;
}
textarea { resize: vertical; }
form button { justify-self: start; }
.note { margin: 0; }
footer { background: #171719; color: white; padding-block: 1.5rem; }
footer .wrap { flex-wrap: wrap; }
footer a:focus-visible { outline-color: white; }
@media (max-width: 680px) {
  .gallery, .split { grid-template-columns: 1fr; }
  figure img { height: auto; aspect-ratio: 1.35; }
  nav a[href="#work"] { display: none; }
}
@media (max-width: 360px) {
  nav a[href="#services"] { display: none; }
  h1 { font-size: 2.4rem; }
  .hero .label span { display: block; }
  .hero .label span::before { content: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.contact-number { white-space: nowrap; }
.contact { background: var(--surface); }
.contact .split { align-items: center; }
.contact-block { display: grid; justify-items: start; gap: .35rem; }
.contact-block .contact-number { font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); }
.contact-block p { margin: 0; }
label small { color: var(--secondary); font-size: .875rem; font-weight: 400; }
.contact-block a { text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }

@media (min-width: 681px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery img { height: auto; aspect-ratio: 4 / 3; }
}

.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; }
.faq details p, .faq details ul { color: var(--secondary); margin: 0 0 1.1rem; }
.faq details li + li { margin-top: .6rem; }
@media (max-width: 520px) {
  .mast nav a[href="#services"] { display: none; }
}

@media (max-width: 440px) {
  .mast { flex-wrap: wrap; padding-block: 1rem; }
  .mast nav { width: 100%; gap: .65rem; }
}

.hero { padding-bottom: calc(clamp(3rem, 7vw, 5.5rem) + 1rem); }
footer .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
footer .brand { text-align: center; }
footer .contact-number { justify-self: end; }
@media (max-width: 560px) {
  footer .wrap { grid-template-columns: 1fr; justify-items: center; }
  footer .brand { grid-row: 1; }
  footer .contact-number { justify-self: center; }
}

.quote-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

footer .contact-number { text-decoration: none; }

.mobile-service { display: none; }
@media (max-width: 680px) {
  .hero { padding-block: 2.8rem 2.4rem; }
  .hero .label { margin-bottom: .7rem; }
  .intro p { margin-block: 1rem; max-width: 31ch; }
  .work { padding-bottom: 2.75rem; }
  .gallery {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 82%;
    gap: .8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .6rem;
  }
  .gallery figure { scroll-snap-align: start; }
  .gallery figure img { aspect-ratio: 4 / 3; }
  .gallery figcaption { padding: .85rem 1rem; }
  .split { gap: 1.4rem; padding-block: 2.75rem; }
  .rows article { padding: 0; }
  .rows article > h3, .rows article > p { display: none; }
  .mobile-service { display: block; }
  .mobile-service summary { cursor: pointer; font-weight: 700; padding: .85rem 0; }
  .mobile-service p { padding-bottom: .9rem; }
}
