@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('assets/fonts/plus-jakarta-sans-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  --paper: #f8f7f7;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle, rgb(32 35 38 / 9%) .65px, transparent .9px),
    radial-gradient(ellipse 850px 650px at 100% 0, rgb(201 68 135 / 14%), transparent 75%),
    radial-gradient(ellipse 700px 650px at 0 1000px, rgb(198 169 193 / 8%), transparent 75%),
    radial-gradient(ellipse 900px 700px at 100% 2200px, rgb(181 9 103 / 7%), transparent 75%);
  background-size: 20px 20px, auto, auto, auto;
  background-position: 9px 9px, 0 0, 0 0, 0 0;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  --surface-shadow: 0 20px 50px -30px rgb(55 30 44 / 24%), 0 3px 8px rgb(55 30 44 / 3%);
}

.header {
  position: sticky;
  top: 16px;
  z-index: 10;
  height: 82px;
  padding-inline: 24px;
  margin-top: 20px;
  border: 1px solid rgb(255 255 255 / 90%);
  border-radius: 26px;
  background: linear-gradient(125deg, rgb(255 255 255 / 85%), rgb(255 250 253 / 63%));
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
  box-shadow: 0 12px 40px -22px rgb(62 28 47 / 24%), inset 0 1px 0 #fff;
}
.brand > span { font-size: 12px; line-height: 1.2; }
.header nav { font-weight: 600; }
.header nav > a:not(.contact-link) { transition: color .2s; }

