/* Rafaqat Ali — Portfolio. Premium dark navy + gold, Playfair Display + Inter. */
:root {
  --navy: #0a1633;
  --navy-deep: #060d1f;
  --navy-soft: #12224a;
  --gold: #c9a227;
  --gold-light: #e3c766;
  --gold-soft: #f3e9c8;
  --cream: #f7f5f0;
  --paper: #fffdf8;
  --ink: #16233f;
  --slate: #5a6472;
  --line: #e5e0d5;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(10, 22, 51, .12);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--navy); color: #eef1f7; }
.section-dark h2 { color: #fff; }
.section-dark .section-sub { color: #b9c2d4; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 12px 0 14px; }
h3 { font-size: 1.25rem; }
p + p { margin-top: 14px; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 12px;
}
.eyebrow::after { content: ""; height: 1px; width: 56px; background: var(--gold); }
.eyebrow-gold { color: var(--gold-light); }
.eyebrow-gold::after { background: var(--gold-light); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-sub { color: var(--slate); font-size: 1.06rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #1a1405; box-shadow: 0 10px 24px rgba(201, 162, 39, .35); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-small { padding: 10px 20px; font-size: .9rem; }
.btn-whatsapp { background: #25d366; color: #062b16; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { background: #4be07f; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold-light);
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em;
  border: 1.5px solid var(--gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-size: 1.12rem; color: var(--navy); }
.brand-text small { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); border-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 1.5px solid var(--line);
  border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(201, 162, 39, .16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #eef1f7; padding: 84px 0 0; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.2rem); color: #fff; font-weight: 800; margin: 14px 0 10px; }
.hero-role { font-size: 1.02rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); }
.hero-role .sep { color: rgba(255,255,255,.4); margin: 0 6px; }
.hero-intro { font-size: 1.14rem; color: #cdd5e4; max-width: 560px; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-location { margin-top: 28px; font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; color: #9fb0cc; font-weight: 600; }
.hero-location .pin { color: var(--gold); font-size: .7rem; margin-right: 8px; vertical-align: 2px; }
.hero-photo { position: relative; }
.photo-frame {
  border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden; border: 1.5px solid rgba(201, 162, 39, .65);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  outline: 1px solid rgba(227, 199, 102, .25); outline-offset: 10px;
}
.photo-frame img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top center; }
.photo-caption { text-align: center; margin-top: 20px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb0cc; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 72px;
}
.stat { padding: 30px 24px 38px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat dt { order: 2; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #9fb0cc; margin-top: 6px; }
.stat dd { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; color: var(--gold-light); line-height: 1; }
.stat { display: flex; flex-direction: column; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about-copy h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin: 36px 0 16px; }
.edu-list { list-style: none; }
.edu-list li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.edu-list li:last-child { border-bottom: 1px solid var(--line); }
.edu-no { font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1.05rem; }
.edu-list strong { display: block; font-size: 1.02rem; }
.edu-list span span, .edu-list div span { display: block; color: var(--slate); font-size: .94rem; }
.lang-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.lang-list li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; display: flex; gap: 10px; align-items: baseline;
}
.lang-list li span { color: var(--slate); font-size: .88rem; }
.about-photo { position: sticky; top: 100px; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 3.4; object-fit: cover; width: 100%; }
.about-photo figcaption { margin-top: 14px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); text-align: center; }

/* Timeline */
.timeline { list-style: none; position: relative; margin-left: 8px; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -40px; top: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--gold);
}
.tl-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: 0 8px 24px rgba(10, 22, 51, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tl-dates { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.tl-card h3 { font-size: 1.45rem; margin: 6px 0 2px; color: var(--navy); }
.tl-role { font-weight: 600; color: var(--slate); margin-bottom: 8px; }
.tl-badge {
  display: inline-block; margin-top: 14px; background: var(--gold-soft); color: #6b5410;
  border: 1px solid rgba(201, 162, 39, .4); border-radius: 999px; padding: 7px 14px;
  font-size: .88rem; font-weight: 600;
}

/* Skills */
.skills-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skills-grid li {
  background: var(--navy-soft); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, border-color .2s ease;
}
.skills-grid li:hover { transform: translateY(-4px); border-color: var(--gold); }
.skill-no { font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1rem; }
.skills-grid h3 { color: #fff; margin: 10px 0 8px; }
.skills-grid p { color: #b9c2d4; font-size: .96rem; }

/* Awards */
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.award-card {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 8px 24px rgba(10, 22, 51, .06);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.award-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.award-icon { font-size: 2rem; line-height: 1; }
.award-org { margin-top: 16px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.award-card h3 { margin: 6px 0 10px; color: var(--navy); font-size: 1.4rem; }
.award-card p { color: var(--slate); font-size: .97rem; }
.award-tag { margin-top: auto; padding-top: 18px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }

/* Chef's Day */
.chefs-meta {
  display: inline-block; margin: -20px 0 32px; padding: 10px 22px;
  background: var(--gold-soft); border: 1px solid rgba(201, 162, 39, .45); border-radius: 999px;
  font-weight: 700; font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; color: #6b5410;
}
.chefs-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.chef-slot { margin: 0; }
.chef-photo {
  aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  background: var(--cream); box-shadow: 0 8px 24px rgba(10, 22, 51, .08);
}
.chef-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .35s ease; }
.chef-slot:hover .chef-photo img { transform: scale(1.04); }
.chef-slot figcaption { margin-top: 12px; font-weight: 600; font-size: .95rem; text-align: center; color: var(--ink); line-height: 1.4; }
.chef-slot figcaption span { display: block; font-weight: 500; font-size: .85rem; color: var(--slate); }
.chefs-note { text-align: center; color: var(--slate); margin-top: 28px; font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-lead { color: #cdd5e4; font-size: 1.08rem; margin-top: 6px; }
.contact-list { list-style: none; margin-top: 32px; }
.contact-list li { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); align-items: baseline; }
.contact-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list span { width: 92px; flex-shrink: 0; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.contact-list a { color: #fff; text-decoration: none; border-bottom: 1px solid transparent; }
.contact-list a:hover { border-color: var(--gold-light); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.contact-form {
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
}
.contact-form h3 { color: var(--navy); font-size: 1.5rem; margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.contact-form .optional { font-weight: 400; color: var(--slate); font-size: .85rem; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: .97rem;
  background: #fff; color: var(--ink); resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .25); }
.contact-form .btn { width: 100%; }
.form-note { margin-top: 14px; font-size: .86rem; color: var(--slate); text-align: center; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #8fa0bd; padding: 32px 0; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: #cdd5e4; text-decoration: none; font-weight: 600; font-size: .86rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-place { letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; font-weight: 700; }

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

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { max-width: 460px; }
  .about-photo { position: static; max-width: 520px; }
  .skills-grid, .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .chefs-gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid rgba(255,255,255,.14); }
  .stat:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .menu-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); flex-direction: column; gap: 0; padding: 8px 24px 16px;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(10, 22, 51, .12);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .header-actions .btn { display: none; }
  .hero { padding-top: 60px; }
  .skills-grid, .awards-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding-left: 32px; }
  .tl-dot { left: -32px; }
  .contact-form { padding: 26px 20px; }
}
