/* Jonas Gidwa Tours — simple version.
   Deliberately plain: no scroll animation, no theme switching, no motion system.
   Conventional layout a visitor recognises immediately. */

@font-face{font-family:'Fraunces';font-style:normal;font-weight:300 700;font-display:swap;
  src:url('../fonts/Fraunces-roman.woff2') format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('../fonts/Archivo-roman.woff2') format('woff2')}

:root{
  --paper:#FFFFFF;
  --sand:#F6F2EA;
  --ink:#1C2621;
  --ink-2:#4A5A52;
  --forest:#1B3A2F;
  --ochre:#B4551F;
  --ochre-dark:#8F3F11;
  --line:#E2DCD1;
  --max:1120px;
  --pad:clamp(1.25rem,4vw,2.5rem);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:'Archivo',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto}
a{color:var(--ochre-dark)}
h1,h2,h3,p,ul,figure{margin:0}
ul{padding:0;list-style:none}
:focus-visible{outline:3px solid var(--ochre);outline-offset:2px}

h1,h2,h3{font-family:'Fraunces',Georgia,serif;font-weight:600;line-height:1.15;letter-spacing:-.01em}
h1{font-size:clamp(1.9rem,4.6vw,3rem)}
h2{font-size:clamp(1.5rem,3.2vw,2.1rem)}
h3{font-size:1.2rem}

.wrap{max-width:var(--max);margin:0 auto;padding-inline:var(--pad)}
.section{padding-block:clamp(2.5rem,6vw,4.5rem)}
.section--sand{background:var(--sand);border-block:1px solid var(--line)}
.lede{font-size:1.12rem;color:var(--ink-2);max-width:62ch}
.section > .wrap > h2 + p{margin-top:.75rem;color:var(--ink-2);max-width:62ch}

/* ---- header ---- */
.top{background:var(--paper);border-bottom:1px solid var(--line)}
.top__in{display:flex;align-items:center;gap:1rem;justify-content:space-between;
  padding-block:.85rem;flex-wrap:wrap}
.logo{display:block;flex:none}
.logo img{height:46px;width:auto}
@media (max-width:560px){.logo img{height:36px}}
.nav{display:flex;gap:1.4rem;align-items:center;flex-wrap:wrap}
.nav a{color:var(--ink);text-decoration:none;font-weight:500;padding:.3rem 0}
.nav a:hover,.nav a[aria-current="page"]{color:var(--ochre-dark);text-decoration:underline}
.top__call{
  display:inline-block;background:var(--ochre);color:#fff;text-decoration:none;
  padding:.6rem 1.1rem;border-radius:4px;font-weight:600;white-space:nowrap;
}
.top__call:hover{background:var(--ochre-dark)}
@media (max-width:900px){
  /* two rows, not three: logo and call button share the top line */
  .top__in{justify-content:space-between;padding-block:.6rem;gap:.6rem}
  .logo{order:1}
  .top__call{order:2;padding:.5rem .9rem;font-size:.92rem}
  .nav{order:3;width:100%;justify-content:space-between;gap:.5rem;font-size:.92rem}
  .nav a{padding:.15rem 0}
}
@media (max-width:400px){
  .nav{font-size:.86rem}
  .top__call{font-size:.86rem;padding:.45rem .75rem}
}

/* ---- full-screen header image ----
   The photograph is the first impression. Text sits on a scrim dark enough that
   white type clears WCAG AA regardless of what the photo is doing underneath. */
