@charset "utf-8";

/* =====================================================================
   BSK MEDIA — studio.css
   ---------------------------------------------------------------------
   The shared layer every page loads first: fonts, tokens, base, the bar
   and menu, buttons, the enquiry section and the footer. The home page
   adds home.css on top; every other page adds bsk.css.

     0  fonts
     1  tokens
     2  base
     3  bar + menu
     4  buttons + links
     5  enquiry section + form
     6  footer
     7  reduced motion

   The look: an infinity-cove photo studio with the lights off, lit by one
   sodium lamp. Anybody, run wide and light, for display; Outfit for text.
   ===================================================================== */


/* --------------------------------------------------------------- 0 fonts */

/* Anybody carries a width axis; display type runs it wide and light.
   Re-fetch: fonts.googleapis.com/css2?family=Anybody:wdth,wght@50..150,100..900 */
@font-face {
  font-family: 'Anybody';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
  src: url('../fonts/anybody-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  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;
}


/* -------------------------------------------------------------- 1 tokens */

:root {
  color-scheme: dark;

  /* the room */
  --night: #08090b;        /* the corners of the cove */
  --cyc: #17191d;          /* the lit centre of the cove */
  --surface: #1b1e23;      /* floating UI cards */
  --hair: rgba(237, 235, 230, 0.12);
  --hair-2: rgba(237, 235, 230, 0.22);

  /* ink */
  --ink: #edebe6;
  --ink-2: #a4a7ad;        /* 7.9:1 on --night */
  --ink-3: #80848b;        /* 5.1:1 on --night */

  /* the one lamp */
  --sodium: #f5a94a;
  --lamp: radial-gradient(70% 60% at 50% 0%, rgba(245, 169, 74, 0.1), transparent 70%);

  --err: #ff8a70;

  --display: 'Anybody', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* type: a perfect fourth, clamped so 360px and 1600px keep proportion */
  --f-sm: 0.875rem;
  --f-body: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --f-lede: clamp(1.12rem, 1.02rem + 0.45vw, 1.35rem);
  --f-h3: clamp(1.4rem, 1.15rem + 1vw, 2rem);
  --f-h2: clamp(2rem, 1.35rem + 2.8vw, 3.75rem);
  --f-hero: clamp(2rem, 1.3rem + 2.9vw, 4rem);
  --f-say: clamp(2.2rem, 1.2rem + 4vw, 5rem);

  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(96px, 12vw, 180px);
  --max: 1320px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-in: 900ms;
}


/* ---------------------------------------------------------------- 2 base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 var(--f-body)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--sodium); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--night); }

.shell { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: fixed; left: var(--gutter); top: -60px; z-index: 100;
  padding: 0.7em 1.1em; border-radius: 999px;
  background: var(--ink); color: var(--night); text-decoration: none;
}
.skip:focus { top: 16px; }

/* display type: wide and light */
.menu__list a, .contact__t {
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 300;
  letter-spacing: -0.02em;
}


/* --------------------------------------------------------- 3 bar + menu */

.bar {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; gap: 18px;
  padding: 14px var(--gutter);
  transition: background-color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.bar.is-solid {
  background: rgba(8, 9, 11, 0.97);
  border-bottom-color: var(--hair);
}

.mark {
  display: inline-flex; align-items: baseline; gap: 0.45em;
  font-family: var(--display); font-stretch: 150%;
  font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
}
.mark b { font-weight: 700; }
.mark span { font-weight: 300; }

.bar__rule { width: 1px; height: 18px; background: var(--hair-2); }

.bar__menu {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--hair-2);
  transition: border-color 0.3s;
}
.bar__menu:hover { border-color: var(--ink); }
.bar__burger { display: grid; gap: 5px; width: 16px; }
.bar__burger i {
  display: block; height: 1.5px; background: var(--ink);
  transition: transform 0.4s var(--ease);
}
.bar__menu[aria-expanded="true"] .bar__burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
.bar__menu[aria-expanded="true"] .bar__burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.bar__talk {
  margin-left: auto;
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 1.25em; border-radius: 999px;
  border: 1px solid var(--hair-2);
  font-size: var(--f-sm); text-decoration: none;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.bar__talk:hover { background: var(--ink); color: var(--night); border-color: var(--ink); }

/* The menu covers the page. It scrolls itself rather than letting the list
   run off the top of a short screen, and the links sit low, where a thumb
   reaches them. While it is open the bar melts into it (see .menu-open). */
.menu {
  position: fixed; inset: 0; z-index: 55;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 96px var(--gutter) max(28px, env(safe-area-inset-bottom));
  background:
    radial-gradient(60% 50% at 85% 100%, rgba(245, 169, 74, 0.08), transparent 70%),
    #0c0d10;
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__inner {
  display: flex; flex-direction: column;
  width: min(100%, var(--max)); min-height: 100%; margin-inline: auto;
}
.menu__list { margin-top: auto; }
.menu__list a {
  display: inline-block; padding-block: 0.04em;
  font-size: clamp(2.2rem, 1.2rem + 4.6vw, 5rem); line-height: 1.12;
  text-decoration: none; color: var(--ink-2);
  transform: translateY(24px); opacity: 0;
  transition: color 0.3s, transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: 40ms; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: 80ms; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: 120ms; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: 160ms; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: 200ms; }
.menu__list a:hover, .menu__list a[aria-current="page"] { color: var(--ink); }
.menu__list a[aria-current="page"] {
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 0.18em; text-decoration-color: var(--sodium);
}
.menu__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--hair);
  color: var(--ink-2); font-size: var(--f-sm);
}
.menu__foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }

