/* ==========================================================================
   Anima Creators — site styles
   Rebuilt from animacreators.com. Grid system mirrors the original
   24-column (desktop) / 8-column (mobile) fluid layout engine.
   ========================================================================== */

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0}
img{display:block;max-width:100%}
a{color:inherit}
button,input,textarea{font:inherit;color:inherit}
h1,h2,h3,h4,h5,h6,p{margin:0}

/* ---------- tokens ---------- */
:root{
  --black:#000;
  --white:#fff;
  --tan:#aea191;
  --field-bg:#fafafa;
  --site-gutter:6vw;
  --site-max-width:1800px;
  --header-h:82px;
  --body-font:"Source Sans 3","Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  --display-font:"Baskervville","Baskerville","Times New Roman",Times,serif;

  /* Motion. The vocabulary here is film grammar, not UI: things dissolve or
     push in, they never slide. One long settle curve is used everywhere so
     the whole page moves with the same hand. */
  --ease-film:cubic-bezier(.22,1,.36,1);
  --dissolve:900ms;
  --wipe:280ms;
}
@media (min-width:768px){
  :root{--site-gutter:4vw;--header-h:93px}
}

body{
  font-family:var(--body-font);
  font-weight:300;
  font-size:16px;
  /* Source Sans 3 runs ~6.5% wider than the licensed face used on the
     Squarespace original; this tracking restores the original line breaks. */
  letter-spacing:-.028em;
  line-height:1.5;
  color:var(--black);
  background:var(--white);
  overflow-x:hidden;
}

/* ---------- typography ---------- */
h1,h2,h3,h4{font-family:var(--display-font);font-weight:400;letter-spacing:-.02em}
.btn,input,textarea,label,legend,.form-legend{letter-spacing:normal}
/* per-block tracking trim where the substitute body face wraps a line long */
@media (max-width:767px){.b.tkm p{letter-spacing:-.0335em}}
@media (min-width:768px){.b.tk p{letter-spacing:-.0335em}}

h2{font-size:calc(27.8368px + 1.52vw);line-height:1.1136}
h4{font-size:calc(19.9456px + .50688vw);line-height:1.171}
p{font-size:16px;line-height:1.5}
p.lg{font-size:calc(18.6304px + .33792vw);line-height:1.5}
p.sm{font-size:15px;line-height:1.5}
p.sm a{padding:12px 2px}
@media (min-width:768px){
  h2{font-size:calc(16px + 2.16vw)}
  h4{font-size:calc(16px + .72vw)}
  p.lg{font-size:calc(16px + .48vw)}
  p.sm{font-size:14.272px}
}
strong{font-weight:700}
em{font-style:italic}

.txt a{text-decoration:none}
.txt a:hover{text-decoration:underline}
.txt p + p{margin-top:16px}

.center{text-align:center}
.white{color:var(--white)}
.tan{color:var(--tan)}

/* ---------- header ---------- */
.hdr{
  position:fixed;top:0;left:0;right:0;z-index:20;
  padding:26px var(--site-gutter);
  background:transparent;
  transition:transform .3s ease,background-color .3s ease;
}
.hdr.is-stuck{background:var(--black)}
.hdr.is-hidden{transform:translateY(-100%)}
.hdr-inner{
  max-width:var(--site-max-width);margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;position:relative;
}
.hdr-logo{display:inline-flex;align-items:center;padding:7px 13px;margin:-7px -13px}
.hdr-logo img{height:30px;width:auto}
.hdr-nav{display:none}
.hdr-nav a{
  color:var(--white);text-decoration:none;font-size:16px;font-weight:300;
  padding:.65em .9em;white-space:nowrap;opacity:1;position:relative;
}


