/* Abeiku Edqlics.
   The look the owner approved: his existing colours and layout, one typeface
   (Space Grotesk), rectangles rather than pills, and motion on everything.
   Every animation is switched off for anyone who asks their system to. */

:root {
  --bg: #faf8f4; --ink: #211e1a; --ink2: #5c564d; --soft: #a89f92;
  --line: #e7e1d6; --card: #ffffff; --accent: #c00c0c; --accent2: #8f0a0a;
  --wrap: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100% }
a { color: inherit; text-decoration: none }
h1, h2, h3 { font-weight: 500; line-height: 1.15; letter-spacing: -.02em }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px) }
.section { padding: clamp(72px, 10vw, 130px) 0 }
.section.tight { padding: clamp(56px, 7vw, 92px) 0 }
.eyebrow { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); font-weight: 600 }

/* Rectangles, not pills. */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 30px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; position: relative; overflow: hidden;
  transition: color .42s ease, border-color .42s ease;
}
.btn > span { position: relative; z-index: 1 }
.btn::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .52s cubic-bezier(.76,0,.24,1) }
.btn:hover::after { transform: none }
.btn:hover { color: var(--bg) }
.btn.solid { background: var(--ink); color: #fff }
.btn.solid::after { background: var(--accent2) }
.btn.gold { background: var(--accent); border-color: var(--accent); color: #fff }
.btn.gold::after { background: var(--accent2) }
.btn.light { border-color: rgba(255,255,255,.85); color: #fff }
.btn.light::after { background: #fff }
.btn.light:hover { color: var(--ink) }
.btn.small { min-height: 42px; padding: 0 22px; font-size: 11px }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; padding: 22px 0; color: #fff; transition: background .42s ease, box-shadow .42s ease, padding .42s ease, color .42s ease }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px }
.nav.stuck { background: rgba(250,248,244,.94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 14px 0; color: var(--ink) }
.navlogo { display: flex; align-items: center }
.navlogo img { height: 46px; width: auto; transition: height .42s ease }
.nav.stuck .navlogo img { height: 38px }
/* White mark over the photograph, ink mark once the bar is cream. */
.navlogo .dark { display: none }
.nav.stuck .navlogo .light { display: none }
.nav.stuck .navlogo .dark { display: block }
.navlinks { display: flex; gap: 34px; align-items: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500 }
.navlinks a { position: relative }
.navlinks a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .42s cubic-bezier(.76,0,.24,1) }
.navlinks a:hover::after { transform: none }
.navend { display: flex; gap: 18px; align-items: center }
.navend .muted { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .82 }
.navtoggle { display: none; width: 46px; height: 46px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-size: 18px }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: #fff }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-out forwards }
.hero .slides { position: absolute; inset: 0 }
.hero .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease }
.hero .slide.on { opacity: 1 }
.hero .slide img { width: 100%; height: 100%; object-fit: cover }
.hero .slide.on img { animation: kenburns 9s ease-out forwards }
.herocap { position: absolute; left: clamp(20px,4vw,48px); bottom: clamp(24px,3vw,36px); z-index: 2; margin: 0; max-width: 42ch; text-align: left;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.84); transition: opacity .4s ease }
.herocap.fade { opacity: 0 }
.herodots { position: absolute; right: clamp(20px,4vw,48px); bottom: clamp(26px,3vw,38px); z-index: 2; margin: 0; display: flex; gap: 7px }
.herodots b { width: 22px; height: 2px; background: rgba(255,255,255,.36); transition: background .3s ease }
.herodots b.on { background: #fff }
.legal .studiolink { margin-left: 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .5 }
.legal .studiolink:hover { opacity: 1 }
.qmedia { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; background: #1a1714 }
video.qmedia { aspect-ratio: 16 / 9 }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,13,.46), rgba(20,16,13,.22) 40%, rgba(20,16,13,.62)) }
.hero .inner { position: relative; z-index: 2; padding: 120px clamp(20px,4vw,48px) 90px }
.herologo { width: min(440px, 74vw); margin: 22px auto 30px }
.hero .intro { margin: 0 auto 34px; max-width: 54ch; font-size: clamp(15px,1.3vw,18px); color: rgba(255,255,255,.92) }
.herobtns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center }
.scrollcue { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2; text-align: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.85); animation: bob 2.1s ease-in-out infinite }

