/* Man Caterers — from the visiting card: deep plum, sun-gold, copper palms, white frames. */
:root {
  --plum-950: #170c10;
  --plum-900: #22141a;
  --plum-850: #2a1920;
  --plum-800: #331f28;
  --plum-700: #462b36;
  --sun: #f2b544;
  --gold: #e8bd6a;
  --gold-soft: #f3d79c;
  --copper: #c8743a;
  --flame: #e4621c;
  --cream: #f7ecd9;
  --cream-dim: rgb(247 236 217 / .74);
  --hairline: rgb(232 189 106 / .22);
  --paper: #fbf6ec;
  --ink: #22141a;
  --muted: #6d5b60;

  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-script: "Great Vibes", "Snell Roundhand", cursive;
  --f-deva: "Yatra One", "Mukta", sans-serif;
  --f-body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--plum-900);
  color: var(--cream);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); font-weight: 600; letter-spacing: .005em; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #f6c35a, var(--sun)); color: var(--plum-950); box-shadow: 0 8px 22px rgb(242 181 68 / .22); }
.btn-gold:hover { background: #f7c766; }
.btn-ghost { border-color: rgb(247 236 217 / .55); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-sm { padding: .55em 1.15em; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 5;
  background: var(--plum-950);
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand-sun {
  display: grid; place-items: end center;
  width: 52px; height: 28px; padding-bottom: 1px;
  border-radius: 52px 52px 0 0;
  background: var(--sun); color: var(--plum-900);
  font: 400 1.25rem/1 var(--f-deva);
}
.brand-name { font-family: var(--f-script); font-size: 2rem; line-height: 1; color: var(--gold-soft); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 6px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--cream-dim); }
.nav a:hover { color: var(--gold-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 72% 45%, rgb(242 181 68 / .10), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgb(200 116 58 / .10), transparent 50%),
    var(--plum-900);
}
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 40px;
  padding-block: 72px 88px;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); line-height: 1.02; color: var(--cream); }
