:root{
  /* Palette from the Canva moodboard, on light beige, white and black */
  --paper:#F3EEE6;
  --white:#FFFFFF;
  --sand:#D2B89F;
  --olive:#6C6C5D;
  --terra:#B26946;
  --grey:#8D8C8C;
  --ink:#111111;
  --ink-soft:#5E5A55;
  --line:#DCD5C9;
  /* the Send a project page sits on olive */
  --on-olive:#F3EEE6;
  --field:rgba(17,17,17,.16);
  --field-line:rgba(243,238,230,.34);
  --gutter:clamp(1.25rem,4vw,3.5rem);
  --font:"Archivo","Helvetica Neue",Arial,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  /* the logo's colours and type */
  --cream:#EFE6D3;
  --ochre:#D4A23F;
  --logo:"Antonio","Archivo",sans-serif;
  /* grain from an empty frame of Mariano's Vibe 400 roll: its light grains and its dark grains, as two tiles */
  --grain-light:url("/assets/img/grano-claro.webp");
  --grain-dark:url("/assets/img/grano-oscuro.webp");
  --grain-size:512px;
  /* the same grains at a third of the strength: the page, the type and the photos; the full grain is only for the logo */
  --grain-light-soft:url("/assets/img/grano-claro-suave.webp");
  --grain-dark-soft:url("/assets/img/grano-oscuro-suave.webp");
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
*,*::before,*::after{box-sizing:inherit}
html{scroll-padding-top:calc(env(safe-area-inset-top,0px) + 4.5rem);scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background-color:var(--paper);background-image:var(--grain-dark-soft);background-size:var(--grain-size);color:var(--ink);font-family:var(--font);font-variation-settings:"wdth" 100;font-size:1.0625rem;line-height:1.55;-webkit-font-smoothing:antialiased}
/* text set justified, as in print */
body{text-align:justify;-webkit-hyphens:auto;hyphens:auto}
h1,h2,h3,.who,.mark,nav,strong,a,dt,label,legend,.mono,button,.index{-webkit-hyphens:manual;hyphens:manual}
/* titles, names and labels are not body text: they stay set from the left */
h1,h2,h3,strong,.who,.what,dt,dd,label,legend,.mono,.checks,.option,.filelist,.gear-link{text-align:left}
/* the release tiles are set ragged, without hyphens */
.cover,.cover *{text-align:left;-webkit-hyphens:manual;hyphens:manual}

img{max-width:100%;height:auto;display:block}
a{color:inherit}
:focus-visible{outline:2px solid var(--olive);outline-offset:3px}
.wrap{padding-inline:var(--gutter)}
/* technical data, like the labels on the gear */
.mono{font-family:var(--mono);font-size:.78rem;font-weight:400;letter-spacing:.03em;text-transform:uppercase}

/* Studio photos get the warm, grainy print of 1970s Brazilian LP covers.
   Release covers are shown as they are: they are the artwork. */
.photo{position:relative;overflow:hidden;isolation:isolate;margin:0;background:#2b2520}
.photo img{filter:sepia(.3) saturate(1.3) contrast(1.06) brightness(.97) hue-rotate(-6deg)}
.photo::before,.photo::after{content:"";position:absolute;inset:0;pointer-events:none}
.photo::before{z-index:1;background:var(--terra);mix-blend-mode:soft-light;opacity:.35}
.photo::after{z-index:2;mix-blend-mode:overlay;opacity:.5;
  background-image:var(--grain-light-soft),var(--grain-dark-soft);background-size:var(--grain-size)}

/* Rounded corners on photos and release tiles */
.photo,.cover,.yt img,.yt iframe{--deco:clamp(12px,1.6vw,22px);border-radius:var(--deco)}
/* the same rounded rectangle, smaller, for the form's fields, choices and button */
:root{--box-r:8px}
.photo,.cover{overflow:hidden}
.founder .photo{--deco:8px}

/* Sections fade in as they scroll into view; photos develop like a print */
.js [data-reveal]{opacity:0;transform:translateY(14px);transition:opacity 3s cubic-bezier(.22,.61,.36,1),transform 3.6s cubic-bezier(.16,1,.3,1)}
.js [data-reveal].in{opacity:1;transform:none}
.photo img{transition:filter 5s cubic-bezier(.22,.61,.36,1)}
.js .photo[data-reveal]:not(.in) img{filter:sepia(.2) saturate(.35) contrast(.7) brightness(1.55) blur(3px)}
@media (prefers-reduced-motion:reduce){
  .js [data-reveal]{opacity:1;transform:none;transition:none}
  .photo img{transition:none}
  .js .photo[data-reveal]:not(.in) img{filter:sepia(.3) saturate(1.3) contrast(1.06) brightness(.97) hue-rotate(-6deg)}
}

/* header */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:10;display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:1.1rem var(--gutter);background:color-mix(in srgb,var(--paper) 92%,transparent);backdrop-filter:blur(8px);background-image:var(--grain-dark-soft);background-size:var(--grain-size)}
.top .mark{display:block;color:var(--olive);line-height:0;text-decoration:none}
.top .mark svg{display:block;height:1.05rem;width:auto;fill:currentColor}
.top nav{display:flex;gap:clamp(.9rem,2.5vw,2rem);font-family:var(--mono);font-size:.78rem;letter-spacing:.03em;text-transform:uppercase}
.top nav a{text-decoration:none}
.top nav a:hover{text-decoration:underline;text-underline-offset:.25em}
.top nav .send{color:var(--olive)}
.top nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:.25em}
.menu-btn{display:none}
/* phones: the links open as a full-screen list, like the index on the home page */
.menu{display:none}
@media (max-width:640px){
  .top nav{display:none}
  .menu-btn{display:block;all:unset;font-family:var(--mono);font-size:.78rem;letter-spacing:.03em;text-transform:uppercase;cursor:pointer}
  .menu-btn:hover,.menu-btn:focus{background:none}
  .menu-btn:focus-visible{outline:2px solid var(--olive);outline-offset:3px}
  .menu:not([hidden]){display:flex;flex-direction:column;justify-content:center;position:fixed;inset:0;z-index:9;padding:5rem var(--gutter) 3rem;background-color:var(--paper);background-image:inherit}
  .menu a{padding:.7rem 0;border-top:1px solid var(--ink);text-decoration:none;font-family:var(--logo);font-weight:400;text-transform:uppercase;font-size:clamp(2.4rem,12vw,3.4rem);line-height:.95}
  .menu a:last-child{border-bottom:1px solid var(--ink)}
  .menu a[aria-current="page"]{color:var(--olive)}
  body.menu-open{overflow:hidden}
}