@keyframes kenburns { from { transform: scale(1.14) } to { transform: scale(1.02) } }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .9 } 50% { transform: translateY(9px); opacity: .45 } }
@keyframes rise { from { opacity: 0; transform: translateY(32px) } to { opacity: 1; transform: none } }
.in { animation: rise 1s cubic-bezier(.22,.8,.26,1) both }

/* reveal on scroll */
[data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .82s cubic-bezier(.22,.8,.26,1), transform .82s cubic-bezier(.22,.8,.26,1) }
[data-rv].on { opacity: 1; transform: none }
/* The wipe clips the CHILD, never the observed element.
   clip-path on the element itself collapses its visible box to nothing, and
   IntersectionObserver then reports it as never intersecting, so it can never
   reveal itself. It sits there clipped forever. */
[data-wipe] { overflow: hidden }
[data-wipe] > img, [data-wipe] > picture > img {
  clip-path: inset(0 0 100% 0); transform: scale(1.1);
  transition: clip-path 1.1s cubic-bezier(.76,0,.24,1), transform 1.5s cubic-bezier(.22,.8,.26,1);
}
[data-wipe].on > img, [data-wipe].on > picture > img { clip-path: inset(0 0 0 0); transform: scale(1) }

/* work */
.sectionhead { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; justify-content: space-between; margin-bottom: clamp(30px,4vw,50px) }
.sectionhead h2 { font-size: clamp(32px,4.4vw,56px) }
.masonry { columns: 3; column-gap: 18px }
.tile { position: relative; display: block; overflow: hidden; margin-bottom: 18px; break-inside: avoid }
.tile img { width: 100%; transition: transform 1.2s cubic-bezier(.22,.8,.26,1), filter .7s ease }
.tile.on:hover > img { transform: scale(1.07); filter: brightness(.82) }
.tile figcaption { position: absolute; inset: auto 0 0 0; padding: 18px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(14px); transition: opacity .52s ease, transform .52s cubic-bezier(.22,.8,.26,1) }
.tile:hover figcaption { opacity: 1; transform: none }

