@import url('tokens.css');

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--color-text);
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 72px 0; }
@media (max-width: 640px) {
  section { padding: 48px 0; }
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: block;
}

.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-lede { color: var(--color-text-muted); max-width: 620px; font-size: 1.05rem; }

.eyebrow-gold-center { text-align: center; }
.section-title-gold-center {
  font-family: var(--font-body);
  color: var(--color-accent);
  text-align: center;
  font-weight: 700;
}
.section-lede-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-accent); color: var(--color-egg-white); }
.btn-primary:hover { opacity: 0.92; }
.btn-outline { background: transparent; border-color: var(--color-espresso); color: var(--color-espresso); }
.btn-outline:hover { background: var(--color-espresso); color: var(--color-egg-white); }
.btn-outline-light { background: transparent; border-color: var(--color-egg-white); color: var(--color-egg-white); }
.btn-outline-light:hover { background: var(--color-egg-white); color: var(--color-espresso); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.logo-lockup { display: flex; align-items: center; gap: 12px; }
.logo-lockup img { height: 38px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .word { font-family: var(--font-headline); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; }
.logo-text .by-line { font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.05em; color: var(--color-text-muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.92rem; font-weight: 500; }
.nav-links a.active, .nav-links a:hover { color: var(--color-accent); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0;
    height: 100vh; height: 100dvh;
    background: var(--color-egg-white);
    flex-direction: column; justify-content: flex-start;
    padding: 96px 24px 32px; gap: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 40;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
  .nav-cta .nav-social { display: none !important; }
}

/* ==========================================================================
   Hero — full-bleed photo with name lockup + tagline
   ========================================================================== */
.hero-full {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-espresso);
}
.hero-full-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-full-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 53%;
  transform: scale(1.72) translateX(-20%);
  transform-origin: 50% 50%;
}
@media (max-width: 640px) {
  .hero-full-media img { object-position: 50% 48%; transform: scale(1.72) translateX(-20%); transform-origin: 50% 50%; }
}
.hero-full-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(74,50,34,0.15) 0%, rgba(74,50,34,0.35) 45%, rgba(74,50,34,0.92) 100%);
}
.hero-video-chip {
  position: absolute; top: 24px; right: 24px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  background: rgba(74,50,34,0.55); backdrop-filter: blur(6px);
  border: 1px dashed rgba(247,243,236,0.55); border-radius: 999px;
  padding: 8px 16px 8px 10px; color: var(--color-egg-white);
  font-size: 0.8rem; font-weight: 600; cursor: default;
}
.play-btn-sm {
  width: 26px; height: 26px; border-radius: 50%; background: var(--color-egg-white);
  color: var(--color-espresso); display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
}
.hero-full-content { position: relative; z-index: 1; width: 100%; padding: 64px 0 56px; color: var(--color-egg-white); }
.hero-stat-badge {
  display: inline-block; margin-bottom: 18px;
  border: 1px solid rgba(247,243,236,0.4); border-radius: 999px;
  padding: 9px 20px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  background: rgba(247,243,236,0.08);
}
.hero-name {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  color: var(--color-egg-white);
  margin-bottom: 6px;
}
.hero-byline {
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 500;
  color: var(--color-latte); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 32px;
}
.hero-byline-script {
  font-family: var(--font-script);
  font-size: 1.9em;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--color-egg-white);
  display: inline-block;
  margin-left: 4px;
  line-height: 1;
  vertical-align: -0.15em;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-tagline {
  font-family: var(--font-headline); font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 500; color: rgba(247,243,236,0.92); margin: 0;
}
@media (max-width: 640px) {
  .hero-full { min-height: 100vh; }
  .hero-video-chip { top: 90px; right: 16px; font-size: 0.72rem; padding: 6px 12px 6px 8px; }
}

/* ==========================================================================
   Intro video
   ========================================================================== */
