@font-face {
  font-family: "SF Pro Rounded";
  src: local("SF Pro Rounded Bold"), local("SFProRounded-Bold");
  font-weight: 700;
  font-style: normal;
}
* { box-sizing: border-box; }
@media (pointer: coarse) {
  .page .portrait-card { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
  body { touch-action: manipulation; }
  body, body * {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }
}
.portrait-card.touch-hover-card {
  position: fixed !important;
  left: var(--touch-card-x) !important;
  top: var(--touch-card-y) !important;
  width: max-content !important;
  max-width: calc(100vw - 24px);
  translate: none !important;
  transform: translateZ(0) rotate(0deg);
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 1000;
  transition: none;
}
.touch-hover-card::after { display: none; }
.touch-hover-card::before {
  display: block !important;
  left: var(--touch-card-arrow-x) !important;
  top: var(--touch-card-arrow-y) !important;
  right: auto !important;
  transform: rotate(var(--touch-card-arrow-rotation)) !important;
}
.app-card.touch-hover-card .app-card-summary { grid-template-columns: max-content max-content max-content; }
.app-card.touch-hover-card .app-card-summary strong,
.app-card.touch-hover-card .app-card-summary small {
  font-size: var(--touch-summary-font-size, 12px);
  white-space: nowrap;
}
.app-card.touch-hover-card .app-card-role { white-space: nowrap; }
.portrait.is-card-open > .portrait-link > img { filter: none; }
@font-face {
  font-family: "SF Pro Rounded";
  src: local("SF Pro Rounded Regular"), local("SFProRounded-Regular");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "SF Pro Rounded";
  src: local("SF Pro Rounded Medium"), local("SFProRounded-Medium");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "SF Pro Rounded";
  src: local("SF Pro Rounded Semibold"), local("SFProRounded-Semibold");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Baskerville Neo";
  src: url("assets/fonts/baskerville-neo-display.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baskerville Neo";
  src: url("assets/fonts/baskerville-neo-display-semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #0a0a0a;
  --muted: #74766b;
  --accent: #40443d;
  --rule: #deded3;
  --section-gap: 42.9px;
  --content-gap: 24.2px;
  --image-section-gap: 32px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
html { scroll-behavior: smooth; scroll-padding-top: 35.2px; }
/* Floating cards must never make the document scroll sideways. */
html, body {
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  font-weight: 400;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "SF Pro Rounded", ui-rounded, system-ui, sans-serif;
  font-size: 15.4px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #e7d3aa; color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2.2px solid var(--accent); outline-offset: 6.6px; border-radius: 2.2px; }
.page { width: min(100%, 550px); margin-right: auto; padding: 13.2px; }
/* Keep iPhones on one screen without document scrolling or overscroll bounce. */
html.is-iphone,
html.is-iphone body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
/* Keep iPhone content within the visible viewport as browser controls resize it. */
html.is-iphone .page {
  max-height: 95vh;
  max-height: 95dvh;
  overflow: hidden;
  overflow: clip;
}
/* Tighten the composition on small iPhones, including when Safari's bars are open. */
@media (max-width: 375px) {
  html.is-iphone {
    --section-gap: clamp(12px, 3dvh, 42.9px);
    --content-gap: clamp(10px, 2.5dvh, 24.2px);
    --image-section-gap: clamp(12px, 3dvh, 32px);
  }
  html.is-iphone body {
    font-size: clamp(13px, 2.1dvh, 15.4px);
    line-height: 1.5;
  }
  html.is-iphone .page { padding-block: clamp(8px, 1.5dvh, 13.2px); }
  html.is-iphone .wordmark { font-size: clamp(23px, 3.6dvh, 26.4px); }
  html.is-iphone nav { font-size: inherit; }
  html.is-iphone #studio-title .studio-name { font-size: 1.14em; }
  html.is-iphone footer {
    margin-top: clamp(12px, 2.5dvh, 30.8px);
    padding-top: clamp(8px, 1.5dvh, 15.4px);
  }
}
@media (min-width: 375.01px) and (max-width: 527.99px) {
  html.is-iphone {
    --section-gap: clamp(20px, 4dvh, 34px);
    --content-gap: clamp(16px, 3dvh, 22px);
    --image-section-gap: clamp(20px, 3.5dvh, 28px);
  }
  html.is-iphone body { line-height: 1.6; }
  html.is-iphone footer { margin-top: 16px; padding-top: 8px; }
}
@media (max-width: 527.99px) { .page { width: calc(100% - 13.2px); } }
header { display: flex; align-items: center; justify-content: space-between; gap: 17.6px; margin-bottom: var(--section-gap); }
.wordmark, .studio-name { color: #000; font-family: "Baskerville Neo", Baskerville, Georgia, serif; font-weight: 400; word-spacing: -0.2em; white-space: nowrap; }
.wordmark { display: block; max-width: 55%; font-size: 26.4px; line-height: 1; letter-spacing: -0.045em; }
nav { display: flex; gap: 17.6px; color: var(--muted); font-size: 15.4px; }
nav a { display: inline-flex; align-items: center; min-height: 48.4px; text-decoration: underline; text-underline-offset: 2.2px; }
p { margin: 0 0 17.6px; }
h1, h2 { font: inherit; margin: 0 0 17.6px; }
.intro h1 { margin-bottom: var(--content-gap); }
.intro p:has(+ ul) { margin-bottom: 4.4px; }
.principles-emphasis { font-weight: 400; }
.intro ul { margin-top: 4.4px; margin-bottom: 0; padding-inline-start: 22px; }
.intro li { position: relative; list-style: none; }
.intro li::before {
  content: "•";
  position: absolute;
  inset-inline-start: -22px;
  top: 0;
  width: 22px;
  font-size: inherit;
  line-height: inherit;
  text-align: center;
  transform: scale(0.576);
  transform-origin: center 55%;
}
.intro-note { color: var(--muted); }
#studio-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 5.5px; }
#studio-title .studio-name { font-size: 17.6px; line-height: inherit; letter-spacing: -0.045em; }
#studio-title a { text-decoration: underline; text-underline-position: from-font; }
#portraits-title { margin-bottom: 13.2px; }
.portrait-cluster { display: flex; align-items: flex-start; margin: 0 0 var(--image-section-gap); }
.portrait-row { display: flex; padding: 0; margin: 0; list-style: none; }
.portrait { position: relative; flex: 0 0 44px; width: 44px; height: 44px; }
.portrait + .portrait { margin-left: -6.6px; }
.portrait > .portrait-link { cursor: default; display: block; width: 100%; height: 100%; overflow: hidden; border: 2.2px solid var(--paper); border-radius: 50%; background: #f2f2f2; }
.portrait > .portrait-link > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); transition: filter 180ms ease; }
.portrait > .portrait-link > img[src="assets/downloaded.jpg"] { filter: grayscale(1) brightness(0.65); }
.portrait-card {
  cursor: pointer;
  position: absolute;
  z-index: 3;
  top: calc(100% + 8px);
  left: 50%;
  translate: -50% 0;
  width: max-content;
  padding: 6px 8px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  corner-shape: squircle;
  background: #fff;
  box-shadow: 0 6px 24px rgb(0 0 0 / 6%);
  color: var(--ink);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms var(--ease-out), visibility 0s linear 160ms;
}
.portrait-card::before { content: ""; position: absolute; top: -5px; left: calc(50% - 4px); width: 8px; height: 8px; background: #fff; border-top: 1px solid #e5e5e5; border-left: 1px solid #e5e5e5; border-top-left-radius: 2.5px; transform: rotate(45deg); }
.portrait-card::after { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.portrait .portrait-card { top: calc(100% + 4px); }
.portrait:nth-child(1) .portrait-card { left: 0; translate: 0; }
.portrait:nth-child(2) .portrait-card { left: -37.4px; translate: 0; }
.portrait:nth-child(1) .portrait-card::before { left: 17px; }
.portrait:nth-child(2) .portrait-card::before { left: 54.4px; }
.portrait-card strong { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.portrait-card:has(small) { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: max-content; }
.portrait-card small { margin-left: auto; color: #707070; font-size: 10.5px; font-weight: 500; line-height: 1.4; text-align: right; white-space: nowrap; }
.profile-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 13px; height: 13px; border-radius: 50%; }
.profile-icons { display: inline-flex; align-items: center; flex-shrink: 0; }
.profile-icons .profile-icon { box-sizing: content-box; border: 1.5px solid #fff; }
.profile-icons .profile-icon + .profile-icon { margin-left: -4.5px; }
.profile-icon-instagram { background: linear-gradient(145deg, #833ab4, #fd1d1d 58%, #fcb045); }
.profile-icon-youtube { background: #ff0033; border-radius: 50%; }
.profile-icon-tiktok { background: #080808; border-radius: 50%; }
.profile-icon-x { background: #080808; }
.saad-profile { position: relative; display: inline-block; }
.saad-profile > a:not(.saad-card) { cursor: default; }
.email-hover { position: relative; display: inline-block; }
.email-hover, .email-hover:hover, .email-hover * { cursor: default; }
.email-label { text-decoration: underline; text-decoration-thickness: 0.75px; text-underline-offset: 2.2px; }
nav .email-label { display: inline-flex; align-items: center; min-height: 48.4px; }
nav .email-card, nav .email-card:hover, .contact-invitation .email-card, .contact-invitation .email-card:hover { top: 50%; left: calc(100% + 12px); translate: 0 -50%; min-height: 0; text-decoration: none; color: var(--ink); }
.email-card::before { top: calc(50% - 4px); left: -5px; transform: rotate(-45deg); }
.email-card::after { top: 0; left: -14px; right: auto; width: 14px; height: 100%; }
nav #header-email-card, nav #header-email-card:hover { top: calc(50% + 16px); left: 50%; right: auto; translate: -50% 0; }
#header-email-card::before { top: -5px; left: calc(50% - 4px); right: auto; transform: rotate(45deg); }
#header-email-card::after { top: -10px; left: 0; right: 0; width: auto; height: 10px; }
.mail-icon { display: block; flex: 0 0 13px; }
.email-hover:focus-within .email-card { visibility: visible; opacity: 1; pointer-events: auto; transition: none; }
@media (hover: hover) and (pointer: fine) {
  .email-hover:hover .email-card { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity 180ms var(--ease-out) 40ms, visibility 0s; }
}
#studio-title .saad-card, #studio-title .saad-card:hover { top: 50%; left: calc(100% + 12px); translate: 0 -50%; text-decoration: none; color: var(--ink); }
.saad-card::before { top: calc(50% - 4px); left: -5px; transform: rotate(-45deg); }
.saad-card::after { top: 0; left: -14px; right: auto; width: 14px; height: 100%; }
.saad-profile:focus-within .saad-card { visibility: visible; opacity: 1; pointer-events: auto; transition: none; }
@media (hover: hover) and (pointer: fine) {
  .saad-profile:hover .saad-card { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity 180ms var(--ease-out) 40ms, visibility 0s; }
}
.profile-icon img { width: 9px; height: 9px; filter: brightness(0) invert(1); }
.portrait:focus-within { z-index: 4; }
.portrait:focus-within .portrait-card { visibility: visible; opacity: 1; pointer-events: auto; transition: none; }
.portrait:focus-within > .portrait-link > img { filter: none; }
@media (hover: hover) and (pointer: fine) {
  .portrait:hover { z-index: 5; }
  .portrait:hover .portrait-card { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity 180ms var(--ease-out) 40ms, visibility 0s; }
  .portrait:hover > .portrait-link > img { filter: none; }
  .portrait-row:has(.portrait:hover) .portrait:not(:hover) .portrait-card { visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 160ms var(--ease-out), visibility 0s linear 160ms; }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-card,
  .email-hover:hover .email-card,
  .saad-profile:hover .saad-card,
  .portrait:hover .portrait-card,
  .portrait-row:has(.portrait:hover) .portrait:not(:hover) .portrait-card,
  .portrait > .portrait-link > img { transition: none; transform: none; }
}
section + section { margin-top: var(--content-gap); }
#work + section { margin-top: var(--image-section-gap); }
.section-description { color: var(--muted); }
.app-grid { --app-gap: 11px; display: grid; grid-template-columns: repeat(7, minmax(0, min(calc((100% - 11px) * 0.11475), calc((100% - 6 * var(--app-gap)) / 7)))); gap: var(--app-gap); list-style: none; margin: 33px 0 0; padding: 0; }
#work-title { margin-bottom: 13.2px; }
.work-title-colon { position: relative; top: -0.4px; }
.work-client-label { white-space: nowrap; }
.work-client-icon { display: inline-block; width: 13.2px; height: 13.2px; margin: 0 1.2px 0 2px; vertical-align: -0.02em; transform: translateY(1.2px) rotate(-5deg); stroke-width: 1.8; }
#work .app-grid { margin-top: 13.2px; }
.app-grid li { min-width: 0; }
.app { cursor: default; display: flex; align-items: center; flex-direction: column; margin: 0; gap: 13.2px; font-size: 12.1px; line-height: 1.5; }
.app img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; -webkit-mask: url("assets/app-squircle.svg") center / 100% 100% no-repeat; mask: url("assets/app-squircle.svg") center / 100% 100% no-repeat; }
/* Keep the reference's slow float rhythms, expressed as rotation. */
.app-grid .app img {
  transform-origin: 50% 50%;
  animation: app-wiggle 1.536s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: -0.6144s;
}
.app-grid li:nth-child(4n + 2) .app img { animation-duration: 1.792s; animation-delay: -1.2544s; animation-direction: reverse; }
.app-grid li:nth-child(4n + 3) .app img { animation-duration: 1.4336s; animation-delay: -0.3584s; }
.app-grid li:nth-child(4n + 4) .app img { animation-duration: 1.6384s; animation-delay: -1.2288s; animation-direction: reverse; }
@keyframes app-wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .app-grid .app img { animation: none; }
}
figure.app { color: var(--muted); }
.app-conscious { filter: drop-shadow(0 0.55px 5.5px rgb(0 0 0 / 7%)); }
.services { margin: 22px 0 0; font-size: 14.3px; }
.services div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 15.4px; padding: 13.2px 0; border-top: 1.1px solid var(--rule); }
.services dd { margin: 0; color: var(--muted); text-align: right; }
#contact { margin-top: var(--content-gap); }
#contact-title { margin-bottom: 0; }
#contact p { color: var(--muted); font-size: 14.3px; }
#contact .contact-invitation { margin: var(--content-gap) 0 0; color: var(--ink); font-size: inherit; }
.contact-invitation a { text-decoration: underline; text-underline-position: from-font; }
.contact-link { display: inline-flex; align-items: center; gap: 22px; min-height: 48.4px; font-size: 14.3px; color: var(--accent); text-decoration: underline; text-decoration-color: #b4b7ad; text-underline-offset: 5.5px; }
.contact-link span { display: inline-block; transition: transform 180ms ease-out; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 13.2px; margin-top: 30.8px; padding-top: 15.4px; border-top: 1.1px solid var(--rule); color: var(--muted); font-size: 11px; }
.skip-link { position: absolute; top: 8.8px; left: 13.2px; z-index: 1; background: var(--paper); padding: 8.8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
@media (min-width: 528px) {
  .page { padding: 22px; }
  .wordmark { font-size: 28.6px; }
  nav { gap: 24.2px; }
  .services div { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (min-width: 990px) { .page { padding: 35.2px; } }
@media (hover: hover) {
  .contact-link:hover span { transform: translate(2.2px, -2.2px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-link span { transition: none; }
}

nav a, nav a:hover, #studio-title a, .contact-invitation a, .contact-link { text-decoration-thickness: 0.75px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* App details float in the space reserved beneath the icon row. */
.app-grid > li > .app { transition: transform 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .app-grid > li:hover > .app { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .app-grid > li > .app { transition: none; }
  .app-grid > li:hover > .app { transform: none; }
}
.app-grid > li { position: relative; container-type: inline-size; }
.app-grid > li::before { content: ""; position: absolute; inset: 0 calc(var(--app-gap) / -2); cursor: default; }
.app-grid > li > .app { position: relative; }
.app-card, .app-card:has(small) { display: flex; align-items: center; gap: 0; width: max-content; max-width: calc(100vw - 40px); padding: 8px 10px; border: 1px solid #e5e5e5; border-radius: 10px; corner-shape: round; box-shadow: 0 6px 24px rgb(0 0 0 / 6%); white-space: normal; font-size: 12px; line-height: 1.4; cursor: default; text-align: left; }
.portrait .portrait-card, .app-card, .app-card:has(small) { border-color: #d6d6d6; box-shadow: 0 8px 28px rgb(0 0 0 / 14%), 0 2px 6px rgb(0 0 0 / 5%); }
.portrait .portrait-card::before, .app-card::before { border-color: #d6d6d6; }
a.app-card { cursor: pointer; }
.app-card.app-card-with-role { flex-direction: column; align-items: stretch; gap: 2px; }
.app-card-summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 2px; }
.app-card-summary:not(:has(.app-client, .app-inhouse)) { grid-template-columns: auto minmax(0, 1fr); }
.app-card-role { display: flex; align-items: center; gap: 3px; color: #68686d; font-size: 10px; font-weight: 400; line-height: 1.4; }
.app-card-dot { display: block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background-color: #66b880; }
.app-card strong { grid-column: 1; color: #292929; font-size: 12px; font-weight: 700; line-height: 1.4; }
.app-card small { grid-column: 2; grid-row: 1; padding: 0; color: #292929; display: block; margin: 0; font-size: 12px; font-weight: 400; line-height: 1.4; white-space: normal; text-align: left; }
.app-card-summary > .app-inhouse, .app-card-summary > .app-client { grid-column: 3; grid-row: 1; margin: 0 0 0 12px; padding: 0; border: 0; }
.app-grid > li:nth-child(-n + 2) .app-card { left: 0; translate: 0; }
.app-card::before { left: calc(50% - 4px); border-color: #d6d6d6; }
.app-grid > li:nth-child(-n + 2) .app-card::before { left: calc(50cqw - 5px); }
@media (max-width: 527.99px) {
  .app-grid > li { --app-index: 0; }
  .app-grid > li:nth-child(2) { --app-index: 1; }
  .app-grid > li:nth-child(3) { --app-index: 2; }
  .app-grid > li:nth-child(4) { --app-index: 3; }
  .app-grid > li:nth-child(5) { --app-index: 4; }
  .app-grid > li:nth-child(6) { --app-index: 5; }
  .app-grid > li:nth-child(7) { --app-index: 6; }
  .app-grid > li:nth-child(n) .app-card { width: calc(100vw - 40px); left: calc(-1 * var(--app-index) * (100cqw + var(--app-gap))); translate: 0; }
  .app-grid > li:nth-child(n) .app-card::before { left: calc(var(--app-index) * (100cqw + var(--app-gap)) + 50cqw - 5px); }
}
.app-grid > li:focus-within { z-index: 6; }
.app-grid > li:focus-within .app-card { visibility: visible; opacity: 1; pointer-events: auto; transition: none; }
.app-detail-trigger { padding: 0; border: 0; background: none; width: 100%; cursor: default; }
.app-detail-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 12px; }
@media (hover: hover) and (pointer: fine) {
  .app-grid > li:hover { z-index: 7; }
  .app-grid > li:hover .app-card { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity 180ms var(--ease-out) 40ms, visibility 0s; }
  .app-grid:has(li:hover) > li:not(:hover) .app-card { visibility: hidden; opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .app-grid > li .app-card { transition: none; }
}

.app-inhouse, .app-client { display: inline-flex; align-items: center; justify-content: center; height: 14px; margin-left: 9px; padding-left: 9px; border-left: 1px solid #FBE4AA; vertical-align: middle; }
.app-inhouse > span { color: #292929; font-family: "Baskerville Neo", Baskerville, Georgia, serif; font-size: 14px; font-weight: 400; line-height: 1; letter-spacing: -0.07em; position: relative; top: 1px; }

.app-client { color: #292929; }
.app-client svg { display: block; width: 13px; height: 13px; transform: translateY(-1px); }

/* Keep positioning in translate; animate only the card's local transform. */
.portrait-card { transform-origin: center; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* Match the animation's resting transform to avoid a rendering snap on finish. */
  .portrait-card { transform: translateZ(0) rotate(0deg); will-change: transform, opacity; }
}

@media (min-width: 528px) {
  .app-grid > li:last-child .app-card { left: auto; right: 0; translate: 0; }
  .app-grid > li:last-child .app-card::before { left: auto; right: calc(50cqw - 5px); }
}

@media (max-width: 375px) {
  .app-grid { --app-gap: 6px; }
  .portrait { flex-basis: 38px; width: 38px; height: 38px; }
  .portrait:nth-child(2) .portrait-card { left: -31.4px; }
  .portrait:nth-child(1) .portrait-card::before { left: 14px; }
  .portrait:nth-child(2) .portrait-card::before { left: 45.4px; }
}

/* Use the extra room on larger portrait iPhones without affecting compact phones. */
@media (min-width: 390px) and (max-width: 527.99px) {
  html.is-iphone .portrait { flex-basis: 38px; width: 38px; height: 38px; }
  html.is-iphone .portrait:nth-child(2) .portrait-card { left: -31.4px; }
  html.is-iphone .portrait:nth-child(1) .portrait-card::before { left: 14px; }
  html.is-iphone .portrait:nth-child(2) .portrait-card::before { left: 45.4px; }
}
@media (min-width: 390px) and (max-width: 527.99px) and (min-height: 650px) {
  html.is-iphone {
    --section-gap: clamp(28px, 4.5dvh, 38px);
    --content-gap: clamp(20px, 3.2dvh, 24px);
    --image-section-gap: clamp(24px, 4dvh, 32px);
  }
}
@media (min-width: 414px) and (max-width: 527.99px) and (min-height: 750px) {
  html.is-iphone {
    --section-gap: clamp(36px, 5dvh, 44px);
    --content-gap: clamp(24px, 3.5dvh, 28px);
    --image-section-gap: clamp(30px, 4.5dvh, 36px);
  }
}
