/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(16px);
  -webkit-backdrop-filter: saturate(1.1) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  transition: min-height var(--t-fast) var(--ease);
}
.site-header.is-scrolled .bar { min-height: 60px; }

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 44px;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo-crop {
  display: block;
  width: 142px;
  height: 26px;
  overflow: hidden;
  position: relative;
}
.logo-crop img {
  position: absolute;
  height: 68px;
  width: auto;
  max-width: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
}

.nav-desk {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-desk a,
.nav-desk .dd-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  background: transparent;
}
.nav-desk a:hover,
.nav-desk .dd-toggle:hover,
.nav-desk a[aria-current="page"] {
  color: var(--ink);
  background: rgba(31, 25, 20, 0.05);
}
.nav-desk a.btn-primary,
.nav-desk a.btn-primary:hover,
.nav-desk a.btn-primary[aria-current="page"] {
  color: var(--white);
  background: var(--blue);
}
.nav-desk a.btn-primary:hover { background: var(--blue-press); }
.nav-desk .login { color: var(--steel); background: transparent; }

.dd { position: relative; }
.dd-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 8px;
  opacity: 0.7;
}
.dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--raised);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
  display: none;
  z-index: 60;
}
.dd.is-open .dd-menu,
.dd:hover .dd-menu { display: flex; flex-direction: column; }
.dd-menu a {
  display: block;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.dd-menu a:hover { background: rgba(31, 25, 20, 0.05); color: var(--ink); }

.nav-cta { margin-left: 10px; }
.menu-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.menu-btn:hover { background: rgba(31, 25, 20, 0.05); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 8px var(--gutter) 24px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a,
.mobile-nav .mlabel {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.mobile-nav .mlabel {
  font-size: 13px;
  font-weight: 700;
  color: var(--clay);
  margin-top: 8px;
}
.mobile-nav .sub { padding-left: 14px; color: var(--ink-2); }
.mobile-nav .btn { margin-top: 12px; width: 100%; justify-content: center; }

@media (min-width: 1080px) {
  .menu-btn { display: none; }
  .nav-desk { display: flex; }
  .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-press); color: var(--white); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--raised); color: var(--ink); transform: translateY(-1px); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Small product frames */
.device {
  margin: 0;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  max-width: 420px;
}
.device:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.device-bar {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.device-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(31, 25, 20, 0.18);
  display: block;
}
.device img { width: 100%; height: auto; display: block; background: #fff; }
.device.phone {
  border-radius: 24px;
  max-width: 200px;
}
.device.phone .device-bar {
  height: 16px;
  justify-content: center;
  background: #2a221c;
  border: 0;
}
.device.phone .device-bar::after {
  content: "";
  width: 56px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.18);
}
.device.crop img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* Photos of real work */
.photo {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo figcaption {
  padding: 10px 2px 0;
  font-size: 14px;
  color: var(--steel);
  box-shadow: none;
}

/* Icons */
.ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--clay-soft);
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.ico svg { width: 22px; height: 22px; }

/* Hero */
.hero { padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 48px); }
.hero-grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 14px; display: block; }
.hero-copy .display { margin-bottom: 16px; }
.hero-copy .lede { margin-bottom: 24px; }
.hero-photo { max-width: 520px; }
.hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

/* Urgency + people */
.urge {
  background: var(--clay-soft);
  padding: clamp(40px, 6vw, 64px) 0;
}
.urge h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  max-width: 16ch;
  margin-bottom: 10px;
}
.urge .lead { font-size: 18px; color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
.points {
  display: grid;
  gap: 16px;
}
@media (min-width: 800px) { .points { grid-template-columns: 1fr 1fr 1fr; gap: 20px; } }
.point {
  background: var(--raised);
  border-radius: var(--r);
  padding: 20px;
  min-height: 100%;
}
.point h3 { font-size: 18px; margin: 12px 0 6px; }
.point p { font-size: 16px; color: var(--ink-2); }

/* Benefit rows: small product + one line */
.benefits { display: grid; gap: 28px; }
.benefit {
  display: grid;
  gap: 16px;
  align-items: center;
}
@media (min-width: 720px) {
  .benefit {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
  }
  .benefit:nth-child(even) { grid-template-columns: minmax(0, 1fr) 280px; }
  .benefit:nth-child(even) .benefit-visual { order: 2; }
}
.benefit-visual { justify-self: start; }
.benefit-copy h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 8px; }
.benefit-copy p { color: var(--ink-2); font-size: 17px; max-width: 32em; }
.benefit .device { max-width: 280px; }
.benefit .device.phone { max-width: 148px; }
.benefit .device.phone img {
  max-height: 200px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

/* Situation tiles */
.sits { display: grid; gap: 14px; }
@media (min-width: 720px) { .sits { grid-template-columns: 1fr 1fr; } }
.sit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 20px;
  min-height: 168px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.sit:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); color: inherit; }
