/* ==========================================================================
   TIN TAN Foods — Coming Soon
   Brand tokens live in :root. Change them here to re-theme the whole page.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Brand */
  --brand-red: #8B0000;
  --brand-red-deep: #6A080C;
  --brand-red-darker: #3F0507;
  --brand-gray: #555555;
  --brand-gray-light: #8A8583;
  --brand-dark: #241B1B;
  --brand-light: #FAF9F7;
  --brand-cream: #F3EEE9;
  --cocoa: #43210F;
  --cocoa-deep: #241208;

  /* Type */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 28px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-soft: 0 24px 60px -28px rgba(36, 18, 8, .35);
  --shadow-card: 0 2px 6px rgba(36, 27, 27, .04), 0 30px 70px -40px rgba(36, 18, 8, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--brand-light);
  color: var(--brand-gray);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.975rem, 0.93rem + 0.2vw, 1.075rem);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--brand-dark); font-family: var(--font-serif); font-weight: 500; line-height: 1.08; }
p { margin: 0 0 1.1em; }
::selection { background: var(--brand-red); color: #fff; }

:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--brand-dark); color: #fff; padding: .7rem 1.1rem; border-radius: 8px;
  text-decoration: none; font-size: .9rem; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  margin: 0 0 1.25rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--brand-red);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .55; }
.eyebrow--light { color: #E9C9C6; }

.h2 { font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); letter-spacing: -.005em; }
.brand-sub { font-family: var(--font-sans); font-weight: 400; font-size: .5em; letter-spacing: .3em; text-transform: uppercase; color: var(--brand-gray); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --h: 3.4rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: var(--h); padding: 0 2.1rem;
  font: 500 .78rem/1 var(--font-sans); letter-spacing: .28em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  color: var(--brand-light); background: var(--brand-red);
  box-shadow: 0 14px 30px -14px rgba(139, 0, 0, .7);
  overflow: hidden; isolation: isolate;
}
.btn--primary::after { /* soft sheen on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover { background: var(--brand-red-deep); transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(139, 0, 0, .75); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--link { color: var(--brand-dark); padding-inline: 1.1rem; }
.btn--link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: .35em; transition: background-size .45s var(--ease); }
.btn--link:hover span { background-size: 100% 1px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .35s var(--ease); }
.btn--link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(1.25rem, 3.5vh, 2.5rem) var(--gutter) clamp(8.5rem, 24vh, 14rem);
  text-align: center; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 38%, #FFFFFF 0%, rgba(255,255,255,0) 70%),
    radial-gradient(40% 40% at 88% 18%, rgba(139,0,0,.06), transparent 70%),
    radial-gradient(40% 40% at 8% 60%, rgba(67,33,15,.05), transparent 70%),
    var(--brand-light);
}
.hero__inner { position: relative; z-index: 2; max-width: 60rem; display: flex; flex-direction: column; align-items: center; }

.hero__logo { display: block; width: clamp(200px, 24vw, 310px); margin-bottom: clamp(1.1rem, 3.5vh, 2.4rem); }
.hero__logo img { width: 100%; filter: drop-shadow(0 10px 22px rgba(139, 0, 0, .10)); }

.hero__eyebrow { color: var(--brand-gray); gap: .8rem; margin-bottom: clamp(1rem, 2.5vh, 1.6rem); }
.hero__eyebrow::before { display: none; }
.hero__eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-red); }

.hero__title {
  font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.6rem);
  line-height: 1; letter-spacing: -.012em; font-weight: 500;
  max-width: 18ch; text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--brand-red); }

.hero__subtitle {
  margin: clamp(.9rem, 2vh, 1.4rem) 0 .7rem;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem);
  color: var(--brand-dark); opacity: .85;
}
.hero__text { max-width: 34rem; margin: 0 auto; color: var(--brand-gray); }

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.25rem; margin-top: clamp(1.6rem, 4vh, 2.6rem); }

/* decorative leaves */
.hero__leaves { position: absolute; inset: 0; z-index: 0; pointer-events: none; color: var(--brand-red); }
.leaf { position: absolute; width: clamp(60px, 9vw, 130px); opacity: .09; }
.leaf--l  { left: 4%;  top: 22%; transform: rotate(-28deg); }
.leaf--r  { right: 6%; top: 14%; transform: rotate(24deg); width: clamp(70px, 11vw, 160px); opacity: .07; }
.leaf--r2 { right: 13%; top: 42%; transform: rotate(58deg); width: clamp(34px, 4.5vw, 64px); opacity: .1; }

/* chocolate ribbons */
.hero__wave {
  position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1;
  height: clamp(140px, 27vh, 300px); pointer-events: none; will-change: transform;
}
.hero__wave svg { width: 100%; height: 100%; }

.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(1.1rem, 3vh, 2rem); z-index: 3; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(250, 249, 247, .6); border-radius: 20px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--brand-light); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }

