/* ------------------------------------------------------------------ */
/* TRY IT — interactive Light Lab preview inside an iPhone frame.      */
/* Screen styles are copied from the founder's app mockups             */
/* (Design/Previews/light-lab-final_main, -photographers, -city-switch)*/
/* so the preview matches the app's design system exactly.             */
/* ------------------------------------------------------------------ */

/* ------------------------------------------------ dedicated page */

.demo-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.demo-page-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.demo-page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 8vw, 5rem);
}

.demo-page-intro {
  max-width: 36rem;
  text-align: center;
}

.demo-page-intro h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  font-weight: 700;
}

.demo-page-intro p {
  color: var(--grey);
  margin: 0 0 0.85rem;
}

.demo-page-intro .note {
  font-size: 0.85rem;
  border-left: 3px solid var(--signal);
  padding-left: 0.9rem;
  text-align: left;
  display: inline-block;
}

.demo-page-footer {
  margin-top: auto;
}

.try-open {
  margin: 1.75rem 0 0;
}

/* ------------------------------------------------- website section */

.try-section {
  padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 5vw, 4rem);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.try-copy h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  font-weight: 700;
}

.try-copy p {
  max-width: 30rem;
  color: var(--grey);
  margin: 0 0 1rem;
}

.try-copy .note {
  font-size: 0.85rem;
  border-left: 3px solid var(--signal);
  padding-left: 0.9rem;
}

.try-hints {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.try-hints li {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.try-hints li::before {
  content: "→ ";
  color: var(--grey);
}

.device-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.iphone {
  width: 372px;
  height: 780px;
  border-radius: 54px;
  background: #0c0c0e;
  padding: 10px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.18) inset,
    0 -2px 0 rgba(0, 0, 0, 0.6) inset,
    0 30px 60px -18px rgba(21, 21, 23, 0.45);
  position: relative;
}

.iphone::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 190px;
  width: 3px;
  height: 72px;
  border-radius: 2px;
  background: #1c1c1f;
}

.iphone::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 160px;
  width: 3px;
  height: 110px;
  border-radius: 2px;
  background: #1c1c1f;
}

.dynamic-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  border-radius: 14px;
  background: #0c0c0e;
  z-index: 40;
}

.demo-caption {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  text-align: center;
  max-width: 21rem;
  line-height: 1.7;
}

@media (max-width: 880px) {
  .try-section {
    grid-template-columns: 1fr;
  }

  .device-stage {
    order: 2;
    justify-self: center;
  }
}

@media (max-width: 420px) {
  .iphone {
    width: 330px;
    height: 700px;
  }
}

/* ------------------------------------------------------------------ */
/* Everything below mirrors the mockup CSS 1:1, scoped to the screen.  */
/* ------------------------------------------------------------------ */

.iphone-screen {
  --canvas: #F1EDE4;
  --ink: #151517;
  --grey: #626266;
  --line: #D8D3C6;
  --accent: #F6BCD3;
  --meter-bg: #101012;
  --meter-surface: #1B1B1E;
  --meter-line: #333338;
  --meter-text: #EFEDE6;
  --sans: "Geist", system-ui, sans-serif;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: var(--canvas);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  text-align: left;
}

.iphone-screen * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.iphone-screen button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.iphone-screen.dark {
  background: var(--meter-bg);
  color: var(--meter-text);
}

/* app chrome — mockup .app-hdr / .rule / .section-line / .scroll */
.iphone-screen .app-hdr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 56px 20px 12px;
}

.iphone-screen .app-mark {
  font-weight: 800;
  letter-spacing: 0.28em;
  font-size: 13px;
  line-height: 1.35;
}

.iphone-screen .app-mark span {
  display: block;
}

.iphone-screen .app-eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--grey);
  text-transform: uppercase;
}

.iphone-screen.dark .app-eyebrow {
  color: #7B7B80;
}

.iphone-screen button.app-eyebrow {
  cursor: pointer;
  padding: 12px 0 12px 16px;
  margin: -12px 0 -12px -16px;
}

.iphone-screen .rule {
  height: 2px;
  background: var(--ink);
  margin: 0 20px;
  flex-shrink: 0;
}

