@charset "UTF-8";
/* ==========================================================================
   TRAVEL TEMPLATES — package preview
   The landing page a customer lands on from the item's Live Preview: one card
   per template, click through to that demo. Deliberately quiet — it is a
   signpost, not a third design competing with the two it points at.
   --------------------------------------------------------------------------
   01. Tokens and base
   02. Header
   03. The cards
   04. Closing note and footer
   05. Responsive — 1100 / 860 / 560 / 400
   ========================================================================== */

/* ==========================================================================
   01. Tokens and base
   ========================================================================== */

:root {
  --paper: #FFFFFF;
  --ink: #17435A;
  --ink-rgb: 23, 67, 90;
  --accent: #C0521B;
  --accent-rgb: 192, 82, 27;
  --sand: #F0B48A;
  --gutter: 40px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1A1A1A;
    --ink: #EDE3D3;
    --ink-rgb: 237, 227, 211;
    --accent: #E2661F;
    --accent-rgb: 226, 102, 31;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 20px;
  line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
  body {
    background: var(--paper) url("../img/paper-dark.webp") repeat top left;
    background-size: 627px 627px;
  }
}

h1 { margin: 0; }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.hairline {
  height: 1px;
  margin: 0 var(--gutter);
  background: rgba(var(--ink-rgb), 0.14);
}


/* ==========================================================================
   02. Header
   ========================================================================== */

.ph {
  padding: 54px var(--gutter) 46px;
}

.ph__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ph__kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.ph__dash {
  width: 54px;
  height: 2px;
  background: var(--accent);
}

.ph__line {
  display: flex;
  align-items: flex-end;
  gap: 26px;
  flex-wrap: wrap;
}

.ph__title {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: clamp(52px, 5.4vw, 104px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.ph__script {
  padding-bottom: 22px;
  color: var(--accent);
  font-family: "Caramel", "Segoe Script", cursive;
  font-size: clamp(52px, 4.8vw, 92px);
  line-height: 0.5;
  transform: rotate(-7deg);
  transform-origin: left bottom;
  white-space: nowrap;
}

.ph__lead {
  max-width: 640px;
  padding-top: 6px;
  font-size: 22px;
  font-weight: 500;
  opacity: 0.8;
  text-wrap: pretty;
}


/* ==========================================================================
   03. The cards
   ========================================================================== */

.pmain { padding: 34px var(--gutter) 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.card { display: flex; }

.card__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  transition: border-color 0.16s ease-out, transform 0.16s ease-out;
}

.card--hot .card__link {
  border: 3px solid var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
}

.card__link:hover,
.card__link:focus-visible {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card__figure {
  position: relative;
  display: block;
  /* 59:30 — the same shape ThemeForest uses for item thumbnails, so the
     artwork drops in without a crop */
  aspect-ratio: 59 / 30;
  overflow: hidden;
}

.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* only the corner tag sits over the picture, so the scrim can stay light */
.card__scrim {
  position: absolute;
  inset: 0 0 auto;
  height: 96px;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.34) 55%, transparent 100%);
  pointer-events: none;
}

.card__tag {
  position: absolute;
  left: 18px;
  top: 16px;
  background: var(--accent);
  padding: 5px 13px;
  color: #FFFFFF;
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .card__tag { color: #1A1A1A; }
}

.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 26px 26px;
}

.card__name {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.card--hot .card__name { color: var(--accent); }

.card__desc {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.78;
  text-wrap: pretty;
}

.card__facts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 2px dotted rgba(var(--ink-rgb), 0.35);
}

/* one fact per line: side by side they run into each other as soon as a
   value is more than a word long */
.card__fact {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.card__k {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

.card__v {
  margin-left: auto;
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
}

.card__cta {
  padding-top: 6px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* ==========================================================================
   04. Closing note and footer
   ========================================================================== */

.pnote {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.pnote__text {
  max-width: 760px;
  font-size: 20px;
  font-weight: 500;
  opacity: 0.78;
  text-wrap: pretty;
}

.pnote__script {
  margin-left: auto;
  color: var(--accent);
  font-family: "Caramel", "Segoe Script", cursive;
  font-size: 46px;
  line-height: 0.5;
  white-space: nowrap;
}

.pfoot {
  padding: 30px var(--gutter) 46px;
}

.pfoot__line {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.45;
}


/* ==========================================================================
   05. Responsive — 1100 / 860 / 560 / 400
   ========================================================================== */

@media (max-width: 1100px) {
  .card__name { font-size: 32px; }
  .card__desc { font-size: 19px; }
  .card__body { padding: 20px 22px 22px; }
}

@media (max-width: 860px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .ph { padding: 40px var(--gutter) 34px; }
  .pmain { padding-top: 26px; }
}

@media (max-width: 560px) {
  :root { --gutter: 24px; }

  .ph__lead { font-size: 19px; }
  .pnote__script { margin-left: 0; font-size: 38px; }
}

@media (max-width: 400px) {
  .ph__title { font-size: clamp(38px, 12vw, 52px); }
  .ph__script { font-size: clamp(34px, 11vw, 48px); }
  .card__name { font-size: 26px; }
}