/* cards */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 26px }
.svc { background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .54s cubic-bezier(.22,.8,.26,1), box-shadow .54s ease, border-color .54s ease }
.svc:hover { transform: translateY(-10px); box-shadow: 0 22px 48px rgba(33,30,26,.11); border-color: #d6cdbd }
.svc img { width: 100%; aspect-ratio: 3/2; object-fit: cover }
.svcbody { padding: 28px; display: flex; flex-direction: column; flex: 1 }
.svcbody h3 { font-size: 24px; margin-bottom: 12px }
.price { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px }
.svc .btn { margin-top: auto; align-self: flex-start }
.arrow { display: inline-block; transition: transform .42s cubic-bezier(.22,.8,.26,1) }
.svc:hover .arrow { transform: translateX(7px) }

/* about, quotes, cta */
.split { display: flex; flex-wrap: wrap; gap: clamp(32px,5vw,64px); align-items: center }
.split .pic { flex: 1 1 360px; min-width: 0; overflow: hidden }
.split .body { flex: 999 1 420px; min-width: 0 }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px }
.quote { background: var(--card); border: 1px solid var(--line); padding: 32px; transition: transform .54s cubic-bezier(.22,.8,.26,1), box-shadow .54s ease }
.quote:hover { transform: translateY(-7px); box-shadow: 0 18px 40px rgba(33,30,26,.09) }
.stars { color: var(--accent); letter-spacing: 4px; margin-bottom: 14px }
.cta { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(90px,12vw,150px) 20px }
.cta > img { position: absolute; inset: -14% 0; width: 100%; height: 128%; object-fit: cover }
.cta .shade { position: absolute; inset: 0; background: rgba(20,16,13,.6) }
.cta .inner { position: relative; z-index: 2 }
.cta h2 { max-width: 18ch; margin: 0 auto 30px; font-size: clamp(32px,5.2vw,68px) }
.cta .eyebrow { color: #e8d9bd }

/* footer */
footer { background: var(--ink); color: var(--soft); padding: clamp(48px,6vw,78px) 0 30px }
footer .cols { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between }
footer h4 { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #6f665c; font-weight: 500; margin-bottom: 14px }
footer a:hover { color: #faf8f4 }
footer img { height: 76px; width: auto; margin-bottom: 16px }
.legal { margin-top: clamp(32px,4vw,50px); padding-top: 22px; border-top: 1px solid #3a332c; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px }
.credit strong { font-weight: 700 }

@media (max-width: 900px) {
  .masonry { columns: 2; column-gap: 12px }
  .navlinks, .navend .muted { display: none }
  .navtoggle { display: inline-flex; align-items: center; justify-content: center }
  .nav.open .navlinks { display: flex; position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); color: var(--ink); padding: 8px 0 }
  .nav.open .navlinks a { padding: 14px clamp(20px,4vw,48px); width: 100% }
}
@media (max-width: 560px) { .masonry { columns: 1 } }

@media (prefers-reduced-motion: reduce) {
  *, *::after { animation: none !important; transition: none !important }
  [data-rv], [data-wipe] { opacity: 1; transform: none; clip-path: none }
}

/* ---------- booking flow ---------- */
.bookwrap { max-width: 760px }
.steps { display: flex; gap: 6px; margin-bottom: 34px }
.steps .st { flex: 1; height: 4px; background: var(--line); transition: background .3s }
.steps .st.on { background: var(--accent) }
.panel { background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px) }
.svcpick { display: grid; gap: 12px }
.svcpick .opt { display: flex; gap: 16px; align-items: center; width: 100%; text-align: left; border: 1.5px solid var(--line); background: transparent; padding: 12px; cursor: pointer; font: inherit; color: inherit; transition: border-color .22s ease, background .22s ease }
.svcpick .opt:hover { border-color: var(--accent) }
.svcpick .opt.sel { border-color: var(--accent); background: #fdf6f5 }
.svcpick .opt img { width: 84px; height: 62px; object-fit: cover; flex: none }
.optbody { display: flex; flex-direction: column; gap: 3px }
.optbody small { color: var(--ink2); font-size: 13px }
.rowend { display: flex; gap: 10px; justify-content: flex-end; margin-top: 26px }
.calhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px }
.caldow, .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px }
.caldow span { text-align: center; font-size: 11px; letter-spacing: .18em; color: var(--soft); padding-bottom: 6px }
.cal .day { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line); background: transparent; font: inherit; color: inherit }
.cal .day.open { cursor: pointer; transition: border-color .2s ease, background .2s ease }
.cal .day.open:hover { border-color: var(--accent) }
.cal .day.sel { background: var(--accent); border-color: var(--accent); color: #fff }
.cal .day.taken { color: #c9b9b9; background: #faf1f1; border-color: #f0e2e2 }
.cal .day.shut { color: #cfc8bd; background: #f6f3ee }
.cal .pad { min-height: 44px }
.calwait { grid-column: 1 / -1; text-align: center; color: var(--ink2); padding: 22px 0 }
.callegend { display: flex; gap: 18px; justify-content: center; margin-top: 14px; font-size: 12px; color: var(--ink2) }
.callegend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px }
.sw.open { border: 1px solid var(--line) } .sw.taken { background: #faf1f1; border: 1px solid #f0e2e2 } .sw.shut { background: #f6f3ee }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px }
.slot { min-height: 44px; border: 1px solid var(--line); background: transparent; font: inherit; color: inherit; cursor: pointer; transition: border-color .2s ease }
.slot:hover { border-color: var(--accent) }
.slot.sel { background: var(--accent); border-color: var(--accent); color: #fff }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px }
.fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2) }
.fields label.wide { grid-column: 1 / -1 }
.fields input, .fields textarea { border: 1px solid var(--line); background: var(--bg); padding: 13px; font: inherit; color: var(--ink); letter-spacing: normal; text-transform: none }
.fields input:focus, .fields textarea:focus { outline: 2px solid var(--accent); outline-offset: -2px }
.review { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 15px }
.review dt { color: var(--ink2); font-size: 13px; letter-spacing: .1em; text-transform: uppercase }
.review dd { margin: 0 }
.err { color: var(--accent); min-height: 20px; margin-top: 14px }

/* ---------- client area & studio ---------- */
.hint { font-size: 13px; color: var(--ink2) }
.linkish { border: 0; background: none; font: inherit; color: var(--ink2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0 }
.linkish:hover { color: var(--ink) }
.arehead { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(24px, 3vw, 36px) }
.subhead { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--soft); font-weight: 500; margin: clamp(32px, 4vw, 48px) 0 16px }

.bk { background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 3vw, 30px); margin-bottom: 18px }
.bkhead { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; justify-content: space-between; margin-bottom: 18px }
.bkhead h3 { font-size: 22px; margin-bottom: 4px }
.pill { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line); color: var(--ink2); white-space: nowrap }
.pill.confirmed { border-color: #bcd8c6; background: #eef7f1; color: #1c6b3e }
.pill.completed { border-color: #cfd6e2; background: #eef1f6; color: #3c4a63 }
.pill.cancelled { border-color: #e7cdcd; background: #faefef; color: #8f2f2f }
.money { display: flex; flex-wrap: wrap; gap: clamp(18px, 4vw, 44px); padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.money span { display: flex; flex-direction: column; gap: 3px; font-size: 20px; font-weight: 500 }
.money small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); font-weight: 400 }
.sched { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px }
.sched td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink2) }
.sched td.r { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums }
.docs { margin-top: 18px }
.signed { color: #1c6b3e; font-size: 14px; padding: 8px 0 }
.tosign { border: 1px solid var(--accent); padding: 16px; margin-top: 12px }
.tosign details { margin: 10px 0 }
.tosign summary { cursor: pointer; font-size: 13px; color: var(--ink2) }
.tosign pre { white-space: pre-wrap; font: inherit; font-size: 13px; color: var(--ink2); max-height: 240px; overflow: auto; margin-top: 10px; padding: 12px; background: var(--bg) }
.signrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center }
.signrow input { flex: 1 1 220px; border: 1px solid var(--line); background: var(--bg); padding: 12px; font: inherit }
.payrep { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px }
.payrep summary { cursor: pointer; font-size: 13px; color: var(--ink2) }
.payrep .fields { margin-top: 12px }
.galgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px }
.gal { display: flex; flex-direction: column; gap: 6px }
.gal img, .gal .noimg { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--line) }
.gal small { color: var(--soft); font-size: 12px }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: clamp(24px, 3vw, 34px) }
.stat { background: var(--card); border: 1px solid var(--line); padding: 18px }
.stat b { display: block; font-size: 28px; font-weight: 500; line-height: 1.1 }
.stat span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft) }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px }
.tabs button { min-height: 42px; padding: 0 18px; border: 1px solid var(--line); background: transparent; font: inherit; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; color: var(--ink2) }
.tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card) }
.tbl th { text-align: left; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); font-weight: 500; padding: 12px; border-bottom: 1px solid var(--line) }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top }
.tbl tr:last-child td { border-bottom: 0 }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums }
.wrapscroll { overflow-x: auto; border: 1px solid var(--line) }
.feed { display: flex; flex-direction: column; gap: 2px }
.feed p { background: var(--card); border: 1px solid var(--line); padding: 12px 14px; font-size: 14px }
.cal .day small { display: block; font-size: 10px; color: inherit; opacity: .7; letter-spacing: 0 }
.cal .day { flex-direction: column; gap: 1px }

/* Same rule as the Instant sheet: an explicit display beats [hidden]. */
[hidden] { display: none !important }
