/* ==========================================================================
   Magical Dream Journeys — travel.dakotabacchus.com
   Corrie Bacchus, independent travel advisor.

   Shares the STRUCTURE of dakotabacchus.com — same layout logic, same
   generous whitespace, same type hierarchy — but not its austerity.
   Warm neutrals instead of white/black, ocean teal instead of Klein blue,
   sentence case instead of uppercase, softened corners, no monospace.
   The family resemblance is in the bones, not the surface.
   ========================================================================== */

:root {
  --bg:        #FDFCFA;   /* warm white, not clinical white */
  --surface:   #F5F1EA;   /* sand */
  --ink:       #1F1C19;   /* warm near-black, not #0A0A0A */
  --dim:       #6E665D;
  --faint:     #E4DDD2;

  --accent:    #0E6E68;   /* ocean teal */
  --accent-sf: #E8F2F0;   /* accent at low strength, for fills */
  --accent-fg: #FFFFFF;

  --rule:      #DAD2C6;
  --rule-hard: #C9BFB0;

  --r:         12px;      /* the main site is 0 radius everywhere; this is
                             the single biggest friendliness lever */
  --r-pill:    999px;

  --pad:       40px;
  --measure:   1120px;
  --ease:      cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Archivo, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

::selection { background: var(--accent); color: var(--accent-fg); }

a { color: inherit; }

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

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

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

.skip {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 10;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 14px 20px;
  border-radius: 0 0 var(--r) 0;
  font: 600 14px/1 Archivo, sans-serif;
  text-decoration: none;
}
.skip:focus { left: 0; }

.shell {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Masthead ------------------------------------------------------------ */

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  padding: 6px 0;
}
.wordmark__name {
  font: 700 17px/1.2 Archivo, sans-serif;
  letter-spacing: -.01em;
}
.wordmark__sub {
  font: 500 12.5px/1.2 Archivo, sans-serif;
  color: var(--accent);
}

.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a {
  font: 500 15px/1 Archivo, sans-serif;
  text-decoration: none;
  padding: 12px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--surface); color: var(--accent); }
.nav a[aria-current="page"] { background: var(--accent-sf); color: var(--accent); font-weight: 600; }

/* --- Hero ---------------------------------------------------------------- */

/* Text and portrait side by side. People book a person, so her face sits in
   the first screenful rather than somewhere further down. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 48px;
  padding: 72px 0 56px;
}
.hero__text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.portrait { margin: 0; }
.portrait__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r);
  background: var(--surface);
}

/* The stand-in. A monogram reads as a deliberate mark; a grey box with
   "photo here" reads as an unfinished website. */
.portrait__mono {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-sf);
  border: 1px solid var(--faint);
}
.portrait__mono span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  font: 700 clamp(28px, 4vw, 40px)/1 Archivo, sans-serif;
  letter-spacing: .04em;
  text-indent: .04em;   /* optical centring for the tracked letters */
}

.portrait__cap {
  margin-top: 12px;
  font: 600 15px/1.4 Archivo, sans-serif;
  color: var(--ink);
}
.portrait__cap span {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 14px;
  color: var(--dim);
}

@media (max-width: 760px) {
  /* Portrait first on a phone: the face should land before the pitch. */
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0 40px;
  }
  .portrait { order: -1; max-width: 220px; }
}
.hero__kicker {
  font: 600 14px/1.4 Archivo, sans-serif;
  color: var(--accent);
}
.hero__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.hero__title .dot { color: var(--accent); }
.hero__lede {
  margin: 0;
  font: 400 19px/1.65 Archivo, sans-serif;
  color: var(--dim);
  max-width: 60ch;
  text-wrap: pretty;
}

/* --- Page head (sub-pages) ----------------------------------------------- */

.page-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 60px 0 40px;
}
.page-head__kicker {
  font: 600 14px/1.4 Archivo, sans-serif;
  color: var(--accent);
}
.page-head__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.page-head__intro {
  margin: 0;
  font: 400 18px/1.65 Archivo, sans-serif;
  color: var(--dim);
  max-width: 58ch;
  text-wrap: pretty;
}

/* --- Band ---------------------------------------------------------------- */

.band {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
}
.band__label {
  margin: 0;
  font: 600 15px/1.5 Archivo, sans-serif;
  color: var(--ink);
  align-self: start;
}
.band__body { min-width: 0; }

/* --- Action rows --------------------------------------------------------- */

.rows { display: flex; flex-direction: column; gap: 12px; }

.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--bg);
  text-decoration: none;
  color: var(--ink);
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.row:hover {
  background: var(--surface);
  border-color: var(--rule-hard);
}