/* hero: only the logo, option B of round 10: the panoramic room in the olive field, 7 % margin */
.hero{padding-top:0}
/* the viewport minus the sticky header; svh keeps it steady while phone toolbars move */
.hero-stage{min-height:calc(100vh - 3.5rem);min-height:calc(100svh - 3.5rem - env(safe-area-inset-top,0px));position:relative;display:grid;place-items:center;padding:7vw;background-color:var(--olive);background-image:var(--grain-light),var(--grain-dark);background-size:var(--grain-size)}
/* a second pass of dark grain over the room and the name, so they print like the field */
.hero-stage::after{content:"";position:absolute;inset:0;pointer-events:none;background-image:var(--grain-dark);background-size:var(--grain-size);background-position:37px 91px}
/* the picture element only picks the file; the image itself is the grid item, so it keeps the full width */
.hero-stage picture{display:contents}
.hero-stage source{display:none}
.hero-room{display:block;width:100%;height:auto;max-height:calc(100svh - 14vw);object-fit:contain}
/* phones (dense screens): a finer grain, half the tile size, so it does not swell. The hero stays a full olive
   screen, as on desktop, with a horizontal room drawn for phones (thick frames, 3:2: see index.html) */
@media (max-width:640px) and (min-resolution:2dppx){:root{--grain-size:256px}}
/* home, with JavaScript: the header is fixed and hidden until the first scroll, so the room and the name have the whole screen */
.js .home .top{position:fixed;left:0;right:0;transform:translateY(-100%);opacity:0;transition:transform .8s cubic-bezier(.16,1,.3,1),opacity .8s ease}
.js .home .top.shown,.js .home .top:focus-within{transform:none;opacity:1}
.js .hero-stage{min-height:100vh;min-height:calc(100svh - env(safe-area-inset-top,0px))}
@media (prefers-reduced-motion:reduce){.js .home .top{transition:none}}
.foot-mark svg{filter:url(#print)}
.hero-photo{margin:clamp(1.25rem,3vw,2.5rem) 0 0}
.hero-photo .photo{aspect-ratio:16/7}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 62%}

/* home: the pages, listed large */
.index{display:block;padding-block:clamp(4rem,9vw,8rem) clamp(2rem,5vw,4rem)}
.index a{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:clamp(.9rem,2vw,1.4rem) 0;border-top:1px solid var(--ink);text-decoration:none;font-family:var(--logo);font-weight:400;text-transform:uppercase;font-size:clamp(2.6rem,8vw,7rem);line-height:.9;transition:color .25s ease,padding .25s ease}
.index a:last-child{border-bottom:1px solid var(--ink)}
.index a .arr{font-family:var(--mono);font-weight:400;font-variation-settings:normal;font-size:clamp(1.3rem,3vw,2.6rem);line-height:1}
.index a:hover{color:var(--olive);padding-left:.4rem}
@media (prefers-reduced-motion:reduce){.index a{transition:none}}
/* Printed grain inside the letters, from the same film */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .index a .t,.index a .arr{color:transparent;-webkit-background-clip:text;background-clip:text;background-image:var(--grain-light-soft),linear-gradient(var(--ink),var(--ink));background-size:var(--grain-size) var(--grain-size),auto}
  .index a:hover .t,.index a:hover .arr{background-image:var(--grain-light-soft),linear-gradient(var(--olive),var(--olive))}
}
.index a .t,.index a .arr{filter:url(#print-sm)}
/* Antonio's capitals reach past the tight line height: pad the box so the clipped grain and the filter cover them */
.index a .t{padding-block:.14em;margin-block:-.14em}
@media (max-width:640px){.index a .t,.index a .arr{background-size:var(--grain-size) var(--grain-size),auto}}

section{padding-block:clamp(4rem,9vw,8rem)}
/* inner pages start closer to the header */
.page > section:first-child{padding-top:clamp(2.5rem,6vw,5rem)}
/* section titles: in Antonio, the logo's type */
h2,.title{margin:0 0 2rem;font-family:var(--logo);font-weight:400;text-transform:uppercase;font-size:clamp(2.6rem,6.2vw,5rem);line-height:.88;letter-spacing:-.005em}
.sub{margin:0 0 1.25rem;font-family:var(--logo);font-weight:400;text-transform:uppercase;font-size:clamp(1.8rem,3.6vw,2.8rem);line-height:.9;letter-spacing:0}

/* studio */
.studio{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(2rem,5vw,5rem);align-items:center}
.studio .copy p{margin:0 0 1.2em;max-width:60ch}
.studio .copy .lede{font-size:clamp(1.25rem,2vw,1.6rem);line-height:1.35;font-weight:300;font-variation-settings:"wdth" 94}
.gear-link{margin:2rem 0 0;padding-top:1.25rem;border-top:1px solid var(--line)}
.gear-link a{color:var(--olive);text-decoration:none}
.gear-link a:hover{text-decoration:underline;text-underline-offset:.25em}
.founder{display:grid;grid-template-columns:5.5rem 1fr;gap:1rem;align-items:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line);font-size:.95rem;color:var(--ink-soft)}
.founder .photo{width:5.5rem;height:7rem}
.founder img{width:100%;height:100%;object-fit:cover;object-position:50% 25%}
.founder p{margin:0}
.studio .photo img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:4% 30%}

