/* Minimal, cinematic 2-page site */
:root{
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fg: #111;
  --pill-bg: rgba(255,255,255,.75);
  --pill-fg: #111;
  --pill-bg-hover: rgba(255,255,255,.9);
  --border: 1px solid rgba(255,255,255,.2);
  --pad: 1.2rem;
}
*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin:0;
  color:var(--fg);
  background:#fff;   /* default for most pages */
  font:16px/1.7 var(--font-sans);
}

/* Home page is dark */
.page-home,
.page-home .hero-video {
  background:#000;
}
.hero-video > video { display:block; } /* avoids tiny gaps */


.visually-hidden{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.container{ max-width: 1200px; margin-inline:auto; padding-inline: var(--pad); }



/* HOME: 3 stacked full-screen local video sections */
.hero-video{
  position: relative;
  width: 100vw;
  height: 100svh; height: 100dvh; min-height: 100vh;
  margin-left: 50%; transform: translateX(-50%);
  overflow: hidden;
  background: #000000;
}
.hero-video > video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover; object-position: center;
}

.linktree {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

/* consistent size outlined buttons */
.linktree-btn {
  display: inline-block;
  width: 240px;             /* consistent width for all */
  text-align: center;
  padding: .8rem 0;         /* vertical padding */
  border-radius: 6px;       /* small rounding; set 0 for sharp corners */
  font-size: 1.5rem;
  font-weight: 500;
  color: #ffffff;              /* black text */
  background: transparent;  /* see-through */
  border: 2px solid #ffffff;   /* black outline */
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.linktree-btn:hover {
  background: #000;    /* fill in black on hover */
  color: #fff;         /* text turns white */
}


/* Socials + mailing */
.home-footer{
  padding: 2rem 1rem 3rem; background:#000000; color:#111; text-align:center;
}
.socials{ display:flex; gap:.8rem; justify-content:center; margin-bottom: 1rem; flex-wrap: wrap; }
.socials img{ width:32px; height:32px; display:block; }
.socials a{ display:inline-flex; padding:.4rem; border-radius:10px; border:1px solid #eee; background:#fff; }
.socials a:hover{ background:#f5f5f5; }
.mailing{ display:grid; grid-template-columns: 1fr auto; gap:.6rem; max-width:480px; margin:0 auto 1rem; }
.mailing input{ width:100%; padding:.7rem .9rem; border-radius:999px; border:1px solid #ddd; font: inherit; }
.mailing button{ padding:.7rem 1rem; border-radius:999px; border:1px solid #222; background:#111; color:#fff; cursor:pointer; }
.mailing button:hover{ filter: brightness(1.1); }

/* WATCH page grid */
.page-watch .container{ max-width:none; padding-inline:0; }
.watch-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:0; width:100vw; margin-left:50%; transform: translateX(-50%); }
@media (max-width:760px){ .watch-grid{ grid-template-columns:1fr; } }
.watch-grid .video{ position:relative; aspect-ratio:16/9; }
.watch-grid iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }

/* Back button
.back-home{
  position: fixed; top: 14px; left: 14px; z-index: 10;
  text-decoration: none; color:#111; background: rgba(255,255,255,.85);
  border: 1px solid #ddd; border-radius: 999px; padding: .5rem .8rem;
  backdrop-filter: blur(6px);
}
.back-home:hover{ background:#fff; } */

/* Optional paragraph utilities */
p.p-large{ font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height:1.45; font-weight:400; font-style: italic; margin:1rem 0; text-align:center; }
p.p-xlarge{ font-size: clamp(1.6rem, 3vw, 2.2rem); line-height:1.3; font-weight:400; margin:1.2rem 0; }
p.p-lead{ font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height:1.55; color:#444; margin:1rem 0; }


.hero { padding:4rem 0 2rem; }
.lead { font-size: 1.1rem; color:#000000; }

.grid { display:grid; gap: var(--gap); padding-block: 1.2rem; }
.grid.two { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 960px) { .grid.two { grid-template-columns: 1fr; } }

.card { padding:1rem; border:1px solid #eee; border-radius:12px; background:#fff; }

/* 1) The grid: fills the row, wraps when needed, no big gaps */
.team {
  display: grid;
  gap: var(--gap);                 /* tweak this if you want tighter spacing */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* remove justify-items:center; so items stretch to fill the track */
}

/* 2) The card: don't fix a width here */
.person { text-align: center; }     /* keep text centering if you like */

/* 3) The image: square and fills its card */
.person img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.projectimg {
  width: 300px;
  height: 300px;
  object-fit: cover;   /* crops without distortion */
  border-radius: 12px; /* optional, for rounded corners */
  display: block;      /* removes inline whitespace gap */
}


:root{
  /* Sans (modern, uses the OS UI font) */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif;


  /* Monospace (code) */
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
}

body{ font-family: var(--font-sans); }
h1, h2, h3{ font-family: var(--font-sans); }   
code, pre{ font-family: var(--font-mono); }



:root { --max: 1200px; --pad: 1.2rem; --gap: 1.2rem; }
* { box-sizing: border-box; }
html:focus-within { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.8 system-ui, -apple-system, sans-serif; color:#000000; background:#ffffff; }
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

img.responsive { max-width: 100%; height: auto; display: block; border-radius: 12px; }


.hero { padding:4rem 0 2rem; }
.lead { font-size: 1.1rem; color:#000000; }




/* TOUR page keeps default container sizing */
.page-tour .container { max-width: var(--max); padding-inline: var(--pad); }

/* Full-bleed grid wrapper */
.tour-grid{
  width: 100vw;                   /* edge-to-edge */
  margin-left: 50%;
  transform: translateX(-50%);    /* center across the viewport */
  display: grid;
  gap: var(--gap);
  padding: var(--pad);            /* breathing room at edges */
}

/* Square tiles that crop nicely */
.tour-grid.tiles figure { margin: 0; }
.tour-grid.tiles img{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;            /* square tiles */
  object-fit: cover;
  border-radius: 12px;
}

/* Columns: 4 → 3 → 2 → 1, responsive */
.tour-grid{
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1200px){ .tour-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .tour-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tour-grid{ grid-template-columns: 1fr; } }



/* when footer is visible, fade the floating linktree away */
.linktree.is-docked {
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}


/* Handwritten top banner */


/* default
.page-home .wwm-handwritten img{
  width: clamp(220px, 30vw, 520px);
}

/* in portrait, allow a larger scale basis */
/* @media (orientation: portrait){
  .page-home .wwm-handwritten img{
    width: clamp(260px, 28vmax, 540px);
  }
} */ 

.page-home .wwm-handwritten {
  position: fixed;
  top: 8px;                /* adjust if it clashes with your nav */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;           /* above videos/nav */
  pointer-events: none;    /* clicks go through */
}

.page-home .wwm-handwritten img {
  display: block;
  width: clamp(260px, 30vw, 520px);  responsive sizing
  height: auto;
  opacity: 1;
  transition: opacity .35s ease, transform .35s ease;
}




/* Hidden state once scrolled */
.page-home .wwm-handwritten.is-hidden img {
  opacity: 0;
  transform: translateY(-6px);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-home .wwm-handwritten img {
    transition: none;
  }
}











/* Footer copyright text */
.home-footer small {
  display: block;
  text-align: center;
  color: #fff;     /* or #ddd if you want it softer */
  margin-top: 10px;
  font-size: 0.85rem;
}


.contact-text {
  text-align: center;
  margin-top: 16px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
}
.contact-text a {
  color: #fff;
  text-decoration: underline;
}
.contact-text a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* Contact header on Book Us page */
.contact-header {
  text-align: center;
  padding: 3rem 0;
  background: transparent;  /* or rgba(0,0,0,0.4) if over video */
  font-size: 1.1rem;
  font-weight: 500;
  color: #000000;               /* adjust for your background */
  z-index: 100;
}

.contact-header a {
  color: #000000;
  text-decoration: underline;
}

.contact-header a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.tour-list { display: grid; gap: 18px; padding: 24px 0; }
.tour-item { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 14px; }
.tour-item h3 { margin: 0 0 6px; font-size: 1.25rem; }
.tour-item a { text-decoration: underline; }
.tour-meta { margin: 0 0 4px; opacity: 0.9; }

a {
  color: inherit;       /* match surrounding text */
  text-decoration: underline;
}

a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* Header base */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgb(255, 255, 255);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

/* Page padding only if header exists */
body:not(.page-home) {
  padding-top: 56px;
}

/* Home page hides header entirely */
.page-home .site-header { display: none; }

/* Inner layout */
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px;
  width: 100%;
}

/* Home button style */
.home-link {
  display: inline-block;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.12);
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

.home-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* WATCH page — white button on black header */
.page-watch .site-header {
  background: #000000;                /* solid black header bar */
  border-bottom: 1px solid #000000;   /* black base border */
}

.page-watch .home-link {
  color: #ffffff;                     /* white text */
  border: 1px solid #ffffff;          /* white border */
  background: transparent;            /* see-through over black header */
}

.page-watch .home-link:hover {
  background: #ffffff;                /* invert on hover */
  color: #000000;                     /* black text */
  text-decoration: none;
}


.page-tour .site-header {
  background: #ffffff;                /* solid white bar */
  border-bottom: 1px solid #000000;   /* black line under header */
}

.page-tour .home-link {
  color: #000000;                     /* black text */
  border: 1px solid #000000;          /* black border */
  background: #ffffff;                /* white fill */
}

.page-tour .home-link:hover {
  background: #000000;                /* invert on hover */
  color: #ffffff;                     /* white text on hover */
  text-decoration: none;
}