.lede { font-size: 1.15rem; max-width: 33em; color: var(--cream-dim); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* The visiting-card logo */
/* Sizes inside the logo use cqw (percent of the card's width), so it scales as one piece. */
.card-art {
  position: relative; width: min(100%, 420px); aspect-ratio: 400 / 520; margin-inline: auto;
  display: grid; place-items: center; container-type: inline-size;
}
.frames { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.frame { fill: none; stroke: rgb(255 255 255 / .85); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.frame.panel { fill: rgb(26 14 19 / .96); }
.f1, .f2 { transform-box: view-box; transform-origin: 50% 50%; }
.f1 { animation: drift 16s ease-in-out infinite alternate; }
.f2 .frame { stroke: rgb(255 255 255 / .55); }
.f2 { animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: rotate(-1deg); } to { transform: rotate(1deg); } }

.lockup { position: relative; display: flex; flex-direction: column; align-items: center; width: 70%; text-align: center; }
.sun {
  width: 72%;
  aspect-ratio: 2 / 1;
  border-radius: 999px 999px 0 0;
  background: radial-gradient(ellipse at 50% 110%, #ffd47a, var(--sun) 62%, #e3a234);
  display: grid;
  place-items: end center;
  box-shadow: 0 -6px 40px rgb(242 181 68 / .16);
}
.sun span { font: 400 15.5cqw/1 var(--f-deva); color: var(--plum-900); padding-bottom: .16em; }
.emblem { width: 17%; margin-top: -5.5%; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .35)); }
.script { font-family: var(--f-script); color: var(--gold); line-height: 1; }
.catering { font-size: 15cqw; margin-top: 1.5cqw; }
.flourish { width: 92%; margin-top: 1.5cqw; }
.flourish path { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; }
.flourish circle { fill: var(--gold); }
.maker { font-size: 9.5cqw; color: var(--gold-soft); margin-top: 5cqw; }

/* Copper palm fronds */
.palm { position: absolute; z-index: 0; width: 300px; height: 150px; pointer-events: none; opacity: .95; transform-origin: 0 50%; }
.palm-a { left: -40px; top: 10px; transform: rotate(-18deg); animation: sway 9s ease-in-out infinite alternate; }
.palm-b { right: -70px; top: 46%; transform: scaleX(-1) rotate(-14deg); width: 260px; height: 130px; animation: sway-r 11s ease-in-out infinite alternate; }
.palm-c { left: 38%; bottom: -36px; transform: rotate(-28deg); width: 220px; height: 110px; opacity: .7; }
.palm-d { right: -60px; top: 40px; transform: scaleX(-1) rotate(-22deg); width: 240px; height: 120px; opacity: .6; }
.palm-e { left: -50px; bottom: 30px; transform: rotate(-12deg); width: 260px; height: 130px; opacity: .55; }
@keyframes sway { from { transform: rotate(-18deg); } to { transform: rotate(-13deg); } }
@keyframes sway-r { from { transform: scaleX(-1) rotate(-14deg); } to { transform: scaleX(-1) rotate(-9deg); } }

/* ---------- Ribbon ---------- */
.ribbon {
  overflow: hidden;
  background: linear-gradient(90deg, #e9a93a, var(--sun), #e9a93a);
  color: var(--plum-950);
}
.ribbon-track { display: flex; width: max-content; padding: 13px 0; animation: marquee 46s linear infinite; }
.ribbon span { font: 600 1.45rem/1 var(--f-display); white-space: nowrap; display: inline-flex; align-items: center; }
.ribbon span::after { content: "✦"; font-size: .8rem; margin: 0 26px; color: var(--flame); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; overflow: hidden; padding-block: 100px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 660px; margin-bottom: 46px; }
.section h2, .contact h2 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.05; color: var(--cream); }
.sub { color: var(--cream-dim); font-size: 1.1rem; max-width: 36em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: linear-gradient(180deg, rgb(255 255 255 / .035), rgb(255 255 255 / .01));
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgb(232 189 106 / .55); transform: translateY(-3px); }
.card h3 { font: 600 1.5rem/1.15 var(--f-display); color: var(--gold-soft); }
.card p { color: var(--cream-dim); }
.card-icon { width: 46px; height: 46px; color: var(--gold); }

.kitchen { background: var(--plum-850); border-block: 1px solid var(--hairline); }
.kitchen-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.kitchen-intro { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 24px; }
.counters { list-style: none; margin: 0; padding: 0; }
.counters li { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.counters li:first-child { border-top: 1px solid var(--hairline); }
.c-name { font: 600 1.45rem/1.15 var(--f-display); color: var(--gold-soft); }
.c-eg { color: var(--cream-dim); align-self: center; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { border: 1px solid var(--hairline); border-radius: 6px; padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; }
.steps h3 { color: var(--cream); }
.steps p { color: var(--cream-dim); }
.step-no { font: 400 3.4rem/1 var(--f-script); color: var(--sun); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--plum-950); padding-block: 100px; border-top: 1px solid var(--hairline); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-list { list-style: none; margin: 18px 0 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.cl-label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-top: 5px; }
.cl-value { font-size: 1.25rem; text-decoration: none; color: var(--cream); line-height: 1.5; }
.cl-value a { text-decoration: none; }
.cl-value a:hover, a.cl-value:hover { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 4px; }

.enquiry {
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: 30px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 30px 70px rgb(0 0 0 / .45);
  border-top: 5px solid var(--sun);
}
.enquiry h3 { font: 600 1.9rem/1.1 var(--f-display); color: var(--plum-900); }
.form-note { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.enquiry label { font-size: .9rem; font-weight: 600; margin-top: 8px; }
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem;
  padding: 10px 12px; border: 1.5px solid #e3d6c3; border-radius: 6px; background: #fff; color: var(--ink);
  color-scheme: light;
}
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--copper); }
.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.enquiry .row > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.enquiry button { margin-top: 16px; }
.form-error { color: #b3261e; font-weight: 600; font-size: .95rem; margin-top: 8px; }

.footer { background: var(--plum-950); color: var(--cream-dim); font-size: .95rem; border-top: 1px solid var(--hairline); padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 48px 64px; gap: 36px; }
  .card-art { order: -1; width: min(86%, 360px); }
  .kitchen-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .kitchen-intro { position: static; }
  .steps { grid-template-columns: 1fr; }
  .section, .contact { padding-block: 68px; }
  .palm-b { top: 8%; }
  .palm-c { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-name { font-size: 1.7rem; }
  .palm-a { width: 200px; height: 100px; left: -50px; }
  .palm-b { width: 180px; height: 90px; right: -60px; }
  .counters li { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .enquiry { padding: 24px 18px; }
  .enquiry .row { grid-template-columns: 1fr; gap: 0; }
  .ribbon span { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .f1, .f2, .palm, .ribbon-track { animation: none !important; }
  .btn, .card { transition: none; }
}