.iphone-screen .section-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--grey);
  padding: 10px 20px 0;
  text-transform: uppercase;
  flex-shrink: 0;
}

.iphone-screen .scroll {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px 90px;
  scrollbar-width: none;
}

.iphone-screen .scroll::-webkit-scrollbar {
  display: none;
}

/* rows — mockup .row / .chip / .prog */
.iphone-screen .row {
  border: 2px solid var(--ink);
  padding: 16px 16px 14px;
  margin-bottom: 14px;
  position: relative;
  width: 100%;
  display: block;
}

.iphone-screen .row .num {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--grey);
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.iphone-screen .row h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.iphone-screen .row p {
  font-size: 13px;
  color: var(--grey);
  margin-top: 5px;
  line-height: 1.45;
}

.iphone-screen .row .arrow {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 16px;
}

.iphone-screen .row.assignment {
  background: var(--accent);
  cursor: pointer;
  transition: background 0.35s, color 0.35s;
}

.iphone-screen .row.assignment p {
  color: var(--ink);
  opacity: 0.72;
}

.iphone-screen .row.assignment.done {
  background: #1A1A1A;
  border-color: #1A1A1A;
  color: #EFEDE6;
}

.iphone-screen .row.assignment.done p {
  color: #EFEDE6;
  opacity: 0.6;
}

.iphone-screen .row.assignment.done .chip.solid {
  background: #EFEDE6;
  color: #1A1A1A;
}

.iphone-screen .row.assignment.done .prog {
  color: var(--accent);
}

.iphone-screen .chip {
  display: inline-block;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.18em;
  border: 1.5px solid var(--ink);
  padding: 3px 8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.iphone-screen .chip.solid {
  background: var(--ink);
  color: var(--canvas);
}

.iphone-screen .prog {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.14em;
  margin-top: 10px;
}

/* camera bag — mockup .bag-toggle / .bag */
.iphone-screen .bag-toggle {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--canvas);
  padding: 13px 14px;
  margin-bottom: 14px;
  text-align: left;
}

.iphone-screen .bag-toggle .bag-purpose {
  flex: 0 0 100%;
  font-family: var(--sans);
  font-size: 11.5px;
  font-style: italic;
  opacity: 0.82;
  margin-top: 4px;
}

.iphone-screen .bag-toggle b {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 500;
}

.iphone-screen .bag-toggle .caret {
  font-family: var(--sans);
  font-size: 11px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.iphone-screen .bag-toggle.open .caret {
  transform: rotate(180deg);
}

.iphone-screen .bag {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.iphone-screen .bag.open {
  max-height: 520px;
}

.iphone-screen .bag .row {
  margin-bottom: 10px;
}

.iphone-screen .bag .row h3 {
  font-size: 16px;
}

.iphone-screen .bag .row p {
  font-size: 12px;
  margin-top: 3px;
}

/* field notes — mockup .note */
.iphone-screen .fnote {
  border: 1.5px solid var(--ink);
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.45;
}

.iphone-screen .fnote .nd {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--grey);
  display: block;
  margin-top: 7px;
}

.iphone-screen .fnote.add {
  border-style: dashed;
  color: var(--grey);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-align: center;
  padding: 14px;
}

/* tab bar — mockup .tabs */
.iphone-screen .tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  border-top: 2px solid var(--ink);
  background: var(--canvas);
  z-index: 30;
}

.iphone-screen.dark .tabs {
  background: var(--meter-bg);
  border-top-color: var(--meter-line);
}

.iphone-screen .tabs button {
  flex: 1;
  text-align: center;
  padding: 16px 0 26px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--grey);
  text-transform: uppercase;
}

.iphone-screen .tabs button.on {
  color: var(--ink);
  font-weight: 700;
}

.iphone-screen.dark .tabs button.on {
  color: var(--meter-text);
}