.hero{
  position:relative;isolation:isolate;
  min-height:calc(100svh - var(--top-h, 5.4rem));
  display:grid;align-items:center;
  padding-block:clamp(3rem,10vh,6rem);
  background:#16211C;
}
@media (max-width:760px){
  .hero{min-height:calc(100svh - var(--top-h, 7rem));padding-block:clamp(2rem,7vh,4rem)}
}
@media (max-height:700px){
  .hero{padding-block:1.75rem}
  .hero h1{font-size:clamp(1.7rem,5vw,2.4rem)}
  .hero__lede{margin-top:.8rem;font-size:1rem}
  .hero .btn-row{margin-top:1.3rem}
  .hero__eyebrow{margin-bottom:.7rem}
}
.hero__img{
  position:absolute;inset:0;z-index:-2;
  width:100%;height:100%;object-fit:cover;object-position:center 45%;
}
.hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  /* Two layers: one darkens the side the text sits on, one keeps the top and
     bottom edges readable. Measured against the brightest pixel behind the
     text rather than the average, so a brighter photo still passes. */
  background:
    /* hold the dark across the full width of the text column (max 44rem),
       then fall away so the photograph still reads on the right */
    linear-gradient(96deg,
      rgba(12,20,16,.84) 0%,
      rgba(12,20,16,.80) 34%,
      rgba(12,20,16,.74) 58%,
      rgba(12,20,16,.26) 84%,
      rgba(12,20,16,.36) 100%),
    linear-gradient(180deg,
      rgba(12,20,16,.44) 0%,
      rgba(12,20,16,.14) 40%,
      rgba(12,20,16,.56) 100%);
}
@media (max-width:900px){
  /* text is full width on small screens, so the scrim has to be even */
  .hero::after{
    background:linear-gradient(180deg,
      rgba(12,20,16,.68) 0%,
      rgba(12,20,16,.70) 45%,
      rgba(12,20,16,.82) 100%);
  }
}
.hero__in{color:#fff;max-width:44rem}
/* About page: text beside a portrait. Its own class so it does not inherit the
   hero's white text or 44rem cap. */
.split{display:grid;gap:1.8rem;align-items:start;margin-top:1.5rem}
.split img{width:100%;border-radius:6px}
@media (min-width:860px){
  .split{grid-template-columns:1.15fr .85fr;gap:3rem;align-items:center}
}
.hero__eyebrow{
  font-size:.9rem;letter-spacing:.14em;text-transform:uppercase;
  color:#FFF;font-weight:600;margin-bottom:1rem;
  text-shadow:0 1px 10px rgba(0,0,0,.45);
}
.hero h1{
  color:#fff;font-size:clamp(2.1rem,5.4vw,3.6rem);
  text-shadow:0 2px 18px rgba(0,0,0,.4);
}
.hero__lede{
  margin-top:1.1rem;font-size:clamp(1.05rem,2vw,1.3rem);
  color:#F2EEE6;max-width:36rem;text-shadow:0 1px 10px rgba(0,0,0,.4);
}
.hero .btn-row{margin-top:2rem}

.hero__down{
  position:absolute;left:50%;bottom:1.6rem;translate:-50% 0;z-index:1;
  width:34px;height:52px;border:2px solid rgba(255,255,255,.55);border-radius:20px;
  display:grid;justify-items:center;padding-top:9px;
}
.hero__down span{
  display:block;width:4px;height:9px;border-radius:2px;background:#fff;
  animation:heroDown 1.9s ease-in-out infinite;
}
@keyframes heroDown{0%,100%{transform:translateY(0);opacity:.9}50%{transform:translateY(11px);opacity:.35}}
@media (prefers-reduced-motion:reduce){.hero__down span{animation:none}}
@media (max-width:760px){.hero__down{display:none}}

.btn{
  display:inline-block;background:var(--ochre);color:#fff;text-decoration:none;
  padding:.8rem 1.5rem;border-radius:4px;font-weight:600;border:0;cursor:pointer;
  font-size:1rem;font-family:inherit;
}
.btn:hover{background:var(--ochre-dark)}
.btn--plain{background:transparent;color:var(--ink);border:1.5px solid var(--line)}
.btn--plain:hover{background:var(--sand);border-color:var(--ink-2)}
.btn--lg{padding:.95rem 1.8rem;font-size:1.05rem}
.btn--ghost{background:rgba(255,255,255,.12);color:#fff;border:1.5px solid rgba(255,255,255,.7);
  backdrop-filter:blur(3px)}
.btn--ghost:hover{background:#fff;color:var(--ink);border-color:#fff}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}

/* ---- tour cards ---- */
.grid{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media (min-width:620px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){.grid{grid-template-columns:repeat(3,1fr)}}

.card{
  border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--paper);
  display:flex;flex-direction:column;
}
.card img{aspect-ratio:3/2;object-fit:cover;width:100%}

/* ---- gallery ------------------------------------------------------------ */
.gallery{display:grid;gap:.75rem;grid-template-columns:1fr}
@media (min-width:620px){.gallery{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){.gallery{grid-template-columns:repeat(3,1fr)}}
.shot{padding:0;border:0;background:none;cursor:zoom-in;display:block;
  border-radius:6px;overflow:hidden;line-height:0}
.shot img{aspect-ratio:3/2;object-fit:cover;width:100%;
  transition:transform .25s ease,filter .25s ease}
.shot:hover img,.shot:focus-visible img{transform:scale(1.03);filter:brightness(1.05)}
.shot:focus-visible{outline:3px solid var(--ochre);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.shot img{transition:none}
  .shot:hover img,.shot:focus-visible img{transform:none}}

/* ---- lightbox ----------------------------------------------------------- */
.lb{position:fixed;inset:0;z-index:60;background:rgba(10,16,13,.97);
  display:grid;grid-template-rows:1fr auto;place-items:center;padding:3.5rem 1rem 1rem}
.lb[hidden]{display:none}
.lb__img{max-width:min(1200px,94vw);max-height:78vh;width:auto;height:auto;
  border-radius:4px;grid-row:1}
.lb__cap{grid-row:2;color:#EFEAE0;font-size:.95rem;text-align:center;
  margin-top:1rem;max-width:44rem}
.lb__x,.lb__nav{position:absolute;background:rgba(255,255,255,.12);color:#fff;
  border:1px solid rgba(255,255,255,.35);border-radius:50%;cursor:pointer;
  display:grid;place-items:center;line-height:1}
.lb__x{top:1rem;right:1rem;width:2.75rem;height:2.75rem;font-size:1.9rem}
.lb__nav{top:50%;transform:translateY(-50%);width:3rem;height:3rem;font-size:2rem}
.lb__prev{left:1rem}
.lb__next{right:1rem}
.lb__x:hover,.lb__nav:hover{background:rgba(255,255,255,.26)}
.lb__x:focus-visible,.lb__nav:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (max-width:560px){
  .lb{padding:3.25rem .5rem .5rem}
  .lb__nav{width:2.6rem;height:2.6rem;font-size:1.7rem}
  .lb__prev{left:.4rem}.lb__next{right:.4rem}
}
.card__body{padding:1.1rem 1.2rem 1.3rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.card h3{font-size:1.15rem}
.card p{color:var(--ink-2);font-size:.97rem;margin:0}
.tag{
  display:inline-block;align-self:flex-start;background:var(--sand);
  border:1px solid var(--line);border-radius:3px;padding:.15rem .55rem;
  font-size:.82rem;color:var(--ink-2);font-weight:500;
}
.card a{margin-top:auto;padding-top:.4rem;font-weight:600;color:var(--ochre-dark)}

/* ---- tour detail blocks ---- */
.tour{border-top:1px solid var(--line);padding-block:2.2rem;scroll-margin-top:1rem}
.tour:first-of-type{border-top:0;padding-top:.5rem}
.tour__in{display:grid;gap:1.5rem}
@media (min-width:820px){.tour__in{grid-template-columns:340px 1fr;gap:2rem}}
.tour img{border-radius:6px;aspect-ratio:4/3;object-fit:cover;width:100%}
.tour h2{font-size:1.5rem}
.tour p{margin-top:.7rem;color:var(--ink-2);max-width:62ch}
.tour ul{margin-top:.9rem;display:grid;gap:.35rem}
.tour ul li{padding-left:1.15rem;position:relative;color:var(--ink-2)}
.tour ul li::before{content:"•";position:absolute;left:.2rem;color:var(--ochre)}
.tour .btn-row{margin-top:1.2rem}

/* ---- simple two-column lists ---- */
.cols{display:grid;gap:1.5rem;grid-template-columns:1fr;margin-top:1.8rem}
@media (min-width:700px){.cols{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.cols--3{grid-template-columns:repeat(3,1fr)}}
.box h3{margin-bottom:.35rem}
.box p{color:var(--ink-2);margin:0}

/* ---- routes table ---- */
.routes{margin-top:1.6rem;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.routes div{display:flex;justify-content:space-between;gap:1rem;padding:.85rem 1.1rem;
  border-top:1px solid var(--line);flex-wrap:wrap}
.routes div:first-child{border-top:0}
.routes b{font-weight:600}
.routes span{color:var(--ink-2);font-size:.95rem}

/* ---- contact ---- */
.contact-grid{display:grid;gap:2rem;margin-top:1.8rem}
@media (min-width:860px){.contact-grid{grid-template-columns:1fr 1fr;gap:3rem}}
.field{display:grid;gap:.35rem;margin-bottom:1rem}
.field label{font-weight:600;font-size:.95rem}
.field input,.field textarea,.field select{
  font:inherit;padding:.7rem .85rem;border:1.5px solid var(--line);border-radius:4px;
  background:var(--paper);color:var(--ink);width:100%;
}
.field textarea{min-height:8rem;resize:vertical}
.field :focus{border-color:var(--ochre)}
.details{display:grid;gap:.9rem;margin-top:1.2rem}
.details a{color:var(--ink);text-decoration:none;font-weight:600;font-size:1.05rem}
.details a:hover{color:var(--ochre-dark);text-decoration:underline}
.details small{display:block;color:var(--ink-2);font-weight:400;font-size:.9rem}

/* ---- footer ---- */
.foot{background:var(--forest);color:#F2EEE6;padding-block:2.5rem 1.5rem;margin-top:0}
.foot a{color:#F2EEE6}
.foot img{height:60px;width:auto;margin-bottom:1rem}
.foot__cols{display:grid;gap:1.8rem}
@media (min-width:760px){.foot__cols{grid-template-columns:1.4fr 1fr 1fr}}
.foot h3{font-size:1rem;margin-bottom:.6rem;font-family:'Archivo',sans-serif;font-weight:700}
.foot ul{display:grid;gap:.45rem}
.foot p{color:#CFD8D2;margin-top:.4rem}
.foot__bar{margin-top:2rem;padding-top:1rem;border-top:1px solid rgba(242,238,230,.22);
  font-size:.9rem;color:#CFD8D2}

.skip{position:absolute;left:-999px}
.skip:focus{left:1rem;top:1rem;background:var(--ochre);color:#fff;padding:.6rem 1rem;
  border-radius:4px;z-index:10}