/* knob caps encode each service, in the moodboard palette */
.cap{display:inline-block;width:.8em;height:.8em;border-radius:50%;flex:none;box-shadow:inset 0 -2px 0 rgba(0,0,0,.18)}
.cap.rec{background:var(--olive)} .cap.mix{background:var(--terra)} .cap.arr{background:var(--sand)} .cap.comp{background:var(--white);box-shadow:inset 0 0 0 1px rgba(0,0,0,.35)} .cap.mas{background:var(--grey)} .cap.prod{background:var(--ink)} .cap.edit{background:transparent;box-shadow:inset 0 0 0 2px var(--olive)} .cap.post{background:transparent;box-shadow:inset 0 0 0 2px var(--terra)}

/* services: eight names set across the page, like the credits on a sleeve */
.svc-grid{list-style:none;margin:clamp(1rem,3vw,2.5rem) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(2.5rem,5vw,4.5rem) clamp(1.25rem,2.5vw,2.5rem)}
.svc-grid li{padding-top:1rem;border-top:1px solid var(--ink)}
.svc-grid h2{margin:0 0 .9rem;font-size:clamp(1.7rem,2.6vw,2.5rem);line-height:.92}
.svc-grid p{margin:0;color:var(--ink-soft);font-size:.98rem;line-height:1.5}
.svc-photo{margin:clamp(3.5rem,7vw,6rem) 0 0}
.svc-photo .photo{aspect-ratio:16/7}
.svc-photo img{width:100%;height:100%;object-fit:cover;object-position:60% 50%}
.svc-cta{margin:clamp(2rem,4vw,3rem) 0 0;text-align:right}
.svc-cta a{color:var(--olive);text-decoration:none}
.svc-cta a:hover{text-decoration:underline;text-underline-offset:.25em}
@media (max-width:1000px){.svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.svc-grid{grid-template-columns:1fr;gap:2.25rem}}
/* work: each release on the colour of its own cover */
.covers{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,14rem),1fr));gap:clamp(.75rem,1.6vw,1.25rem)}
.cover{background:var(--bg);color:var(--fg);padding:clamp(.75rem,1.4vw,1.1rem);display:flex;flex-direction:column}
.cover img{width:100%;aspect-ratio:1/1;object-fit:cover;box-shadow:0 12px 28px rgba(0,0,0,.28)}
.cover .who{margin:1rem 0 .2rem;font-weight:650;font-size:1.05rem;line-height:1.2;font-variation-settings:"wdth" 104}
.cover .what{margin:0;font-size:.85rem;line-height:1.35;opacity:.78}
.cover dl{margin:1rem 0 0;display:grid;gap:.55rem}
.cover dt{font-weight:600;font-size:.8rem}
.cover dd{margin:.05rem 0 0;font-size:.8rem;opacity:.75}
.cover dd .cap{margin-right:.4rem;vertical-align:-.05em}
.work-title{text-align:right}
.more{margin:1.5rem 0 0;color:var(--ink-soft);text-align:right}