.intro-video-wrap {
  background: var(--color-espresso);
  color: var(--color-egg-white);
}
.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #2c1e14;
  box-shadow: var(--shadow-card);
  max-width: 920px;
  margin: 32px auto 0;
}
.video-frame video, .video-frame iframe { width: 100%; height: 100%; object-fit: cover; border: none; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  color: var(--color-egg-white); text-align: center; padding: 24px;
  background: linear-gradient(135deg, rgba(173,138,62,0.25), rgba(74,50,34,0.6));
  border: 1px dashed rgba(247,243,236,0.4);
}
.play-btn {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--color-egg-white); color: var(--color-espresso);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.intro-video-wrap .section-title, .intro-video-wrap .section-lede { color: var(--color-egg-white); }
.intro-video-wrap .section-lede { color: rgba(247,243,236,0.75); }

/* ==========================================================================
   Category grids (Hotels / Experiences / Products / Restaurants)
   ========================================================================== */
.category-block { margin-top: 56px; }
.category-block:first-of-type { margin-top: 40px; }
.category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.category-head h3 { font-size: 1.5rem; }
.category-head a { font-size: 0.85rem; font-weight: 600; color: var(--color-accent); white-space: nowrap; }

/* Home showcase: category filter + all-videos mosaic (photos excluded) */
#home-category-tabs { margin: 28px 0 32px; }
.showcase-mosaic { margin-top: 0; }
.content-card-placeholder .placeholder-real {
  background: linear-gradient(135deg, var(--color-sand), var(--color-bg-alt));
  border: 1.5px dashed var(--color-warm-stone);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 28px;
  color: var(--color-text-muted); font-size: 0.85rem; font-weight: 600; font-style: italic;
}
.content-card-placeholder .placeholder-mark { width: 44px; height: 44px; opacity: 0.35; filter: grayscale(100%); }
.content-card-placeholder .body { min-height: 74px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.content-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.content-card .media {
  aspect-ratio: 4/5;
  background: var(--color-sand);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--color-text-muted);
}
.content-card .media img { width: 100%; height: 100%; object-fit: cover; }
.content-card .media.placeholder {
  border: 1.5px dashed var(--color-warm-stone);
  flex-direction: column; gap: 8px; text-align: center; padding: 16px;
  font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.content-card .media .tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--color-espresso); color: var(--color-egg-white);
  font-size: 0.68rem; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.content-card .media .tag-location {
  left: auto; right: 10px;
  background: var(--color-accent); color: var(--color-espresso);
}
.content-card .media.has-video { background: #000; cursor: pointer; }
.content-card .media.has-video video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.content-card .media .play-badge {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(247,243,236,0.92); color: var(--color-espresso);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
  pointer-events: none;
}
.content-card .media .media-place-caption {
  position: absolute; left: 10px; bottom: 12px; right: 52px; z-index: 2;
  color: var(--color-egg-white); font-family: var(--font-headline);
  font-size: 0.95rem; font-weight: 600; line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65), 0 1px 2px rgba(0,0,0,0.8);
  pointer-events: none;
}
.filter-btn-sm { padding: 7px 16px; font-size: 0.78rem; }
#portfolio-location-filters { margin-top: 10px; margin-bottom: 24px; }
.content-card .body { padding: 16px 18px 20px; }
.content-card .body h4 { font-size: 1.02rem; margin-bottom: 4px; }
.content-card .body p { font-size: 0.86rem; color: var(--color-text-muted); margin: 0; }

/* ==========================================================================
   Brands section — high-visibility
   ========================================================================== */
.brands-section {
  background: var(--color-espresso);
  color: var(--color-egg-white);
}
.brands-section .eyebrow { color: var(--color-latte); }
.brands-section .section-title { color: var(--color-egg-white); }
.brands-section .section-lede { color: rgba(247,243,236,0.72); }
/* Animated rotating carousel — track holds two duplicated copies of the tile
   set, animated to -50% so the loop is seamless. Pauses on hover/focus. */