.sit h3 { font-size: 22px; }
.sit p { color: var(--ink-2); font-size: 16px; }
.sit .go { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; }
.sit .go::after { content: " →"; }

/* Stage cards */
.stages {
  display: grid;
  gap: 14px;
}
@media (min-width: 800px) { .stages { grid-template-columns: 1fr 1fr; } }
.stage {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.stage .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 8px;
  display: block;
}
.stage h3 { font-size: 20px; margin-bottom: 8px; }
.stage p { color: var(--ink-2); font-size: 16px; }
.more-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.more-link:hover { color: var(--clay); }
.more-link::after { content: "→"; margin-left: 0.35em; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform var(--t-fast) var(--ease);
  margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq .ans {
  padding: 0 0 20px;
  color: var(--ink-2);
  max-width: 42em;
  font-size: 17px;
}

/* Close */
.close { padding: var(--sec) 0; }
.close-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 800px) { .close-grid { grid-template-columns: 1fr 1fr; } }
.close h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; max-width: 16ch; }
.close .lede { margin-bottom: 24px; }

/* Page hero */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.page-hero .eyebrow { margin-bottom: 12px; display: block; }
.page-hero h1 {
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  max-width: 16ch;
  margin-bottom: 14px;
}
.crumbs { font-size: 14px; color: var(--steel); margin-bottom: 12px; }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.prose { max-width: 36em; }
.prose p + p { margin-top: 14px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 1.6em 0 0.5em; }
.prose h3 { font-size: 20px; margin: 1.3em 0 0.4em; }

/* Split: text + photo or product */
.split {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; gap: 40px; } }
.split .photo img { aspect-ratio: 4 / 3; width: 100%; }

/* Bento / cards — compact visuals */
.bento { display: grid; gap: 16px; }
@media (min-width: 800px) { .bento { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); color: inherit; }
.card .visual { background: var(--paper-2); overflow: hidden; }
.card .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  aspect-ratio: 16 / 10;
  max-height: 180px;
}
.card .visual.phone-fit {
  display: flex;
  justify-content: center;
  padding: 16px 16px 0;
  max-height: none;
}
.card .visual.phone-fit img { width: 140px; max-height: none; aspect-ratio: auto; height: auto; border-radius: 16px 16px 0 0; }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 19px; }
.card p { color: var(--ink-2); font-size: 16px; }

/* Compare as cards, not a dense table */
.cmp-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .cmp-grid { grid-template-columns: 1fr 1fr 1fr; } }
.cmp-card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.cmp-card.us { border-color: color-mix(in srgb, var(--clay) 40%, var(--line)); background: #fff8f3; }
.cmp-card h3 { font-size: 18px; margin-bottom: 12px; }
.cmp-card dl { margin: 0; }
.cmp-card dt { font-size: 13px; font-weight: 700; color: var(--steel); margin-top: 10px; }
.cmp-card dd { margin: 2px 0 0; font-size: 16px; color: var(--ink-2); }

/* Insights */
.notes { display: grid; gap: 14px; }
@media (min-width: 800px) { .notes { grid-template-columns: 1fr 1fr; } .notes .featured { grid-column: 1 / -1; } }
.note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  min-height: 170px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
a.note:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); color: inherit; }
.note.featured { min-height: 200px; padding: 28px; background: var(--clay-soft); border-color: transparent; }
.note h3, .note h2 { font-size: clamp(20px, 2vw, 28px); max-width: 22ch; }
.note p { color: var(--ink-2); font-size: 16px; }
.note .k { font-size: 13px; font-weight: 700; color: var(--clay); }
.note .meta { font-size: 14px; color: var(--steel); }
.note.is-static { cursor: default; }