/* hero entrance */
.hero__logo, .hero__eyebrow, .hero__title, .hero__subtitle, .hero__text, .hero__cta { animation: rise 1s var(--ease) both; }
.hero__logo     { animation-name: fadeIn; animation-duration: 1.2s; }
.hero__eyebrow  { animation-delay: .25s; }
.hero__title    { animation-delay: .38s; }
.hero__subtitle { animation-delay: .52s; }
.hero__text     { animation-delay: .64s; }
.hero__cta      { animation-delay: .78s; }
.hero__wave     { animation: waveIn 1.6s var(--ease) .15s both; }
@keyframes rise   { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes waveIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   MEET
   ========================================================================== */
.meet { background: var(--brand-light); }
.meet__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.meet__head .h2 { max-width: 12ch; }
.meet .lead {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem);
  line-height: 1.35; color: var(--brand-dark); margin-bottom: 1.4rem;
}
.meet__body > p:not(.lead):not(.signature) { max-width: 36rem; }
.signature {
  display: flex; align-items: center; gap: 1rem; margin: 2.2rem 0 0;
  font-family: var(--font-sans); font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--brand-gray-light);
}
.signature span { width: 2.5rem; height: 1px; background: currentColor; opacity: .6; }
@media (min-width: 900px) {
  .meet__grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .meet__body { padding-top: 2.6rem; border-left: 1px solid rgba(85, 85, 85, .18); padding-left: 4rem; }
}

/* ==========================================================================
   TASTE
   ========================================================================== */
.taste { padding-top: 0; }
.taste__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.taste__visual {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--brand-cream); box-shadow: var(--shadow-card);
  aspect-ratio: 560 / 600;
}
.taste__visual > svg, .taste__visual > picture, .taste__visual > img { width: 100%; height: 100%; }
.taste__visual img { object-fit: cover; }
.taste__visual::after { /* burgundy frame accent */
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(139, 0, 0, .18); border-radius: calc(var(--radius) - 10px); pointer-events: none;
}
.jar-art { transition: transform 1.2s var(--ease); }
.taste__visual:hover .jar-art { transform: scale(1.025); }

.taste__copy .h2 { max-width: 14ch; margin-bottom: 1.4rem; }
.taste__copy > p { max-width: 32rem; }