/* meter — mockup .viewfinder / .light-state / .try / .meter-actions / .mode-row */
.iphone-screen .viewfinder {
  margin: 14px 20px 0;
  border: 1.5px solid var(--meter-line);
  border-radius: 14px;
  height: 250px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background:
    radial-gradient(ellipse 90px 60px at 68% 36%, rgba(246, 188, 211, 0.10), transparent 70%),
    linear-gradient(180deg, #232326 0%, #1A1A1D 55%, #141416 100%);
}

.iphone-screen .vf-sky {
  position: absolute;
  inset: 0;
}

.iphone-screen .viewfinder .horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 62%;
  height: 1px;
  background: #3A3A40;
}

.iphone-screen .meter-target {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0.95;
}

.iphone-screen .meter-target::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

.iphone-screen .vf-label {
  position: absolute;
  left: 12px;
  top: 10px;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #8B8B92;
}

.iphone-screen .vf-ev {
  position: absolute;
  right: 12px;
  top: 10px;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #8B8B92;
}

.iphone-screen .light-state {
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #9A9AA0;
  margin-top: 16px;
  text-transform: uppercase;
}

.iphone-screen .light-slider {
  margin: 12px 32px 0;
}

.iphone-screen .light-slider input {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 2px;
  background: var(--meter-line);
  outline: none;
}

.iphone-screen .light-slider input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--meter-text);
  border: 2px solid var(--meter-bg);
  cursor: pointer;
}

.iphone-screen .light-slider input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--meter-text);
  border: 2px solid var(--meter-bg);
  cursor: pointer;
}

.iphone-screen .light-slider .ends {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #7B7B80;
  margin-top: 7px;
  text-transform: uppercase;
}

.iphone-screen .try {
  text-align: center;
  margin-top: 12px;
}

.iphone-screen .try .lbl {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: #7B7B80;
}

.iphone-screen .try .vals {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.iphone-screen .try .vals b {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  border: 1.5px solid var(--meter-line);
  padding: 8px 12px;
  border-radius: 8px;
}

.iphone-screen .try .sense {
  font-size: 12.5px;
  color: #A9A9AE;
  margin-top: 11px;
  padding: 0 24px;
  line-height: 1.45;
}

.iphone-screen .meter-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.iphone-screen .meter-actions .btn {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--meter-text);
  border: 1.5px solid var(--meter-line);
  padding: 9px 13px;
  border-radius: 8px;
}

.iphone-screen .meter-actions .btn.hold {
  background: var(--meter-text);
  color: var(--meter-bg);
  border-color: var(--meter-text);
}

.iphone-screen .whisper {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 128px;
  text-align: center;
  font-size: 11.5px;
  color: #8B8B92;
  font-style: italic;
  line-height: 1.4;
}

.iphone-screen .mode-row {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 74px;
  display: flex;
  border: 1.5px solid var(--meter-line);
  border-radius: 10px;
  overflow: hidden;
}

.iphone-screen .mode-row div {
  flex: 1;
  text-align: center;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.16em;
  padding: 11px 0;
  color: #8B8B92;
}

.iphone-screen .mode-row div.on {
  background: var(--meter-text);
  color: var(--meter-bg);
  font-weight: 700;
}

/* field guide — mockup .fg-title / .hood */
.iphone-screen .fg-title {
  margin: 16px 0 6px;
}

.iphone-screen .fg-title .vol {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--grey);
  text-transform: uppercase;
}

.iphone-screen .fg-title h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.iphone-screen .fg-title p {
  font-size: 12.5px;
  color: var(--grey);
  margin-top: 4px;
  font-style: italic;
}

.iphone-screen .hood {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid var(--ink);
  padding: 14px;
  margin-bottom: 12px;
  width: 100%;
}

.iphone-screen .hood .l {
  display: flex;
  gap: 10px;
  align-items: center;
}

.iphone-screen .hood .l b {
  font-size: 15px;
  font-weight: 800;
}

.iphone-screen .hood .ct {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--grey);
  text-transform: uppercase;
}

.iphone-screen .hood.inert {
  opacity: 0.55;
  cursor: default;
}

/* city switcher — mockup .loc-head / .cities / .ci */
.iphone-screen .loc-head {
  padding: 4px 20px 0;
}

.iphone-screen .loc-eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--grey);
}

.iphone-screen .city-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
}

.iphone-screen .city-btn h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.iphone-screen .city-btn .car {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--grey);
}

