/* =========================================================
   THE TUK SOCIETY - site styles
   ========================================================= */

:root {
  --navy:        #15233f;
  --navy-dark:   #101b30;
  --navy-deep:   #0d1729;
  --orange:      #e07a39;
  --orange-soft: #e89a4f;
  --cream:       #f1ece4;
  --white:       #ffffff;
  --green:       #1f5e3a;
  --text-light:  #c2cad6;
  --text-muted:  #8e98a8;
  --text-dark:   #1d2840;
  --text-body:   #4a5568;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);

  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Image placeholders (swap with real photos) ---------- */
.ph {
  position: relative;
  background:
    radial-gradient(120% 120% at 70% 20%, rgba(224,122,57,.35), transparent 55%),
    linear-gradient(140deg, #243456, #15233f 60%, #0f1a30);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph::after {
  content: "🛺";
  font-size: clamp(40px, 8vw, 96px);
  opacity: .85;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}
.ph--light {
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(224,122,57,.30), transparent 55%),
    linear-gradient(140deg, #cfd7e4, #aeb9cc 60%, #8b97ad);
}

/* ======================= HEADER ======================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--orange);
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
}
.brand__logo {
  height: 40px;
  width: auto;
  display: block;
}
.nowrap { white-space: nowrap; }
.nav { display: flex; gap: 32px; }
.nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--text-dark);
  transition: color .2s;
}
.nav a:hover { color: var(--orange); }

/* ======================= HERO (home) ======================= */
.hero {
  background: var(--navy);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.hero__text {
  padding: clamp(40px, 6vw, 90px) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  margin-left: auto;
  width: 100%;
}
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.hero h1 .accent { color: var(--orange); }
.hero__copy { margin-top: 34px; max-width: 360px; }
.hero__copy p { color: var(--text-light); font-size: .9rem; margin-bottom: 14px; }
.hero__img {
  min-height: 320px;
  background: var(--navy) url('assets/tuktuk-bristol.jpeg') center/cover no-repeat;
}

/* ======================= CONTACT ======================= */
.contact {
  background: var(--cream);
  padding: clamp(56px, 8vw, 96px) 0;
}
.contact__head { max-width: 720px; margin: 0 auto 40px; text-align: left; }
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--text-dark);
  letter-spacing: -.01em;
  line-height: 1.05;
}
.contact__head p { color: var(--text-body); margin-top: 14px; }

.form {
  max-width: 720px;
  margin: 0 auto;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  border: none;
  border-radius: 4px;
  background: var(--white);
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  border: none;
  border-radius: 4px;
  padding: 15px 28px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn:hover { background: #c96a2c; }
.btn:active { transform: translateY(1px); }

/* ======================= INSTAGRAM ======================= */
.insta {
  background: var(--orange);
  color: var(--white);
  padding: clamp(48px, 7vw, 80px) 0;
}
.insta__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.insta__eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  opacity: .85;
}
.insta h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-top: 6px;
}
.insta__link { font-weight: 500; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.5); }
.insta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  color: inherit;
}
.tile .ph { position: absolute; inset: 0; }
.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .5s ease;
}
.tile:hover .tile__img { transform: scale(1.06); }
.tile__cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: .82rem;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.tile__likes {
  display: block;
  font-size: .7rem;
  opacity: .9;
  margin-top: 2px;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%);
}

/* ======================= FOOTER ======================= */
.site-footer {
  background: var(--navy-deep);
  color: var(--text-light);
  padding: clamp(48px, 6vw, 72px) 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand .brand { display: block; margin-bottom: 6px; }
.footer__loc {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__brand p { font-size: .86rem; max-width: 300px; color: var(--text-light); }
.footer__col h4 {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; font-size: .88rem; }
.footer__col a:hover { color: var(--orange); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .76rem;
  color: var(--text-muted);
}

/* ======================= FAQ PAGE ======================= */
.subhero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(48px, 7vw, 90px) 0;
}
.subhero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.subhero h1 .accent { color: var(--orange); }
.subhero p { color: var(--text-light); margin-top: 18px; max-width: 520px; font-size: .95rem; }

.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  padding: clamp(40px, 6vw, 72px) 0;
}
.faq-nav { position: sticky; top: 90px; align-self: start; }
.faq-nav h5 {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.faq-nav ul { list-style: none; margin-bottom: 32px; }
.faq-nav li { margin-bottom: 12px; }
.faq-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dark);
  border-left: 2px solid var(--orange);
  padding-left: 12px;
  display: block;
  transition: color .2s;
}
.faq-nav a:hover { color: var(--orange); }
.faq-nav .still h5 { color: var(--text-dark); letter-spacing: 0; text-transform: none; font-family: var(--font-head); font-size: 1rem; font-weight: 600; }
.faq-nav .still p { font-size: .82rem; color: var(--text-body); margin: 8px 0 16px; }

