/* The app collection uses the existing OOC masthead and footer. */
.app-collection { background: #faf8f3; color: #242e37; }
.app-collection main:focus { outline: none; }
.ap-index { padding-block: clamp(48px,7vw,96px) clamp(58px,8vw,110px); }
.ap-heading { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(230px,.7fr); align-items: end; gap: clamp(24px,6vw,92px); margin-bottom: 40px; }
.ap-heading h1, .ap-cover h1, .ap-gallery h2, .ap-note h2, .ap-titleline h2, .ap-figures h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.ap-heading h1 { margin: 0; font-size: clamp(48px,6.2vw,88px); line-height: 1.04; letter-spacing: -.055em; }
.ap-heading h1 em { display: block; font-weight: 400; color: #536066; }
.ap-heading > p { margin: 0 0 5px; max-width: 37ch; color: #505b61; font-size: 18px; line-height: 1.55; }
.ap-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(18px,3vw,38px); }
.ap-card { background: #fffefa; border: 1px solid #d8d6cf; border-radius: 16px; }
.ap-card > a { display: flex; flex-direction: column; height: 100%; border-radius: inherit; overflow: hidden; color: inherit; text-decoration: none; }
.ap-art { aspect-ratio: 1.95; position: relative; overflow: hidden; background: #e9dfd2; }
.ap-art img { width: 100%; height: 100%; object-fit: cover; }
.ap-art, .ap-cover-art { isolation: isolate; }
.daystops .ap-art img { object-position: 67% 68%; }
.ap-cardtext { display: flex; flex-direction: column; flex: 1; padding: clamp(20px,3vw,32px); }
.ap-titleline { display: flex; align-items: center; gap: 16px; }
.ap-icon { border-radius: 23%; width: 48px; height: 48px; box-shadow: 0 0 0 1px #1c25321a; }
.ap-titleline h2 { margin: 0; font-size: clamp(30px,3.1vw,44px); line-height: 1.15; letter-spacing: -.042em; }
.ap-label { font-size: 13px; color: #59646c; margin: 0 0 2px; }
.ap-cardtext > p { margin: 16px 0 24px; max-width: 42ch; color: #45545c; font-size: 17px; }
.ap-cardfoot { margin-top: auto; border-top: 1px solid #deddd6; padding-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; font-weight: 600; }
.ap-arrow { display: grid; place-items: center; width: 38px; height: 38px; background: #ebeee8; border-radius: 50%; color: #22362f; font: 21px/1 system-ui,sans-serif; }
.ap-card a:hover .ap-arrow { background: #273e4a; color: white; }
.ap-detail { padding-top: 15px; padding-bottom: 50px; }
.ap-back, .ap-next a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: 14px; font-weight: 600; text-underline-offset: 4px; }
.ap-back { margin-bottom: 8px; color: #40535c; }
.ap-cover { position: relative; overflow: hidden; border-radius: 16px; display: flex; align-items: center; background: #111e42; color: #fffaf2; min-height: clamp(375px,37vw,488px); }
.ap-cover-art { position: absolute; inset: 0; }
.ap-cover-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.daystops.ap-cover .ap-cover-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111938ed 2%,#162044c9 28%,#13214438 60%,transparent 80%); }
.ap-cover-copy { position: relative; max-width: 62%; padding: clamp(26px,4.2vw,65px); }
.ap-cover h1 { margin: 15px 0 4px; font-size: clamp(46px,6.2vw,90px); line-height: 1.02; letter-spacing: -.055em; overflow-wrap: break-word; }
.ap-subhead { margin: 0 0 25px; font-size: clamp(18px,2vw,26px); }
.ap-button { display: inline-flex; align-items: center; gap: 18px; min-height: 46px; padding: 9px 18px; background: #fff5e2; color: #192239; text-decoration: none; border-radius: 24px; font-size: 15px; font-weight: 700; }
.ap-button:hover { color: #14222c; background: #fff; text-decoration: underline; text-underline-offset: 3px; }
.timetables.ap-cover { color: #193d49; background: #f0e8da; border: 1px solid #ddd0b9; }
.timetables.ap-cover .ap-cover-art { left: 43%; }
.timetables.ap-cover .ap-cover-art img { object-fit: cover; object-position: 50% 50%; }
.timetables.ap-cover .ap-cover-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#f0e8da,transparent 23%); }
.timetables.ap-cover .ap-button { color: white; background: #204d52; }
.timetables.ap-cover .ap-button:hover { background: #123b40; }
.ap-overview { display: grid; grid-template-columns: minmax(0,1.36fr) minmax(200px,.8fr); align-items: center; gap: clamp(26px,8vw,92px); margin: 0; padding: clamp(26px,4.2vw,55px) 0; border-bottom: 1px solid #d4d3cb; }
.ap-overview > p { margin: 0; font: 400 clamp(22px,2.1vw,32px)/1.4 Georgia,serif; letter-spacing: -.018em; }
.ap-overview dl { margin: 0; font-size: 14px; }
.ap-overview dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-block: 8px; border-bottom: 1px solid #deded6; }
.ap-overview dt { color: #525c61; }
.ap-overview dd { text-align: end; font-weight: 650; margin: 0; }
.ap-gallery { scroll-margin-top: 100px; padding-block: clamp(30px,4vw,56px); }
.ap-gallery h2, .ap-note h2 { font-size: clamp(29px,3.8vw,48px); letter-spacing: -.045em; margin: 0 0 22px; line-height: 1.12; }
.ap-figures { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2.7vw,34px); }
.ap-figures figure { margin: 0; }
.ap-shot { position: relative; display: flex; justify-content: center; align-items: center; background: #eae7df; border-radius: 14px; padding: 20px 12px; text-decoration: none; }
.ap-figures figure:nth-child(2) .ap-shot { background: #e3e9e8; }
.ap-figures figure:nth-child(3) .ap-shot { background: #eae5ee; }
.ap-shot img { display: block; width: auto; height: clamp(235px,26vw,350px); max-width: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 6px 20px #242b3924; }
.ap-shot span { position: absolute; bottom: 10px; right: 13px; font-size: 20px; color: #34464d; }
.ap-figures h3 { margin: 16px 0 5px; font-size: 26px; line-height: 1.16; letter-spacing: -.03em; }
.ap-figures p, .ap-note p { margin: 0; color: #47545b; }
.ap-note { padding: clamp(24px,4vw,48px); background: #e5ece7; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; border-radius: 14px; }
.ap-note.daystops { background: #eae7f0; }
.ap-note h2 { font-size: clamp(28px,3vw,40px); margin: 0; }
.ap-next { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.app-collection main a:focus-visible { outline: 3px solid #136795; outline-offset: 4px; }
.app-collection .ap-button:focus-visible { outline: 3px solid #fff; box-shadow: 0 0 0 5px #17394e; }
@media (max-width: 760px) {
  .ap-heading, .ap-overview, .ap-note { grid-template-columns: 1fr; }
  .ap-heading { gap: 16px; margin-bottom: 27px; }
  .ap-cards { gap: 17px; }
  .ap-cover-copy { max-width: 76%; }
  .ap-overview { gap: 18px; }
  .ap-gallery { scroll-margin-top: 18px; }
}
@media (max-width: 600px) {
  .ap-cards, .ap-figures { grid-template-columns: 1fr; }
  .ap-detail { padding-top: 6px; }
  .ap-index { padding-top: 34px; }
  .ap-figures { gap: 30px; }
  .ap-heading h1 { font-size: clamp(44px,11.6vw,64px); }
  .ap-cover { min-height: 365px; align-items: flex-end; }
  .ap-cover-copy { padding: 22px; max-width: 100%; }
  .ap-cover h1 { font-size: clamp(40px,10vw,60px); }
  .ap-subhead { margin-bottom: 15px; }
  .daystops.ap-cover .ap-cover-art::after { background: linear-gradient(0deg,#101735 0%,#141f46c9 49%,transparent 95%); }
  .timetables.ap-cover .ap-cover-art { left: 0; bottom: 37%; }
  .timetables.ap-cover .ap-cover-art::after { background: linear-gradient(0deg,#f0e8da 1%,#f0e8da18 50%,transparent); }
  .ap-shot img { height: 318px; }
}

/* The artwork and copy share a single surface on each portfolio panel. */
.home-globe #products .product-row {
  border: 0;
  gap: 0;
  isolation: isolate;
}
.home-globe #products .product-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: var(--card-dark);
  min-height: 295px;
}
.home-globe #products .product-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}
.home-globe #products .product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 70%, var(--card-dark));
}
.home-globe #products .wso .product-visual img { object-position: 50% 48%; }
.home-globe #products .woo .product-visual::before {
  content: "";
  position: absolute;
  inset: -22px;
  background: #151510 url("worlds-of-origin-cover.jpg") center / cover;
  filter: blur(18px) brightness(.65);
}
.home-globe #products .woo .product-visual img {
  object-fit: contain;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  mask-image: linear-gradient(90deg, transparent, black 13%, black 87%, transparent);
}
.home-globe #products .mobile-apps { --card-dark: #202744; background: var(--card-dark); color: #fff7ea; }
.home-globe #products .mobile-apps .eyebrow { color: #ffd1a4; }
.home-globe #products .mobile-apps .product-visual img { object-position: 70% 58%; }
.home-app-links { display: grid; margin: 0 0 24px; }
.home-app-links a {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  padding: 10px 2px;
  border-bottom: 1px solid #ffffff40;
  color: #fff7ea;
  text-decoration: none;
}
.home-app-links a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.home-app-links a:focus-visible { outline: 3px solid #ffcc88; outline-offset: 3px; }
.home-app-links img { width: 42px; height: 42px; border-radius: 10px; }
.home-app-links small { display: block; color: #e0e1f0; line-height: 1.4; }
.app-guide {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
  gap: clamp(24px,5vw,74px);
  align-items: center;
  padding: clamp(34px,5vw,65px) 0;
  border-top: 1px solid #d4d3cb;
}
.app-guide h2 { margin: 0; max-width: 19ch; font: 400 clamp(32px,3.6vw,52px)/1.09 Georgia,serif; letter-spacing: -.04em; }
.guide-copy > p { margin: 16px 0 22px; max-width: 58ch; color: #404e55; font-size: 17px; }
.guide-topics details { border-top: 1px solid #d3d4cc; }
.guide-topics details:last-child { border-bottom: 1px solid #d3d4cc; }
.guide-topics summary { padding: 14px 4px; cursor: pointer; font-weight: 650; line-height: 1.5; }
.guide-topics summary:focus-visible { outline: 3px solid #136795; outline-offset: 1px; }
.guide-topics details p { margin: 0 0 17px; max-width: 62ch; color: #404e55; }
.app-guide figure { margin: 0; }
.app-guide figure a { display: grid; place-items: center; padding: clamp(16px,2.4vw,34px); background: #e3ece6; border-radius: 14px; }
.guide-day figure a { background: #eae6ee; }
.app-guide figure img { width: auto; height: auto; max-height: 390px; border-radius: 10px; box-shadow: 0 6px 26px #27373f24; }
.app-guide figcaption { margin: 10px 0 0; color: #505e63; line-height: 1.45; font-size: 14px; }
@media (max-width: 850px) {
  .home-globe #products .product-visual { min-height: 0; aspect-ratio: 1.9; }
  .home-globe #products .woo .product-visual { aspect-ratio: 1.65; }
  .home-globe #products .product-visual::after { background: linear-gradient(180deg, transparent 73%, var(--card-dark)); }
}
@media (max-width: 700px) {
  .app-guide { grid-template-columns: minmax(0,1fr); }
  .app-guide figure img { max-height: 310px; }
}

.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.app-actions .app-contact { background: #222e4d; color: white; border: 1px solid #a8b4cc; }
.app-actions .app-contact:hover { background: #344468; color: white; }
.timetables.ap-cover .app-actions .app-contact { background: #fff9ee; color: #204d52; border-color: #507273; }
.day-help { margin: 0 auto clamp(36px,5vw,68px); }
.day-help h2, .day-privacy h1, .day-privacy h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.12; }
.day-help h2 { font-size: clamp(29px,3.8vw,48px); }
.day-privacy { max-width: 780px; padding-block: 18px clamp(54px,8vw,92px); }
.day-privacy h1 { font-size: clamp(40px,6vw,72px); margin: 20px 0 14px; overflow-wrap: anywhere; }
.day-privacy header p { font: 400 clamp(20px,2vw,26px)/1.48 Georgia,serif; }
.day-privacy section { padding: 16px 0; border-top: 1px solid #d4d3cb; }
.day-privacy section h2 { font-size: clamp(24px,3vw,34px); margin: 0 0 10px; }
.day-privacy section p { margin: 0; color: #40505a; }
.day-privacy .ap-button { margin-top: 14px; background: #253352; color: #fff; }

.day-views { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.day-journal img { width: 100%; height: auto; border-radius: 10px; }
.day-journal p { margin-block: 14px; }
@media (max-width: 950px) {
  .day-views { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .day-views { grid-template-columns: 1fr; }
}
