/* Ckoffeetravel demo — clean-photo hero layouts (no painted-over areas),
   Sport & Wellness page, 7-item nav. Loaded after styles.css. */

/* home: text on a solid espresso panel, untouched photo on the right */
.home-hero { background: radial-gradient(ellipse 70% 90% at 18% 38%, #4b2f1f 0%, var(--espresso) 70%); min-height: 640px; }
.home-photo {
  position: absolute; top: 0; right: 0; width: 60%; height: 100%; object-fit: cover; object-position: 30% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%);
}
.home-hero-content { max-width: min(700px, 50%); padding: 54px 0 0 4%; }
.home-hero-content .kicker { padding-left: 0; text-align: center; }
.pillars { flex-wrap: wrap; row-gap: 14px; gap: 2px; }
.pillars li { width: 100px; }
.wide-text .h2-sub { color: rgba(255,255,255,.88); }
.header-inner { padding-top: 5px; padding-bottom: 5px; }
.brand-logo { height: 62px; }
.welcome { margin-left: 8%; }

/* story + coffee: text panel + clean photo */
.banner-hero { display: grid; grid-template-columns: 1fr 1.1fr; place-items: stretch; min-height: 400px; background: linear-gradient(135deg, #34452a, var(--forest-dark)); }
[data-page="coffee"] .banner-hero { background: linear-gradient(135deg, #43291a, var(--espresso)); }
.banner-content { grid-column: 1; grid-row: 1; align-self: center; text-shadow: none; }
.banner-photo {
  grid-column: 2; grid-row: 1; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}

/* plan banner: text | photo | script */
.wide-banner { display: grid; grid-template-columns: 1fr 1fr 1fr; background: linear-gradient(135deg, var(--forest-dark), var(--forest)); }
.wide-photo { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }

/* join banner */
.join { display: grid; grid-template-columns: 300px 1fr auto; background: var(--sage); }
.join-photo { width: 100%; height: 210px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.join-script { color: var(--olive); text-shadow: none; margin: 0; }

/* footer: solid espresso + the logo */
.site-footer { background: radial-gradient(ellipse 80% 120% at 50% 0%, #3e2719, #1b100a 70%); }
.footer-brand { display: none; }

/* footer contact: email + brand-colored social icons */
.footer-contact { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; margin: 26px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); max-width: 760px; }
.fc-block h4 { margin: 0 0 10px; font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; color: var(--pistachio); }
.fc-email { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.08); transition: background .2s; }
.fc-email:hover { background: rgba(255,255,255,.16); }
.fc-email .ic { font-size: 20px; color: var(--rose); }
.fc-socials { display: flex; gap: 10px; justify-content: center; }
.fc-socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 19px; transition: transform .2s, box-shadow .2s; box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.fc-socials a:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0,0,0,.4); }
.fc-socials a[aria-label="Instagram"] { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.fc-socials a[aria-label="Facebook"] { background: #1877f2; }
.fc-socials a[aria-label="YouTube"] { background: #ff0000; }
.fc-socials a[aria-label="YouTube"] .ic { font-size: 21px; }
.fc-socials a[aria-label="YouTube"] svg path { fill: #ff0000; }
.fc-socials a[aria-label="Pinterest"] { background: #e60023; }
.fc-socials a[aria-label="TikTok"] { background: #111; box-shadow: -2px -2px 0 #25f4ee inset, 2px 2px 0 #fe2c55 inset, 0 3px 10px rgba(0,0,0,.3); }
.fc-socials a[aria-label="WhatsApp"] { background: #25d366; }

/* travel destination cards: clean photo on top, text below */
.dest { aspect-ratio: auto; display: flex; flex-direction: column; background: #26301c; }
.dest img { height: auto; aspect-ratio: 3.3 / 1; }
.dest::after { display: none; }
.dest-body { position: static; padding: 12px 16px 16px; }

/* ---------- Sport & Wellness ---------- */
.sport-hero { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 440px; color: #fff; background: linear-gradient(135deg, var(--forest-dark), var(--forest) 60%, #3d5c2f); }
.sport-photo {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 22%); mask-image: linear-gradient(270deg, transparent 0, #000 22%);
}
.sport-hero-content { align-self: center; text-align: center; padding: 40px 30px; }
.sport-leaf { font-size: 50px; color: var(--pistachio); }
.sport-brand { font-size: clamp(50px, 6vw, 84px); font-weight: 500; letter-spacing: -.5px; }
.sport-sub { font-size: clamp(20px, 2.3vw, 30px); letter-spacing: 6px; text-transform: uppercase; margin: 0; }
.sport-script { font-family: var(--script); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.15; margin: 8px 0; color: var(--pistachio); }
html[lang="zh"] .sport-script { font-size: 26px; font-weight: 600; }
.sport-words { letter-spacing: 5px; text-transform: uppercase; font-size: 15px; margin-bottom: 20px; }
.sport-words span { opacity: .55; margin: 0 8px; }
.btn-ghost { border: 1.5px solid #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-forest { background: var(--forest); color: #fff; box-shadow: 0 4px 14px rgba(47,74,38,.35); }

.acts { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; background: #10140e; }
.act { display: flex; flex-direction: column; background: #161c13; color: #fff; text-align: center; overflow: hidden; }
.act img { width: 100%; aspect-ratio: .48; object-fit: cover; transition: transform .5s, filter .3s; }
.act:hover img { transform: scale(1.05); filter: brightness(1.08); }
.act-body { display: flex; flex-direction: column; align-items: center; padding: 10px 4px 14px; flex: 1; }
.act .ic { font-size: 26px; color: var(--pistachio); }
.act b { text-transform: uppercase; font-size: 14px; letter-spacing: .5px; margin-top: 6px; line-height: 1.15; font-weight: 600; }
.act small { font-size: 12.5px; line-height: 1.2; opacity: .85; margin-top: 2px; }

.wdests-wrap { background: var(--cream); padding-top: 22px; }
.wdests-title { text-align: center; letter-spacing: 5px; text-transform: uppercase; font-size: 16px; margin-bottom: 14px; padding: 0 16px; }
.wdests { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; }
.wdests figure { margin: 0; position: relative; overflow: hidden; }
.wdests img { width: 100%; aspect-ratio: .85; object-fit: cover; transition: transform .5s; }
.wdests figure:hover img { transform: scale(1.06); }
.wdests figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 6px 8px; text-align: center; color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent); }

.wpillars { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: center; padding: 40px max(24px, calc((100% - var(--maxw)) / 2)); background: linear-gradient(180deg, #f6f2e8, #eef0e2); }
.wp-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }
.wp-list .ic { font-size: 44px; color: var(--olive); }
.wp-list b { display: block; text-transform: uppercase; font-size: 15px; letter-spacing: .5px; margin-top: 10px; line-height: 1.2; font-weight: 600; }
.wp-list small { display: block; color: var(--ink-soft); font-size: 15px; margin-top: 8px; line-height: 1.3; }
.wp-cta { text-align: center; }
.wp-peaks { font-size: 56px; color: var(--olive); }
.wp-script { font-family: var(--script); font-size: 36px; line-height: 1.1; margin: 4px 0 16px; }
html[lang="zh"] .wp-script { font-size: 24px; font-weight: 600; }

.wband { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 22px max(24px, calc((100% - var(--maxw)) / 2)); background: var(--paper); border-top: 1px solid var(--line); }
.wband-name { display: block; font-size: 34px; font-weight: 600; line-height: 1; }
.wband-tag { display: block; letter-spacing: 4px; text-transform: uppercase; font-size: 12px; margin-top: 4px; }
.wband-list { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; }
.wband-list li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 22px; border-left: 1px solid var(--line); font-size: 15px; text-align: center; }
.wband-list li:first-child { border-left: 0; }
.wband-list .ic { font-size: 30px; color: var(--olive); }
.wband-quote { display: flex; gap: 12px; align-items: center; font-style: italic; font-size: 17px; max-width: 380px; margin: 0; }
.wband-quote .ic { font-size: 34px; color: var(--olive); }

/* 7-item nav: tighten, then collapse earlier */
@media (max-width: 1480px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 13.5px; letter-spacing: .6px; }
  .btn-explore span { display: none; }
  .btn-explore { padding: 10px 14px; gap: 6px; }
}
@media (max-width: 1240px) {
  .menu-btn { display: grid; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); padding: 6px 24px 14px; box-shadow: var(--shadow); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 1100px) {
  .home-hero-content { max-width: 56%; }
  .welcome { right: auto; }
  .acts { grid-template-columns: repeat(6, 1fr); }
  .wdests { grid-template-columns: repeat(5, 1fr); }
  .wpillars, .wband { grid-template-columns: 1fr; text-align: center; }
  .wp-list { grid-template-columns: repeat(3, 1fr); }
  .wband-brand { justify-self: center; }
  .wband-quote { margin: 0 auto; }
  .wide-banner { grid-template-columns: 1fr 1fr; }
  .wide-script { grid-column: span 2; text-align: center; }
  .join { grid-template-columns: 240px 1fr; }
  .join-card { grid-column: span 2; justify-self: center; }
}
@media (max-width: 760px) {
  .brand-logo { height: 46px; }
  .home-hero { display: flex; flex-direction: column; }
  .home-photo { position: relative; width: 100%; height: 260px; -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent); mask-image: linear-gradient(180deg, #000 65%, transparent); }
  .home-hero-content { max-width: none; padding: 0 16px; margin-top: -30px; }
  .welcome { margin: 14px 0 40px; }
  .banner-hero, .sport-hero { grid-template-columns: 1fr; }
  .banner-photo, .sport-photo { grid-row: 1; grid-column: 1; height: 240px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .banner-content, .sport-hero-content { grid-row: 2; grid-column: 1; padding: 10px 16px 36px; }
  .acts { grid-template-columns: repeat(3, 1fr); }
  .wdests { grid-template-columns: repeat(2, 1fr); }
  .wp-list { grid-template-columns: 1fr 1fr; }
  .wband-list { flex-wrap: wrap; row-gap: 14px; }
  .wband-list li { width: 50%; border-left: 0; }
  .wide-banner, .join { display: flex; flex-direction: column; align-items: stretch; }
  .wide-photo, .join-photo { height: 200px; }
  .wide-script { text-align: left; }

  /* mobile pass */
  .side-hero, .banner-hero, .sport-hero { grid-template-columns: minmax(0, 1fr); }
  .display { font-size: clamp(40px, 12.5vw, 60px); }
  .display, .banner-title, .h2, .sport-brand { overflow-wrap: break-word; hyphens: auto; }
  .banner-title { font-size: clamp(40px, 12vw, 56px); }
  .banner-title.xl { font-size: clamp(52px, 16vw, 72px); }
  .h2 { font-size: clamp(26px, 7.4vw, 32px); }
  .home-hero-content .kicker { font-size: 13px; letter-spacing: 2.5px; line-height: 1.6; }
  .home-title-top { font-size: clamp(38px, 11vw, 48px); }
  .home-title-script { font-size: clamp(70px, 21vw, 96px); }
  .wband-tag { font-size: 13px; }
  .site-header .header-inner { padding-left: 12px; padding-right: 12px; }
  .footer-contact { gap: 26px; flex-direction: column; align-items: center; }
  .fc-email { font-size: 16px; }
  .fc-socials { flex-wrap: wrap; }
  .fc-socials a { width: 44px; height: 44px; }
  .footer-nav { gap: 6px 18px; }
  .footer-nav a { padding: 6px 0; }
  .btn { min-height: 40px; white-space: normal; text-align: center; justify-content: center; line-height: 1.25; }
  .row-sec, .split, .duo, .local, .connect-row, .favs, .products, .wpillars, .wband { grid-template-columns: minmax(0, 1fr); }
  .row-intro > div, .connect-card > div { min-width: 0; }
  .welcome-note { width: 205px; margin-left: -12px; }
  .welcome-note .note-sign b { font-size: 30px; }
  html[lang="zh"] .welcome-note .note-sign b { font-size: 24px; }
  .mutty-polaroid { width: 132px; }
}

/* ================= iPad / tablet pass (761–1100px) ================= */
@media (min-width: 761px) and (max-width: 1100px) {
  /* home: six pillars on one line, photo strip in 3 roomy columns */
  .pillars { flex-wrap: nowrap; gap: 0; }
  .pillars li { width: 92px; flex: none; }
  .pillars small { font-size: 12.5px; }
  .strip { grid-template-columns: repeat(3, 1fr); row-gap: 8px; clip-path: none; margin-top: 0; padding-top: 6px; }
  .strip-label b { font-size: 36px; }

  /* philosophy: drop the long rule lines that crowd the motto */
  .motto::before, .motto::after { display: none; }

  /* stacked feature images: keep them a sensible height */
  .wellness > img, .collection-cta > img, .step-matters > img { height: 340px; min-height: 0; }
  .stamp-script { justify-self: center; margin-bottom: 8px; }
  .wellness .circle-icons, .step-matters .circle-icons { justify-content: center; }

  .acts { grid-template-columns: repeat(6, 1fr); }
  .favs { grid-template-columns: 1fr; }
  .resources { grid-template-columns: repeat(2, 1fr); }
  .connect-row { grid-template-columns: 1fr 1fr; }
}

/* iPad portrait (761–900px): stack heroes so text gets full width */
@media (min-width: 761px) and (max-width: 900px) {
  .home-hero { display: flex; flex-direction: column; min-height: 0; }
  .home-photo { position: relative; width: 100%; height: 440px; object-position: 50% 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .home-hero-content { max-width: none; padding: 0 40px; margin-top: -50px; }
  .pillars li { width: 104px; }
  .welcome { margin: 22px auto 60px; justify-content: center; }

  .banner-hero, .sport-hero { grid-template-columns: minmax(0, 1fr); }
  .banner-photo, .sport-photo { grid-row: 1; grid-column: 1; height: 380px;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
  .banner-content, .sport-hero-content { grid-row: 2; grid-column: 1; padding: 10px 40px 44px; }

  .side-hero { grid-template-columns: minmax(0, 1fr); }
  .side-hero::before { display: none; }
  .side-hero-img { grid-column: 1; grid-row: 1; height: 400px; }
  .side-hero-text { grid-row: 2; padding: 30px 40px 40px; }
  .hero-note { top: 300px; right: 30px; }

  .trio { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; gap: 22px; }
  .trio-item { border-left: 0; padding: 0; }

  .next-chapter { grid-template-columns: minmax(0, 1fr); padding: 0 40px 30px; gap: 10px; }
  .next-art { display: none; }
  .next-chapter .btn { justify-self: start; }

  .split, .split.reverse { grid-template-columns: minmax(0, 1fr); }
  .split.reverse .split-img { order: 2; }
  .split-img img { height: 360px; min-height: 0; }
  .split-text, .split.reverse .split-text { padding: 34px 40px; }

  .local { grid-template-columns: minmax(0, 1fr); padding: 8px 24px; }
  .local-card { margin: 0; }
  .local-imgs img { min-height: 180px; }
  .duo { grid-template-columns: minmax(0, 1fr); }

  .voices { grid-template-columns: minmax(0, 1fr); }
  .products { grid-template-columns: 1fr 1fr; }
}

/* iPad landscape / small laptops (1101–1300px): icon rows beside text get a 2x2 grid */
@media (min-width: 1101px) and (max-width: 1300px) {
  .wellness .circle-icons { display: grid; grid-template-columns: repeat(2, 104px); row-gap: 16px; }
  .wellness { grid-template-columns: 28% minmax(0, 1fr) auto; }
}

/* ===== 2026-10-24 client revisions ===== */
/* Our Story: family photo is very wide, keep the people centered */
.banner-photo[src*="story-side"] { object-position: 50% 45%; }
/* Coffee: 7 brewing methods (German Melitta + American drip added) */
.brews { grid-template-columns: repeat(7, 1fr); }
.brews figcaption span { display: block; }
/* Sport & Wellness: Kayak and Hiking are featured wide tiles, as in her mockup */
.acts { grid-template-columns: 1fr 1fr 1fr 1fr 2.6fr 2.3fr 1fr 1fr 1fr 1.2fr 1.6fr; }
.act img { aspect-ratio: auto; height: 300px; }
@media (max-width: 1100px) {
  .brews { grid-template-columns: repeat(4, 1fr); }
  .acts { grid-template-columns: repeat(6, 1fr); }
  .act.wide { grid-column: span 2; }
  .act img { height: 260px; }
}
@media (max-width: 760px) {
  .brews { grid-template-columns: repeat(2, 1fr); }
  .acts { grid-template-columns: repeat(3, 1fr); }
  .act.wide { grid-column: span 3; }
  .act.wide img { height: 220px; }
  .act img { height: 230px; }
}
/* Shop: keep the note off Mutty's face */
[data-page="shop"] .hero-note { top: auto; bottom: 36px; right: 34px; }
/* 404 page */
.notfound { padding: 140px 24px; }
