/* Safa Digital. Self-hosted fonts (Latin subset, variable) */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-stretch:75% 100%;font-display:swap;src:url(/assets/fonts/bricolage-grotesque-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-tight-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:100 800;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/fraunces-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{--ink:#0D0E0C;--graphite:#161814;--bone:#EDEAE2;--muted:#9A978E;--soft:#C9C6BD;--line:rgba(237,234,226,0.15);--accent:#FF5A1F;
--display:'Bricolage Grotesque',sans-serif;--body:'Inter Tight',system-ui,sans-serif;--mono:'JetBrains Mono',monospace}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ink);color:var(--bone);font-family:var(--body);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--bone)}a:hover{color:#fff}
img{max-width:100%;display:block}
[hidden]{display:none!important}

/* Motion */
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes marquee-rev{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@keyframes float{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-14px) rotate(-5deg)}}
@keyframes toast{0%,12%{opacity:0;transform:translateY(-12px) scale(.96)}20%,80%{opacity:1;transform:none}92%,100%{opacity:0;transform:translateY(-12px) scale(.96)}}
@keyframes word-up{from{transform:translateY(105%)}to{transform:translateY(0)}}
@keyframes fade-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.track{animation:marquee 38s linear infinite}
.track-rev{animation:marquee-rev 46s linear infinite}
.phone{animation:float 7s ease-in-out infinite}
.toast{animation:toast 6s ease-in-out infinite}
.hero-title .w{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.06em}
.hero-title .w > span{display:inline-block;animation:word-up .9s cubic-bezier(.2,.8,.2,1) both}
.hero-title .w:nth-child(1) > span{animation-delay:.05s}
.hero-title .w:nth-child(2) > span{animation-delay:.15s}
.hero-title .w:nth-child(3) > span{animation-delay:.25s}
.hero-title .w:nth-child(4) > span{animation-delay:.35s}
.hero-title .w:nth-child(5) > span{animation-delay:.45s}
.hero-fade{animation:fade-in .9s cubic-bezier(.2,.8,.2,1) both}
.js .reveal{opacity:0;transform:translateY(32px);transition:opacity .9s cubic-bezier(.2,.8,.2,1),transform .9s cubic-bezier(.2,.8,.2,1)}
.js .reveal.in{opacity:1;transform:none}
.row{transition:background .25s ease}
.row:hover{background:var(--graphite)}
.work-card{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.work-card:hover{transform:translateY(-6px)}
.work-card .shot{transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.work-card:hover .shot{transform:scale(1.03)}
.btn{transition:transform .2s ease,background .2s ease}
.btn:hover{transform:translateY(-2px)}

/* Layout */
.wrap{max-width:1360px;margin:0 auto;padding-left:40px;padding-right:40px}
@media (max-width:640px){.wrap{padding-left:20px;padding-right:20px}}
.label{margin:0;font-family:var(--mono);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.h2{margin:0;font-family:var(--display);font-weight:800;font-size:clamp(40px,5vw,72px);line-height:.95;letter-spacing:-.04em}
.h2.narrow{max-width:760px}
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:56px}
.pill{font:inherit;font-size:15px;font-weight:500;padding:12px 20px;min-height:44px;border-radius:999px;cursor:pointer;background:transparent;color:var(--bone);border:1px solid rgba(237,234,226,.3)}
.pill[aria-pressed="true"]{background:var(--accent);color:var(--ink);border-color:var(--accent)}
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:14px;color:var(--soft)}
.field input,.field textarea{background:transparent;border:0;border-bottom:1px solid rgba(237,234,226,.3);color:var(--bone);font:inherit;font-size:18px;padding:12px 0;border-radius:0}
.field textarea{resize:vertical}
.field input:focus,.field textarea:focus,.pill:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.tag{font-size:13px;color:var(--soft);border:1px solid rgba(237,234,226,.2);border-radius:999px;padding:7px 12px}
.check{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:1.4}
.check svg{flex:0 0 20px;margin-top:1px}
.mock{position:relative;height:580px}
@media (max-width:640px){.mock{height:500px;transform:scale(.82);transform-origin:top left;width:122%}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.skip{position:absolute;left:16px;top:-60px;z-index:10;background:var(--accent);color:var(--ink);padding:12px 18px;border-radius:999px;font-weight:600;text-decoration:none}
.skip:focus{top:16px}

/* Header */
.site-header{padding-top:28px;padding-bottom:28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.logo{display:flex;align-items:baseline;gap:10px;text-decoration:none}
.logo-word{font-family:var(--display);font-weight:800;font-size:40px;line-height:1;letter-spacing:-.06em}
.dot{color:var(--accent)}
.logo-sub{font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:32px;font-size:15px}
.nav a{text-decoration:none;color:var(--soft)}
.nav a.nav-cta{background:var(--bone);color:var(--ink);padding:12px 20px;border-radius:999px;font-weight:600}

/* Buttons */
a.btn-primary{text-decoration:none;background:var(--accent);color:var(--ink);font-weight:600;font-size:17px;padding:18px 28px;border-radius:999px;display:inline-flex;align-items:center;gap:10px}
a.btn-ghost{text-decoration:none;color:var(--bone);font-weight:500;font-size:17px;padding:18px 28px;border-radius:999px;border:1px solid rgba(237,234,226,.25)}
.btn-outline{align-self:flex-start;font-weight:600;font-size:16px;padding:14px 22px;border-radius:999px;border:1px solid rgba(237,234,226,.25);text-decoration:none;display:inline-flex;align-items:center;gap:8px}

/* Hero */
.hero{padding-top:72px;padding-bottom:110px;display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.hero-copy{flex:999 1 600px;min-width:0;display:flex;flex-direction:column;gap:36px}
.hero-title{margin:0;font-family:var(--display);font-weight:800;font-size:clamp(56px,8.4vw,132px);line-height:.9;letter-spacing:-.045em}
.hero-title .accent{color:var(--accent)}
.hero-lede{animation-delay:.6s;margin:0;max-width:560px;font-size:20px;line-height:1.55;color:var(--soft)}
.hero-ctas{animation-delay:.75s;display:flex;flex-wrap:wrap;gap:14px}
.hero-visual{animation-delay:.5s;flex:1 1 460px;min-width:0}

/* Hero mockup: browser */
.m-browser{position:absolute;top:44px;left:0;right:80px;height:440px;background:#F4EDE4;border-radius:16px;overflow:hidden;box-shadow:0 50px 100px rgba(0,0,0,.55),0 0 0 1px rgba(237,234,226,.08)}
.m-bar{height:36px;background:#E6DDD1;display:flex;align-items:center;gap:7px;padding:0 14px}
.m-bar .light{width:10px;height:10px;border-radius:50%}
.m-bar .light:nth-child(1){background:#FF5F57}
.m-bar .light:nth-child(2){background:#FEBC2E}
.m-bar .light:nth-child(3){background:#28C840}
.m-url{margin:0 auto;width:46%;height:20px;border-radius:6px;background:#F4EDE4;font-family:var(--mono);font-size:10px;color:#6B5D52;display:flex;align-items:center;justify-content:center}
.m-nav{padding:18px 26px;display:flex;align-items:center;justify-content:space-between;color:#2B1D14}
.m-brand{font-family:'Fraunces',serif;font-weight:700;font-size:17px}
.m-links{display:flex;align-items:center;gap:18px;font-size:11px;font-weight:500}
.m-book{background:#2B1D14;color:#F4EDE4;padding:7px 13px;border-radius:999px}
.m-hero{padding:6px 26px 0;display:flex;gap:22px;color:#2B1D14}
.m-hero-copy{flex:1 1 0;display:flex;flex-direction:column;gap:14px;padding-top:18px}
.m-kicker{font-family:var(--mono);font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:#C4502A}
.m-h{font-family:'Fraunces',serif;font-weight:500;font-size:38px;line-height:.98;letter-spacing:-.03em}
.m-p{font-size:11px;line-height:1.5;color:#6B5D52}
.m-img{flex:1 1 0;height:210px;border-radius:12px;background:#2B1D14;overflow:hidden}
.m-booking{margin:20px 26px 0;background:#fff;border-radius:12px;padding:10px;display:flex;gap:8px;box-shadow:0 8px 24px rgba(43,29,20,.1);color:#2B1D14}
.m-field{flex:1;padding:6px 10px;border-right:1px solid #EDE5DA;display:flex;flex-direction:column;gap:2px}
.m-field.last{border-right:0}
.m-k{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:#8A7B6F}
.m-v{font-size:12px;font-weight:600}
.m-find{background:#C4502A;color:#fff;font-size:11px;font-weight:600;border-radius:8px;padding:0 16px;display:flex;align-items:center}

/* Hero mockup: booking toast */
.toast{position:absolute;top:0;right:30px;width:260px;background:#fff;color:var(--ink);border-radius:16px;padding:14px 16px;display:flex;gap:12px;align-items:center;box-shadow:0 24px 48px rgba(0,0,0,.4)}
.toast-icon{width:38px;height:38px;border-radius:10px;background:var(--accent);display:flex;align-items:center;justify-content:center;flex:0 0 38px}
.toast-body{flex:1;display:flex;flex-direction:column;gap:2px}
.toast-top{display:flex;justify-content:space-between}
.toast-title{font-size:13px;font-weight:600}
.toast-time{font-size:11px;color:#6E6B64}
.toast-text{font-size:12px;color:#55534D}

/* Hero mockup: phone */
.phone{position:absolute;right:0;bottom:0;width:214px;height:430px;background:#FBF8F3;border:7px solid #1F211D;border-radius:38px;box-shadow:0 50px 100px rgba(0,0,0,.6);overflow:hidden;display:flex;flex-direction:column;color:#2B1D14}
.p-notch{width:70px;height:20px;border-radius:12px;background:#1F211D;align-self:center;margin-top:8px}
.p-head{padding:14px 16px 0;display:flex;justify-content:space-between;align-items:center}
.p-greet{display:flex;flex-direction:column;gap:1px}
.p-hello{font-size:10px;color:#8A7B6F}
.p-name{font-family:'Fraunces',serif;font-weight:700;font-size:18px}
.p-avatar{width:30px;height:30px;border-radius:50%;background:#E9B44C;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.p-rewards{margin:14px 12px 0;background:#C4502A;color:#fff;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px}
.p-rewards-top{display:flex;justify-content:space-between;align-items:baseline}
.p-rt{font-size:11px;font-weight:600}
.p-count{font-family:var(--mono);font-size:10px}
.p-stamps{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.p-stamps span{height:26px;border-radius:50%;background:#fff}
.p-stamps span.empty{background:none;border:1.5px dashed rgba(255,255,255,.7)}
.p-note{font-size:10px;opacity:.9}
.p-next{margin:12px 12px 0;background:#fff;border-radius:14px;padding:12px;display:flex;gap:10px;align-items:center;box-shadow:0 4px 14px rgba(43,29,20,.07)}
.p-date{width:34px;height:34px;border-radius:10px;background:#F4EDE4;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.p-mon{font-size:7px;color:#C4502A;font-weight:700}
.p-day{font-size:13px;font-weight:700}
.p-next-text{display:flex;flex-direction:column;gap:2px}
.p-nt{font-size:11px;font-weight:600}
.p-ns{font-size:10px;color:#8A7B6F}
.p-tabs{margin-top:auto;border-top:1px solid #EDE5DA;padding:10px 18px 14px;display:flex;justify-content:space-between;color:#8A7B6F}

/* Tapes */
.tapes{position:relative;height:300px;overflow:hidden}
.tape-back{position:absolute;top:50%;left:-10%;width:120%;transform:translateY(-50%) rotate(3deg);background:var(--graphite);border-top:1px solid rgba(237,234,226,.1);border-bottom:1px solid rgba(237,234,226,.1);padding:20px 0;overflow:hidden}
.tape-back .track-rev{display:flex;align-items:center;width:max-content;gap:40px;font-family:var(--display);font-weight:800;font-size:72px;line-height:1;letter-spacing:-.03em;white-space:nowrap;color:transparent;-webkit-text-stroke:1.5px rgba(237,234,226,.55)}
.tape-front{position:absolute;top:50%;left:-10%;width:120%;transform:translateY(-50%) rotate(-3deg);background:var(--accent);padding:22px 0;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.45)}
.tape-front .track{display:flex;align-items:center;width:max-content;gap:36px;font-family:var(--display);font-weight:800;font-size:72px;line-height:1;letter-spacing:-.03em;white-space:nowrap;color:var(--ink)}

/* Services */
.services{padding-top:110px;padding-bottom:80px}
.service-rows{border-top:1px solid var(--line)}
.row{display:flex;flex-wrap:wrap;gap:24px 48px;padding:44px 16px;border-bottom:1px solid var(--line);align-items:flex-start}
.row-num{font-family:var(--mono);font-size:14px;color:var(--accent);flex:0 0 48px;padding-top:14px}
.row-title{margin:0;font-family:var(--display);font-weight:600;font-size:clamp(32px,3.6vw,52px);letter-spacing:-.03em;flex:1 1 300px}
.row-body{flex:1.4 1 460px;min-width:0;display:flex;flex-direction:column;gap:24px}
.row-body p{margin:0;font-size:18px;line-height:1.6;color:var(--soft)}
.row-list{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px 24px}

/* Why Safa */
.why{background:var(--accent);color:var(--ink)}
.why-inner{padding-top:120px;padding-bottom:120px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.why-ar{flex:0 1 320px;font-family:var(--display);font-weight:800;font-size:min(200px,52vw);line-height:.8}
.why-copy{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:24px}
.why .label{color:var(--ink)}
.why-text{margin:0;font-family:var(--display);font-weight:600;font-size:clamp(32px,3.8vw,56px);line-height:1.05;letter-spacing:-.03em}

/* Process */
.process{padding-top:120px;padding-bottom:120px}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.step{background:var(--graphite);border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:56px;min-height:260px}
.js .steps .step:nth-child(2){transition-delay:.08s}
.js .steps .step:nth-child(3){transition-delay:.16s}
.js .steps .step:nth-child(4){transition-delay:.24s}
.step-num{font-family:var(--display);font-weight:800;font-size:64px;line-height:1;color:var(--accent)}
.step-text{display:flex;flex-direction:column;gap:10px}
.step-text h3{margin:0;font-size:22px;font-weight:600}
.step-text p{margin:0;font-size:16px;line-height:1.55;color:var(--soft)}

/* Work */
.work{padding-bottom:120px}
.work-list{display:flex;flex-direction:column;gap:16px}
.work-card{display:flex;flex-wrap:wrap;gap:32px;background:var(--graphite);border-radius:24px;padding:20px}
.work-card.flip{flex-wrap:wrap-reverse}
.work-media{flex:3 1 560px;min-width:0;height:480px;border-radius:16px;overflow:hidden;background:var(--ink)}
.work-media picture{display:block;height:100%}
.work-media img{width:100%;height:100%;object-fit:cover;object-position:center}
@media (max-width:640px){.work-media{height:auto;aspect-ratio:4/3}}
.work-info{flex:2 1 320px;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:32px;padding:20px 12px}
.work-text{display:flex;flex-direction:column;gap:16px}
.work .label{color:var(--accent)}
.work-title{margin:0;font-family:var(--display);font-weight:800;font-size:48px;line-height:.95;letter-spacing:-.04em}
.work-desc{margin:0;font-size:18px;line-height:1.6;color:var(--soft)}
.tags{display:flex;flex-wrap:wrap;gap:8px}

/* Contact */
.contact{background:var(--bone);color:var(--ink)}
.contact-inner{padding-top:120px;padding-bottom:120px;display:flex;flex-wrap:wrap;gap:64px}
.contact-copy{flex:1 1 400px;min-width:0;display:flex;flex-direction:column;gap:28px}
.contact .label{color:#55534D}
.contact-title{margin:0;font-family:var(--display);font-weight:800;font-size:clamp(48px,6vw,96px);line-height:.9;letter-spacing:-.045em}
.contact-lede{margin:0;font-size:19px;line-height:1.55;color:#3A3934;max-width:440px}
.contact-email-wrap{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.contact .label.small{font-size:12px}
a.contact-email{color:var(--ink);font-weight:600;font-size:22px}
.contact-note{margin:0;font-size:16px;color:#3A3934}
.form-card{flex:1.3 1 480px;min-width:0;background:var(--ink);color:var(--bone);border-radius:28px;padding:clamp(24px,4vw,44px)}
.enquiry{display:flex;flex-direction:column;gap:28px}
.enquiry fieldset{border:0;margin:0;padding:0}
.enquiry legend{font-size:15px;font-weight:500;color:var(--soft);margin-bottom:14px;padding:0}
.pills{display:flex;flex-wrap:wrap;gap:10px}
.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.btn-submit{align-self:flex-start;background:var(--accent);color:var(--ink);border:0;font:inherit;font-weight:600;font-size:17px;padding:18px 30px;border-radius:999px;cursor:pointer;display:inline-flex;align-items:center;gap:10px}
.btn-submit[disabled]{opacity:.6;cursor:progress}
.form-error{margin:0;font-size:16px;line-height:1.5;color:#FF8C61}
.form-error a{color:#FF8C61;font-weight:600}
.thanks{min-height:420px;display:flex;flex-direction:column;justify-content:center;gap:20px}
.thanks-title{margin:0;font-family:var(--display);font-weight:800;font-size:44px;line-height:1;letter-spacing:-.03em}
.thanks-text{margin:0;font-size:18px;line-height:1.55;color:var(--soft)}

/* Footer */
.site-footer{padding-top:72px;padding-bottom:40px;display:flex;flex-direction:column;gap:56px}
.footer-word{font-family:var(--display);font-weight:800;font-size:clamp(80px,17vw,260px);line-height:.8;letter-spacing:-.06em}
.footer-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;font-size:14px;color:var(--muted);border-top:1px solid rgba(237,234,226,.12);padding-top:28px}
.footer-links{display:flex;gap:28px;flex-wrap:wrap}
.footer-links a{color:var(--muted);text-decoration:none}
.footer-legal{margin:8px 0 0;max-width:560px;font-size:13px;line-height:1.5;color:var(--muted)}

/* Inner pages (privacy, 404) */
.page{padding-top:72px;padding-bottom:120px}
.page-title{margin:0 0 28px;font-family:var(--display);font-weight:800;font-size:clamp(48px,7vw,104px);line-height:.92;letter-spacing:-.045em}
.prose{max-width:760px;display:flex;flex-direction:column;gap:20px;font-size:18px;line-height:1.65;color:var(--soft)}
.prose h2{margin:36px 0 0;font-family:var(--display);font-weight:600;font-size:clamp(26px,3vw,36px);line-height:1.1;letter-spacing:-.02em;color:var(--bone)}
.prose p,.prose ul{margin:0}
.prose ul{padding-left:22px;display:flex;flex-direction:column;gap:8px}
.prose strong{color:var(--bone);font-weight:600}
.prose .meta{font-family:var(--mono);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.notfound{min-height:60vh;display:flex;flex-direction:column;justify-content:center;gap:32px}
.notfound-num{font-family:var(--display);font-weight:800;font-size:clamp(120px,24vw,320px);line-height:.8;letter-spacing:-.06em}
.notfound p{margin:0;max-width:520px;font-size:20px;line-height:1.55;color:var(--soft)}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .reveal{opacity:1;transform:none}
  html{scroll-behavior:auto}
}
