/* ===================================================================
   BARAKAH WEB  ·  studio site
   Signature: the eight-point star (Rub el Hizb) in fine gold line-work
   Palette: deep pine green · warm gold · parchment ivory
   =================================================================== */

:root{
  --pine:      #0c382b;   /* deep green — dark sections */
  --pine-2:    #0f4536;   /* raised panels on dark */
  --pine-deep: #082018;   /* footer / deepest */
  --gold:      #c4a253;   /* brass accent + line-work */
  --gold-soft: #e0c789;   /* lighter gold (text glow) */
  --ivory:     #f7f3ea;   /* parchment — light sections */
  --ivory-2:   #efe9da;   /* raised panels on light */
  --ink:       #16201b;   /* near-black green text */
  --muted:     #59665d;   /* secondary text on light */
  --muted-d:   #9fb1a4;   /* secondary text on dark */
  --line-l:    #e0d8c6;   /* hairline on light */
  --line-d:    rgba(224,199,137,.22); /* hairline on dark */
  --maxw:      1180px;
  --r:         16px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--ivory);
  color:var(--ink);
  font-family:"Inter",system-ui,sans-serif;
  font-size:17px;line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}

h1,h2,h3{
  font-family:"Fraunces",Georgia,serif;
  font-weight:500;line-height:1.06;letter-spacing:-.015em;
}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 1.6rem}

/* eyebrow */
.eyebrow{
  font-size:.72rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;
  color:var(--gold);display:inline-flex;align-items:center;gap:.7rem;margin-bottom:1.2rem;
}
.eyebrow::before{content:"";width:26px;height:1px;background:var(--gold);opacity:.6}

/* sections */
.section{padding-block:6rem}
.section.dark{background:var(--pine);color:var(--ivory)}
.section.dark .muted{color:var(--muted-d)}
.muted{color:var(--muted)}
.center{text-align:center}
.lede{font-size:1.18rem;line-height:1.6;color:var(--muted);max-width:60ch}
.section.dark .lede{color:var(--muted-d)}

/* divider with star */
.rule{display:flex;align-items:center;justify-content:center;gap:1.2rem;margin:0 auto}
.rule::before,.rule::after{content:"";height:1px;width:min(120px,18vw);background:var(--gold);opacity:.45}
.rule svg{width:18px;height:18px;flex:none}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.6rem;cursor:pointer;border:0;
  font-family:inherit;font-size:.97rem;font-weight:600;letter-spacing:.01em;
  padding:.95rem 1.7rem;border-radius:99px;transition:transform .18s ease,box-shadow .25s ease,background .2s ease,color .2s ease;
}
.btn-primary{background:var(--gold);color:#241a06;box-shadow:0 10px 30px -12px rgba(196,162,83,.7)}
.btn-primary:hover{transform:translateY(-2px);background:var(--gold-soft);box-shadow:0 16px 40px -12px rgba(196,162,83,.8)}
.btn-ghost{background:transparent;color:currentColor;border:1.5px solid var(--gold)}
.btn-ghost:hover{background:rgba(196,162,83,.12)}
.btn-lg{padding:1.1rem 2rem;font-size:1.04rem}

:focus-visible{outline:2.5px solid var(--gold);outline-offset:3px;border-radius:6px}

/* ---------- header ---------- */
.site-head{
  position:sticky;top:0;z-index:60;
  background:rgba(12,56,43,.86);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-d);
  padding-top:env(safe-area-inset-top,0);
}
.nav{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:1rem}
.brand{display:flex;align-items:center;gap:.7rem;color:var(--ivory)}
.brand .mark{width:30px;height:30px;flex:none}
.brand b{font-family:"Fraunces",serif;font-weight:600;font-size:1.28rem;letter-spacing:.005em}
.brand b span{color:var(--gold)}
.nav-links{display:flex;align-items:center;gap:2.1rem}
.nav-links a{color:var(--muted-d);font-size:.95rem;font-weight:500;transition:color .2s}
.nav-links a:hover{color:var(--ivory)}
.nav-cta{display:flex;align-items:center;gap:1rem}
.nav-cta .btn{padding:.7rem 1.3rem;font-size:.92rem}
.burger{display:none;background:none;border:0;color:var(--ivory);cursor:pointer;padding:.4rem}

