/* journeywebprism.com: shared tokens, header, footer and homepage.
   White page, inset photo hero, square route cards, one tinted split. */
:root {
  --white: #FFFFFF;
  --ink: #1C2236;
  --muted: #535A6C;
  --navy: #283888;
  --navy-deep: #1E2A6B;
  --leaf: #88BE64;
  --green: #2F7A35;
  --pale: #EEF5E8;
  --grey: #F0F1F4;
  --grey-hover: #E4E6EB;
  --line: #E2E4EA;
  --font-serif: "Andada Pro", Georgia, serif;
  --font-sans: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(64px, 9vw, 120px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-deep);
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  font-family: var(--font-sans);
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.fine {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--grey);
  color: var(--ink);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.btn-ghost:focus-visible,
.btn-light:focus-visible {
  outline-color: var(--white);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--grey);
  color: var(--ink);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-deep);
  color: var(--white);
}

/* ---------- Header: big logo left, quiet links, grey pill CTA ---------- */
.masthead {
  position: static;
  background: var(--white);
}

.masthead-row {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px var(--gutter);
}

.masthead-logo {
  flex: none;
  display: block;
  border-radius: 6px;
}

.masthead-logo img {
  width: auto;
  height: 66px;
}

.masthead-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 0.98rem;
}

.masthead-nav a {
  color: var(--ink);
  text-decoration: none;
}

.masthead-nav a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.masthead-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-left: 12px;
  padding: 10px 20px;
  background: var(--grey);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.masthead-cta:hover {
  background: var(--grey-hover);
  color: var(--ink);
}

.masthead-cta .ico {
  color: var(--navy);
}

@media (max-width: 760px) {
  .masthead-nav {
    display: none;
  }
  .masthead-row {
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .masthead-logo img {
    height: 42px;
  }
  .masthead-cta {
    margin-left: 0;
    padding: 9px 16px;
  }
}

@media (max-width: 380px) {
  .masthead-logo img {
    height: 36px;
  }
  .masthead-cta .ico {
    display: none;
  }
}

/* ---------- Hero: rounded inset photo, centred serif headline ---------- */
.hero {
  padding: 0 var(--gutter);
}

.hero-frame {
  position: relative;
  max-width: 1312px;
  min-height: clamp(440px, 62vh, 600px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
  background: var(--navy-deep);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 56, 0.42);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 48px 24px;
  text-align: center;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5.6vw, 4.3rem);
  font-weight: 500;
  line-height: 1.06;
  margin-bottom: 0.4em;
}

.hero-sub {
  max-width: 34em;
  margin: 0 auto 30px;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Trip shapes: 3-column square photo cards ---------- */
.shapes {
  padding: var(--space) 0 calc(var(--space) * 0.8);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0;
}

.shape-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shape img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 20px;
  background: var(--grey);
}

.shape h3 {
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0;
}

.shape p {
  margin: 0 0 10px;
  max-width: 36ch;
}

.shape .shape-spec {
  margin: 0;
  color: var(--green);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 960px) {
  .shape-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 24px;
  }
}

@media (max-width: 600px) {
  .shape-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Method: photo + pale tinted text block ---------- */
.method {
  padding: 0 0 var(--space);
}

.method-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 18px;
}

.method-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.method-copy {
  padding: clamp(32px, 5vw, 64px);
  background: var(--pale);
}

.steps {
  margin: 8px 0 32px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 22px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
}

.steps h3 {
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  max-width: 46ch;
}

@media (max-width: 860px) {
  .method-split {
    grid-template-columns: 1fr;
  }
  .method-photo img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Compare table ---------- */
.compare {
  padding: 0 0 var(--space);
}

.compare-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.compare-head p {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.98rem;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

thead th {
  font-family: var(--font-sans);
  font-weight: 600;
  background: var(--grey);
}

tbody th {
  font-weight: 500;
}

.col-hl {
  background: var(--pale);
}

thead .col-hl {
  background: #DCEBD0;
}

.tick {
  color: var(--green);
  width: 20px;
  height: 20px;
}

.dash {
  color: var(--muted);
}

/* ---------- Checklist: three quiet columns ---------- */
.checklist {
  padding: 0 0 var(--space);
}

.checklist-head {
  margin-bottom: 28px;
}

.checklist-head p {
  color: var(--muted);
  margin: 0;
}

.check-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.check-col {
  padding-top: 18px;
  border-top: 2px solid var(--navy);
}

.check-col h3 {
  font-family: var(--font-sans);
  font-weight: 600;
}

.check-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-col li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.check-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf);
}

@media (max-width: 760px) {
  .check-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- From the blog (WordPress): one image+text entry, two ruled text entries ---------- */
.latest {
  padding: 0 0 var(--space);
}

.latest-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.latest-head h2 {
  margin: 0;
}

.latest-head a {
  font-family: var(--font-sans);
  font-weight: 500;
}

.latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px 56px;
  align-items: start;
}

.latest-grid a {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.latest-grid a > span {
  display: block;
}

.latest-fig img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  background: var(--grey);
}

.latest-label {
  margin-bottom: 4px;
  color: var(--green);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
}

.latest-title {
  margin-bottom: 8px;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
}

.latest-main .latest-title {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.latest-grid a:hover .latest-title {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.latest-ex {
  max-width: 52ch;
  color: var(--muted);
}

.latest-meta {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.latest-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.latest-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.latest-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 860px) {
  .latest-grid {
    grid-template-columns: 1fr;
  }
  .latest-list li:first-child {
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }
}

/* Blog link stays visible in the header on small screens. */
@media (max-width: 760px) {
  .masthead-nav {
    display: flex;
    margin-left: auto;
  }
  .masthead-nav a:not(.nav-blog) {
    display: none;
  }
}

@media (max-width: 440px) {
  .masthead-logo img {
    height: 34px;
  }
  .masthead-cta {
    padding: 8px 14px;
  }
  .masthead-cta .ico {
    display: none;
  }
}

/* ---------- FAQ ---------- */
.faq {
  padding: 0 0 var(--space);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 24px 64px;
  align-items: start;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .ico {
  color: var(--navy);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary .ico {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 62ch;
  margin: 0 0 20px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Closing CTA ---------- */
.closer {
  padding: 0 0 var(--space);
}

.closer-panel {
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 64px);
  background: var(--grey);
  border-radius: 24px;
  text-align: center;
}

.closer-panel p {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.closer-panel .btn {
  margin-top: 8px;
}

.cta-note {
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 56px;
  font-size: 0.96rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 14px;
  border-radius: 6px;
}

.footer-logo img {
  width: auto;
  height: 46px;
}

.footer-id p {
  max-width: 38ch;
  color: var(--muted);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-col h2 {
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
}

.footer-col a {
  color: var(--ink);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  max-width: 70ch;
}

@media (max-width: 760px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-id {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .shape img {
    aspect-ratio: 4 / 3;
  }
  .hero-frame {
    min-height: 0;
  }
  .hero-copy {
    padding: 64px 20px;
  }
  .method-copy {
    padding: 28px 22px;
  }
  .steps li {
    padding-left: 40px;
  }
}