.faq-group { margin-bottom: 48px; }
.faq-group__head {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e3e3e3;
  padding-bottom: 14px;
  margin-bottom: 8px;
}
.faq-group__icon {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .9rem;
}
.faq-group__head h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-dark);
}
.faq-item { border-bottom: 1px solid #ececec; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}
.faq-q .plus {
  color: var(--orange);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform .25s;
  line-height: 1;
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a p {
  color: var(--text-body);
  font-size: .92rem;
  padding-bottom: 20px;
  max-width: 640px;
}
.faq-a a { color: var(--orange); }

/* ======================= ABOUT PAGE ======================= */
.about-hero {
  background: var(--navy);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.about-hero__text {
  padding: clamp(40px, 6vw, 90px) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
}
.about-hero h1 .accent { color: var(--orange); }
.about-hero__text p { color: var(--text-light); margin-top: 26px; max-width: 360px; }
.about-hero__img {
  position: relative;
  min-height: 340px;
  background: var(--navy) url('assets/about-hero.jpeg') center/cover no-repeat;
}
.about-hero__img::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent 50%);
}

/* Caption overlay (used on the founders photo) */
.cap {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  color: #fff;
}
.cap strong { font-family: var(--font-head); font-size: 1.2rem; display: block; }
.cap span { text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; opacity: .85; }

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}
.about-story__img {
  position: relative;
  min-height: 520px;
  background: var(--navy) url('assets/about-tuktuk.jpg') center/cover no-repeat;
}
.about-story__text {
  padding: clamp(48px, 7vw, 100px) clamp(32px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-story__text h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-story__text p { color: var(--text-body); font-size: .94rem; margin-bottom: 18px; }

/* ======================= THANK YOU PAGE ======================= */
.thanks {
  min-height: calc(100vh - 64px);
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--pad);
}
.thanks__inner { max-width: 560px; }
.thanks .mark { font-size: 72px; margin-bottom: 18px; }
.thanks h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
}
.thanks h1 .accent { color: var(--orange); }
.thanks p { color: var(--text-light); margin: 22px auto 34px; max-width: 460px; }
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); }

/* ======================= RESPONSIVE ======================= */

/* Large tablets / small laptops */
@media (max-width: 1024px) {
  .insta__grid { gap: 14px; }
  .faq-layout { gap: 40px; grid-template-columns: 210px 1fr; }
}

/* Tablets - stack the two-column heroes */
@media (max-width: 880px) {
  .hero, .about-hero, .about-story { grid-template-columns: 1fr; }
  .hero__text, .about-hero__text { max-width: none; margin: 0; }
  .hero__img, .about-hero__img { min-height: 300px; order: -1; }
  .about-story { display: flex; flex-direction: column; }
  .about-story__img { min-height: 340px; order: -1; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-nav { position: static; }
  .faq-nav .still { max-width: 420px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Phones */
@media (max-width: 560px) {
  .site-header .container { height: 58px; }
  .brand { font-size: 1rem; }
  .nav { gap: 16px; }
  .nav a { font-size: .9rem; }

  .hero__copy { max-width: none; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .btn { width: 100%; text-align: center; }

  .insta__grid { grid-template-columns: 1fr; }
  .insta__head { flex-direction: column; align-items: flex-start; }

  .faq-q { font-size: .95rem; }
  .faq-group__head h3 { font-size: 1.2rem; }

  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

/* Small phones - keep type comfortable, never clip */
@media (max-width: 380px) {
  .hero h1 { font-size: 2.3rem; }
  .subhero h1, .about-hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .thanks h1 { font-size: 2rem; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