/* while the menu is open the bar is part of it, not a strip over it */
.menu-open .bar { background: transparent; border-bottom-color: transparent; }

@media (max-width: 760px) {
  .menu { padding-top: 88px; }
  /* whole-row targets, comfortably over 44px tall */
  .menu__list li + li { border-top: 1px solid var(--hair); }
  .menu__list a {
    display: flex; align-items: center; min-height: 58px;
    font-size: clamp(1.9rem, 8.4vw, 2.6rem); line-height: 1.1;
  }
  .menu__foot { margin-top: 28px; }
}

/* a phone on its side: two columns, so nothing needs scrolling */
@media (max-height: 520px) and (orientation: landscape) {
  .menu { padding-top: 80px; }
  .menu__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .menu__list li + li { border-top: 0; }
  .menu__list a { min-height: 44px; font-size: clamp(1.4rem, 4.4vh + 0.6rem, 2rem); }
  .menu__foot { margin-top: 20px; padding-top: 12px; }
}


/* ----------------------------------------------------- 4 buttons + links */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.6em;
  border-radius: 999px;
  background: var(--ink); color: var(--night);
  font: 500 0.95rem/1 var(--body);
  text-decoration: none;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: #fff; }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.ulink {
  display: inline-block;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hair-2);
  text-underline-offset: 0.3em;
  transition: text-decoration-color 0.3s;
}
.ulink:hover { text-decoration-color: var(--ink); }


/* ----------------------------------------------- 5 enquiry section + form */

.contact {
  padding-block: var(--sec);
  border-top: 1px solid var(--hair);
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(245, 169, 74, 0.06), transparent 70%),
    var(--night);
}
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px clamp(40px, 7vw, 120px);
}
.contact__t { font-size: var(--f-h2); line-height: 1.05; max-width: 10em; text-wrap: balance; }
.contact__ask > p { margin-top: 20px; color: var(--ink-2); max-width: 26em; }
.contact__ask .contact__mail { margin-top: 28px; }
.contact__mail a {
  font-size: var(--f-lede); color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--hair-2);
  text-underline-offset: 0.3em;
}
.contact__mail a:hover { text-decoration-color: var(--ink); }
.facts {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 20px;
  margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--hair);
  font-size: var(--f-sm);
}
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; color: var(--ink-2); }

.form { display: grid; gap: 28px; }
.hp { position: absolute; left: -9999px; }

.picks { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.picks legend { float: left; width: 100%; margin-bottom: 12px; font-size: var(--f-sm); color: var(--ink-2); }
.picks label { position: relative; cursor: pointer; }
.picks input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.picks span {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 1.2em; border-radius: 999px;
  border: 1px solid var(--hair-2);
  font-size: 0.95rem; color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.picks label:hover span { border-color: var(--ink-2); color: var(--ink); }
.picks input:checked + span { background: var(--ink); color: var(--night); border-color: var(--ink); }
.picks input:focus-visible + span { outline: 2px solid var(--sodium); outline-offset: 3px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: var(--f-sm); color: var(--ink-2); }
.opt { color: var(--ink-3); }
.field input, .field textarea {
  width: 100%;
  padding: 10px 0 12px;
  background: transparent; color: var(--ink);
  font: inherit;
  border: 0; border-bottom: 1px solid var(--hair-2); border-radius: 0;
  transition: border-color 0.3s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--sodium); }
.field textarea::placeholder { color: var(--ink-3); }
.field.is-bad input, .field.is-bad textarea { border-bottom-color: var(--err); }
.field__err { font-size: var(--f-sm); color: var(--err); }
.field__err:empty { display: none; }

.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.btn--light { min-width: 180px; }
.form__status { font-size: var(--f-sm); color: var(--ink-2); }
.form__status.is-bad { color: var(--err); }
.form__status.is-good { color: #9bd8ae; }
.form__status a { color: inherit; }


/* ------------------------------------------------------------- 6 footer */

.foot {
  padding: 72px 0 40px;
  border-top: 1px solid var(--hair);
  font-size: var(--f-sm);
}
.foot__cols {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.foot__brand p { margin-top: 14px; color: var(--ink-3); max-width: 22em; }
.foot h2 {
  font: 400 var(--f-sm)/1 var(--body); letter-spacing: 0;
  color: var(--ink-3); margin-bottom: 16px;
}
.foot li + li { margin-top: 10px; }
.foot li { color: var(--ink-2); }
.foot li a { text-decoration: none; color: var(--ink-2); transition: color 0.3s; }
.foot li a:hover { color: var(--ink); }
.foot__legal { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--hair); color: var(--ink-3); }

@media (max-width: 1024px) {
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .bar { gap: 12px; }
  .bar__rule { display: none; }
  .mark { font-size: 0.92rem; }
  .bar__talk { padding: 0 1em; }
}


/* ----------------------------------------------------- 7 reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu, .menu__list a { transition: none; }
  .menu__list a { transform: none; opacity: 1; }
}
