/* ================================================
   NORDIC BREAKFAST — WTCE LANDING PAGE
   ================================================ */

:root {
  --green: #082c01;
  --sage: #c7e0ca;
  --peach: #fff2e9;
  --purple: #7e3bd0;
  --sage-text: #8db19a;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }

body {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #666;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: #666; }

[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

.eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; color: #666; opacity: 0.6; margin-bottom: 1.25rem;
}

.btn {
  display: inline-block; font-family: 'Poppins', sans-serif;
  font-size: 16px; font-weight: 600; padding: 1rem 4rem;
  border: 1px solid #666; border-radius: 30px;
  color: #666; background: transparent; cursor: pointer;
  transition: color 300ms ease, background-color 300ms ease;
}
.btn:hover { background: #666; color: #fff; }
.btn--light { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn--light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.text-link { font-size: 14px; font-weight: 500; color: #666; transition: opacity 0.2s; }
.text-link:hover { opacity: 0.6; }

/* ================================================
   NAV
   ================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--green); }
.nav-inner {
  width: 80%; max-width: 1080px; margin: 0 auto;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { height: 42px; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { border: 1px solid rgba(255,255,255,0.3) !important; padding: 7px 20px !important; border-radius: 30px; }
.nav-cta:hover { background: rgba(255,255,255,0.07); }

.nav-burger { display: flex; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 110; }
.nav-burger span { width: 22px; height: 1.5px; background: rgba(255,255,255,0.8); transition: all 0.3s; transform-origin: center; }
.nav-burger.is-open span:first-child { transform: rotate(45deg) translate(2.5px,2.5px); }
.nav-burger.is-open span:last-child { transform: rotate(-45deg) translate(2.5px,-2.5px); }

/* Mobile backdrop (dim overlay behind menu) */
.mobile-backdrop {
  position: fixed; inset: 0; z-index: 104;
  background: rgba(0,0,0,0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-backdrop.is-open { opacity: 1; pointer-events: all; }

/* Mobile menu — slide-down drawer */
.mobile-menu {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 105;
  background: var(--green);
  display: flex; flex-direction: column; align-items: center; gap: 0;
  padding: 0.75rem 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transform: translateY(-110%);
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}
.mobile-menu.is-open {
  transform: translateY(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem; font-weight: 400;
  color: rgba(255,255,255,0.85);
  padding: 0.75rem 2rem;
  width: 100%; text-align: center;
  transition: background 0.2s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.06); }

/* ================================================
   HERO — sage bg + berry illustration
   ================================================ */
.hero {
  background-color: var(--sage);
  background-image: url(../images/headerbg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 2rem 2.5rem;
  position: relative;
}

.hero-content {
  position: relative; z-index: 2;
  width: 80%; max-width: 800px;
}

.hero-logo { height: 100px; width: auto; margin: 0 auto 2rem; }

.hero h1 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 400; line-height: 1.05; color: var(--green);
  margin-bottom: 0.75rem;
}

.hero-date {
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 400;
  color: #666;
  margin-bottom: 3.5rem; letter-spacing: 0.05em;
}

.hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300; font-style: normal;
  line-height: 1.4; color: #666;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 0.9375rem; font-weight: 300;
  line-height: 2; color: #666;
  margin-bottom: 2rem;
}

/* Trusted — prominent placement inside hero */
.hero-trusted {
  margin-bottom: 2rem;
  padding: 1.25rem 2rem;
  background: rgba(8,44,1,0.04);
  border-radius: 12px;
}

.hero-trusted-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: #666;
  margin-bottom: 0.5rem;
}

.hero-trusted-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 2rem;
}

.hero-trusted-logos img {
  height: 28px; width: auto;
  filter: brightness(0) invert(0.4);
  opacity: 0.7;
  transition: opacity 300ms ease;
}

.hero-trusted-logos img:hover { opacity: 0.85; }

/* Brand mark */
.hero-mark {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 1;
  opacity: 0.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.hero-mark-text {
  font-family: 'Poppins', sans-serif;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #666;
}

.hero-mark-nb {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #666;
  line-height: 1;
}

.hero-mark-est {
  font-family: 'Poppins', sans-serif;
  font-size: 7px;
  letter-spacing: 0.2em;
  color: #666;
}

/* ================================================
   SPLIT SECTIONS
   ================================================ */
.split { display: grid; grid-template-columns: 1fr; }
.peach { background: var(--peach); }
.white { background: #fff; }

.split-img {
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; overflow: hidden;
}

.split-img img { max-height: 420px; width: auto; object-fit: contain; }
#about .split-img img { max-height: 300px; }

.split-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 54px 2rem; max-width: 540px;
}

.split-text h2 { font-size: 1.63rem; font-weight: 400; line-height: 1.3; color: #666; margin-bottom: 1rem; }
.split-text > p { font-size: 15px; line-height: 2; color: #666; margin-bottom: 1rem; }

.text-stack { display: flex; flex-direction: column; }
.text-stack > div { padding: 1.25rem 0; border-bottom: 1px solid rgba(8,44,1,0.07); }
.text-stack > div:last-child { border-bottom: none; padding-bottom: 0; }
.text-stack > div:first-child { padding-top: 0.5rem; }
.text-stack h3 { font-size: 19px; font-weight: 300; font-style: italic; color: #666; margin-bottom: 0.2rem; }
.text-stack p { font-size: 14px; line-height: 1.85; color: #666; }

/* ================================================
   PORTFOLIO (sage)
   ================================================ */
.portfolio { background: var(--sage); padding: 54px 2rem; text-align: center; overflow: visible; }

.portfolio h2 {
  font-family: 'Fauna One', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400; color: #000; margin-bottom: 2.5rem;
}

.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem; width: 95%; max-width: 1400px; margin: 0 auto 2rem;
  justify-items: center;
}

.portfolio-item { position: relative; text-align: center; overflow: visible; }

/* Colored glow behind each product — centered on image area */
.portfolio-item::before {
  content: ''; position: absolute;
  top: 15%; left: 50%; transform: translate(-50%, 0);
  width: 140px; height: 140px; border-radius: 50%;
  filter: blur(45px); opacity: 0.3;
  pointer-events: none; z-index: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-item:hover::before { opacity: 0.45; transform: translate(-50%, 0) scale(1.1); }

.portfolio-item--blueberry::before { background: #6b7fc7; }
.portfolio-item--cinnamon::before { background: #c79a6b; }
.portfolio-item--lingonberry::before { background: #c76b7f; }
.portfolio-item--moomin::before { background: #d4a0c0; }

.portfolio-item img {
  position: relative; z-index: 1;
  max-height: 25vh; min-height: 130px; width: auto;
  margin: 0 auto 0.75rem; transition: transform 0.4s ease;
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item h3 { position: relative; z-index: 1; font-size: 20px; font-weight: 400; color: var(--green); margin-bottom: 0; }

.portfolio-latin {
  position: relative; z-index: 1;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px; font-weight: 300; font-style: italic;
  color: var(--green); opacity: 0.5;
}

.portfolio-item--wide { grid-column: 1 / -1; }
.portfolio-item--wide img { max-height: 28vh; }
.portfolio-item--wide::before { width: 200px; height: 200px; }

.badge {
  position: absolute; top: 0; left: 50%; transform: translateX(50px);
  font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--purple); color: #fff; padding: 3px 10px; border-radius: 30px;
  z-index: 1;
}

.portfolio-footnote {
  font-size: 13px; font-weight: 400; color: var(--green); opacity: 0.55;
  max-width: 700px; margin: 0 auto 0.5rem; padding: 0 1rem;
}

.portfolio-channels {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px; font-weight: 300; font-style: italic;
  color: var(--green); opacity: 0.45; padding: 0 1rem;
}

/* ================================================
   WTCE (purple)
   ================================================ */
.wtce { background: var(--purple); padding: 54px 2rem; text-align: center; }
.wtce h2 {
  font-family: 'Fauna One', Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 400; color: #fff; margin-bottom: 1rem;
}
.wtce > p { font-size: 15px; line-height: 2; color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto 1rem; }
.wtce-date { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 2rem; letter-spacing: 0.03em; }
.wtce-buttons { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }

/* ================================================
   FOOTER
   ================================================ */
.footer { background: var(--green); padding: 40px 2rem; text-align: center; }
.footer-tagline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem; font-weight: 300; font-style: italic;
  color: var(--sage-text); margin-bottom: 1rem;
}
.footer-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.footer-links a { font-size: 13px; color: var(--sage-text); transition: color 0.2s; }
.footer-links a:hover { color: var(--sage); }
.footer-links span { color: var(--sage-text); opacity: 0.3; }
.footer-copy { font-size: 11px; color: var(--sage-text); opacity: 0.4; }

/* ================================================
   TABLET (768px+)
   ================================================ */
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
  .reverse .split-img { order: -1; }
  .split-text { padding: 54px 3rem; }
  .split-img img { max-height: 480px; }

  .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 3.5rem; }
  .portfolio-item--wide { grid-column: 1 / -1; }
  .portfolio-item::before { width: 160px; height: 160px; }

  .wtce-buttons { flex-direction: row; justify-content: center; }
}

/* ================================================
   DESKTOP (981px+)
   ================================================ */
@media (min-width: 981px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }

  .hero { padding-top: 15vh; }
  .hero-logo { height: 140px; margin-bottom: 2.5rem; }

  .split-img img { max-height: 500px; }
  .split-text { padding: 54px 4rem; }

  .portfolio { padding: 54px 2rem; }
  .portfolio-grid { max-width: 1600px; gap: 2rem 4rem; }
  .portfolio-item img { max-height: 26vh; min-height: 140px; }
  .portfolio-item--wide img { max-height: 32vh; }
  .portfolio-item::before { width: 180px; height: 180px; }
  .portfolio-item--wide::before { width: 240px; height: 240px; }
}

/* ================================================
   WIDE (1350px+)
   ================================================ */
@media (min-width: 1350px) {
  .portfolio-grid { max-width: 2000px; width: 95%; }
}

/* ================================================
   MOBILE (<768px)
   ================================================ */
@media (max-width: 767px) {
  .hero { padding: 80px 1.5rem 1.5rem; background-image: none; }
  .hero-mark { display: none; }
  .hero-logo { height: 70px; }
  .hero-desc { font-size: 0.875rem; line-height: 1.75; }

  .hero-trusted { padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
  .hero-trusted-logos { gap: 1.25rem; }
  .hero-trusted-logos img { height: 22px; }

  .split-img { min-height: 250px; padding: 1.5rem; }
  .split-img img { max-height: 300px; }
  .split-text { padding: 40px 1.5rem; }
  .reverse .split-img { order: 0; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
  .portfolio-item--wide { grid-column: 1 / -1; }
  .portfolio-item img { min-height: 80px; max-height: 18vh; }
  .portfolio-item::before { width: 70px; height: 70px; filter: blur(25px); opacity: 0.25; }
  .portfolio-item--wide::before { width: 100px; height: 100px; }
  .portfolio-item--wide img { max-height: 22vh; }
  .portfolio h2 { margin-bottom: 1.5rem; }
  .portfolio-footnote { font-size: 12px; }
  .portfolio-channels { font-size: 12px; }

  .btn { padding: 0.85rem 2.5rem; font-size: 14px; }
  .wtce-buttons .btn { width: 100%; max-width: 340px; text-align: center; }
}

@media (max-width: 359px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-trusted-logos img { height: 18px; }
  .portfolio-item::before { width: 50px; height: 50px; filter: blur(20px); opacity: 0.2; }
  .portfolio-item--wide::before { width: 70px; height: 70px; }
}