.callout {
  margin: 20px 0 28px;
  padding: 20px 22px;
  background: var(--clay-soft);
  border-radius: var(--r);
}
.callout strong { display: block; margin-bottom: 4px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--steel); margin: 8px 0 0; }
.article { padding-bottom: var(--sec); }
.article .prose { font-size: 18px; }

/* Timeline */
.times { display: grid; gap: 0; border-top: 1px solid var(--line); }
.time {
  display: grid;
  gap: 6px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) { .time { grid-template-columns: 220px 1fr; align-items: baseline; } }
.time h3 { font-size: 18px; }
.time p { color: var(--ink-2); font-size: 17px; }

/* Portrait placeholders */
.portraits { display: grid; gap: 16px; }
@media (min-width: 600px) { .portraits { grid-template-columns: 1fr 1fr; max-width: 520px; } }
.portrait-slot {
  margin: 0;
}
.portrait-empty {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, var(--paper-2), #e6d9c8);
  border: 1px dashed color-mix(in srgb, var(--ink) 20%, transparent);
}
.portrait-slot figcaption { margin-top: 8px; font-size: 14px; color: var(--steel); }

/* Footer — warm espresso, not a terminal */
.site-footer {
  background: var(--footer);
  color: var(--footer-ink);
  padding: 56px 0 28px;
}
.foot-grid { display: grid; gap: 28px 24px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.15fr 1fr 1fr 1fr 1fr; } }
.foot-brand .logo-crop { width: 150px; height: 28px; }
.foot-brand p { margin-top: 14px; color: var(--footer-muted); font-size: 15px; max-width: 22em; }
.site-footer h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--footer-muted);
  margin-bottom: 10px;
}
.site-footer ul { list-style: none; }
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--footer-ink);
  text-decoration: none;
  font-size: 14px;
}
.site-footer a:hover { color: #fff; }
.foot-legal {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--footer-line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  color: var(--footer-muted);
  font-size: 13px;
}
.foot-legal a { color: var(--footer-muted); min-height: 44px; }
.foot-legal a:hover { color: var(--footer-ink); }

body.nav-lock { overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Dark bands (v4 / round 1 navy, with warm off-white type) */
.band-dark {
  background: var(--night);
  color: var(--night-ink);
}
.band-dark h1,
.band-dark h2,
.band-dark h3,
.band-dark h4,
.band-dark .display {
  color: var(--night-ink);
}
.band-dark .lede,
.band-dark .lead,
.band-dark p,
.band-dark li,
.band-dark dd {
  color: var(--night-muted);
}
.band-dark .eyebrow,
.band-dark .k,
.band-dark .stage .num {
  color: var(--clay-on-dark);
}
.band-dark .muted,
.band-dark figcaption,
.band-dark .crumbs,
.band-dark .crumbs a,
.band-dark .meta {
  color: var(--night-muted);
}
.band-dark a:hover { color: var(--clay-on-dark); }
.band-dark .btn-ghost {
  color: var(--night-ink);
  border-color: var(--night-line);
}
.band-dark .btn-ghost:hover {
  background: rgba(246, 243, 236, 0.06);
  color: var(--night-ink);
}
.band-dark .sit,
.band-dark .card,
.band-dark .stage,
.band-dark .point,
.band-dark .cmp-card,
.band-dark .note {
  background: var(--night-2);
  border-color: var(--night-line);
  color: var(--night-ink);
}
.band-dark .sit h3,
.band-dark .card h3,
.band-dark .stage h3,
.band-dark .point h3,
.band-dark .cmp-card h3,
.band-dark .note h2,
.band-dark .note h3,
.band-dark .sit .go,
.band-dark .more-link {
  color: var(--night-ink);
}
.band-dark .sit p,
.band-dark .card p,
.band-dark .stage p,
.band-dark .point p,
.band-dark .note p {
  color: var(--night-muted);
}
.band-dark .sit:hover,
.band-dark a.card:hover,
.band-dark a.note:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
.band-dark .ico {
  background: rgba(224, 176, 138, 0.16);
  color: var(--clay-on-dark);
}
.band-dark .faq { border-top-color: var(--night-line); }
.band-dark .faq details { border-bottom-color: var(--night-line); }
.band-dark .faq summary { color: var(--night-ink); }
.band-dark .faq summary::after { border-color: var(--night-ink); }
.band-dark .faq .ans { color: var(--night-muted); }
.band-dark .times { border-top-color: var(--night-line); }
.band-dark .time { border-bottom-color: var(--night-line); }
.band-dark .cmp-card.us {
  background: #161c2c;
  border-color: color-mix(in srgb, var(--clay-on-dark) 35%, var(--night-line));
}
.band-dark .note.featured {
  background: #161c2c;
  border-color: var(--night-line);
}
.band-dark .device {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* Photo slots (owners at work). Placeholders until Envato photos land. */
.photo-slot {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
}
.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.photo-slot figcaption {
  margin: 10px 2px 0;
  padding: 0;
  font-size: 14px;
  color: var(--steel);
  background: none;
  border-radius: 0;
}
.band-dark .photo-slot figcaption { color: var(--night-muted); }
.photo-slot[data-size="4:3"] { aspect-ratio: 4 / 3; }
.photo-slot[data-size="3:2"] { aspect-ratio: 3 / 2; }
.photo-slot[data-size="4:5"] { aspect-ratio: 4 / 5; }
.photo-slot[data-size="1:1"] { aspect-ratio: 1 / 1; }
.photo-slot.is-ph {
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, var(--paper-2), #e4d8c8);
  border: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent);
  min-height: 160px;
}
.band-dark .photo-slot.is-ph {
  background: linear-gradient(180deg, #141a28, #0c1018);
  border-color: var(--night-line);
}
.photo-slot .ph-label {
  display: block;
  text-align: center;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--steel);
  max-width: 22em;
}
.band-dark .photo-slot .ph-label { color: var(--night-muted); }
.photo-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .photo-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .photo-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.photo-slot.captioned { overflow: visible; background: transparent; border: 0; }
.photo-slot.captioned img,
.photo-slot.captioned.is-ph {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.photo-slot.captioned.is-ph { border: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent); }
.photo-frame {
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--paper-2);
}
.photo-frame.ratio-4-3 { aspect-ratio: 4 / 3; }
.photo-frame.ratio-3-2 { aspect-ratio: 3 / 2; }
.photo-frame.ratio-4-5 { aspect-ratio: 4 / 5; }
.photo-frame.ratio-1-1 { aspect-ratio: 1 / 1; }
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.photo-slot.captioned,
.photo-slot.captioned[data-size] {
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  border: 0;
}
.photo-slot.captioned.is-ph { border: 0; background: transparent; display: block; }
.photo-frame.is-ph {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--paper-2), #e4d8c8);
  border: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent);
  box-sizing: border-box;
}
.band-dark .photo-frame.is-ph {
  background: linear-gradient(180deg, #141a28, #0c1018);
  border-color: var(--night-line);
}
.photo-frame .ph-label {
  display: block;
  text-align: center;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--steel);
  max-width: 22em;
}
.band-dark .photo-frame .ph-label { color: var(--night-muted); }

/* Dark-band CTA and close seam */
.band-dark a.btn-primary,
.band-dark a.btn-primary:hover,
.band-dark a.btn-primary:focus {
  color: var(--white);
}
.close.band-dark {
  background: var(--night-2);
}
.hero-photo.photo-slot,
.hero-photo.photo-slot.captioned {
  max-width: 520px;
  width: 100%;
  justify-self: end;
}
.photo-mid {
  max-width: 920px;
  margin-inline: auto;
}
.photo-grid {
  margin-top: 36px;
}
.split + .sits,
.split + .bento {
  margin-top: 36px;
}