.iphone-screen .city-btn.open .car {
  transform: rotate(180deg);
}

.iphone-screen .ci-list {
  margin: 14px 20px 0;
}

.iphone-screen .ci {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1.5px solid var(--line);
  cursor: pointer;
  width: 100%;
}

.iphone-screen .ci b {
  font-size: 16px;
  font-weight: 800;
}

.iphone-screen .ci .st {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
}

.iphone-screen .ci .st .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2E7D5B;
}

.iphone-screen .ci.prep {
  opacity: 0.55;
  cursor: default;
}

.iphone-screen .ci .lock {
  font-size: 11px;
}

.iphone-screen .ci.active-now::after {
  content: "CURRENT";
  font-family: var(--sans);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: var(--ink);
  padding: 3px 7px;
}

.iphone-screen .vote {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--grey);
  text-align: center;
  padding: 16px 0 4px;
}

/* locked volume — mockup .lok-* */
.iphone-screen .lok-hero {
  height: 190px;
  background: linear-gradient(160deg, #4A4E58, #6C7079);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
  color: #EFEDE6;
  margin: 14px 20px 0;
  flex-shrink: 0;
}

.iphone-screen .lok-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 18, 0.35);
}

.iphone-screen .lok-hero .lh {
  position: relative;
  z-index: 1;
}

.iphone-screen .lok-hero .lv {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  opacity: 0.8;
  text-transform: uppercase;
}

.iphone-screen .lok-hero h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.iphone-screen .lok-lock {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.16em;
  background: rgba(16, 16, 18, 0.7);
  color: #EFEDE6;
  padding: 6px 10px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.iphone-screen .lok-body {
  padding: 20px;
}

.iphone-screen .lok-body .p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #3D3D40;
}

.iphone-screen .lok-body .lp {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--grey);
  margin-top: 16px;
  text-transform: uppercase;
}

/* assignment page — mockup .asn-hd / .asn-sec / .cap / .learn-tags / .sit */
.iphone-screen .asn-hd {
  background: var(--accent);
  border: 2px solid var(--ink);
  padding: 16px;
  margin-top: 14px;
}

.iphone-screen .asn-hd .fa {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.iphone-screen .asn-hd h2 {
  font-size: 24px;
  font-weight: 800;
  margin-top: 8px;
  line-height: 1.05;
}

.iphone-screen .asn-hd .pl {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-top: 8px;
  text-transform: uppercase;
}

.iphone-screen .asn-sec {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--grey);
  margin: 18px 0 8px;
  text-transform: uppercase;
}

.iphone-screen .cap {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1.5px solid var(--ink);
  padding: 11px 12px;
  margin-bottom: 8px;
  font-size: 13.5px;
  width: 100%;
  line-height: 1.4;
}

.iphone-screen .cap .bx {
  width: 15px;
  height: 15px;
  border: 2px solid var(--ink);
  flex: none;
  margin-top: 1px;
}

.iphone-screen .cap.done .bx {
  background: var(--ink);
}

.iphone-screen .cap.done span {
  text-decoration: line-through;
  color: var(--grey);
}

.iphone-screen .learn-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.iphone-screen .learn-tags i {
  font-style: normal;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.12em;
  border: 1.5px solid var(--ink);
  padding: 4px 8px;
  text-transform: uppercase;
}

.iphone-screen .add-bp {
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  padding: 15px 0;
  margin-top: 16px;
  border: 2px solid var(--ink);
  width: 100%;
}

.iphone-screen .sit {
  border: 1.5px dashed var(--ink);
  padding: 13px 14px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--grey);
  line-height: 1.5;
  font-style: italic;
}

/* photographer wall — mockup .gal-intro / .pcard / .lesson-face */
.iphone-screen .gal-intro {
  padding: 14px 0 4px;
}

.iphone-screen .gal-intro .vol {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--grey);
  text-transform: uppercase;
}

.iphone-screen .gal-intro h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.iphone-screen .gal-intro p {
  font-size: 12.5px;
  color: var(--grey);
  margin-top: 4px;
  font-style: italic;
}

