/* ==========================================================================
   JSC SOCIAL — style.css
   1. Fonts & tokens      6. Disciplines      11. Pricing
   2. Base                7. About            12. Testimonials
   3. Layout & type       8. Services         13. Contact
   4. Buttons & header    9. Portfolio        14. Footer & floating
   5. Hero               10. Social / Process 15. Modals, motion, responsive
   ========================================================================== */

/* ---------- 1. Fonts & tokens ---------- */
@font-face {
  font-family: "Heebo";
  src: url("../fonts/heebo-hebrew.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  src: url("../fonts/heebo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Heebo";
  src: url("../fonts/heebo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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 {
  --bg: #F6F1EA;          /* cream / off-white */
  --bg-2: #EFE7DE;        /* logo paper */
  --sand: #E4D8CA;
  --line: #DACDBF;
  --line-soft: #E7DDD1;
  --ink: #402925;         /* logo chocolate */
  --ink-deep: #2A1B18;
  --ink-soft: #5B4640;
  --muted: #7A665E;
  --cream: #F4EDE4;
  --cream-muted: #C9B9AB;
  --white: #FCFAF7;

  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 84px;
  --radius: 6px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(42, 27, 24, .04), 0 12px 32px -12px rgba(42, 27, 24, .16);
  --shadow-lg: 0 2px 4px rgba(42, 27, 24, .05), 0 30px 60px -20px rgba(42, 27, 24, .28);
  --section-y: clamp(88px, 11vw, 160px);
  color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--cream); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.contact :focus-visible { outline-color: var(--cream); }
.contact .form-card :focus-visible { outline-color: var(--ink); }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 18px; border-radius: 999px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

html.modal-open, html.nav-open { overflow: hidden; }

/* ---------- 3. Layout & type ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }

.latin { letter-spacing: .01em; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-sep { width: 28px; height: 1px; background: currentColor; opacity: .6; }

.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  margin-bottom: 22px;
}
.section-label .latin { font-size: 12.5px; letter-spacing: .1em; color: var(--ink-soft); }
.section-label .latin::after {
  content: ""; display: inline-block; width: 26px; height: 1px; margin-inline-start: 12px;
  background: currentColor; opacity: .45; vertical-align: middle;
}
.section-label--light { color: var(--cream-muted); }
.section-label--light .latin { color: var(--cream); }

/* Headlines: Regular + ExtraBold on the key phrase */
.h2 {
  font-size: clamp(2.3rem, 4.9vw, 4.1rem);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h2 strong, .contact-statement strong { font-weight: 800; }
.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.body-text { color: var(--muted); max-width: 56ch; text-wrap: pretty; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px;
  flex-wrap: wrap;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.section-head .h2 { max-width: 16ch; }
.section-intro { max-width: 42ch; color: var(--muted); font-size: 1.05rem; text-wrap: pretty; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.section-head--center .h2 { max-width: 22ch; }
.section-head--center .section-intro { margin-top: 18px; }

.link {
  display: inline; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 100% 1px;
  padding-bottom: 2px;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 0 100%; }

/* ---------- 4. Buttons & header ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
/* arrows are drawn (the ← glyph is not part of Heebo) */
.btn-arrow {
  display: inline-block; flex: none; width: 16px; height: 10px;
  font-size: 0; color: inherit; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M5 1 1 5l4 4M1 5h14' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M5 1 1 5l4 4M1 5h14' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .45s var(--ease-out);
}
.btn:hover .btn-arrow, .btn-text:hover .btn-arrow, .wa-cta:hover .btn-arrow { transform: translateX(-5px); }
.btn--primary { background: var(--ink); color: var(--cream); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
.btn--primary:hover { background: var(--ink-deep); box-shadow: 0 14px 30px -14px rgba(42, 27, 24, .55); }
.btn--xl { min-height: 64px; padding: 0 38px; font-size: 17.5px; font-weight: 600; gap: 16px; }
.btn-text {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  font-size: 16.5px; font-weight: 600; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) no-repeat 100% calc(100% - 10px) / 100% 1px;
  transition: background-size .5s var(--ease);
}
.btn-text:hover { background-size: 0 1px; background-position: 0 calc(100% - 10px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--white); }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 17px; }
.btn--block { width: 100%; }
.btn:active { transform: scale(.98); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(246, 241, 234, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  /* the header keeps its height: changing it moved the whole page and made the header flicker */
  background: rgba(246, 241, 234, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-soft);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { flex: none; display: block; position: relative; z-index: 2; }
.brand img { height: 60px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand img { height: 48px; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.main-nav ul a {
  position: relative; display: block; padding: 6px 0;
  font-size: 15.5px; font-weight: 500; color: var(--ink-soft);
  transition: color .3s var(--ease);
}
.main-nav ul a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a.is-current { color: var(--ink); }
.main-nav ul a:hover::after, .main-nav ul a.is-current::after { transform: scaleX(1); }
.nav-cta, .nav-mobile-foot { display: none; }
.header-cta { min-height: 44px; padding: 0 22px; font-size: 15px; }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); margin-inline-start: auto;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- 5. Opening: showreel ---------- */
/* Mobile first: headline, then the first reel is already on screen. */
.reel-hero {
  position: relative; overflow-x: clip;
  padding-top: clamp(20px, 3vw, 48px);
  padding-bottom: var(--section-y);
}
.rh-head { display: grid; gap: 10px; margin-bottom: 22px; }
.rh-title {
  margin: 0; font-size: clamp(2.6rem, 16vw, 6.5rem); font-weight: 400;
  line-height: 1; letter-spacing: -.04em; text-wrap: balance;
}
.rh-title strong { font-weight: 800; }
/* name | role on one continuous line: the text shrinks a little on narrow phones instead of wrapping */
.rh-lead { margin: 4px 0 0; color: var(--ink-soft); font-size: min(1rem, 3.2vw); line-height: 1.6; white-space: nowrap; }
/* phones: the name on its own line above the role, both bigger */
@media (max-width: 760px) {
  .rh-lead { font-size: min(1.05rem, 4.2vw); line-height: 1.45; }
  .rh-name { display: block; font-size: 1.3em; }
  .rh-sep { display: none; }
}
@media (max-width: 359px) { .rh-lead { white-space: normal; } }
.rh-lead .nw { white-space: nowrap; }
.rh-title .nw { white-space: nowrap; }
.rh-name { font-weight: 700; color: var(--ink); }
.rh-sep { margin-inline: 4px; color: var(--line); }
.rh-actions { margin-top: 36px; display: grid; justify-items: center; gap: 16px; }
.rh-actions .btn--primary { width: 100%; }
@media (min-width: 761px) {
  .reel-hero { padding-top: clamp(32px, 4vw, 64px); }
  .rh-head { margin-bottom: clamp(28px, 3vw, 40px); }
  .rh-title { font-size: clamp(3.6rem, 7.6vw, 7.8rem); }
  .rh-lead { margin: 0; font-size: clamp(1rem, 1.5vw, 1.35rem); }
  .rh-actions { margin-top: 40px; display: flex; align-items: center; gap: 18px 32px; }
  .rh-actions .btn--primary { width: auto; }
}
/* title and name line side by side only where the big title has room */
@media (min-width: 1180px) {
  .rh-head { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title lead"; align-items: end; column-gap: 48px; }
  .rh-title { grid-area: title; }
  .rh-lead { grid-area: lead; }
}

/* ---------- 7. About ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 128px); align-items: center;
}
.about-media { position: relative; margin-bottom: 22px; } /* room for the offset frame */
.about-media::before {
  /* offset frame — composition works with any 4:5 portrait */
  content: ""; position: absolute; inset-block: 28px -22px; inset-inline: 28px -22px;
  border: 1px solid var(--line); border-radius: var(--radius); pointer-events: none;
}
.about-media img {
  position: relative;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); background: var(--sand);
}
/* the photo is a 4:5 design with text baked in, so show it whole */
.about-media .about-photo { object-position: 50% 50%; }
.about-media figcaption {
  position: absolute; inset-inline-end: -22px; bottom: -36px;
  display: grid; gap: 6px;
  min-width: 62%;
  background: var(--bg); padding: 24px 28px 22px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-media figcaption > span:first-child { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.about-media figcaption .muted { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.about-copy .h2 { margin-bottom: clamp(14px, 1.8vw, 22px); }
.about .nw { white-space: nowrap; }
/* name first, then short paragraphs; the key facts are in bold so the section can be skimmed */
.about-name {
  margin: 0; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink);
}
.about-text { margin-top: 12px; max-width: 46ch; display: grid; gap: 10px; }
.about-text p {
  margin: 0; color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; text-wrap: pretty;
}
.about-text strong { font-weight: 700; color: var(--ink); }

/* ---------- 8. Services ---------- */
.services { background: var(--bg-2); }
/* process continues the services section: same background, no second top gap, so they read as one block */
.services + .process { background: var(--bg-2); padding-top: 0; }
.services:has(+ .process) { padding-bottom: clamp(28px, 3.5vw, 48px); }   /* short gap: "how it works" follows right after the services */
.services .nw { white-space: nowrap; }
/* Four services side by side: compact editorial row */
.svc-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.svc {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(28px, 2.8vw, 40px) clamp(20px, 2vw, 32px) clamp(30px, 3vw, 42px);
}
.svc:first-child { padding-inline-start: 0; }
.svc:last-child { padding-inline-end: 0; }
.svc + .svc { border-inline-start: 1px solid var(--line); }
.svc::before {
  /* hairline that draws in on hover */
  content: ""; position: absolute; inset-inline: 0; top: -1px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-out);
}
.svc-num {
  font-size: clamp(2.6rem, 3.6vw, 3.6rem); font-weight: 300; line-height: .8; letter-spacing: -.05em;
  color: #C9B6A2; transition: color .6s var(--ease);
}
.svc-title {
  margin-top: clamp(22px, 2.4vw, 32px);
  font-size: clamp(1.2rem, 1.55vw, 1.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em;
}
.svc-desc { margin-top: 12px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; text-wrap: pretty; }
@media (hover: hover) {
  .svc:hover::before { transform: scaleX(1); }
  .svc:hover .svc-num { color: var(--ink); }
}

.svc-foot {
  margin-top: clamp(32px, 4vw, 52px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
}
.svc-foot p { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 700; }
@media (max-width: 760px) {
  :root { --section-y: 64px; }
  .svc-foot .btn { width: 100%; }
}

/* ---------- 9. Portfolio ---------- */
/* Mobile first: top 3 reels are a swipeable carousel (one plays at a time),
   the rest sit in a horizontal rail. From 761px the top 3 become a row. */

.pf-media {
  position: relative; display: block; overflow: hidden;
  background: var(--sand); border-radius: var(--radius-lg);
  transform: translateZ(0); /* keeps the rounded corners while video plays (Safari) */
}
.pf-media img, .pf-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-media video { opacity: 0; transition: opacity .5s var(--ease); }
.is-playing .pf-media video { opacity: 1; }
.pf-dur {
  position: absolute; z-index: 2; bottom: 12px; inset-inline-start: 12px;
  padding: 3px 8px; border-radius: 4px; direction: ltr;
  background: rgba(28, 18, 16, .55); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pf-title { display: block; font-weight: 700; line-height: 1.3; }
.pf-sub { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.work-btn { display: block; width: 100%; text-align: start; -webkit-tap-highlight-color: transparent; }
.work-btn:focus-visible .pf-media { outline: 2px solid var(--ink); outline-offset: 3px; }

/* top 3 */
.pf-top {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  list-style: none; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.pf-top::-webkit-scrollbar, .pf-rail::-webkit-scrollbar { display: none; }
.pf-card { scroll-snap-align: start; }
.pf-card .pf-media { aspect-ratio: 4 / 5; }
.pf-card .pf-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(33, 21, 19, .68), rgba(33, 21, 19, 0) 42%);
}
.pf-hook {
  position: absolute; z-index: 2; inset-inline: 16px; bottom: 44px;
  color: var(--cream); font-size: 1.3rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em;
  text-wrap: balance;
}
.pf-card .pf-dur { inset-inline-start: 16px; bottom: 14px; }
.pf-meta { display: block; margin-top: 12px; }
.pf-card .pf-title { font-size: 16px; }
.pf-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.pf-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .4s var(--ease-out), background-color .3s; }
.pf-dots i.is-active { width: 22px; background: var(--ink); }

/* "worked with" logos — one colour, same visual height */
.pf-brands { margin-top: 36px; display: grid; justify-items: center; gap: 14px; }
.pf-brands:not(:has(.pf-brand)) { display: none; }   /* every logo hidden: no lone "עבדתי עם" label */
.pf-brands-label { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.pf-brands-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin: 0; padding: 0; list-style: none; }
.pf-brand { display: flex; align-items: center; gap: 6px; color: var(--ink); --h: 17px; }
.pf-brand--tall { --h: 26px; }
.pf-brand--named { --h: 20px; }
.pf-brand--named .latin { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; }
.pf-logo {
  display: block; height: var(--h); width: calc(var(--h) * var(--w));
  background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
}
/* --logo (file) and --w (width / height) are set per logo by tools/build.py */
@media (min-width: 761px) {
  /* desktop: a slim strip between two hairlines, same scale as the captions around it */
  .pf-brands {
    margin-top: 32px; padding-block: 18px;
    border-block: 1px solid var(--line-soft);
    grid-auto-flow: column; justify-content: start; align-items: center; gap: 36px;
  }
  .pf-brands-list { gap: 16px 40px; }
  .pf-brands-label { font-size: 13.5px; }
  .pf-brand { --h: 18px; gap: 7px; }
  .pf-brand--tall { --h: 27px; }
  .pf-brand--named { --h: 21px; }
  .pf-brand--named .latin { font-size: 13.5px; }
}

.pf-packages { display: none; }

/* rail */
.pf-more { margin-top: 44px; }
.pf-more-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pf-more-head h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.pf-arrows { display: none; gap: 8px; }
.pf-arrows button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.pf-arrows svg { width: 16px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pf-arrows button:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pf-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 40%; gap: 12px;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
  list-style: none; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.pf-mini { scroll-snap-align: start; }
.pf-mini .pf-media { aspect-ratio: 9 / 16; border-radius: var(--radius); }
.pf-mini .pf-title { margin-top: 10px; font-size: 14px; }
.pf-mini .pf-sub { font-size: 12.5px; }
.pf-mini .pf-dur { bottom: 8px; inset-inline-start: 8px; }
.pf-play {
  position: absolute; z-index: 2; top: 50%; left: 50%;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: rgba(252, 250, 247, .9); display: grid; place-items: center;
  transition: opacity .35s var(--ease), transform .5s var(--ease-out);
}
.pf-play::after { content: ""; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--ink); }
.is-playing .pf-play { opacity: 0; transform: scale(.8); }
/* main 3 reels: see-through glass play button, stays visible over the silent preview */
.pf-play--glass {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(255, 255, 255, .18);
  border: 1.5px solid rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35);
}
.pf-play--glass::after { margin-left: 5px; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.is-playing .pf-play--glass { opacity: 1; transform: none; }
@media (hover: hover) {
  .work-btn:hover .pf-play--glass { transform: scale(1.08); background: rgba(255, 255, 255, .28); }
}

@media (min-width: 761px) {
  .pf-top {
    grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px);
    margin: 0; padding: 0; overflow: visible;
  }
  .pf-hook { inset-inline: 20px; bottom: 50px; font-size: clamp(1.3rem, 1.9vw, 1.7rem); }
  .pf-card .pf-dur { inset-inline-start: 20px; bottom: 18px; }
  .pf-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
  .pf-meta .pf-sub { margin: 0; }
  .pf-dots { display: none; }
  .pf-more { margin-top: 40px; }
  .pf-arrows { display: flex; }
  .pf-rail { grid-auto-columns: clamp(150px, 13vw, 184px); gap: 16px; margin: 0; padding: 0 0 4px; }
  /* keep the three main reels (and their captions) inside the first screen on laptops */
  .pf-card .pf-media { aspect-ratio: auto; height: clamp(340px, 58svh, 540px); }
  .pf-card .pf-media { transition: transform .7s var(--ease-out), box-shadow .7s var(--ease); }
}
@media (hover: hover) and (min-width: 761px) {
  .pf-card .work-btn:hover .pf-media { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
}

/* badge used inside the video modal */
.work-badge {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 11px; border-radius: 999px;
  background: rgba(244, 237, 228, .92); color: var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.play {
  display: inline-block; width: 0; height: 0; border-style: solid;
  border-width: 4px 0 4px 7px; border-color: transparent transparent transparent currentColor;
}

/* ---------- 10b. Process ---------- */
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  counter-reset: step;
}
.steps::before {
  content: ""; position: absolute; inset-inline: 0; top: 30px; height: 1px; background: var(--line);
}
.steps::after {
  content: ""; position: absolute; inset-inline: 0; top: 30px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform 1.8s var(--ease-out) .2s;
}
.steps.is-in::after { transform: scaleX(1); }
.step { position: relative; padding-top: 0; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--ink);
  font-size: 15px; font-weight: 500; letter-spacing: .06em;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.step:hover .step-num { background: var(--ink); color: var(--cream); }
.step h3 { margin-top: 28px; font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 600; line-height: 1.3; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 28ch; }

.process .nw { white-space: nowrap; }
/* Process refinement: one active step (deep brown), quiet inactive steps,
   terracotta only as a soft halo during interaction */
.process {
  --accent: #B07A66;
  --accent-soft: rgba(176, 122, 102, .18);
}
.process .section-head { margin-bottom: clamp(36px, 4.4vw, 60px); }
.process .step-num {
  background: var(--bg); border-color: #CDBBA7; color: var(--muted);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease-out);
}
.process .step h3 { transition: color .5s var(--ease); }
.process .step p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; max-width: 30ch; transition: color .5s var(--ease); }
/* active step */
.process .step.is-active .step-num {
  background: var(--ink); border-color: var(--ink); color: var(--cream);
  box-shadow: 0 0 0 7px var(--accent-soft);
  transform: scale(1.06);
}
.process .step:not(.is-active) h3 { color: var(--ink-soft); }
.process .step:not(.is-active) p { color: var(--muted); }
/* the existing hover rule fills the circle too; keep it but let the active state lead */
.process .step:hover .step-num { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.process .step { cursor: default; }

/* ---------- 12. Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.quote {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sand); }
.quote-mark { font-size: 72px; line-height: .8; font-weight: 700; color: var(--sand); height: 40px; }
.quote blockquote { margin-top: 18px; flex: 1; }
.quote blockquote p { font-size: 1.1rem; line-height: 1.65; color: var(--ink-soft); }
.quote-by { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: grid; gap: 2px; }
.quote-by b { font-weight: 600; }
.quote-by span { font-size: 14px; color: var(--muted); }

/* ---------- 13. Contact ---------- */
.contact { background: var(--ink-deep); color: var(--cream); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(48px, 7vw, 110px); align-items: start;
}
.contact-head {
  margin-bottom: clamp(48px, 6vw, 88px); padding-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid rgba(244, 237, 228, .14);
}
.contact-statement {
  font-size: clamp(2.7rem, 7.2vw, 6.8rem); font-weight: 400; line-height: .98; letter-spacing: -.045em;
  max-width: 14ch; text-wrap: balance;
}
.contact .lead { color: var(--cream-muted); max-width: 34ch; }

.wa-cta {
  margin-top: 40px;
  display: flex; align-items: center; gap: 18px;
  width: 100%; max-width: 440px;
  padding: 18px 22px; border-radius: var(--radius-lg);
  background: var(--cream); color: var(--ink);
  transition: transform .4s var(--ease-out), background-color .3s var(--ease);
}
.wa-cta:hover { background: var(--white); transform: translateY(-3px); }
.wa-cta svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--ink); fill: var(--cream); }
.wa-text { flex: 1; display: grid; gap: 1px; }
.wa-text b { font-size: 1.12rem; font-weight: 600; }
.wa-text > span { font-size: 14px; color: var(--muted); }

.contact-links { margin-top: 28px; max-width: 440px; border-top: 1px solid rgba(244, 237, 228, .14); }
.contact-links li { border-bottom: 1px solid rgba(244, 237, 228, .14); }
.cl-label { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-muted); }
/* each row is one clickable contact option */
.cl-row {
  position: relative;
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding-block: 18px;
  transition: color .4s var(--ease);
}
.cl-row::after {
  /* hairline that draws in on hover */
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background: var(--cream);
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease-out);
}
.cl-value { font-size: 16px; font-weight: 500; color: var(--cream); text-align: right; unicode-bidi: isolate; overflow-wrap: anywhere; }
.cl-row .btn-arrow { color: var(--cream-muted); transition: transform .45s var(--ease-out), color .4s var(--ease); }
.cl-row:hover::after, .cl-row:focus-visible::after { transform: scaleX(1); }
.cl-row:hover .btn-arrow, .cl-row:focus-visible .btn-arrow { color: var(--cream); transform: translateX(-5px); }
.cl-row:hover .cl-label, .cl-row:focus-visible .cl-label { color: var(--cream); }
@media (max-width: 420px) {
  .cl-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; padding-block: 16px; }
  .cl-row .cl-label { grid-column: 1; }
  .cl-row .cl-value { grid-column: 1; white-space: nowrap; }
  .cl-row .btn-arrow { grid-column: 2; grid-row: 1 / span 2; }
}

.form-card {
  background: var(--bg); color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 52px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
}
.contact-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.req { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); font-size: 16px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field input[dir="ltr"] { text-align: right; }
.field input[dir="ltr"]:not(:placeholder-shown) { text-align: left; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--cream-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(64, 41, 37, .12);
}
.field.has-error input { border-color: #9A3B2E; }
.field-error { font-size: 13.5px; color: #9A3B2E; min-height: 0; }
.field-error:empty { display: none; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; inset-inline-end: 18px; top: 50%;
  width: 8px; height: 8px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(-45deg); pointer-events: none;
}
.field select { padding-inline-end: 44px; cursor: pointer; }
.contact-form .btn { margin-top: 6px; }
.contact-form .btn[disabled] { opacity: .7; cursor: progress; }
.form-status { font-size: 14px; color: var(--muted); text-align: center; }
.form-status:empty { display: none; }
/* spam trap: invisible to people, filled only by bots */
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-error {
  display: grid; justify-items: center; gap: 14px;
  padding: 18px 16px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line); text-align: center;
}
.form-error p { font-size: 15px; font-weight: 500; color: var(--ink); }
.form-error .btn { min-height: 46px; }
.contact-form .btn[aria-busy="true"] .btn-arrow { opacity: 0; }
.form-privacy { font-size: 13.5px; color: var(--muted); text-align: center; }
.form-privacy .link { color: var(--ink-soft); white-space: nowrap; }

.form-done { text-align: center; padding-block: 24px; outline: none; }
.done-mark {
  display: block; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%;
  border: 1px solid var(--ink);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='m21 33 7 7 15-16' fill='none' stroke='%23402925' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.done-title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.25; }
.done-text { margin: 12px auto 0; color: var(--muted); max-width: 36ch; }
.done-actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.done-actions:empty { display: none; }
.done-reset { margin-top: 24px; font-size: 15px; color: var(--ink-soft); }

.contact-copy > .wa-cta:first-child { margin-top: 0; }

/* ---------- 14. Footer & floating ---------- */
.site-footer { background: var(--bg); padding-block: clamp(64px, 8vw, 96px) 28px; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: 40px clamp(40px, 7vw, 120px); align-items: start;
  padding-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 28px; }
.footer-brand img { width: 104px; height: auto; flex: none; }
.footer-name { font-size: 1.3rem; font-weight: 700; letter-spacing: .14em; }
.footer-role { margin-top: 4px; font-weight: 500; color: var(--ink-soft); }
.footer-tags { margin-top: 8px; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.footer-nav, .footer-social { display: grid; gap: 10px; }
.footer-nav a { color: var(--ink-soft); font-weight: 500; transition: color .3s; width: fit-content; }
.footer-nav a:hover { color: var(--ink); }
.footer-social { align-content: start; }

/* contact buttons (footer + phone menu): outlined pill with the service's icon, equal widths */
.footer-social a, .nav-mobile-foot a {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px 0 22px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.footer-social a:hover, .footer-social a:active, .nav-mobile-foot a:hover, .nav-mobile-foot a:active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
/* icons are drawn like .btn-arrow: a mask filled with the text colour */
.footer-social a::before, .nav-mobile-foot a::before {
  content: ""; flex: none; width: 19px; height: 19px; background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
[data-contact="whatsapp"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3.5A12.4 12.4 0 0 0 5.3 22.2L3.6 28.4l6.4-1.7A12.4 12.4 0 1 0 16 3.5Zm0 22.6c-1.9 0-3.8-.5-5.4-1.5l-.4-.2-3.8 1 1-3.7-.2-.4A10.3 10.3 0 1 1 16 26.1Zm5.6-7.7c-.3-.2-1.8-.9-2.1-1-.3-.1-.5-.2-.7.2l-1 1.2c-.2.2-.4.2-.7.1a8.4 8.4 0 0 1-4.2-3.7c-.3-.5.3-.5.9-1.6.1-.2 0-.4 0-.5l-1-2.3c-.2-.6-.5-.5-.7-.5h-.6c-.2 0-.5.1-.8.4-.3.3-1 1-1 2.5s1.1 2.9 1.2 3.1c.2.2 2.1 3.2 5.1 4.5 1.9.8 2.6.9 3.6.7.6-.1 1.8-.7 2-1.4.3-.7.3-1.3.2-1.4l-.6-.3Z'/%3E%3C/svg%3E"); }
[data-contact="instagram"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5.5' stroke='%23000' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='4.2' stroke='%23000' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.2'/%3E%3C/svg%3E"); }
[data-contact="email"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5' stroke='%23000' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m4 7.5 8 6 8-6' stroke='%23000' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 14px; color: var(--muted); }
.footer-bottom::before {
  content: ""; position: absolute; top: 0; inset-inline: var(--gutter); height: 1px; background: var(--line);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { transition: color .3s; }
.footer-legal a:hover { color: var(--ink); }
.to-top { font-weight: 500; transition: color .3s; }
.to-top:hover { color: var(--ink); }

.wa-float {
  position: fixed; z-index: 90;
  inset-inline-end: calc(20px + env(safe-area-inset-left, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  box-shadow: 0 0 0 2px rgba(246, 241, 234, .9), 0 14px 30px -10px rgba(42, 27, 24, .55);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .4s var(--ease), transform .4s var(--ease-out), visibility .4s, background-color .3s;
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { background: var(--ink-deep); }

/* ---------- 14b. Inner pages (accessibility / privacy) ---------- */
.page-hero {
  padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 64px);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
}
.page-title {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.05; font-weight: 700; letter-spacing: -.025em;
}
.page-meta { margin-top: 18px; color: var(--muted); font-size: 15px; }
.legal-section { padding-block: clamp(56px, 7vw, 96px); }
.legal { max-width: 760px; }
.legal-lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--ink-soft); line-height: 1.7; }
.legal h2 {
  margin-top: clamp(40px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 600; line-height: 1.3;
}
.legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p { margin-top: 14px; color: var(--ink-soft); text-wrap: pretty; }
.legal ul:not(.legal-contact) { margin-top: 16px; display: grid; gap: 10px; }
.legal ul:not(.legal-contact) li { position: relative; padding-inline-start: 22px; color: var(--ink-soft); }
.legal ul:not(.legal-contact) li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .75em;
  width: 8px; height: 1px; background: var(--ink);
}
.legal-contact { margin-top: 20px; max-width: 460px; border-top: 1px solid var(--line); }
.legal-contact li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 16px; border-bottom: 1px solid var(--line);
}
.legal-contact .cl-label { color: var(--muted); }
.legal-contact a { font-weight: 500; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.legal-contact a:hover { opacity: .7; }
.footer-legal a[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- 15. Modals ---------- */
.modal {
  padding: 0; border: 0; background: transparent; color: var(--ink);
  max-width: none; max-height: none; width: 100%; height: 100%;
  overflow: hidden;
}
.modal::backdrop { background: rgba(28, 18, 16, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { display: flex; align-items: center; justify-content: center; animation: modalFade .35s var(--ease) both; }
.modal[open]::backdrop { animation: modalFade .35s var(--ease) both; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }

.modal-close {
  position: absolute; top: 16px; inset-inline-end: 16px; z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; background: var(--bg);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease);
}
.modal-close:hover { transform: rotate(90deg); }
.modal-close span { position: absolute; left: 15px; right: 15px; top: 23px; height: 1.5px; background: var(--ink); }
.modal-close span:first-child { transform: rotate(45deg); }
.modal-close span:last-child { transform: rotate(-45deg); }
@keyframes modalRise { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }

/* Phones: full-screen Reels-style viewer. Each work is one screen; swipe up/down (scroll-snap). */
.reel-viewer { background: #000; color: #fff; }
.reel-viewer::backdrop { background: #000; }
.reel-viewer[open] { display: block; animation: modalFade .25s var(--ease) both; }
.rv-track {
  position: absolute; inset: 0;
  overflow-y: auto; overscroll-behavior: contain;
  scroll-snap-type: y mandatory; scrollbar-width: none;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-slide {
  position: relative; height: 100%; overflow: hidden;
  scroll-snap-align: start; scroll-snap-stop: always;
  background: #000;
}
.rv-slide img, .rv-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 22%, rgba(0,0,0,0) 36%, rgba(0,0,0,0) 88%, rgba(0,0,0,.35) 100%);
}
.rv-tap { position: absolute; inset: 0; z-index: 1; width: 100%; }
.rv-paused-icon {
  position: absolute; z-index: 2; top: 50%; left: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center;
  opacity: 0; transform: scale(.8); transition: opacity .2s, transform .3s var(--ease-out); pointer-events: none;
}
.rv-paused-icon::after { content: ""; margin-left: 5px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.rv-slide.is-paused .rv-paused-icon { opacity: 1; transform: none; }
.rv-cap {
  position: absolute; z-index: 2; inset-inline: 16px;
  bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.rv-type { margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; opacity: .85; }
.rv-title { margin: 1px 0 0; font-size: 1rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
/* which package this work belongs to */
.rv-pkg {
  display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 3px 9px 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em; text-shadow: none;
}
.rv-pkg { color: #fff; cursor: pointer; }
.rv-pkg::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.rv-pkg::after {
  content: ""; width: 6px; height: 6px; margin-inline-start: 2px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; /* physical: a down chevron in both directions */
  transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease);
}
.rv-pkg[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.rv-pkg:disabled::after { display: none; }
.rv-pkg-info {
  margin-top: 8px; max-width: 36ch; padding: 12px 14px; border-radius: 12px;
  background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 14.5px; line-height: 1.55; text-shadow: none;
}
.rv-pkg-info p { margin: 0; }
.rv-pkg-time { margin-top: 6px !important; font-weight: 700; }
.rv-foot {
  position: absolute; z-index: 3; inset-inline: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: center;
}
/* compact, so the video stays the main thing */
.rv-cta.btn--lg { min-height: 44px; padding: 0 22px; font-size: 15px; box-shadow: 0 8px 24px -10px rgba(0,0,0,.6); }
.rv-bars {
  position: absolute; z-index: 3; top: calc(10px + env(safe-area-inset-top, 0px)); inset-inline: 12px;
  display: flex; gap: 3px; pointer-events: none;
}
.rv-bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.rv-bars i::after { content: ""; display: block; height: 100%; width: var(--p, 0%); background: #fff; }
.rv-btn {
  position: absolute; z-index: 3; top: calc(22px + env(safe-area-inset-top, 0px));
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.rv-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rv-close { inset-inline-end: 12px; }
.rv-sound { inset-inline-start: 12px; }
.rv-sound .rv-off, .rv-sound[aria-pressed="true"] .rv-on { display: none; }
.rv-sound[aria-pressed="true"] .rv-off { display: block; }
/* first-visit tutorial */
.rv-tour {
  position: absolute; inset: 0; z-index: 4;
  display: grid; place-items: center; padding: 24px;
  /* see-through: the reel keeps playing underneath */
  background: linear-gradient(to bottom, rgba(0,0,0,.18), rgba(0,0,0,.42) 50%, rgba(0,0,0,.18));
  pointer-events: none; /* swipes and taps go through to the reels; the button below is the exception */
  opacity: 0; transition: opacity .35s var(--ease);
}
.rv-tour[hidden] { display: none; }
.rv-tour.is-on { opacity: 1; }
.rv-tour-card { display: grid; justify-items: center; gap: 14px; text-align: center; color: #fff; }
.rv-tour-gesture { position: relative; width: 56px; height: 120px; }
.rv-tour-trail {
  position: absolute; left: 50%; top: 10px; bottom: 10px; width: 3px; margin-left: -1.5px; border-radius: 2px;
  background: linear-gradient(to top, rgba(255,255,255,0), rgba(255,255,255,.7));
  transform-origin: bottom; animation: rvTrail 1.6s var(--ease) infinite;
}
.rv-tour-dot {
  position: absolute; left: 50%; bottom: 0; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%;
  background: rgba(255,255,255,.95); box-shadow: 0 0 0 8px rgba(255,255,255,.22);
  animation: rvSwipe 1.6s var(--ease) infinite;
}
@keyframes rvSwipe {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  65% { transform: translateY(-86px); opacity: 1; }
  85%, 100% { transform: translateY(-86px); opacity: 0; }
}
@keyframes rvTrail {
  0%, 15% { transform: scaleY(0); opacity: 0; }
  65% { transform: scaleY(1); opacity: 1; }
  85%, 100% { transform: scaleY(1); opacity: 0; }
}
.rv-tour-main { margin: 6px 0 0; font-size: 1.5rem; font-weight: 800; line-height: 1.2; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.rv-tour-tips { margin: 10px 0 0; padding: 0; list-style: none; display: flex; gap: 28px; font-size: 13.5px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.rv-tour-tips li { display: grid; justify-items: center; gap: 8px; }
/* small gesture icons: a tap pulse and a short swipe down */
.rv-g { position: relative; width: 40px; height: 40px; }
.rv-g i { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: rgba(255,255,255,.95); }
.rv-g--tap::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.8);
  animation: rvTapRing 1.4s var(--ease-out) infinite;
}
.rv-g--tap i { animation: rvTapDot 1.4s var(--ease) infinite; }
@keyframes rvTapRing { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
@keyframes rvTapDot { 0%, 100% { transform: scale(1); } 25% { transform: scale(.75); } }
.rv-g--down i { animation: rvDown 1.6s var(--ease) infinite; }
@keyframes rvDown { 0% { transform: translateY(-14px); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(12px); opacity: 1; } 90%, 100% { transform: translateY(12px); opacity: 0; } }
.rv-tour-ok {
  pointer-events: auto; margin-top: 8px; min-height: 44px; padding: 0 26px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.6); color: #fff; font-size: 15px; font-weight: 700;
}
/* the current reel lifts for a moment to reveal the next one, like Reels */
.rv-track.is-peek .rv-slide { animation: rvPeek 1.5s var(--ease-out) 2 both; }
@keyframes rvPeek { 0%, 100% { transform: none; } 40% { transform: translateY(-12%); } }
@media (prefers-reduced-motion: reduce) {
  .rv-tour-dot, .rv-tour-trail, .rv-track.is-peek .rv-slide, .rv-g i, .rv-g--tap::before { animation: none; }
  .rv-tour-dot { transform: translateY(-43px); }
}

/* nav arrows and desktop-only texts (shown from 761px, see below) */
.rv-nav { display: none; }
.rv-desk { display: none; }
.rv-tap { cursor: pointer; }

/* Desktop / tablet: the same viewer as a phone-shaped column in the middle of a dark screen */
@media (min-width: 761px) {
  .reel-viewer { --rv-col: min(calc((100svh - 32px) * 9 / 16), 460px); background: rgba(16, 10, 9, .96); }
  .reel-viewer::backdrop { background: rgba(16, 10, 9, .96); }
  .rv-track { inset: 16px auto 16px 50%; width: var(--rv-col); transform: translateX(-50%); border-radius: 18px; }
  .rv-slide { border-radius: 18px; }
  .rv-bars { top: 26px; inset-inline: auto; left: calc(50% - var(--rv-col) / 2 + 12px); width: calc(var(--rv-col) - 24px); }
  .rv-sound { top: 40px; inset-inline-end: auto; inset-inline-start: calc(50% - var(--rv-col) / 2 + 12px); }
  .rv-close { top: 20px; inset-inline-end: 24px; width: 48px; height: 48px; }
  .rv-foot { inset-inline: auto; left: 50%; width: calc(var(--rv-col) - 32px); transform: translateX(-50%); bottom: 32px; }
  .rv-cap { inset-inline: 18px; bottom: 86px; }
  .rv-nav {
    position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
    inset-inline-end: calc(50% - var(--rv-col) / 2 - 76px);
    display: grid; gap: 12px;
  }
  .rv-nav .rv-btn { position: static; width: 52px; height: 52px; background: rgba(255, 255, 255, .1); transition: background-color .25s; }
  .rv-nav .rv-btn:hover { background: rgba(255, 255, 255, .22); }
  .rv-tour { border-radius: 0; }
}
/* mouse / trackpad: computer wording in the tutorial */
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .rv-touch { display: none; }
  .rv-desk { display: inline; }
}

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal--img { transform: none; clip-path: inset(8% 0 0 0); transition: opacity 1.1s var(--ease-out), clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* safety net for slow connections: if the script hasn't started yet, show the content anyway */
html.js:not(.js-ready) .reveal { animation: revealFallback .6s ease 2.5s forwards; }
@keyframes revealFallback { to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.js .reveal--img.is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal--img { opacity: 1; transform: none; clip-path: none; }
  [data-parallax] { transform: none !important; }
}

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .brand img { height: 50px; }
  .site-header.is-scrolled .brand img { height: 42px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; z-index: 2; }

  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    padding: calc(var(--header-h) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li { border-bottom: 1px solid var(--line-soft); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
  .main-nav.is-open ul li { opacity: 1; transform: none; }
  .main-nav.is-open ul li:nth-child(2) { transition-delay: .04s; }
  .main-nav.is-open ul li:nth-child(3) { transition-delay: .08s; }
  .main-nav.is-open ul li:nth-child(4) { transition-delay: .12s; }
  .main-nav.is-open ul li:nth-child(5) { transition-delay: .16s; }
  .main-nav.is-open ul li:nth-child(6) { transition-delay: .2s; }
  .main-nav ul { counter-reset: navi; }
  .main-nav ul a {
    display: flex; align-items: baseline; gap: 16px;
    padding: 15px 0; font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; color: var(--ink);
  }
  .main-nav ul a::before {
    counter-increment: navi; content: counter(navi, decimal-leading-zero);
    font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--muted); min-width: 22px;
  }
  .main-nav ul a::after { display: none; }
  .nav-cta { display: flex; margin-top: 32px; min-height: 56px; }
  /* WhatsApp / Instagram / Email: three equal outlined tiles (icon above the name), centred, so they read as buttons */
  .nav-mobile-foot {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
    width: 100%; max-width: 440px; margin: auto auto 0; padding-top: 32px;
  }
  .nav-mobile-foot a {
    flex-direction: column; justify-content: center; gap: 7px; min-height: 68px; padding: 10px 6px;
    border-radius: var(--radius-lg); font-size: 13px;
  }
  .nav-mobile-foot a::before { width: 22px; height: 22px; }
  .site-header.nav-is-open { background: var(--bg); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .about-media { max-width: 520px; }

  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc, .svc:first-child, .svc:last-child { padding-inline: clamp(18px, 3vw, 32px); }
  .svc:nth-child(odd) { padding-inline-start: 0; }
  .svc:nth-child(even) { padding-inline-end: 0; }
  .svc + .svc { border-inline-start: 0; }
  .svc:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .svc:nth-child(n+3) { border-top: 1px solid var(--line); }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before, .steps::after { display: none; }

  .quotes { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
}

@media (max-width: 600px) {
  .br-desk { display: none; }

  .about-media::before { inset-block: 18px -12px; inset-inline: 18px -12px; }
  .about-media figcaption { inset-inline-end: 12px; bottom: -28px; min-width: 0; padding: 16px 20px; }

  .svc, .svc:first-child, .svc:last-child { padding-block: 22px 24px; padding-inline: 14px; }
  .svc:nth-child(odd) { padding-inline-start: 0; }
  .svc:nth-child(even) { padding-inline-end: 0; }
  .svc-num { font-size: 2.2rem; }
  .svc-title { margin-top: 16px; font-size: 1.08rem; }
  .svc-desc { margin-top: 8px; font-size: 13.5px; line-height: 1.65; }
  .services .svc-desc .nw { white-space: normal; }

  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 20px; padding-bottom: 36px; }
  .step::before { content: ""; position: absolute; inset-inline-start: 26px; top: 52px; bottom: 0; width: 1px; background: var(--line); }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before { display: none; }
  .step-num { width: 52px; height: 52px; grid-row: span 2; font-size: 14px; }
  .step h3 { margin-top: 12px; }

  .form-row { grid-template-columns: minmax(0, 1fr); }
  .wa-float { width: 50px; height: 50px; inset-inline-end: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 23px; height: 23px; }
  .wa-cta { padding: 16px 18px; gap: 14px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-brand img { width: 84px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .modal-close { top: calc(12px + env(safe-area-inset-top, 0px)); inset-inline-end: 12px; }
}

/* ---------- Mobile refinement (phones only) ---------- */
@media (max-width: 600px) {

  /* keep the floating WhatsApp button clear of the last lines of the page */
  .site-footer { padding-bottom: 96px; }
}

/* ---------- Mobile polish: touch targets & narrow screens (tablet and phones) ---------- */
@media (max-width: 900px) {
  /* footer links: 44px tap height, same visual rhythm */
  .footer-nav { gap: 0; }
  .footer-nav a { display: flex; align-items: center; min-height: 44px; }
  .footer-legal { gap: 0 24px; }
  .footer-legal a, .to-top { display: inline-flex; align-items: center; min-height: 44px; }
  .to-top { gap: .3em; }
  .footer-bottom { gap: 4px; }
  /* privacy link inside the sentence: larger invisible tap area, no layout change */
  .form-privacy .link { position: relative; }
  .form-privacy .link::before { content: ""; position: absolute; inset: -12px -6px; }
  /* keep the floating WhatsApp button clear of the last footer row */
  .site-footer { padding-bottom: 104px; }
}
@media (max-width: 600px) {

  /* small English labels: a touch larger for legibility */
  .work-badge { font-size: 11px; }
}
@media (max-width: 380px) {
}

/* Services on phones: 2×2 table, compact */
@media (max-width: 600px) {
  .svc, .svc:first-child, .svc:last-child { padding-block: 18px 20px; }
  .svc-num { font-size: 2rem; }
  .svc-title { margin-top: 12px; font-size: 1.05rem; }
  .svc-desc { margin-top: 6px; font-size: 14px; line-height: 1.55; }
}