.brand-marquee {
  margin-top: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.brand-marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: brand-marquee-scroll 32s linear infinite;
}
.brand-marquee:hover .brand-marquee-track,
.brand-marquee:focus-within .brand-marquee-track {
  animation-play-state: paused;
}
@keyframes brand-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}
.brand-tile {
  background: rgba(247,243,236,0.06);
  border: 1px solid rgba(247,243,236,0.16);
  border-radius: var(--radius-md);
  flex: 0 0 auto;
  width: 190px;
  aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.brand-tile:hover { background: rgba(247,243,236,0.12); transform: translateY(-2px); }
.brand-tile img { max-height: 60%; max-width: 80%; object-fit: contain; filter: grayscale(15%); }
.brand-tile.placeholder {
  border-style: dashed;
  color: rgba(247,243,236,0.45);
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  text-align: center;
}
@media (max-width: 640px) { .brand-tile { width: 150px; } }

/* ==========================================================================
   Home: Services section (gear strip + 6 tiered services)
   ========================================================================== */
.services-home-section { background: var(--color-bg-alt); }
.gear-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin: 120px 0 44px;
}
.gear-tile {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--color-egg-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 12px 18px;
  min-width: 130px;
}
.gear-name { font-weight: 700; font-size: 0.86rem; color: var(--color-text); }
.gear-role { font-size: 0.72rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.gear-photo {
  position: absolute;
  left: 50%; bottom: calc(100% + 10px);
  width: 100px; height: 100px;
  transform: translate(-50%, 10px) scale(0.92);
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(74,50,34,0.28));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}
.gear-tile:hover .gear-photo,
.gear-tile:focus-within .gear-photo {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .gear-photo { transition: opacity 0.05s linear; }
}
@media (hover: none) {
  /* Touch devices have no hover — keep gear photos accessible via tap/focus is unreliable here, so just show them small and static instead of hidden. */
  .gear-photo {
    position: static; opacity: 1; transform: none; width: 84px; height: 84px; margin-bottom: 4px;
    filter: drop-shadow(0 4px 8px rgba(74,50,34,0.2));
  }
}

.tier-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  text-align: left;
}
@media (max-width: 900px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 10px;
}
.tier-card h4 { font-size: 1.05rem; margin-bottom: 0; }
.tier-card p { font-size: 0.88rem; color: var(--color-text-muted); margin: 0; flex-grow: 1; }
.tier-price {
  font-weight: 700; color: var(--color-accent); font-size: 0.95rem;
}
.tier-price-custom { color: var(--color-text-muted); font-weight: 600; font-style: italic; font-size: 0.85rem; }

/* ==========================================================================
   Home: About Me section (after Brands)
   ========================================================================== */
.home-about-section .about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .home-about-section .about-grid { grid-template-columns: 1fr; } }
.home-about-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card);
  aspect-ratio: 4/5; background: var(--color-warm-stone);
}
.home-about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--color-gold-leaf), var(--color-latte));
  color: var(--color-espresso);
  text-align: center;
}
.cta-band .btn-outline { border-color: var(--color-espresso); }

/* ==========================================================================
   Portfolio filters
   ========================================================================== */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 32px 0 8px; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--color-border);
  background: transparent; font-weight: 600; font-size: 0.85rem; cursor: pointer;
  color: var(--color-text);
}
.filter-btn.active { background: var(--color-espresso); color: var(--color-egg-white); border-color: var(--color-espresso); }

/* ==========================================================================
   Services page
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 32px 26px; box-shadow: var(--shadow-card);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--color-sand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.4rem;
}
.process-row { display: flex; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.process-step { flex: 1; min-width: 180px; }
.process-num { font-family: var(--font-headline); font-size: 2rem; color: var(--color-accent); }
.pricing-note {
  background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 32px; margin-top: 48px;
}

/* ==========================================================================
   About page
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/5; background: var(--color-warm-stone); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.stat-strip { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--color-border); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; background: #fff; color: var(--color-text);
}
.field textarea { min-height: 120px; resize: vertical; }
.contact-side {
  background: var(--color-espresso); color: var(--color-egg-white); border-radius: var(--radius-lg);
  padding: 36px; height: fit-content;
}
.contact-side a { display: flex; align-items: center; gap: 10px; margin: 14px 0; font-weight: 600; }
.social-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(247,243,236,0.3);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: rgba(247,243,236,0.12); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-espresso); color: rgba(247,243,236,0.75); padding: 56px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 0.88rem; }
.footer-links a:hover { color: var(--color-egg-white); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(247,243,236,0.15); font-size: 0.78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-tbd {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em;
  background: #b3413b; color: #fff; padding: 3px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle;
}