.iphone-screen .wall {
  padding: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.iphone-screen .pcard {
  border: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.iphone-screen .pcard:active {
  transform: scale(0.985);
}

.iphone-screen .pcard .band {
  height: 8px;
  width: 100%;
}

.iphone-screen .pcard .inner {
  padding: 16px 16px 15px;
}

.iphone-screen .pcard .cat {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--grey);
  text-transform: uppercase;
}

.iphone-screen .pcard h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-top: 9px;
}

.iphone-screen .pcard .see {
  font-size: 15px;
  font-weight: 700;
  margin-top: 10px;
  line-height: 1.25;
}

.iphone-screen .pcard .flip-hint {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--grey);
  position: absolute;
  right: 14px;
  bottom: 13px;
}

.iphone-screen .pcard .dot {
  position: absolute;
  top: 20px;
  right: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.iphone-screen .pcard.feat .inner {
  padding: 20px 18px 18px;
}

.iphone-screen .pcard.feat h3 {
  font-size: 30px;
}

.iphone-screen .pcard.feat .fe {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--ink);
  text-transform: uppercase;
}

.iphone-screen .pcard.feat .see {
  font-size: 17px;
}

.iphone-screen .pcard .lesson-face {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.iphone-screen .pcard.open .lesson-face {
  max-height: 560px;
}

.iphone-screen .pcard.open .flip-hint {
  opacity: 0;
}

.iphone-screen .lesson-face .div {
  height: 1.5px;
  background: var(--line);
  margin: 2px 0 14px;
}

.iphone-screen .lf-label {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--grey);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.iphone-screen .see-list {
  list-style: none;
  margin: 0 0 16px;
}

.iphone-screen .see-list li {
  font-size: 14px;
  line-height: 1.85;
  padding-left: 16px;
  position: relative;
}

.iphone-screen .see-list li::before {
  content: "·";
  position: absolute;
  left: 3px;
  font-weight: 800;
}

.iphone-screen .steal {
  border: 2px solid var(--ink);
  padding: 14px;
}

.iphone-screen .steal .cl {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.iphone-screen .steal b {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  display: block;
}

.iphone-screen .lf-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.iphone-screen .lf-actions button {
  flex: 1;
  text-align: center;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.16em;
  border: 2px solid var(--ink);
  padding: 12px 4px;
  color: var(--ink);
  text-transform: uppercase;
}

.iphone-screen .lf-actions button.go {
  background: var(--ink);
  color: var(--canvas);
}

/* welcome — OnboardingView.welcomeCard: hero 0.82, scrims, amber radial */
.iphone-screen.welcome {
  background: var(--meter-bg);
  color: var(--meter-text);
}

.iphone-screen .wl-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.iphone-screen .wl-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(16, 16, 18, 0.35) 0%,
    rgba(16, 16, 18, 0.18) 50%,
    rgba(16, 16, 18, 0.55) 100%);
}

.iphone-screen .wl-amber {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 220px at top right,
    rgba(233, 195, 107, 0.28), transparent);
}

.iphone-screen .wl-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 58px 24px 14px;
}

.iphone-screen .wl-eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: #7B7B80;
}

.iphone-screen .wl-mark {
  width: 42px;
  height: 42px;
  margin-top: 20px;
}

.iphone-screen .wl-content h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: #F1EDE4;
  margin-top: 16px;
}

.iphone-screen .wl-content p {
  font-size: 14px;
  line-height: 1.45;
  color: #C9C6BE;
  margin-top: 14px;
}

.iphone-screen .wl-content p b {
  color: #F1EDE4;
}

.iphone-screen .wl-spacer {
  flex: 1;
}

.iphone-screen .wl-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 16px;
}

.iphone-screen .wl-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid #F1EDE4;
}

.iphone-screen .wl-dots span.on {
  background: #F1EDE4;
}

.iphone-screen .wl-next {
  background: #F1EDE4;
  color: #151517;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 15px 0;
  width: 100%;
}

.iphone-screen .wl-skip {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #8A8A8E;
  text-align: center;
  padding: 13px 0 6px;
  width: 100%;
}