.burger{
  -webkit-appearance:none;appearance:none;background:none;border:0;
  padding:15px 5px;margin:-15px -5px -15px 0;
  cursor:pointer;display:flex;flex-direction:column;justify-content:center;gap:6px;width:44px;
}
.burger span{display:block;height:1px;width:22px;background:var(--white);transition:transform .25s ease,opacity .25s ease}
body.menu-open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.menu-open .burger span:nth-child(2){opacity:0}
body.menu-open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (min-width:768px){
  .hdr{padding:1.5vw var(--site-gutter)}
  .hdr-logo img{height:50px}
  .hdr-nav{display:flex;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
  .burger{display:none}
}

/* mobile menu overlay */
.menu{
  position:fixed;inset:0;z-index:19;background:var(--black);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.6em;
  opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;
}
body.menu-open .menu{opacity:1;visibility:visible}
body.menu-open{overflow:hidden}
.menu a{color:var(--white);text-decoration:none;font-size:22px;font-weight:300;letter-spacing:.02em}
@media (min-width:768px){.menu{display:none}}

/* ---------- section + layout engine ---------- */
.s{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center}
.s[data-h="small"]{min-height:33vh}
.s[data-h="medium"]{min-height:66vh}

.s-bg{position:absolute;inset:0;overflow:hidden;z-index:0;background:var(--sbg,transparent)}
.s-bg img{width:100%;height:100%;object-fit:cover}
.s-bg::after{content:"";position:absolute;inset:0;background:var(--ovc,#000);opacity:var(--ov,0);pointer-events:none}

.s.divider{padding-bottom:12vw}
.s.divider > .s-bg{clip-path:url(#anima-divider)}

.s.hero{padding-top:var(--header-h)}

.fe{
  position:relative;z-index:1;width:100%;
  padding:var(--pad,0) 0;
  display:grid;
  gap:var(--gap,11px);
  --grid-gutter:calc(var(--site-gutter) - var(--gap,11px));
  --cell-max:calc((var(--site-max-width) - (var(--gap,11px) * 7)) / 8);
  grid-template-columns:
    minmax(var(--grid-gutter),1fr)
    repeat(8,minmax(0,var(--cell-max)))
    minmax(var(--grid-gutter),1fr);
  grid-template-rows:repeat(var(--rows-m,1),minmax(24px,auto));
}
@media (min-width:768px){
  .fe{
    --cell-max:calc((var(--site-max-width) - (var(--gap,11px) * 23)) / 24);
    --container-width:min(var(--site-max-width),calc(100vw - var(--site-gutter) * 2));
    grid-template-columns:
      minmax(var(--grid-gutter),1fr)
      repeat(24,minmax(0,var(--cell-max)))
      minmax(var(--grid-gutter),1fr);
    grid-template-rows:repeat(var(--rows-d,1),minmax(calc(var(--container-width) * .0215),auto));
  }
}

.b{grid-area:var(--m);z-index:var(--z,1);min-width:0;display:flex;flex-direction:column;justify-content:center}
@media (min-width:768px){.b{grid-area:var(--d)}}

.b.img{display:block;position:relative;overflow:hidden}
.b.img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.shape{width:100%;height:100%;background:var(--fill)}
.rule{width:100%;height:1px;background:var(--tan)}

/* ---------- gallery reel ---------- */
.reel{position:relative;height:50vh;overflow:hidden;background:var(--black)}
.reel-track{display:flex;height:100%;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none}
.reel-track::-webkit-scrollbar{display:none}
.reel-track img{height:100%;width:auto;max-width:none;flex:0 0 auto;object-fit:cover;user-select:none;-webkit-user-drag:none}
.reel-btn{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:44px;height:44px;border:0;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.85);color:#000;
  display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;
  opacity:0;
  transition:background-color .2s ease,opacity var(--wipe) var(--ease-film);
}
.reel:hover .reel-btn,.reel-btn:focus-visible{opacity:1}
/* no hover on touch: the arrows must always be reachable there */
@media (hover:none){.reel-btn{opacity:1}}
.reel-btn:hover{background:#fff}
.reel-btn.prev{left:16px}
.reel-btn.next{right:16px}

/* ---------- contact form ---------- */
/* the form block sits on a solid black card, as on the original */
.b.fbg{background:var(--black)}
form[data-contact]{padding:30px}
@media (min-width:768px){form[data-contact]{padding:39px}}
.field-list{margin:0}
.form-item{margin:0 0 20px}
.form-legend{display:block;color:var(--white);font-size:12px;line-height:24px;padding:0 0 4px;margin:0}
fieldset.form-item{border:0;padding:0;margin:0 0 20px;min-width:0}
.form-row{display:flex;gap:9px}
.form-row > *{flex:1 1 0;min-width:0}
.form-row label{display:block;color:var(--white);font-size:12px;line-height:27px;padding:0}
.form-item > label{display:block;color:var(--white);font-size:12px;line-height:24px;padding:0 0 4px}
.req{margin-left:.4em;opacity:.85}
form[data-contact] input,
form[data-contact] textarea{
  display:block;width:100%;background:var(--field-bg);color:var(--black);
  border:1px solid var(--black);border-radius:0;padding:10px;
  font-family:var(--body-font);font-weight:300;font-size:16px;line-height:24px;
}
form[data-contact] input{height:46px}
form[data-contact] textarea{height:100px;resize:vertical}
form[data-contact] input:focus,
form[data-contact] textarea:focus{outline:2px solid var(--tan);outline-offset:1px}
.form-button-wrapper{text-align:center}
.btn{
  display:inline-block;background:transparent;color:var(--white);
  border:2px solid var(--white);border-radius:0;cursor:pointer;
  font-family:var(--display-font);font-size:16px;line-height:21.4px;
  padding:20.8px 34.736px;position:relative;z-index:0;overflow:hidden;
  transition:color var(--wipe) var(--ease-film);
}
.btn::before{
  content:"";position:absolute;inset:0;background:var(--white);
  transform:scaleY(0);transform-origin:bottom;
  transition:transform var(--wipe) var(--ease-film);z-index:-1;
}
.btn:hover::before,.btn:focus-visible::before{transform:scaleY(1)}
.btn:hover,.btn:focus-visible{color:var(--black)}
.form-note{margin:14px 0 0;color:var(--white);font-size:14px}
.form-note:empty{display:none}
.form-note.error{color:#ffb4b4}
.form-fallback{margin:10px 0 0;color:var(--white);font-size:13px;opacity:.75;text-align:center}
.form-fallback a{color:inherit;text-decoration:underline;padding:12px 2px}

/* ---------- misc ---------- */
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{left:8px;top:8px;z-index:50;background:#fff;color:#000;padding:8px 12px}
svg.clip-defs{position:absolute;width:0;height:0;pointer-events:none}

/* image fit */
.b.img.contain img{object-fit:contain}

/* ==========================================================================
   Motion
   --------------------------------------------------------------------------
   The site is about film, so the motion vocabulary is film grammar. Two verbs
   only: things DISSOLVE (opacity, no travel) or they PUSH IN (slow scale, the
   camera never quite stops). Nothing slides, because a slide is a web
   transition and reads as a template.

   Two hard rules:
   - the hero photograph is the LCP element, so it is NEVER faded. Only the
     black overlay above it lifts. The image paints on time; the page just
     appears to come up out of black.
   - every initial hidden state is scoped to html.js, so a visitor with no
     JavaScript sees a complete page instead of an empty one.
   ========================================================================== */

/* ---- the title sequence: runs once, on the hero only ---- */
@keyframes lift-from-black{from{opacity:.74}}
@keyframes push-in{from{transform:scale(1)}to{transform:scale(1.06)}}
@keyframes resolve{from{opacity:0;transform:scale(1.035)}}

.s.hero .s-bg::after{animation:lift-from-black 1600ms var(--ease-film) backwards}
.s.hero .s-bg img{animation:push-in 26s linear forwards;transform-origin:52% 45%}
.s.hero .b.img img{animation:resolve 1100ms var(--ease-film) 380ms backwards}

/* ---- scroll dissolve, everything below the hero ---- */
/* Text dissolves with no movement at all. An image block gets a small push, so
   the two behave like the two things they are. */
html.js .s:not(.hero) .b.txt,
html.js .s:not(.hero) .b.img{opacity:0}
html.js .s:not(.hero) .b.img img{transform:scale(1.045)}

html.js .s:not(.hero) .b.txt.is-in,
html.js .s:not(.hero) .b.img.is-in{
  opacity:1;
  transition:opacity var(--dissolve) var(--ease-film) var(--delay,0ms);
}
html.js .s:not(.hero) .b.img.is-in img{
  transform:scale(1);
  transition:transform 1400ms var(--ease-film) var(--delay,0ms);
}

/* ---- nav: a tan rule wipes in from the left ---- */
.hdr-nav a::after,.menu a::after{
  content:"";position:absolute;left:.9em;right:.9em;bottom:.35em;height:1px;
  background:var(--tan);transform:scaleX(0);transform-origin:left;
  transition:transform var(--wipe) var(--ease-film);
}
.menu a{position:relative}
.menu a::after{left:0;right:0;bottom:-.25em}
.hdr-nav a:hover::after,.hdr-nav a:focus-visible::after,
.menu a:hover::after,.menu a:focus-visible::after{transform:scaleX(1)}

/* ---- header: a hairline once it is against content ---- */
.hdr{border-bottom:1px solid transparent;transition:transform .3s ease,background-color .3s ease,border-color .3s ease}
.hdr.is-stuck{border-bottom-color:rgba(174,161,145,.28)}

/* ---- the reel reads as a strip running past a gate ---- */
.reel::before,.reel::after{
  content:"";position:absolute;top:0;bottom:0;width:88px;z-index:2;pointer-events:none;
}
.reel::before{left:0;background:linear-gradient(90deg,rgba(0,0,0,.6),rgba(0,0,0,0))}
.reel::after{right:0;background:linear-gradient(270deg,rgba(0,0,0,.6),rgba(0,0,0,0))}

@media (hover:hover){
  .reel-track img{transition:transform 700ms var(--ease-film),opacity 500ms var(--ease-film)}
  .reel-track:hover img{opacity:.72}
  .reel-track img:hover{opacity:1;transform:scale(1.045)}
}

/* ---- keyboard users must always see where they are ---- */
a:focus-visible,button:focus-visible{outline:2px solid var(--tan);outline-offset:3px}

/* ---- honour the system setting: no motion, nothing hidden ---- */
@media (prefers-reduced-motion:reduce){
  .s.hero .s-bg::after,.s.hero .s-bg img,.s.hero .b.img img{animation:none}
  html.js .s:not(.hero) .b.txt,
  html.js .s:not(.hero) .b.img{opacity:1}
  html.js .s:not(.hero) .b.img img{transform:none}
  .reel-btn{opacity:1}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
}
