@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f1ede2;
  --text: #111111;
  --accent: #f0bb4f;
  --accent-dark: #d99f2e;
  --line: #111111;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Header ---- */
header.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo img { height: 56px; width: auto; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

nav.main-nav a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--line); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: 300px;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
}
.btn:hover { background: var(--line); color: var(--bg); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--text); }

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

/* ---- Hero / Sections ---- */
.hero {
  padding: 64px 0 40px;
}
.hero h1 {
  color: var(--accent);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px;
  max-width: 620px;
}
.hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-copy { max-width: 480px; }
.hero-copy p { margin: 0 0 24px; }

.hero-image {
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 4px;
  margin-top: 40px;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

section.content-block {
  padding: 56px 0;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
section.content-block.reverse { flex-direction: row-reverse; }
.content-block .text { flex: 1 1 380px; }
.content-block .media { flex: 1 1 420px; }
.content-block h2 {
  color: var(--accent);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-top: 0;
}
.content-block img { border-radius: 4px; }

/* ---- Page header (non-home pages) ---- */
.page-intro {
  padding: 56px 0 32px;
  max-width: 760px;
}
.page-intro h1 {
  color: var(--accent);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 16px;
}

/* ---- Gallery grid ---- */
.gallery {
  columns: 3 260px;
  column-gap: 16px;
  padding: 24px 0 64px;
}
.gallery figure {
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}
.gallery img { width: 100%; transition: transform 0.35s ease; }
.gallery figure:hover img { transform: scale(1.03); }

.tile-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 0 0 56px;
}
.tile-row a {
  display: block;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-weight: 600;
  text-align: center;
}
.tile-row a img { width: 100%; }
.tile-row a span { display: block; padding: 14px; }

/* ---- Video grid ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  padding: 24px 0 64px;
}
.video-grid.vertical { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 700px; }
.video-grid video, section.content-block video {
  width: 100%;
  border-radius: 6px;
  background: #000;
}

/* ---- Gear cards ---- */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 24px 0 56px;
}
.gear-card {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255,255,255,0.35);
}
.gear-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; margin-bottom: 16px; }
.gear-card h3 { color: var(--accent-dark); margin: 0 0 10px; }
.gear-card ul { padding-left: 18px; margin: 12px 0 0; }

/* ---- Contact ---- */
.contact-layout {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  padding: 24px 0 64px;
}
.contact-form { flex: 1 1 400px; }
.contact-form label { display: block; font-weight: 600; margin: 16px 0 6px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #555;
}
.contact-direct { flex: 1 1 280px; }
.contact-direct h2 { color: var(--accent); }
.contact-direct dl { margin: 20px 0; }
.contact-direct dt { font-weight: 600; margin-top: 16px; }
.contact-direct dd { margin: 4px 0 0; }

/* ---- Footer ---- */
footer.site-footer {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 40px 0;
  margin-top: 40px;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}
.social-links { display: flex; gap: 18px; }
.social-links a {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 4px; }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  nav.main-nav { position: fixed; top: 96px; left: 0; right: 0; bottom: 0; background: var(--bg); display: none; flex-direction: column; padding: 24px 32px; }
  nav.main-nav.open { display: flex; }
  nav.main-nav ul { flex-direction: column; gap: 24px; font-size: 1.2rem; }
  .nav-toggle { display: flex; }
  section.content-block, section.content-block.reverse { flex-direction: column; }
  .gallery { columns: 2 180px; }
  .contact-layout { flex-direction: column; }
}

/* ---- Home: About + Advertise sections ---- */
.about-block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "text media"
    "buttons logos";
  gap: 32px 56px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.about-text { grid-area: text; }
.about-media { grid-area: media; }
.about-buttons { grid-area: buttons; }
.about-logos { grid-area: logos; }
.about-media .imac { width: 100%; max-width: 620px; margin: 0 auto; }
.about-logos img { width: 100%; }
.heading-graphic { width: 100%; max-width: 380px; margin-bottom: 20px; }

.advertise-block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 72px;
}
.advertise-phone img { width: 100%; max-width: 340px; margin: 0 auto; }
.advertise-text .heading-graphic { max-width: 520px; }
.advertise-text p { max-width: 520px; }

@media (max-width: 860px) {
  .about-block {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "media" "buttons" "logos";
  }
  .advertise-block { grid-template-columns: 1fr; }
}

/* ---- Scroll reveal (home page) ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Video expand / fullscreen ---- */
.video-wrap { position: relative; border-radius: 6px; overflow: hidden; background: #000; }
.video-wrap video { display: block; width: 100%; }
.video-expand {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.video-wrap:hover .video-expand,
.video-expand:focus-visible { opacity: 1; }
@media (hover: none) { .video-expand { opacity: 0.85; } }
.video-wrap.expanded {
  position: fixed;
  inset: 0;
  z-index: 2000;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-wrap:fullscreen { display: flex; align-items: center; justify-content: center; border-radius: 0; }
.video-wrap.expanded video,
.video-wrap:fullscreen video { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
body.video-open { overflow: hidden; }
.video-wrap.expanded .video-expand { opacity: 1; top: 16px; right: 16px; }

/* ---- SEO content additions (lists, FAQ, footer links) ---- */
.check-list, .step-list { padding-left: 1.2em; margin: 0 0 1em; }
.check-list li, .step-list li { margin-bottom: .55em; }
.content-block .media img { border-radius: 4px; }
.faq { padding-top: 24px; padding-bottom: 48px; max-width: 860px; }
.faq h2 { margin-bottom: 16px; }
.faq details { border-top: 1px solid rgba(0,0,0,.15); padding: 14px 0; }
.faq details:last-of-type { border-bottom: 1px solid rgba(0,0,0,.15); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; }
.footer-links { text-align: center; padding-top: 28px; padding-bottom: 8px; font-size: .9rem; line-height: 2; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