/* on location — FieldGuideView title block + passport pill */
.iphone-screen .loc-head.fg {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.iphone-screen .loc-head.fg h1 {
  font-size: 24px;
  white-space: nowrap;
}

.iphone-screen .loc-head.fg .loc-eyebrow {
  white-space: nowrap;
}

.iphone-screen .loc-head .tagline {
  font-size: 12px;
  color: var(--grey);
  font-style: italic;
  margin-top: 3px;
}

.iphone-screen .passport-btn {
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex: none;
}

.iphone-screen .passport-btn .cnt {
  background: var(--ink);
  color: var(--canvas);
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 8px;
}

/* minimap — mockup .minimap */
.iphone-screen .minimap {
  margin: 12px 20px 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 88px;
  flex-shrink: 0;
  background: linear-gradient(120deg, transparent 46%, #CFDCE2 46% 54%, transparent 54%), #E3E7DF;
}

.iphone-screen .minimap .streets {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.iphone-screen .minimap .streets line {
  stroke: #C7C7BC;
  stroke-width: 1;
}

.iphone-screen .minimap .pin {
  position: absolute;
  transform: translate(-50%, -100%);
}

.iphone-screen .minimap .pin .head {
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--ink);
  transform: rotate(-45deg);
  border: 1.5px solid #F1EDE4;
  position: relative;
}

.iphone-screen .minimap .pin.done .head {
  background: var(--accent);
}

.iphone-screen .minimap .pin .head::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #F1EDE4;
}

.iphone-screen .minimap .me {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4A7DFF;
  border: 2.5px solid #F1EDE4;
  box-shadow: 0 0 0 4px rgba(74, 125, 255, 0.28);
}

.iphone-screen .minimap .mm-label {
  position: absolute;
  bottom: 7px;
  left: 7px;
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: 0.1em;
  background: rgba(241, 237, 228, 0.9);
  color: var(--ink);
  padding: 3px 6px;
  border-radius: 4px;
}

/* mode toggle — mockup .mode */
.iphone-screen .mode {
  display: flex;
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  margin: 12px 20px 0;
  flex-shrink: 0;
}

.iphone-screen .mode button {
  flex: 1;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.08em;
  padding: 11px 0;
  color: var(--grey);
  text-align: center;
}

.iphone-screen .mode button.on {
  background: var(--ink);
  color: var(--canvas);
  font-weight: 700;
}

.iphone-screen .intro {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.5;
  margin: 6px 0 14px;
}

/* finds accordion — mockup .hood / .locrow, app FindsModeView */
.iphone-screen .fh {
  border: 2px solid var(--ink);
  margin-bottom: 11px;
  overflow: hidden;
}

.iphone-screen .fh-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
}

.iphone-screen .fh-head .emoji {
  font-size: 20px;
  flex: none;
}

.iphone-screen .fh-head .hn {
  flex: 1;
}

.iphone-screen .fh-head .hn b {
  font-size: 15px;
  font-weight: 800;
  display: block;
}

.iphone-screen .fh-head .hn span {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--grey);
}

.iphone-screen .fh-head .prog {
  font-family: var(--sans);
  font-size: 9px;
  color: var(--grey);
}

.iphone-screen .fh-head .car {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--grey);
  margin-left: 8px;
  transition: transform 0.3s;
}

.iphone-screen .fh.open .car {
  transform: rotate(180deg);
}

.iphone-screen .fh.done .fh-head {
  background: #E6E1D4;
}

.iphone-screen .fh.done .hn b {
  color: #9A9A96;
}

.iphone-screen .fh-body {
  display: none;
}

.iphone-screen .fh.open .fh-body {
  display: block;
}

.iphone-screen .locrow {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-top: 1.5px solid var(--line);
}

.iphone-screen .locrow .chk {
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  flex: none;
  position: relative;
}

.iphone-screen .locrow.on .chk {
  background: var(--accent);
}

.iphone-screen .locrow.on .chk::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #151517;
}

.iphone-screen .locrow.complete .chk {
  background: #9A9A96;
  border-color: #9A9A96;
}

.iphone-screen .locrow.complete .chk::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--canvas);
}

.iphone-screen .locrow .ln {
  flex: 1;
  min-width: 0;
}

.iphone-screen .locrow .ln b {
  font-size: 14px;
  font-weight: 700;
  display: block;
}