.row__title {
  margin: 0;
  font: 700 21px/1.25 Archivo, sans-serif;
  letter-spacing: -.015em;
}
.row__go {
  font: 600 15px/1 Archivo, sans-serif;
  color: var(--accent);
  white-space: nowrap;
}
.row__desc {
  grid-column: 1 / -1;
  margin: 0;
  font: 400 16px/1.6 Archivo, sans-serif;
  color: var(--dim);
  max-width: 66ch;
  text-wrap: pretty;
}

/* --- Destinations -------------------------------------------------------- */

/* Five cards on a 6-column track: three across, then two wide ones. Beats
   auto-fit, which leaves a ragged hole in the last row at most widths. */
.dests {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.dest { grid-column: span 2; }
.dest:nth-child(4), .dest:nth-child(5) { grid-column: span 3; }
.dest {
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;   /* so the photo's corners follow the card's radius */
}

/* Full-bleed photo across the top of the card: the negative margin cancels
   the card's padding. A fixed height rather than an aspect ratio, so the two
   wider cards on the bottom row keep the same photo depth as the three above
   them instead of growing taller. */
.dest__img {
  display: block;
  width: calc(100% + 44px);
  /* The global `img { max-width: 100% }` resolves against the card's content
     box — the card minus its 44px of padding — so it clamped this straight
     back down and left a strip of card showing on the right. */
  max-width: none;
  height: 170px;
  margin: -22px -22px 14px;
  object-fit: cover;
  object-position: center;
  background: var(--surface);
}
.dest__name {
  margin: 0;
  font: 700 17px/1.3 Archivo, sans-serif;
  letter-spacing: -.01em;
}
.dest__list {
  margin: 0;
  font: 400 15.5px/1.55 Archivo, sans-serif;
  color: var(--dim);
}

/* --- Embeds -------------------------------------------------------------- */

.embed {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.embed iframe { display: block; width: 100%; border: 0; }
.embed--form iframe { height: 1100px; }

.embed-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.embed--social iframe { height: 500px; }

.embed__note {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--rule);
  font: 500 14px/1.4 Archivo, sans-serif;
  color: var(--dim);
}
.embed__note a { color: var(--accent); }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1.5px solid var(--rule-hard);
  border-radius: var(--r-pill);
  background: none;
  color: var(--ink);
  font: 600 15px/1 Archivo, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--surface); border-color: var(--ink); }

.btn--accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-fg);
}
.btn--accent:hover { background: #0B5651; border-color: #0B5651; color: var(--accent-fg); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Closing ------------------------------------------------------------- */

.closing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 56px;
  padding: 36px 40px 40px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--surface);
}
.closing__label {
  margin: 0;
  font: 600 15px/1.4 Archivo, sans-serif;
  color: var(--accent);
}
/* Sized to sit on one line at every width — the address is 30 characters. */
.closing__email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* it is the primary action; make it tappable */
  font: 700 clamp(19px, 2.9vw, 30px)/1.25 Archivo, sans-serif;
  letter-spacing: -.015em;
  text-decoration: none;
  overflow-wrap: break-word;
  max-width: 100%;
  transition: color .2s;
}
.closing__email:hover { color: var(--accent); }
.closing__phone {
  font: 500 16px/1 Archivo, sans-serif;
  text-decoration: none;
  color: var(--dim);
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color .2s;
}
.closing__phone:hover { color: var(--accent); }

/* --- Footer -------------------------------------------------------------- */

.colophon {
  margin-top: auto;
  border-top: 1px solid var(--rule);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  font: 400 14px/1.5 Archivo, sans-serif;
  color: var(--dim);
}

/* People look in the footer for how to reach a business. It carried only a
   copyright line, so every page ended in a dead end. */
.colophon__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.colophon__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* touch target */
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.colophon__links a:hover { color: var(--accent); text-decoration: underline; }

/* Nothing should push the page sideways. */
html, body { overflow-x: clip; }

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 900px) {
  :root { --pad: 20px; }
  .dests { grid-template-columns: repeat(2, 1fr); }
  .dest, .dest:nth-child(4), .dest:nth-child(5) { grid-column: span 1; }
  .dest:nth-child(5) { grid-column: span 2; }
  .band { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .hero { padding: 44px 0 32px; }
  .page-head { padding: 40px 0 28px; }
  .closing { padding: 28px 22px 32px; }
  .embed--form iframe { height: 1400px; }
  .nav { gap: 2px; }
  .nav a { padding: 12px 10px; font-size: 14px; }
}

@media (max-width: 560px) {
  .dests { grid-template-columns: 1fr; }
  .dest, .dest:nth-child(4), .dest:nth-child(5) { grid-column: span 1; }
}

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

/* Intro paragraph inside a band body */
.band__intro {
  margin: 0 0 22px;
  font: 400 17px/1.65 Archivo, sans-serif;
  color: var(--dim);
  max-width: 58ch;
  text-wrap: pretty;
}