.media{margin-top:clamp(3rem,6vw,5rem)}
.videos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-bottom:clamp(2.5rem,5vw,4rem)}
.yt{display:flex;flex-direction:column;gap:.6rem;color:var(--ink)}
.yt-play{all:unset;display:block;cursor:pointer}
.yt-play:hover,.yt-play:focus{background:none}
.yt img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;filter:saturate(.85)}
.yt-play:hover img{filter:none}
.yt-play:focus-visible{outline:2px solid var(--olive);outline-offset:4px;border-radius:var(--deco,0)}
/* captions set like the release tiles */
.yt .cap-l{margin:0;display:flex;flex-direction:column;gap:.15rem}
.yt .who{font-weight:650;font-size:1rem;line-height:1.25;font-variation-settings:"wdth" 104}
.yt .what{font-size:.85rem;color:var(--ink-soft)}
.yt .meta{margin-top:.25rem;font-size:.8rem;color:var(--ink-soft)}
.yt .meta .cap{margin-right:.4rem;vertical-align:-.05em}
.yt.feature{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:1.25rem clamp(1.5rem,3vw,2.5rem);align-items:center}
.yt.feature .cap-l{align-items:flex-end;text-align:right}
.yt.feature .who{font-size:clamp(1.3rem,2.3vw,1.8rem);font-variation-settings:"wdth" 108;letter-spacing:-.015em;line-height:1.1}
.yt.feature .what{font-size:1rem;margin-top:.15rem}
.yt.feature .meta{display:grid;gap:.65rem;margin-top:1.25rem;font-size:.9rem;color:var(--ink)}
.yt.feature .meta b{display:block;font-family:var(--mono);font-size:.72rem;font-weight:400;letter-spacing:.03em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:.1rem}
.yt iframe{width:100%;aspect-ratio:16/9;border:0}
.listen{text-align:center}
.spotify{width:100%;border:0;border-radius:12px;display:block}
@media (max-width:820px){.videos,.yt.feature{grid-template-columns:1fr}.yt.feature .cap-l{align-items:flex-start;text-align:left}}

