/*
  Niti public site: home page only. Loaded after site.css and mocks.css by home.blade.php.
  Hero and its six steps, the "Also in Niti" strip, the client itinerary
  miniature with its numbered notes, the proposal cards, and where the sample
  screens (mocks.css) sit in the selling cards and the feature bento.
  The Fraunces face for the itinerary miniature is declared in mocks.css.
*/

/* hero: split. The copy on the left, one trip card on the right with the six steps as a vertical list */
/* the card is the taller column, so its top is the hero's top padding: 48px under the nav at 720px tall, 88px at 860px, 96px at 900px and more */
.hero{padding:calc(var(--nav-top) + var(--nav-h) + clamp(48px, (100vh - 720px) * .2857 + 48px, 96px)) 0 clamp(48px, 6vh, 72px);background:
  radial-gradient(40% 52% at 82% 46%, rgba(198,244,50,.11), transparent 70%),
  radial-gradient(34% 40% at 6% 14%, rgba(255,205,140,.22), transparent 70%),
  var(--paper)}
.hero__grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);column-gap:clamp(40px, 6vw, 104px);align-items:center}
.hero__copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.hero h1{font-family:var(--font-display);font-weight:600;font-size:clamp(2.5rem, .9rem + 3.75vw, 4.375rem);line-height:1;letter-spacing:-.046em;color:var(--ink)}
.hero h1 .ln{display:block}
.hero__sub{margin-top:24px;max-width:30.5em;text-wrap:balance;font-size:var(--fs-lead);line-height:1.55;color:var(--ink-2)}
@media (min-width:960px){.hero__sub{max-width:none}}
.hero__ctas{margin-top:32px;display:flex;flex-wrap:wrap;gap:10px}
.hero .reassure{margin-top:20px}