/* ---------- hero ---------- */
.hero{position:relative;background:var(--pine);color:var(--ivory);overflow:hidden;padding-block:7rem 6.5rem}
.hero .medallion{
  position:absolute;top:50%;right:-7%;transform:translateY(-50%);
  width:min(720px,80vw);height:min(720px,80vw);opacity:.16;color:var(--gold);
  pointer-events:none;animation:spin 90s linear infinite;
}
.hero .glow{
  position:absolute;top:-20%;right:-10%;width:60%;height:120%;pointer-events:none;
  background:radial-gradient(circle, rgba(196,162,83,.18), transparent 60%);
}
@keyframes spin{to{transform:translateY(-50%) rotate(360deg)}}
.hero .wrap{position:relative;z-index:2}
.hero-inner{max-width:760px}
.hero h1{font-size:clamp(2.7rem,6.2vw,4.7rem);font-weight:500;margin-bottom:1.3rem}
.hero h1 em{font-style:italic;color:var(--gold-soft)}
.hero .story{
  font-family:"Fraunces",serif;font-style:italic;font-size:clamp(1.15rem,2.3vw,1.5rem);
  color:var(--gold-soft);margin-bottom:1.4rem;font-weight:400;
}
.hero .sub{font-size:1.12rem;color:var(--muted-d);max-width:54ch;margin-bottom:2.2rem}
.hero-cta{display:flex;gap:1rem;flex-wrap:wrap}
.trust{display:flex;gap:1.6rem;flex-wrap:wrap;margin-top:2.8rem;padding-top:2rem;border-top:1px solid var(--line-d)}
.trust span{display:inline-flex;align-items:center;gap:.6rem;font-size:.88rem;font-weight:500;color:var(--muted-d)}
.trust span::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--gold);flex:none}

/* ---------- intro statement ---------- */
.statement h2{font-size:clamp(1.9rem,4vw,3rem);max-width:18ch;margin-bottom:1.4rem}
.statement .cols{display:grid;grid-template-columns:1.1fr 1fr;gap:3.5rem;align-items:start}
.statement .lede{font-size:1.22rem;color:var(--ink)}

/* ---------- section heads ---------- */
.shead{max-width:640px;margin:0 auto 3.4rem;text-align:center}
.shead h2{font-size:clamp(2rem,4.4vw,3.1rem);margin:.4rem 0 1rem}
.shead p{color:var(--muted)}
.section.dark .shead p{color:var(--muted-d)}

/* ---------- packages ---------- */
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;align-items:stretch}
.tier{
  background:var(--ivory);border:1px solid var(--line-l);border-radius:var(--r);color:var(--ink);
  padding:2.2rem 1.9rem;display:flex;flex-direction:column;position:relative;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.tier:hover{transform:translateY(-5px);box-shadow:0 22px 50px -28px rgba(12,56,43,.4);border-color:var(--gold)}
.tier.featured{border-color:var(--gold);box-shadow:0 22px 50px -30px rgba(12,56,43,.45)}
.tier .badge{
  position:absolute;top:-12px;left:1.9rem;background:var(--gold);color:#241a06;
  font-size:.66rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  padding:.3rem .7rem;border-radius:99px;
}
.tier .tname{font-family:"Fraunces",serif;font-size:1.55rem;font-weight:500;margin-bottom:.3rem}
.tier .tfor{font-size:.9rem;color:var(--muted);margin-bottom:1.3rem;min-height:2.7em}
.tier .price{display:flex;align-items:baseline;gap:.4rem;margin-bottom:.2rem}
.tier .price .from{font-size:.8rem;color:var(--muted)}
.tier .price .amt{font-family:"Fraunces",serif;font-size:2.3rem;font-weight:600;color:var(--ink)}
.tier .price .per{font-size:.9rem;color:var(--muted)}
.tier .mo{font-size:.92rem;color:var(--muted);margin-bottom:1.5rem}
.tier .mo b{color:var(--ink);font-weight:600}
.tier ul{list-style:none;margin:0 0 1.8rem;display:grid;gap:.7rem}
.tier li{position:relative;padding-left:1.6rem;font-size:.95rem;line-height:1.5}
.tier li::before{content:"";position:absolute;left:0;top:.55em;width:7px;height:7px;border-radius:50%;background:var(--gold)}
.tier li .tier-sub{display:block;margin-top:.4rem;color:var(--muted-d);font-size:.82rem;font-weight:400;line-height:1.5}
.tier .btn{margin-top:auto;justify-content:center}
.tier-note{text-align:center;margin-top:2.2rem;color:var(--muted);font-size:.92rem}

/* ---------- why grid ---------- */
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem 2.4rem}
.why{padding-top:1.4rem;border-top:1px solid var(--line-d)}
.why .ic{width:30px;height:30px;color:var(--gold);margin-bottom:1rem}
.why h3{font-size:1.2rem;font-weight:600;font-family:"Inter",sans-serif;letter-spacing:0;margin-bottom:.5rem;color:var(--ivory)}
.why p{font-size:.96rem;color:var(--muted-d);line-height:1.6}