.header nav .contact-link,
.email-link {
  background: linear-gradient(145deg, #c41677, #a2075b);
  color: #fff;
  border: 1px solid rgb(131 7 72 / 14%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 6px 15px -5px rgb(181 9 103 / 32%);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.header nav .contact-link:hover,
.email-link:hover {
  color: #fff;
  background: linear-gradient(145deg, #b6106c, #90054f);
  border-color: rgb(131 7 72 / 14%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 10px 22px -7px rgb(181 9 103 / 40%);
}
main { overflow-x: clip; }
.hero h1 { font-weight: 750; font-size: clamp(52px, 6.9vw, 102px); letter-spacing: -.055em; line-height: 1.09; }
.hero-aside p, .studio-copy p, .about p { color: #555259; }
.hero-aside p { font-size: 15px; }
.studio-copy h2, .section-heading h2, .about h2 { letter-spacing: -.04em; }
.studio-section-jack .studio-copy h2 { margin-bottom: 24px; }
.studio-section-jack .studio-copy p { line-height: 1.55; text-wrap: pretty; }

.project-image {
  padding: 0;
  border: 2px solid #827b80;
  background: linear-gradient(145deg, #e6e6da, #d5d7c8);
  box-shadow: none;
  transition: border-color .2s;
}
.project-image:hover { border-color: var(--magenta); }
.project-preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.site-preview { box-shadow: 0 18px 35px -12px rgb(48 40 31 / 22%), 0 3px 5px rgb(48 40 31 / 5%); }
.expand {
  background: rgb(255 255 255 / 78%);
  border: 1px solid rgb(255 255 255 / 90%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 3px 12px rgb(35 27 30 / 8%), inset 0 1px 0 #fff;
}
.project-caption { padding-top: 21px; }
.project-caption h3 { font-weight: 600; font-size: 14px; }
.all-examples-link { margin: 24px 0 0; text-align: right; font-size: 12px; font-weight: 650; }
.all-examples-link a { text-underline-offset: 4px; }
.footer nav { display: flex; align-items: center; gap: 18px; }

.package {
  border: 1px solid rgb(255 255 255 / 95%);
  background: linear-gradient(145deg, rgb(255 255 255 / 88%), rgb(255 255 255 / 45%));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--surface-shadow), inset 0 1px 0 #fff;
}
.package:nth-child(2) {
  background: linear-gradient(145deg, rgb(255 255 255 / 92%), rgb(245 219 232 / 70%));
  border-color: rgb(222 166 194 / 50%);
}
.package-price { font-weight: 750; letter-spacing: -.065em; }
.package h3 { font-weight: 650; }
.package-inclusions { margin-top: 28px; }
.package-details-link { margin: 12px 0 0; font-size: 14px; font-weight: 650; }
.package-offer { max-width: 760px; margin: -6px 0 30px; color: #535650; font-size: 14px; line-height: 1.65; }
.introductory-price-badge { display: inline-flex; width: fit-content; align-items: center; padding: 7px 11px; border: 1px solid rgb(181 9 103 / 28%); border-radius: 999px; background: rgb(181 9 103 / 8%); color: #8e0751; font-size: 11px; font-weight: 650; line-height: 1.2; white-space: nowrap; }
.pricing .pricing-note { font-size: 13px; line-height: 1.65; }

.pricing {
  padding: 38px;
  margin-bottom: 48px;
  border: 1px solid rgb(181 9 103 / 9%);
  border-radius: 32px;
  background: radial-gradient(ellipse at 100% 0, rgb(221 148 188 / 19%), transparent 65%), linear-gradient(125deg, #f7eaf1, #efdae7);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 85%);
}
.pricing .section-heading { border-top: 0; padding-top: 0; }
.pricing .package { background: linear-gradient(145deg, #fffc, #ffffffa6); }
.pricing .package:nth-child(2) { background: linear-gradient(145deg, #fff, #fceef6); border-color: rgb(181 9 103 / 18%); }
.pricing .package { display: flex; min-height: 100%; flex-direction: column; align-items: flex-start; }
.pricing-notes { display: grid; gap: 10px; margin-top: 12px; }
.pricing .pricing-note { max-width: none; }
@media (min-width: 1001px) {
  .pricing-notes { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; }
}
.package-name { display: block; margin-bottom: 24px; font-size: 15px; font-weight: 650; }
.pricing .package-price { display: block; margin-bottom: 15px; }
.package-summary { display: block; max-width: 300px; color: #555950; font-size: 13px; line-height: 1.65; }
.package-action { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; color: #8e0751; font-size: 12px; font-weight: 650; }
.package-action svg { width: 15px; height: 15px; }

.contact {
  margin-top: 12px;
  margin-bottom: 35px;
  padding: 42px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 28px;
  color: #fff;
  background: radial-gradient(ellipse at 100% 100%, rgb(181 9 103 / 34%), transparent 70%), linear-gradient(120deg, #30152b, #511b40);
  box-shadow: 0 18px 45px -25px rgb(63 12 44 / 45%), inset 0 1px 0 rgb(255 255 255 / 12%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.contact h2 { font-size: clamp(38px, 5vw, 70px); letter-spacing: -.065em; margin: 0; }
.contact .email-link { background: #fff; color: #471735; border-color: #fff; box-shadow: 0 5px 18px rgb(12 2 9 / 15%); }
.contact .email-link:hover { background: #f5e3ee; color: #471735; border-color: #f5e3ee; }
.contact a:focus-visible { outline-color: #fff; }
.project-dialog { border: 1px solid #fff; box-shadow: 0 30px 100px rgb(30 15 25 / 25%); }
.dialog-close { background: #fff9; border-color: #fff; }

@media (max-width: 1000px) {
  .header { padding-inline: 20px; }
  .contact { padding: 32px; }
  .pricing { padding: 30px; }
}
@media (max-width: 760px) {
  .header { top: 10px; height: 74px; margin-top: 12px; padding-inline: 16px; border-radius: 22px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(40px, 9.3vw, 68px); letter-spacing: -.05em; }
  .hero-aside p { font-size: 13px; }
  .package { border-radius: 20px; }
  .project-caption h3 { font-size: 12px; }
  .contact { flex-direction: column; align-items: flex-start; gap: 24px; padding: 26px; border-radius: 24px; margin-bottom: 25px; }
  .contact h2 { font-size: 44px; }
  .pricing { padding: 24px 20px; border-radius: 24px; margin-bottom: 30px; }
}

.process { padding-bottom: 56px; }
.process .section-heading { margin-bottom: 0; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: 24px;
}
.process-steps li { padding: 0 28px 0 0; }
.process-steps li + li { position: relative; padding-left: 28px; }
.process-steps li + li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 1px; background: var(--line); }
.process-steps h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.035em; }
.process-steps p { max-width: 34ch; margin: 0; color: #555259; font-size: 13px; line-height: 1.65; }
@media (max-width: 760px) {
  .process { padding-bottom: 35px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps { margin-top: 12px; }
  .process-steps li, .process-steps li + li { padding: 18px 0; }
  .process-steps li + li { border-top: 1px solid var(--line); }
  .process-steps li + li::before { content: none; }
  .process-steps p { max-width: 55ch; }
}
@media (max-width: 480px) {
  .header .brand img { width: 64px; }
  .header nav { gap: 12px; font-size: 10px; }
  .header nav .contact-link { padding: 12px; font-size: 10px; gap: 8px; }
}
@media (max-width: 380px) {
  .header { gap: 8px; padding-inline: 12px; }
  .header .brand img { width: 52px; }
  .header nav { gap: 10px; }
  .header nav .contact-link { padding: 10px; gap: 6px; }
}
@media (prefers-reduced-transparency: reduce) {
  .header, .package, .contact, .expand { background: #faf7f4; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .contact { background: #3c1832; }
}
@media (prefers-reduced-motion: reduce) {
  .header nav .contact-link:hover, .email-link:hover { transform: none; }
}

/* A shared control geometry keeps labels and icons on the same centre line. */
.project-caption h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.email-link,
.hero-actions .email-link,
.hero-actions .examples-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  gap: 12px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.email-link,
.header nav .contact-link {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%), 0 4px 12px -6px rgb(135 8 73 / 30%);
}
.email-link:hover,
.header nav .contact-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -7px rgb(135 8 73 / 35%);
}
.hero-actions { gap: 12px; }
.hero-actions .examples-link {
  background: rgb(255 255 255 / 50%);
  border: 1px solid rgb(56 44 51 / 15%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%);
  transition: background .2s, border-color .2s;
}
.hero-actions .examples-link:hover { background: rgb(255 255 255 / 85%); border-color: rgb(181 9 103 / 30%); }
.email-link > span,
.hero-actions .examples-link > span,
.header nav .contact-link > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: 1;
}
.email-link .icon,
.hero-actions .examples-link .icon { display: block; width: 18px; height: 18px; stroke-width: 2; }
.header nav .contact-link { min-height: 42px; padding: 0 16px; gap: 10px; border-radius: 21px; line-height: 1; }
.header nav .contact-link .icon { display: block; width: 16px; height: 16px; stroke-width: 2; }
.dialog-close { border-radius: 10px; }
.dialog-close > span { display: inline-flex; align-items: center; line-height: 1; }
.dialog-close .icon { display: block; }
@media (max-width: 480px) {
  .email-link, .hero-actions .email-link, .hero-actions .examples-link { min-height: 46px; padding-inline: 15px; font-size: 12px; gap: 10px; border-radius: 23px; }
  .header nav .contact-link { min-height: 38px; padding: 0 11px; gap: 7px; font-size: 10px; }
  .header nav .contact-link .icon { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .email-link:hover, .header nav .contact-link:hover { transform: none; }
}

@media (max-width: 760px) {
  .header nav > a:not(.contact-link) { display: none; }
  .header .brand { gap: 10px; }
  .header .brand > span { display: block; font-size: 11px; line-height: 1.2; }
}
@media (max-width: 380px) {
  .header .brand { gap: 8px; }
  .header .brand > span { font-size: 10px; }
}

/* Keep the homepage's example and pricing routes available on small screens. */
.header nav { font-size: 13px; }
.footer,
.dialog-caption { font-size: 12px; }
@media (max-width: 760px) {
  .header nav { gap: clamp(10px, 2.4vw, 18px); font-size: 12px; }
  .header nav > a:not(.contact-link) { display: inline-flex; }
  .header nav .contact-link { min-height: 44px; }
  .footer { font-size: 12px; }
  .dialog-close { font-size: 11px; }
}
@media (max-width: 480px) {
  .header nav { gap: 10px; font-size: 11px; }
  .header nav .contact-link { font-size: 11px; }
}
@media (max-width: 380px) {
  .header .brand > span { display: none; }
  .header nav { gap: 8px; font-size: 11px; }
  .header nav .contact-link { padding-inline: 9px; }
  .header nav .contact-link .icon { display: none; }
}

/* Homepage project previews show a page and its phone layout together. */
.device-preview{position:absolute;inset:0;isolation:isolate;overflow:hidden}
.device-desktop{position:absolute;top:13%;left:5%;width:84%;height:auto;aspect-ratio:17/10;overflow:hidden;border:8px solid #242326;border-bottom-width:12px;border-radius:11px;background:#242326;box-shadow:0 16px 28px -16px rgb(32 24 30 / 38%)}
.device-desktop img{display:block;width:100%;height:100%;background:#fff;object-fit:contain;object-position:top center}
.device-phone{position:absolute;right:5%;bottom:4%;width:26%;height:63%;overflow:hidden;padding:5px;border:2px solid #242326;border-radius:23px;background:#242326;box-shadow:0 14px 26px -12px rgb(32 24 30 / 45%)}
.device-phone img{display:block;width:100%;height:100%;border-radius:17px;background:#fff;object-fit:contain;object-position:top center}
.project-caption h3 a{text-underline-offset:4px}
@media(max-width:760px){.device-desktop{top:13%;left:4%;width:85%;height:auto;border-width:6px;border-bottom-width:9px;border-radius:8px}.device-phone{right:4%;bottom:4%;width:26%;height:64%;padding:4px;border-radius:19px}.device-phone img{border-radius:14px}}