/* proof strip */
.proof{padding:40px 0 clamp(56px, 7vw, 96px)}
.proof__lead{text-align:center;font-size:.875rem;color:var(--ink-3);font-weight:500}
.proof__lead strong{color:var(--ink);font-weight:600}
.proof__list{margin-top:22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.proof__item{display:flex;align-items:flex-start;gap:14px;padding:22px 16px;min-width:0}
.proof__item + .proof__item{border-left:1px solid var(--line)}
.proof__icon{width:44px;height:44px;margin-top:-2px;flex:none}
/* the drawing fills about 70% of its box, so it is drawn a little larger than its box, like the hero steps */
.proof__icon img{width:116%;height:116%;max-width:none;margin:-8%;object-fit:contain}
.proof__item b{display:block;color:var(--ink);font-size:.9375rem;font-weight:600;letter-spacing:-.01em;line-height:1.3;text-wrap:balance}
.proof__item p{font-size:.875rem;color:var(--ink-3);line-height:1.45;margin-top:3px}


/* itineraries: one client itinerary in the middle, numbered notes around it */
.itn{padding:clamp(56px, 7vw, 104px) 0 0;scroll-margin-top:calc(40px - clamp(56px, 7vw, 104px))}
.itn .head-c .lead{max-width:40rem}
.itn__stage{--pw:620px;--ic:64px;--cg:56px;--lc:rgba(10,10,10,.26);position:relative;isolation:isolate;margin-top:clamp(40px, 5vw, 64px)}
/* one faint lime light behind the page */
.itn__stage::before{content:"";position:absolute;z-index:-1;left:50%;top:4%;width:min(1000px, 100%);height:80%;transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(40% 44% at 50% 50%, rgba(198,244,50,.12), transparent 72%)}
/* the reveal only fades the page and the notes in, so the lines can be measured where they will stay */
html.js:not(.is-end) .itn__stage [data-reveal]:not(.is-in){transform:none}

/* the number marks: the same ink dot on the page and in the notes */
.num{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--ink);color:#fff;font-family:var(--font-text);font-style:normal;font-size:10.5px;font-weight:600;line-height:1;letter-spacing:0;text-transform:none;font-variant-numeric:tabular-nums;text-shadow:none;box-shadow:0 0 0 2px #fff,0 2px 6px rgba(10,10,10,.28);transition:box-shadow .2s var(--ease-out)}
.pin{position:absolute;z-index:6;top:50%;left:-9px;margin-top:-9px}
.cp-pill .pin{left:-14px}
.pin--4s{position:static;margin:0 0 0 auto}

/* the pins on the client page (x-site.client-page in mocks.css) */
.cp-prose .pin{left:calc(100% + 12px)}

/* ---------- the notes ---------- */
/* the default (phones, tablets, and wide screens until the script places them): a numbered list under the page */
.itn__notes{max-width:var(--pw);margin:48px auto 0;border-top:1px solid var(--line)}
.co{position:relative;display:grid;grid-template-columns:var(--ic) minmax(0,1fr);column-gap:18px;align-items:start;padding:20px 0 22px;border-bottom:1px solid var(--line)}
.co__ic{grid-row:1 / 3;width:var(--ic);height:var(--ic);display:grid;place-items:center}
.co__ic img{width:116%;height:116%;max-width:none;margin:-8%;object-fit:contain}
.co h3{grid-column:2;padding-top:6px;font-family:var(--font-display);font-size:1.1875rem;font-weight:600;letter-spacing:-.02em;line-height:1.25;color:var(--ink);text-wrap:balance}
.co p{grid-column:2;margin-top:4px;font-size:.9375rem;line-height:1.55;color:var(--ink-2)}
.co__n{position:absolute;left:-6px;top:16px}
.co__ln,.itn__brk{display:none}
/* pointing at a note marks its number on the page */
.itn__stage:has(.co--1:hover) .pin--1,.itn__stage:has(.co--2:hover) .pin--2,.itn__stage:has(.co--3:hover) .pin--3,
.itn__stage:has(.co--4:hover) :is(.pin--4b,.pin--4s){box-shadow:0 0 0 2px #fff,0 0 0 5px rgba(198,244,50,.95),0 2px 6px rgba(10,10,10,.28)}

.itn__soon{margin-top:clamp(40px, 4vw, 56px);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 14px;font-size:.875rem;line-height:1.5;color:var(--ink-3)}
.itn__soon b{display:inline-flex;align-items:center;height:26px;padding:0 11px;border-radius:999px;font-size:.75rem;font-weight:600;color:var(--ink-2);box-shadow:inset 0 0 0 1px var(--line-2);background:var(--surface)}
.itn__soon i{width:3px;height:3px;border-radius:50%;background:var(--line-dash)}
.itn__exit{margin-top:28px;display:flex;flex-direction:column;align-items:center;gap:8px}

/* wide screens: each note sits level with the part it explains, and a line runs from its drawing to the number on the page */
@media (min-width:1200px){
  .itn__stage{--pw:clamp(540px, 44vw, 620px)}
  .itn__stage.is-placed{padding-bottom:var(--tail, 0px)}
  .itn__stage.is-placed .itn__notes{max-width:none;margin:0;border:0}
  .itn__stage.is-placed .co{position:absolute;z-index:4;top:calc(var(--y, 0px) - var(--ic) / 2);width:calc((100% - var(--pw)) / 2 - var(--cg));display:flex;flex-direction:column;align-items:flex-start;padding:0;border:0}
  .itn__stage.is-placed .co--l{left:0}
  .itn__stage.is-placed .co--r{right:0}
  .itn__stage.is-placed .co h3{margin-top:12px;padding-top:0}
  .itn__stage.is-placed .co p{margin-top:6px;max-width:17.5rem}
  .itn__stage.is-placed .co__n{display:none}
  .itn__stage.is-placed .co__ln{display:block;position:absolute;top:calc(var(--ic) / 2 - .5px);width:var(--len, 0px);height:1px;background:var(--lc);pointer-events:none;
    transition:clip-path .7s var(--ease-out) .2s,background-color .2s}
  .itn__stage.is-placed .co--l .co__ln{left:calc(var(--ic) + 12px)}
  .itn__stage.is-placed .co--r .co__ln{right:calc(100% + 8px)}
  /* first view: each line draws out from its drawing to the number */
  html.js:not(.is-end) .itn__stage.is-placed .co--l:not(.is-in) .co__ln{clip-path:inset(-2px 100% -2px 0)}
  html.js:not(.is-end) .itn__stage.is-placed .co--r:not(.is-in) .co__ln{clip-path:inset(-2px 0 -2px 100%)}
  .itn__stage.is-placed .co:hover .co__ln{background:rgba(10,10,10,.6)}
  /* note 4 is about the parts the AI fills in, from the stay to the transport: a bracket beside the page marks them. It fades in with note 4. */
  .itn__stage.is-placed .itn__brk{display:block;position:absolute;z-index:3;width:8px;border:1px solid var(--lc);border-left:0;border-radius:0 6px 6px 0;transition:opacity .56s var(--ease-out)}
  html.js:not(.is-end) .itn__stage.is-placed:not(:has(.co--4.is-in)) .itn__brk{opacity:0}
  .itn__brk .pin{left:auto;right:-9.5px}
  .itn__stage.is-placed .pin--4s{display:none}
}
/* a narrower page between the notes: the hotel details get a little more room, so the dates and the room stay on one line each */
@media (min-width:1200px) and (max-width:1409.98px){
  .cp-stay__in{grid-template-columns:11fr 9fr}
  .cp-stay__txt{padding:12px 14px}
  .cp-det{font-size:10.5px}
}
/* selling: three cards, each a small screen on a paper stage above its words, then the itinerary builder across the full width.
   Unlike the bento below: equal columns, a drawing beside each title, and every screen sits whole inside its stage. */
.sell{padding:var(--section-y) 0 0;scroll-margin-top:calc(40px - var(--section-y))}
.sell .head-c .lead{max-width:40rem}
@media (min-width:960px){.sell .lead .ln{display:block}}
.sell__grid{margin-top:clamp(40px, 5vw, 64px);display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.sc,.bld{position:relative;min-width:0;padding:8px;border-radius:24px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--highlight)}
.sc{display:flex;flex-direction:column}
.sc .stage{order:-1;flex:1 1 auto}
.sc__txt{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:16px;align-content:start;padding:20px 16px 16px}
.sc__ic{display:block;grid-row:1 / 3;width:56px;height:56px}
.sc__ic img{width:116%;height:116%;max-width:none;margin:-8%;object-fit:contain}
.sc__txt h3,.bld__txt h3{font-family:var(--font-display);font-size:1.25rem;line-height:1.2;letter-spacing:-.02em;font-weight:600;color:var(--ink);text-wrap:balance}
.sc__txt h3{grid-column:2;padding-top:5px}
.sc__txt p,.bld__txt p{margin-top:6px;font-size:.9375rem;line-height:1.55;color:var(--ink-2)}
.sc__txt p,.bld__list{grid-column:2}

/* the sample screens are in mocks.css. Here the trip photos are a little shorter (taller again in the three-column row). */
.opt__ph{height:84px}

/* the builder across the full width: the words on the left, a calm copy of the screen on the right */
.bld{margin-top:16px;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.bld__list{margin-top:18px;display:grid;gap:10px;font-size:.9375rem;line-height:1.45;color:var(--ink-2)}
.bld__list li{display:flex;align-items:baseline;gap:10px}
.bld__dot{flex:none;width:7px;height:7px;margin-inline:4px;border-radius:50%;background:#EAB308;transform:translateY(-1px)}
.bld__list .ico-line{width:15px;height:15px;color:var(--lime-ink);stroke-width:2.4;transform:translateY(2px)}
.bld .stage{padding:32px 24px}

/* tablets and small laptops: one card per row, the screen beside the words, sides alternating */
@media (min-width:760px) and (max-width:1199.98px){
  .sc{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}
  .sc .stage{grid-column:1;grid-row:1}
  .sc > .sc__txt{grid-column:2;grid-row:1;align-self:center;display:block;padding:24px 20px 24px 32px}
  .sc:nth-child(2){grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)}
  .sc:nth-child(2) .stage{grid-column:2}
  .sc:nth-child(2) .sc__txt{grid-column:1;padding:24px 32px 24px 20px}
  .sc > .sc__txt .sc__ic{margin-bottom:12px}
  .sc > .sc__txt h3{padding-top:0}
}
@media (min-width:960px){
  .bld{grid-template-columns:minmax(0,5fr) minmax(0,8fr)}
  .bld__txt{align-self:center;padding:32px 24px 32px 28px}
  .bld__txt h3{padding-top:5px}
}
@media (min-width:960px) and (max-width:1199.98px){
  .bld{grid-template-columns:minmax(0,4fr) minmax(0,7fr)}
}
/* wide screens: three cards in a row. The stages share one height and the words start on one line. */
@media (min-width:1200px){
  .sell__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  .bld{margin-top:24px}
  @supports (grid-template-rows:subgrid){
    .sc{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0}
    .sc .stage{grid-row:1}
    .sc > .sc__txt{grid-row:2}
  }
  .sc .stage{align-items:flex-start;padding:28px 20px}
  .opt__ph{height:104px}
}
/* the narrowest three-column width: the card titles stay on one line */
@media (min-width:1200px) and (max-width:1279.98px){
  .sc__txt h3{font-size:1.1875rem}
}
/* phones: the screen first, then the words, in all four */
@media (max-width:759.98px){
  .sell__grid{margin-top:32px;gap:12px}
  .stage{padding:24px 12px}
  .sc__txt{grid-template-columns:48px minmax(0,1fr);column-gap:14px;padding:18px 12px 14px}
  .sc__ic{grid-row:1;width:48px;height:48px}
  .sc__txt h3{align-self:center;padding-top:0;font-size:1.125rem}
  .sc__txt p,.bld__txt p,.bld__list{grid-column:1 / -1;font-size:1rem}
  .sc__txt p,.bld__txt p{margin-top:12px}
  .bld{margin-top:12px}
  .bld .stage{order:-1;padding:20px 10px}
}


/* feature bento */
.features{padding:max(var(--section-y), 112px) 0 0;scroll-margin-top:-88px}
/* an anchor jump puts the heading 40px under the nav line, not a whole section gap below it. #features lands its own top at the top of the screen, so the section above it is fully scrolled away. */
.pricing,.faq{scroll-margin-top:calc(40px - var(--section-y))}
/* the payment schedule (mocks.css) in the bottom-right corner of the first cell */
.cell--a .cell__vis{flex:0 0 auto;width:min(430px, 58%);margin:auto -24px -24px 0;align-self:flex-end}
/* the fragments (mocks.css) in the two wide bottom cells start a little in from the left */
.cell--e .frag,.cell--f .frag{margin-left:clamp(0px, 10%, 72px)}
.cell--b .cell__txt,.cell--e .cell__txt{padding-bottom:28px}
.cell--f .cell__txt{padding-bottom:16px}
.bento__note{margin-top:20px;text-align:center;font-size:.8125rem;color:var(--ink-3)}
/* the pipeline board (mocks.css) runs to the right edge of its cell */
.board{margin:24px -24px -24px 0;padding-right:24px}


/* pricing and faq: the section padding on this page */
.pricing{padding:var(--section-y) 0 0}
.pricing .head-c .lead{max-width:40rem}
.faq{padding:var(--section-y) 0 calc(var(--section-y) + 32px)}
.bento__more{margin-top:4px}

/* ---------- responsive ---------- */
/* short laptop screens: the whole card stays above the fold */
@media (min-width:960px) and (max-height:780px){
  .hero__sub{margin-top:20px}
  .hero__ctas{margin-top:28px}
}
@media (min-width:960px) and (max-height:700px){
  .hero{padding-bottom:40px}
  .hero h1{font-size:min(3.5rem, 4.4vw)}
}
@media (max-width:1199.98px){
  .proof__list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proof__item:nth-child(3){border-left:0}
  .proof__item:nth-child(n+3){border-top:1px solid var(--line)}
}
@media (min-width:960px) and (max-width:1139.98px){
  .hero__sub{font-size:1.0625rem}
}
/* below 960px: one column. The copy first, then the flow. */
@media (max-width:959.98px){
  .hero{padding-top:calc(var(--nav-top) + var(--nav-h) + 64px)}
  .hero__grid{grid-template-columns:minmax(0,1fr);row-gap:48px}
}
@media (max-width:759.98px){
  .hero{padding-top:108px;padding-bottom:40px}
  .hero__grid{row-gap:36px}
  .hero h1{font-size:min(2.75rem, 10.6vw);line-height:1.02}
  .hero__sub{margin-top:22px;font-size:1.0625rem}
  .hero__ctas{margin-top:24px;flex-direction:column;align-items:stretch;gap:4px;width:100%}
  .hero__ctas .btn--lime{width:100%}
  .hero__ctas .btn--ghost{align-self:flex-start;height:44px;padding:0 2px;background:none;box-shadow:none}
  .hero__ctas .btn--ghost:hover{transform:none;box-shadow:none;text-decoration:underline;text-underline-offset:4px}
  .hero .reassure{margin-top:6px;gap:4px 16px;font-size:.84375rem}

  .proof{padding-top:28px}
  .proof__lead{text-align:left;padding-inline:0}
  .bento__note{text-align:left}
  .proof__item p{font-size:.9375rem}
  .proof__list{grid-template-columns:minmax(0,1fr);border-bottom:0}
  .proof__item{padding:16px 2px;border-left:0!important;border-top:0!important;border-bottom:1px solid var(--line)}
  .proof__icon{width:44px;height:44px}

  /* itineraries on a phone: the page first, then the notes as a list */
  .itn__stage{margin-top:32px}
  .itn__stage::before{top:0;height:56%}
  .itn__notes{margin-top:36px}
  .co{--ic:56px;column-gap:16px;padding:18px 0 20px}
  .co h3{padding-top:4px;font-size:1.125rem}
  .co p{font-size:1rem}
  .itn__soon{justify-content:flex-start;margin-top:28px;font-size:.9375rem}
  .itn__soon i{display:none}
  .itn__soon span{flex-basis:100%}
  .itn__exit{align-items:flex-start}
  .itn__exit .btn{width:100%}
  /* the client page as it looks on a phone: one cover photo, the stay photo above its details, the visits one under the other, and the small labels at the phone page's own sizes */
  .cp{--fp:8px;--hh:252px;--z:12px}
  .cp__part--top .cp__sheet{border-radius:18px 18px 0 0}
  .cp-hero{border-radius:14px}
  .cp-cover > :nth-child(n+2){display:none}
  .cp-cover > :nth-child(1){-webkit-mask-image:none;mask-image:none}
  .cp-cover > :nth-child(1) img{left:0;width:100%}
  .cp-hero__bar{padding:12px}
  .cp-hero__txt{padding:16px;border-radius:0 0 14px 14px}
  .cp-eyebrow{font-size:10px}
  .cp-title{font-size:25px}
  .cp-sub{margin-top:7px;font-size:13px}
  .cp-pills{margin-top:10px}
  .cp-welcome{margin-top:10px;padding:18px 16px calc(14px + var(--z) / 2)}
  .cp-greet{font-size:19px}
  .cp-intro{max-width:none}
  .cp-tl{padding:22px 14px 30px}
  .cp-tl::before{left:13px}
  .cp-day{padding-left:22px}
  .cp-stamp{font-size:10px}
  .cp-date{font-size:11px}
  .cp-day__title{font-size:18px}
  .cp-prose{max-width:calc(100% - 14px);font-size:13px}
  .cp-prose .pin{left:calc(100% + 4px)}
  .cp-stay__in{grid-template-columns:minmax(0,1fr)}
  /* level with the middle of the 16:9 photo, below the "Where you'll stay" badge. A margin in % is a share of the card's width. */
  .cp-stay .pin{top:0;margin-top:calc(28.125% - 9px)}
  .cp-badge{font-size:10px;line-height:14px}
  .cp-stay__txt{padding:14px}
  .cp-eye{font-size:10px}
  .cp-det{font-size:12px;line-height:16px}
  .cp-row svg{width:12px;height:12px}
  .cp-chips span{font-size:10px}
  .cp-tiles{grid-template-columns:minmax(0,1fr)}
  .cp-tile__cover{height:110px}
  .cp-tile__cap{padding:9px 12px}
  .cp-tile__name{font-size:14px;line-height:18px}
  .cp-tile__loc{font-size:10.5px}
  .cp-tile__body{padding:9px 12px 11px;font-size:12px}
  .cp-leg__lbl{font-size:10px}
  .cp-leg__mode{font-size:15px}
  .cp-leg__meta{font-size:11px;line-height:1.4}
  .cp-leg__lang{font-size:11.5px}
  .cp-leg__lang svg{width:11px;height:11px}

  .cell--a .cell__vis{width:auto;margin:20px -22px -22px 24px}
  .cell--e .frag,.cell--f .frag{margin:20px -22px -22px 0}
  .board{margin:18px 0 0;padding:0}
}
@media (max-width:399.98px){
  .cell--a .cell__vis{margin-left:0}
}
@media print{
  .itn__brk{opacity:1!important}
}
