/* =========================================================
   Gastronome Solutions — brand stylesheet
   Palette (brand guidelines): #FFFFFF · #3D3934 · #8874B4
   Type: Butler (display) · Sinkin Sans (text), self-hosted woff2
   ========================================================= */

/* ---------- Brand fonts (self-hosted, see assets/fonts/ for licences) ---------- */
@font-face {
  font-family: "Butler";
  src: url("../fonts/Butler-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Butler";
  src: url("../fonts/Butler-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Butler";
  src: url("../fonts/Butler-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Butler";
  src: url("../fonts/Butler-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Butler";
  src: url("../fonts/Butler-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sinkin Sans";
  src: url("../fonts/SinkinSans-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sinkin Sans";
  src: url("../fonts/SinkinSans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sinkin Sans";
  src: url("../fonts/SinkinSans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sinkin Sans";
  src: url("../fonts/SinkinSans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sinkin Sans";
  src: url("../fonts/SinkinSans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #FFFFFF;
  --ink: #3D3934;
  --purple: #8874B4;

  /* derived tints/shades (brand-consistent) */
  --ink-900: #2C2925;
  --ink-700: #5A5650;
  --ink-500: #7D7872;
  --stone: #F5F3F0;
  --stone-2: #ECE9E4;
  --purple-600: #7A66A6;
  --purple-100: #EDE9F4;
  --purple-200: #D6CEE6;
  --line: rgba(61, 57, 52, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: "Butler", Georgia, "Times New Roman", serif;
  --font-text: "Sinkin Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --shadow: 0 20px 50px -20px rgba(61, 57, 52, 0.35);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
section[id] { scroll-margin-top: 80px; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.align-center { align-items: center; }
.dark { background: var(--ink); color: var(--white); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--purple); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* ---------- Accents ---------- */
.section-label {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--purple);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::before { content: ""; width: 44px; height: 2px; background: currentColor; flex: none; }
.section-label.light { color: var(--purple-200); }
.center .section-label { justify-content: center; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-intro { color: var(--ink-700); font-size: 1.05rem; margin-top: 18px; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: var(--purple-200); margin-bottom: 20px; }

.dots {
  position: absolute; pointer-events: none;
  width: 96px; height: 56px;
  background-image: radial-gradient(currentColor 1.3px, transparent 1.4px);
  background-size: 10px 10px;
  color: var(--ink);
  opacity: 0.55;
}
.dark .dots { color: #fff; opacity: 0.35; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-text); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius); border: 2px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: #fff; border-color: var(--purple); box-shadow: 0 10px 24px -10px rgba(136,116,180,.7); }
.btn-primary:hover { background: var(--purple-600); border-color: var(--purple-600); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-900); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--purple); letter-spacing: .02em; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  isolation: isolate;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* blur lives on a pseudo-element so the header never becomes the
   containing block for the fixed mobile menu (backdrop-filter would) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(61,57,52,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; }
.brand img { width: clamp(170px, 18vw, 220px); height: auto; transition: width .3s var(--ease); }
.is-scrolled .brand img { width: clamp(150px, 15vw, 180px); }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav ul a { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; position: relative; padding: 6px 0; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--purple); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }
.nav-cta { padding: 12px 20px; font-size: 0.78rem; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--ink); color: #fff;
  padding: clamp(100px, 14vw, 180px) 0 0;
  overflow: hidden;
  min-height: min(82vh, 860px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: grayscale(1) contrast(1.05); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(44,41,37,.92) 0%, rgba(44,41,37,.78) 45%, rgba(44,41,37,.35) 100%),
              linear-gradient(0deg, rgba(44,41,37,1) 0%, rgba(44,41,37,0) 35%);
}
.hero-slash {
  position: absolute; z-index: -1; right: -12vw; top: -10%; width: 30vw; height: 140%;
  background: var(--purple); opacity: .9;
  transform: skewX(-18deg);
  mix-blend-mode: multiply;
}
.dots-hero { right: 8%; top: 18%; color: #fff; opacity: .4; width: 120px; height: 70px; }
.hero-content { max-width: 760px; position: relative; }
.hero h1 { color: #fff; }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); font-weight: 300; color: rgba(255,255,255,.86); max-width: 620px; margin: 26px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line-light);
}
.hero-stats li { padding: 28px 24px 34px 0; border-right: 1px solid var(--line-light); margin-right: 24px; }
.hero-stats li:last-child { border-right: 0; margin-right: 0; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; color: #fff; line-height: 1; margin-bottom: 10px; }
.hero-stats span { font-size: 0.82rem; color: rgba(255,255,255,.7); line-height: 1.5; display: block; }

/* ---------- About ---------- */
.about-media { position: relative; padding: 0 0 36px 36px; }
.about-media img { position: relative; z-index: 1; box-shadow: var(--shadow); filter: grayscale(1); aspect-ratio: 4 / 3; object-fit: cover; }
.purple-block { position: absolute; left: 0; bottom: 0; width: 62%; height: 78%; background: var(--purple); }
.dots-about { right: -24px; top: -28px; z-index: 2; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { color: var(--ink-700); }
.check-list { margin: 24px 0 28px; display: grid; gap: 10px; }
.check-list li { padding-left: 32px; position: relative; font-weight: 500; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 10px; border-left: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(-45deg); }

/* ---------- Vision / Mission / Values ---------- */
.dots-vision { left: 4%; top: 48px; }
.vm-grid { gap: clamp(20px, 3vw, 32px); }
.vm-card { position: relative; border: 1px solid var(--line-light); padding: clamp(28px, 4vw, 48px); background: rgba(255,255,255,.03); overflow: hidden; }
.vm-card::before { content: ""; position: absolute; left: 0; top: 0; width: 6px; height: 100%; background: var(--purple); }
.vm-index { font-family: var(--font-display); font-size: 3.6rem; color: rgba(255,255,255,.08); position: absolute; right: 24px; top: 8px; font-weight: 700; line-height: 1; }
.vm-card h3 { color: var(--purple-200); margin-bottom: 14px; }
.vm-card p { font-size: 1.08rem; font-weight: 300; color: rgba(255,255,255,.88); }
.values { margin-top: clamp(56px, 7vw, 88px); }
.values-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.values-list li { background: var(--ink); padding: 28px 22px; transition: background .3s; }
.values-list li:hover { background: var(--ink-900); }
.values-list span { display: block; font-family: var(--font-display); color: var(--purple); font-size: 1.1rem; margin-bottom: 14px; }
.values-list h4 { color: #fff; margin-bottom: 8px; }
.values-list p { font-size: 0.85rem; color: rgba(255,255,255,.62); }

/* ---------- Services ---------- */
.services { background: var(--stone); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 48px; }
.service-card {
  background: #fff; padding: 34px 30px 36px; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 22px; }
.service-icon svg { width: 30px; height: 30px; }
.service-icon.purple { background: var(--purple); color: #fff; }
.service-icon.ink { background: var(--ink); color: #fff; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { color: var(--ink-700); font-size: 0.95rem; }

/* ---------- Why us ---------- */
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.approach-card { display: flex; flex-direction: column; }
.approach-card figure { margin: 0; overflow: hidden; position: relative; aspect-ratio: 3 / 2; }
.approach-card figure::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 6px; background: var(--purple); }
.approach-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .8s var(--ease); }
.approach-card:hover img { transform: scale(1.05); }
.approach-body { padding: 24px 0 0; }
.approach-body h3 { margin-bottom: 12px; }
.approach-body p { color: var(--ink-700); font-size: 0.95rem; }

/* ---------- Founders ---------- */
.dots-founders { right: 5%; top: 56px; }
.founders-grid { gap: clamp(20px, 3vw, 32px); }
.founder-card { border: 1px solid var(--line-light); padding: clamp(28px, 4vw, 44px); position: relative; background: rgba(255,255,255,.03); }
.founder-mark {
  width: 72px; height: 72px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  background: var(--purple); color: #fff; margin-bottom: 24px;
}
.founder-card h3 { color: #fff; margin-bottom: 6px; }
.founder-role { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-200); font-weight: 600; margin-bottom: 18px; }
.founder-card > p:not(.founder-role) { color: rgba(255,255,255,.82); font-weight: 300; }
.founder-contact { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-light); display: grid; gap: 6px; font-size: 0.9rem; }
.founder-contact a { color: #fff; }
.founder-contact a:hover { color: var(--purple-200); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--purple); color: #fff; padding: clamp(48px, 6vw, 72px) 0; }
.cta-inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cta-logo { width: clamp(180px, 20vw, 260px); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.88); font-weight: 300; }

/* ---------- Contact ---------- */
.contact-grid { align-items: start; }
.contact h2 { margin-bottom: 18px; }
.contact > .container > div > p { color: var(--ink-700); }
.contact-cards { display: grid; gap: 16px; margin-top: 32px; }
.contact-card { border-left: 4px solid var(--purple); background: var(--stone); padding: 22px 24px; display: grid; gap: 4px; }
.contact-card h4 { margin-bottom: 6px; }
.contact-card a { color: var(--ink-700); font-size: 0.95rem; width: fit-content; }
.contact-card a:hover { color: var(--purple); }
.contact-card .whatsapp { margin-top: 8px; font-weight: 600; font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }

.contact-form { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.75); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-family: var(--font-text); font-size: 0.95rem; text-transform: none; letter-spacing: 0; font-weight: 400;
  color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 13px 14px; outline: none; transition: border-color .25s, background .25s;
}
.contact-form select option { color: var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.4); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--purple); background: rgba(255,255,255,.1); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { justify-self: start; }
.form-note { font-size: 0.8rem; color: rgba(255,255,255,.55); }
.form-note.is-error { color: #F3B4B4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.75); padding: clamp(56px, 7vw, 80px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: clamp(28px, 5vw, 64px); padding-bottom: 48px; }
.footer-brand img { width: 220px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; }
.site-footer h5 { color: #fff; font-family: var(--font-text); font-size: 0.78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; font-size: 0.9rem; }
.site-footer a:hover { color: var(--purple-200); }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,.5); }
.footer-bottom p { margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service-card:hover, .approach-card:hover img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats li:nth-child(2) { border-right: 0; }
}

@media (max-width: 860px) {
  .header-inner { height: 76px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 76px 0 0 0; background: var(--white);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 32px var(--gutter); gap: 28px;
    transform: translateX(100%); transition: transform .35s var(--ease);
    overflow-y: auto; z-index: 99;
  }
  .site-nav ul { flex-direction: column; gap: 6px; width: 100%; }
  .site-nav ul a { display: block; font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .nav-cta { width: 100%; }
  body.nav-open .site-nav { transform: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .grid-2 { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero { min-height: 0; }
  .hero-slash { right: -40vw; width: 60vw; opacity: .6; }
  .dots-hero { display: none; }
  .about-media { padding: 0 0 24px 24px; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: 1fr 1fr; }
  .values-list li:last-child { grid-column: 1 / -1; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats li { padding: 20px 12px 24px 0; margin-right: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn { width: 100%; }
}