.iphone-screen .locrow .ln span {
  font-size: 10.5px;
  color: var(--grey);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iphone-screen .locrow.complete .ln b {
  color: #9A9A96;
  text-decoration: line-through;
}

.iphone-screen .locrow .cnt {
  font-family: var(--sans);
  font-size: 9px;
  color: var(--grey);
  flex: none;
}

.iphone-screen .fh-foot {
  padding: 11px 14px;
  border-top: 1.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.iphone-screen .fh-foot .stamp-note {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--grey);
}

.iphone-screen .fh-foot .stamp-note.earned {
  color: var(--ink);
}

.iphone-screen .fh-foot .reset {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--grey);
  text-decoration: underline;
}

/* finds checklist — FieldFindsView */
.iphone-screen .ff-hd {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--grey);
  margin-top: 14px;
  text-transform: uppercase;
}

.iphone-screen .ff-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 6px;
}

.iphone-screen .find-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--ink);
  padding: 12px 13px;
  margin-top: 8px;
}

.iphone-screen .find-row:first-of-type {
  margin-top: 16px;
}

.iphone-screen .find-row .fdot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  flex: none;
}

.iphone-screen .find-row.on .fdot {
  background: var(--ink);
}

.iphone-screen .find-row .ft {
  font-size: 14px;
}

.iphone-screen .find-row.on .ft {
  text-decoration: line-through;
  color: var(--grey);
}

/* my pins + field manual */
.iphone-screen .drop-pin {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 14px 0;
  margin-bottom: 14px;
}

.iphone-screen .pins-empty {
  border: 1.5px dashed var(--ink);
  padding: 14px;
}

.iphone-screen .pins-empty b {
  font-size: 14px;
  font-weight: 700;
  display: block;
}

.iphone-screen .pins-empty span {
  font-size: 12px;
  color: var(--grey);
  display: block;
  margin-top: 6px;
  line-height: 1.5;
}

.iphone-screen .pin-note {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--grey);
  text-align: center;
  margin-top: 14px;
}

.iphone-screen .fm-label {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--grey);
  margin: 10px 0 8px;
}

.iphone-screen .fm-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid var(--ink);
  padding: 14px;
}

.iphone-screen .fm-row b {
  font-size: 16px;
  font-weight: 800;
  display: block;
}

.iphone-screen .fm-row i {
  font-style: normal;
  font-size: 12px;
  color: var(--grey);
  display: block;
  margin-top: 4px;
}

/* passport — mockup .passport / .stamp */
.iphone-screen .passport {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: var(--canvas);
  display: flex;
  flex-direction: column;
}

.iphone-screen .pp-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 20px 12px;
  border-bottom: 2px solid var(--ink);
}

.iphone-screen .pp-hdr h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.iphone-screen .pp-hdr .close {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--grey);
}

.iphone-screen .pp-sub {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--grey);
  padding: 12px 20px 4px;
}

.iphone-screen .pp-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px 30px;
  scrollbar-width: none;
}

.iphone-screen .pp-scroll::-webkit-scrollbar {
  display: none;
}

.iphone-screen .pp-city {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--grey);
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.iphone-screen .pp-city::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: var(--line);
}

.iphone-screen .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.iphone-screen .stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed var(--ink);
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--canvas);
}

.iphone-screen .stamp.locked {
  opacity: 0.4;
}

.iphone-screen .stamp.earned {
  border-style: solid;
  background: var(--accent);
}

.iphone-screen .stamp .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.iphone-screen .stamp .ring text {
  font-family: var(--sans);
}

.iphone-screen .stamp .icon {
  font-size: 30px;
  line-height: 1;
  z-index: 1;
}

.iphone-screen .stamp .code {
  position: absolute;
  bottom: 20%;
  left: 0;
  right: 0;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.14em;
  font-weight: 700;
  z-index: 1;
}

.iphone-screen .stamp .date {
  position: absolute;
  bottom: 12%;
  left: 0;
  right: 0;
  font-family: var(--sans);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  color: #3D3D40;
  z-index: 1;
}

.iphone-screen .stamp-label {
  text-align: center;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--grey);
  margin-top: 7px;
}
