/* Build 175 — Premium Experience
   Shared visual refinement without changing page content or journeys. */
:root{
  --ed-ink:#17343c;
  --ed-ink-deep:#10282f;
  --ed-gold:#c99a34;
  --ed-gold-soft:#ead8a8;
  --ed-cream:#fbf8f0;
  --ed-surface:#ffffff;
  --ed-line:rgba(23,52,60,.14);
  --ed-shadow-sm:0 8px 24px rgba(16,40,47,.08);
  --ed-shadow-md:0 18px 46px rgba(16,40,47,.12);
  --ed-radius-sm:14px;
  --ed-radius-md:20px;
  --ed-radius-lg:28px;
  --ed-content:1180px;
}
html{scroll-behavior:smooth;text-rendering:optimizeLegibility}
body{background:var(--ed-cream);color:var(--ed-ink);-webkit-font-smoothing:antialiased}
main{overflow:clip}
img{max-width:100%}

/* Consistent readable measure and vertical rhythm */
.v2-section-inner,.page-hero-inner,.hub-hero-inner,.journey-shell-inner,
.food-support-cuisine .fsp-inner,.food-support-cuisine .fsp-section-inner{
  width:min(var(--ed-content),calc(100% - 40px));margin-inline:auto
}
.v2-section,.journey-shell,.education-library{padding-block:clamp(46px,7vw,84px)}
.v2-section-head,.section-heading{margin-bottom:clamp(22px,3vw,34px)}
.v2-section-head p,.hub-hero p,.page-hero p,.fsp-hero p{max-width:720px;line-height:1.72}

/* Premium hero treatment across the general platform */
.premium-platform-page .page-hero,
.premium-platform-page .hub-hero,
.premium-platform-page .v2-hero{
  position:relative;isolation:isolate;border-bottom:1px solid rgba(201,154,52,.28)
}
.premium-platform-page .page-hero::after,
.premium-platform-page .hub-hero::after,
.premium-platform-page .v2-hero::after{
  content:"";position:absolute;inset:auto 0 0;height:1px;
  background:linear-gradient(90deg,transparent,var(--ed-gold),transparent);opacity:.8
}
.premium-platform-page h1{letter-spacing:-.045em;text-wrap:balance}
.premium-platform-page h2{letter-spacing:-.03em;text-wrap:balance}

/* Cards: one coherent elevation, border and interaction system */
.v2-card,.summary-card,.journey-card,.workspace-card,.hub-cover-card,
.food-support-cuisine .fsp-card,.food-support-cuisine .fsp-area-card,
.food-support-cuisine .fsp-source-card,.collection-card,.recipe-card{
  border-radius:var(--ed-radius-md);border-color:var(--ed-line);
  box-shadow:var(--ed-shadow-sm);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}
@media (hover:hover){
  a.v2-card:hover,.hub-cover-card:hover,.journey-card:hover,
  .food-support-cuisine .fsp-card:hover,.food-support-cuisine .fsp-area-card:hover,
  .collection-card:hover,.recipe-card:hover{
    transform:translateY(-3px);box-shadow:var(--ed-shadow-md);border-color:rgba(201,154,52,.55)
  }
}

/* Unified actions */
.v2-button,.button,.food-cta,.destination-link,.fsp-button,.collection-button,
a[class*="button"],button[class*="button"]{
  min-height:46px;border-radius:999px;font-weight:800;letter-spacing:.005em;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease
}
@media (hover:hover){
  .v2-button:hover,.button:hover,.food-cta:hover,.destination-link:hover,.fsp-button:hover,
  a[class*="button"]:hover,button[class*="button"]:hover{transform:translateY(-1px)}
}

/* Navigation refinement */
.site-header,.food-topbar{box-shadow:0 1px 0 rgba(255,255,255,.07),0 10px 28px rgba(8,25,30,.12)}
.site-nav a,.food-nav a{position:relative}
.site-nav a[aria-current="page"]::after,.food-nav a.active::after{
  content:"";position:absolute;left:18%;right:18%;bottom:-7px;height:2px;border-radius:2px;background:var(--ed-gold)
}

/* Food destination cards: keep text readable regardless of artwork */
.destination-card,.approved-destinations .destination-card{overflow:hidden;border-radius:var(--ed-radius-lg);box-shadow:var(--ed-shadow-sm)}
.destination-card::after{background:linear-gradient(180deg,rgba(6,19,23,.04) 20%,rgba(6,19,23,.84) 100%)}
.destination-card .destination-copy,.destination-card .destination-content{position:relative;z-index:2;text-shadow:0 2px 14px rgba(0,0,0,.55)}
.destination-card h3{line-height:1.08;text-wrap:balance}

/* Food Support pages aligned with cuisine visual language */
.food-support-cuisine{background:linear-gradient(180deg,#f9f5e9 0%,#fffdf8 42%,#f5f0e5 100%)}
.food-support-cuisine .fsp-hero{border-bottom:1px solid rgba(201,154,52,.3)}
.food-support-cuisine .fsp-card,.food-support-cuisine .fsp-area-card,.food-support-cuisine .fsp-source-card{
  background:rgba(255,255,255,.92);backdrop-filter:blur(7px)
}
.food-support-cuisine .fsp-card h2,.food-support-cuisine .fsp-card h3{line-height:1.15;text-wrap:balance}

/* Accessible, unmistakable focus */
:where(a,button,input,select,textarea,summary):focus-visible{
  outline:3px solid var(--ed-gold)!important;outline-offset:3px!important;box-shadow:0 0 0 6px rgba(201,154,52,.2)
}

/* Mobile polish */
@media(max-width:760px){
  .v2-section-inner,.page-hero-inner,.hub-hero-inner,.journey-shell-inner,
  .food-support-cuisine .fsp-inner,.food-support-cuisine .fsp-section-inner{width:min(100% - 28px,var(--ed-content))}
  .v2-section,.journey-shell,.education-library{padding-block:42px}
  .premium-platform-page h1{font-size:clamp(2.05rem,10vw,3.15rem);line-height:1.02}
  .premium-platform-page h2{font-size:clamp(1.55rem,7vw,2.2rem);line-height:1.08}
  .v2-card,.summary-card,.journey-card,.workspace-card,.hub-cover-card,
  .food-support-cuisine .fsp-card,.food-support-cuisine .fsp-area-card{border-radius:18px}
  .v2-button,.button,.food-cta,.destination-link,.fsp-button,a[class*="button"],button[class*="button"]{
    min-height:48px;padding-inline:18px
  }
  .destination-card,.approved-destinations .destination-card{border-radius:20px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