/* send a project: on olive */
.send-sec{background:var(--olive);color:var(--on-olive)}
.send-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(2rem,5vw,5rem)}
.send-intro p{max-width:40ch}
.send-intro .photo{margin-top:2rem;aspect-ratio:3/4}
.send-intro img{width:100%;height:100%;object-fit:cover;object-position:30% 50%}
form{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem 1.25rem}
.f{display:flex;flex-direction:column;gap:.45rem}
.f.full{grid-column:1/-1}
label,legend{font-size:.92rem;color:var(--on-olive)}
.hint{font-size:.82rem;color:var(--on-olive);opacity:.85}
input,select,textarea{font:inherit;color:var(--on-olive);background:var(--field);border:1px solid var(--field-line);border-radius:var(--box-r);padding:.75rem .85rem;width:100%}
input::placeholder,textarea::placeholder{color:var(--on-olive);opacity:.6}
input[type=date]{color-scheme:dark}
textarea{min-height:8rem;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid var(--on-olive);outline-offset:1px;border-color:transparent}
fieldset{border:0;margin:0;padding:0;grid-column:1/-1}
.checks{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.55rem}
.checks label{display:inline-flex;align-items:center;gap:.55rem;padding:.6rem 1rem;border:1px solid var(--field-line);border-radius:var(--box-r);cursor:pointer;color:var(--on-olive)}
.checks input{position:absolute;opacity:0;width:1px;height:1px}
.checks label:has(input:checked){background:var(--paper);color:var(--ink);border-color:var(--paper)}
.checks label:has(input:focus-visible){outline:2px solid var(--on-olive);outline-offset:2px}
/* caps need a light rim to read on olive */
.send-sec .cap{box-shadow:0 0 0 1px rgba(243,238,230,.6)}
.send-sec .cap.comp{box-shadow:inset 0 0 0 1px rgba(0,0,0,.35),0 0 0 1px rgba(243,238,230,.6)}
.send-sec .cap.edit{box-shadow:inset 0 0 0 2px var(--olive),0 0 0 1px rgba(243,238,230,.6)}
.send-sec .cap.post{box-shadow:inset 0 0 0 2px var(--terra),0 0 0 1px rgba(243,238,230,.6)}
.checks + .hint{margin:.75rem 0 0}
/* options for the chosen services */
.options{grid-column:1/-1;display:grid;gap:1.5rem}
.options[hidden]{display:none}
.option-group legend{display:flex;align-items:center;gap:.55rem;margin-bottom:.6rem}
.option-list{display:grid;gap:.45rem}
.option{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.4rem .85rem;padding:.7rem .85rem;border:1px solid var(--field-line);border-radius:var(--box-r);cursor:pointer;color:var(--on-olive);font-size:.95rem}
.option input{width:1rem;height:1rem;margin:0;accent-color:var(--ink)}
.option:has(input:checked){border-color:var(--paper);background:var(--field)}
.option:has(input:focus-visible){outline:2px solid var(--on-olive);outline-offset:2px}
#notes{min-height:12rem}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.drop{grid-column:1/-1;border:1px dashed var(--field-line);border-radius:var(--box-r);padding:1.75rem;text-align:center;cursor:pointer}
.drop strong{font-weight:600}
.drop.over{border-color:var(--paper);background:var(--field)}
.filelist{list-style:none;margin:.75rem 0 0;padding:0;font-size:.88rem;text-align:left}
.filelist li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.3rem 1rem;align-items:baseline;padding:.3rem 0}
.filelist .fl-name{overflow-wrap:anywhere}
.filelist .fl-state{white-space:nowrap;opacity:.85}
.filelist .fl-bar{grid-column:1/-1;height:2px;background:var(--field-line)}
.filelist .fl-bar i{display:block;height:100%;width:0;background:var(--paper);transition:width .2s linear}
.file-act{font:inherit;font-weight:400;background:none;color:var(--on-olive);border:0;border-radius:0;padding:0;text-decoration:underline;text-underline-offset:.2em;cursor:pointer}
.file-act:hover{background:none}
.file-act:focus-visible{outline:2px solid var(--on-olive);outline-offset:2px}
.ts{grid-column:1/-1}
.submit{grid-column:1/-1;display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}
button{font:inherit;font-weight:650;background:var(--paper);color:var(--ink);border:0;border-radius:var(--box-r);padding:.95rem 1.9rem;cursor:pointer}
button:hover{background:var(--white)}
button:disabled{opacity:.55;cursor:progress}
.status{font-size:.92rem;margin:0}
.privacy{grid-column:1/-1;font-size:.82rem;margin:0;opacity:.85}

/* footer: on ink, as in round 10: the details on top, the name and the small room at the foot */
footer{padding-block:clamp(3rem,6vw,5rem) clamp(2rem,4vw,3rem);background-color:var(--ink);background-image:var(--grain-light-soft);background-size:var(--grain-size);color:var(--cream)}
.foot{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info info" "mark room";align-items:end;gap:clamp(3rem,7vw,6rem) 2rem;font-size:.95rem}
.foot p{margin:0 0 .35rem}
.foot .small{color:#A39E95}
.foot-info{grid-area:info;text-align:left}
.foot-info > p:first-child{font-family:var(--mono);font-size:.82rem;letter-spacing:.03em;text-transform:uppercase}
.foot-room{grid-area:room;width:clamp(5.5rem,12vw,11rem);height:auto}
.foot-legal{margin-top:1.5rem}
.foot-mark{grid-area:mark;color:#3A3933;line-height:0}
.foot-mark svg{display:block;height:clamp(2.4rem,8vw,7.5rem);width:auto;fill:currentColor}

@media (max-width:820px){
  .studio,.send-grid{grid-template-columns:1fr}
  .send-intro .photo{display:none}
  form{grid-template-columns:1fr}
  .hero-photo .photo{aspect-ratio:4/3}
}
@media (max-width:520px){
  .covers{grid-template-columns:1fr 1fr}
  .cover .who{font-size:.95rem}
  .cover .what,.cover dt,.cover dd{font-size:.75rem}
}