/* ---------- work ---------- */
.work-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.work-card{
  position:relative;overflow:hidden;border-radius:var(--r);
  background:var(--pine);color:var(--ivory);min-height:230px;
  display:flex;flex-direction:column;justify-content:flex-end;padding:1.9rem;
  border:1px solid var(--line-d);transition:transform .25s ease,box-shadow .25s ease;
}
.work-card:hover{transform:translateY(-4px);box-shadow:0 24px 50px -28px rgba(12,56,43,.55)}
.work-card .wbg{position:absolute;inset:0;opacity:.12;color:var(--gold);display:flex;align-items:center;justify-content:center}
.work-card .wbg svg{width:78%;height:78%;transform:translateX(22%)}
.work-card .tag{position:relative;font-size:.7rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--gold);margin-bottom:.6rem}
.work-card h3{position:relative;font-size:1.5rem;font-weight:500;margin-bottom:.4rem}
.work-card p{position:relative;font-size:.95rem;color:var(--muted-d);max-width:34ch}

/* ---------- process ---------- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.8rem;counter-reset:s}
.step{position:relative}
.step .n{font-family:"Fraunces",serif;font-size:1.05rem;color:var(--gold);font-weight:600;display:flex;align-items:center;gap:.7rem;margin-bottom:.9rem}
.step .n::after{content:"";flex:1;height:1px;background:var(--line-l)}
.section.dark .step .n::after{background:var(--line-d)}
.step h3{font-size:1.2rem;font-weight:600;font-family:"Inter",sans-serif;letter-spacing:0;margin-bottom:.4rem}
.step p{font-size:.93rem;color:var(--muted)}
.section.dark .step p{color:var(--muted-d)}

/* ---------- about ---------- */
.about{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.about h2{font-size:clamp(2rem,4.2vw,3rem);margin-bottom:1.3rem}
.about p{color:var(--muted);margin-bottom:1.1rem}
.about .creds{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.6rem}
.about .creds span{font-size:.84rem;font-weight:500;color:var(--ink);border:1px solid var(--line-l);border-radius:99px;padding:.4rem .9rem}
.about-card{
  position:relative;background:var(--pine-2);border:1px solid var(--line-d);
  border-radius:var(--r);padding:2.6rem;overflow:hidden;
}
.about-card .medallion{position:absolute;top:-25%;right:-25%;width:75%;color:var(--gold);opacity:.14}
.about-card blockquote{position:relative;font-family:"Fraunces",serif;font-style:italic;font-size:1.5rem;line-height:1.45;color:var(--gold-soft);font-weight:400}
.about-card .who{position:relative;margin-top:1.6rem;font-size:.92rem;color:var(--muted-d)}
.about-card .who b{color:var(--ivory);font-weight:600;font-style:normal}

/* ---------- contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:4rem;align-items:start}
.contact h2{font-size:clamp(2rem,4.2vw,3.1rem);margin-bottom:1.2rem}
.contact .lede{margin-bottom:2rem}
.contact-direct{display:grid;gap:1rem}
.contact-direct a{display:flex;align-items:center;gap:1rem;color:var(--ivory);font-size:1.05rem;font-weight:500}
.contact-direct a .ic{width:42px;height:42px;border:1px solid var(--line-d);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--gold);flex:none;transition:.2s}
.contact-direct a:hover .ic{background:var(--gold);color:var(--pine);border-color:var(--gold)}
.contact-direct small{display:block;color:var(--muted-d);font-size:.8rem;font-weight:400}

form{background:var(--pine-2);border:1px solid var(--line-d);border-radius:var(--r);padding:2rem}
.field{margin-bottom:1.1rem}
.field label{display:block;font-size:.83rem;font-weight:600;letter-spacing:.02em;color:var(--ivory);margin-bottom:.45rem}
.field input,.field textarea,.field select{
  width:100%;background:rgba(255,255,255,.04);border:1px solid var(--line-d);border-radius:10px;
  padding:.85rem 1rem;color:var(--ivory);font-family:inherit;font-size:1rem;transition:border-color .2s,background .2s;
}
.field input::placeholder,.field textarea::placeholder{color:#6f7f74}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--gold);background-color:rgba(255,255,255,.06)}
.field select{
  appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;padding-right:2.6rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c4a253' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;background-size:14px;
}
.field select option{background:var(--pine);color:var(--ivory)}
.field textarea{resize:vertical;min-height:120px}
form .btn{width:100%;justify-content:center;margin-top:.4rem}
.form-status{margin-top:1rem;font-size:.92rem;text-align:center;min-height:1.2em}
.form-status.ok{color:var(--gold-soft)}
.form-status.err{color:#e7a17f}

/* ---------- footer ---------- */
.site-foot{background:var(--pine-deep);color:var(--ivory);padding-block:3.6rem 2.2rem;border-top:1px solid var(--line-d)}
.foot-top{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;align-items:flex-start}
.foot-brand{max-width:34ch}
.foot-brand .brand{margin-bottom:1rem}
.foot-brand p{color:var(--muted-d);font-size:.95rem}
.foot-brand .story{font-family:"Fraunces",serif;font-style:italic;color:var(--gold-soft);margin-top:.8rem;font-size:1rem}
.foot-links{display:flex;gap:3.5rem;flex-wrap:wrap}
.foot-col h5{font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-bottom:1rem;font-weight:600}
.foot-col a,.foot-col p{display:block;color:var(--muted-d);font-size:.93rem;margin-bottom:.55rem;transition:color .2s}
.foot-col a:hover{color:var(--ivory)}
.foot-bottom{margin-top:3rem;padding-top:1.6rem;border-top:1px solid var(--line-d);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:var(--muted-d);font-size:.84rem}

/* ---------- reveal animation ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media(max-width:900px){
  .nav-links{
    position:fixed;top:calc(72px + env(safe-area-inset-top,0));left:0;right:0;
    flex-direction:column;gap:0;background:var(--pine-2);border-bottom:1px solid var(--line-d);
    padding:.4rem 0;transform:translateY(-120%);visibility:hidden;
    transition:transform .32s ease,visibility .32s ease;
  }
  .nav-links.open{transform:translateY(0);visibility:visible}
  .nav-links a{width:100%;padding:1rem 1.6rem;border-bottom:1px solid var(--line-d)}
  .nav-links a:last-child{border-bottom:0}
  .burger{display:block}
  .nav-cta .btn:not(.burger){display:none}
  .section{padding-block:4.5rem}
  .statement .cols{grid-template-columns:1fr;gap:1.4rem}
  .tiers{grid-template-columns:1fr;max-width:430px;margin-inline:auto}
  .why-grid{grid-template-columns:1fr 1fr;gap:1.6rem 2rem}
  .work-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr;gap:1.8rem 1.6rem}
  .about{grid-template-columns:1fr;gap:2.4rem}
  .contact-grid{grid-template-columns:1fr;gap:2.6rem}
}
@media(max-width:560px){
  body{font-size:16px}
  .hero{padding-block:5rem 4.5rem}
  .why-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{justify-content:center}
  .foot-top{flex-direction:column;gap:2.4rem}
  .foot-links{gap:2.4rem}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none;transition:none}
}

/* free-month highlight inside the Online Ordering tier */
.tier-free{margin:.1rem 0 1.1rem;padding:.55rem .8rem;border-radius:9px;
  background:rgba(196,162,83,.14);border:1px solid rgba(196,162,83,.45);
  color:var(--gold);font-size:.82rem;font-weight:600;text-align:center;letter-spacing:.01em}