.moments { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: .9rem; }
.moment {
  display: flex; gap: 1.1rem; align-items: center;
  padding: 1.1rem 1.3rem; border-radius: 18px;
  background: #fff; border: 1px solid rgba(36, 27, 27, .06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.moment:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: rgba(139, 0, 0, .18); }
.moment svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(139, 0, 0, .07); fill: none; stroke: var(--brand-red); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.moment h3 { font-size: 1.35rem; margin-bottom: .1rem; }
.moment p { margin: 0; font-size: .92rem; line-height: 1.5; }

@media (min-width: 900px) {
  .taste__grid { grid-template-columns: 6fr 5fr; }
}

/* ==========================================================================
   COMING SOON
   ========================================================================== */
.soon {
  color: #EADBD8; text-align: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(176, 20, 28, .45), transparent 70%),
    radial-gradient(60% 60% at 100% 100%, rgba(36, 18, 8, .55), transparent 70%),
    linear-gradient(180deg, var(--brand-red-deep), var(--brand-red-darker));
}
.soon__swirls { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; fill: none; stroke: #fff; stroke-opacity: .07; stroke-width: 1.2; }
.soon__inner { max-width: 54rem; }
.soon .h2 { color: #fff; }
.soon__text { max-width: 30rem; margin: 1.1rem auto 0; color: rgba(250, 249, 247, .82); }

.soon__big {
  margin: clamp(1.8rem, 5vw, 3rem) 0 clamp(2.2rem, 5vw, 3.2rem);
  font-family: var(--font-serif); font-weight: 500; text-transform: uppercase;
  font-size: clamp(3rem, 1rem + 9.5vw, 9rem); line-height: .9; letter-spacing: .06em;
  color: transparent; -webkit-text-stroke: 1px rgba(250, 249, 247, .55);
  background: linear-gradient(100deg, rgba(250,249,247,.0) 20%, rgba(250,249,247,.95) 50%, rgba(250,249,247,.0) 80%) 0 0 / 250% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  animation: shine 7s linear infinite;
}
.soon__big span { display: block; font-style: italic; text-transform: none; letter-spacing: .02em; -webkit-text-stroke: 0; color: #fff; font-size: .82em; }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -150% 0; } }

/* form */
.notify { max-width: 34rem; margin: 0 auto; }
.notify__label { display: block; margin-bottom: 1rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); color: #fff; }
.notify__field {
  display: flex; align-items: center; gap: .4rem;
  padding: .4rem; border-radius: var(--radius-pill);
  background: rgba(250, 249, 247, .08); border: 1px solid rgba(250, 249, 247, .25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.notify__field:focus-within { border-color: rgba(250, 249, 247, .6); background: rgba(250, 249, 247, .12); box-shadow: 0 0 0 4px rgba(250, 249, 247, .08); }
.notify input[type="email"] {
  flex: 1; min-width: 0; height: 3.1rem; padding: 0 1.3rem;
  border: 0; background: transparent; color: #fff; font: 400 1rem var(--font-sans); outline: none;
}
.notify input::placeholder { color: rgba(250, 249, 247, .6); }
.notify__btn {
  flex: none; height: 3.1rem; padding: 0 1.8rem; border: 0; border-radius: var(--radius-pill); cursor: pointer;
  background: var(--brand-light); color: var(--brand-red);
  font: 600 .74rem/1 var(--font-sans); letter-spacing: .24em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.notify__btn:hover { background: #fff; transform: translateY(-1px); }
.notify__btn:focus-visible { outline-color: #fff; }
.notify__btn[disabled] { opacity: .7; cursor: progress; }
.notify .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify__status { min-height: 1.5em; margin: .9rem 0 0; font-size: .92rem; color: #fff; }
.notify__status.is-error { color: #FFD9D4; }
.notify__note { margin: 0; font-size: .78rem; letter-spacing: .06em; color: rgba(250, 249, 247, .55); }
.notify.is-done .notify__field { border-color: rgba(250, 249, 247, .5); }

@media (max-width: 520px) {
  .notify__field { flex-direction: column; align-items: stretch; border-radius: 22px; padding: .5rem; }
  .notify input[type="email"] { text-align: center; }
  .notify__btn { width: 100%; }
}

/* ==========================================================================
   FOLLOW
   ========================================================================== */
.follow { text-align: center; }
.follow__inner { max-width: 42rem; }
.follow__mark { width: 56px; margin: 0 auto 1.4rem; }
.follow .h2 { margin-bottom: 1.2rem; }
.social { list-style: none; margin: 2.4rem 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.social a {
  display: inline-flex; flex-direction: column; align-items: center; gap: .6rem; text-decoration: none;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brand-gray);
  min-width: 88px; padding: .3rem;
}
.social svg {
  width: 60px; height: 60px; padding: 18px; border-radius: 50%;
  fill: var(--brand-red); background: #fff; border: 1px solid rgba(139, 0, 0, .15);
  box-shadow: 0 10px 24px -16px rgba(36, 18, 8, .4);
  transition: background-color .35s var(--ease), fill .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.social a:hover svg, .social a:focus-visible svg { background: var(--brand-red); fill: #fff; transform: translateY(-3px); box-shadow: 0 16px 28px -14px rgba(139, 0, 0, .6); }
.social__hint { min-height: 1.5em; margin-top: 1.2rem; font-size: .85rem; color: var(--brand-red); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid rgba(85, 85, 85, .14); background: #F5F2EE; text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0 2.2rem; }
.footer__logo { display: inline-block; width: 150px; margin-bottom: 1.6rem; }
.footer__brand { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.6rem; color: var(--brand-red); letter-spacing: .06em; }
.footer__brand span { font-family: var(--font-sans); font-weight: 400; font-size: .55em; color: var(--brand-gray); letter-spacing: .3em; text-transform: uppercase; }
.footer__tag { margin: .2rem 0 1.4rem; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--brand-dark); }
.footer__site a { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; color: var(--brand-gray); border-bottom: 1px solid rgba(139, 0, 0, .3); padding-bottom: .2rem; transition: color .3s, border-color .3s; }
.footer__site a:hover { color: var(--brand-red); border-color: var(--brand-red); }
.footer__copy { margin: 2.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgba(85, 85, 85, .12); font-size: .78rem; color: var(--brand-gray-light); }

/* ==========================================================================
   Scroll reveal (only when JS is running; content is visible without JS)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .moments .reveal:nth-child(2) { transition-delay: .08s; }
.js .moments .reveal:nth-child(3) { transition-delay: .16s; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 600px) {
  .hero { padding-bottom: clamp(8rem, 22vh, 11rem); }
  .hero__title { max-width: 11ch; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn--primary { width: min(100%, 20rem); }
  .leaf--l { top: 8%; left: -2%; }
  .leaf--r2 { display: none; }
  .eyebrow { letter-spacing: .24em; }
  .brand-sub { display: block; margin-top: .35rem; }
}
@media (max-width: 360px) {
  .hero__eyebrow { font-size: .64rem; letter-spacing: .18em; }
  .btn { padding-inline: 1.4rem; letter-spacing: .22em; }
}
@media (max-height: 640px) and (min-width: 700px) {
  .hero__logo { width: 220px; margin-bottom: 1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .soon__big { background: none; }
}
