/* ==========================================================================
   OPEN IMAGE — site styles
   The layout matches the old Squarespace site: every page is a stack of
   sections, and each section is a grid (8 columns on phones, 24 on computers)
   where blocks (text, photos, videos, buttons) sit in rows and columns.
   ========================================================================== */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-400.woff2") format("woff2"); }

/* ---------- colours and type ---------- */
:root {
  --bg: #000;
  --grey: hsl(0, 0%, 54.9%);          /* paragraphs, menu links ("black" in Squarespace) */
  --accent: hsl(0, 0.58%, 66.08%);    /* headings, links, buttons */
  --mauve: hsl(0, 9.37%, 37.65%);     /* Squarespace's "white" */
  --heading: var(--accent);
  --text: var(--grey);
  --link: var(--accent);
  --underline: var(--accent);

  --body-font: "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Roboto", sans-serif;
  --meta-font: "Nunito Sans", sans-serif;

  --site-gutter: 4vw;
  --phone-gutter: 6vw;
  --max-width: 3000px;

  /* Text sizes (Squarespace's "fluid" sizes: they grow a little with the window) */
  --size-h1: min(calc(3 * 1.2vw + 1rem), 123px);
  --size-h2: min(calc(1.8 * 1.2vw + 1rem), 79.8px);
  --size-h3: min(calc(1.2 * 1.2vw + 1rem), 58.2px);
  --size-h4: min(calc(0.6 * 1.2vw + 1rem), 36.6px);
  --size-large: min(calc(1 * 1.2vw + 1rem), 51px);
  --size-normal: min(calc(0.1 * 1.2vw + 1rem), 18.6px);
  --size-small: min(calc(-0.1 * 1.2vw + 1rem), 13.5px);
  --size-title: min(calc(0.5 * 1.2vw + 1rem), 33px);
}
@media screen and (max-width: 767px) and (orientation: portrait) {
  :root {
    --vh12: calc(0.012 * min(100vh, 900px));
    --size-h1: calc(3 * var(--vh12) + 1rem);
    --size-h2: calc(1.8 * var(--vh12) + 1rem);
    --size-h3: calc(1.2 * var(--vh12) + 1rem);
    --size-h4: calc(0.6 * var(--vh12) + 1rem);
    --size-large: calc(1 * var(--vh12) + 1rem);
    --size-normal: calc(0.1 * var(--vh12) + 1rem);
    --size-small: calc(-0.1 * var(--vh12) + 1rem);
    --size-title: calc(0.5 * var(--vh12) + 1rem);
  }
}

/* The contact section at the bottom of every page uses Squarespace's "light" theme */
.theme-light { --heading: var(--grey); }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; font-size: 15px; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: var(--size-normal);
  line-height: 1.5em;
  overflow-wrap: break-word;
}
img, video { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: absolute; left: 50%; top: 8px; transform: translate(-50%, -200%);
  z-index: 1000; padding: 10px 18px; background: #000; color: #fff;
  border: 2px solid var(--accent); font-family: var(--heading-font); text-transform: uppercase;
}
.skip-link:focus { transform: translate(-50%, 0); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  pointer-events: none;
  line-height: 1;
}
.site-header a, .site-header button { pointer-events: auto; }
.header-bar {
  display: flex; align-items: center; width: 100%;
  padding: 0.8vw var(--site-gutter);
}
.header-title {
  flex: 0 0 auto;
  margin-right: 9.4vw;
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: var(--size-title);
  letter-spacing: -0.02em;
  line-height: 1.2em;
  color: var(--accent);
}
.header-nav { flex: 1 1 auto; min-width: 0; display: flex; }
.header-nav ul { display: inline-flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.header-nav a {
  display: flex; align-items: center;
  padding: 0 0.5em; margin: 0 0.25em;
  font-family: var(--body-font); font-weight: 700;
  font-size: var(--size-normal); letter-spacing: 0.01em; line-height: 1.5em;
  color: var(--grey);
  transition: color 0.3s ease, transform 0.3s ease;
}
.header-nav li:not(:last-child) { margin-right: 4.4vw; }
.header-nav a[aria-current="page"] {
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.1em) / 1px 1px repeat-x;
}
.header-contact {
  flex: 0 0 auto; margin-left: 9.4vw;
  font-family: sans-serif; font-weight: 400; font-size: 15px; line-height: normal; letter-spacing: normal;
  color: var(--accent);
  transition: background-color 0.1s linear, color 0.1s linear;
}
.menu-button {
  display: none;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  width: 50px; height: 37px; align-items: center; justify-content: flex-end;
}
.menu-button .bars { position: relative; width: 35px; height: 35px; }
.menu-button .bars::before, .menu-button .bars::after {
  content: ""; position: absolute; left: 0; width: 35px; height: 1px; background: var(--grey);
  transition: transform 0.25s ease, top 0.25s ease;
}
.menu-button .bars::before { top: 11.5px; }
.menu-button .bars::after { top: 22.5px; }
.menu-open .menu-button .bars::before { top: 17px; transform: rotate(45deg); }
.menu-open .menu-button .bars::after { top: 17px; transform: rotate(-45deg); }

/* phone menu */
.phone-menu {
  position: fixed; inset: 0; z-index: 9;
  background: #000;
  display: flex; flex-direction: column;
  visibility: hidden; opacity: 0;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  padding-top: var(--header-height, 57px);
  overflow-y: auto;
}
.menu-open .phone-menu { visibility: visible; opacity: 1; transition: opacity 0.25s ease; }
.phone-menu nav { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; min-height: 80vh; }
.phone-menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.phone-menu li a {
  display: inline-block; text-align: center;
  padding: 0 0.5em;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800; text-transform: uppercase; line-height: 1;
  letter-spacing: -0.03em; font-size: 14vw;
  color: rgba(62, 62, 62, 0.7);
  transition: all 0.1s ease;
}
.phone-menu li a[aria-current="page"] { color: #fff; text-shadow: 0 0 30px rgba(255, 255, 255, 0.15); transform: scale(1.02); }
/* (hover effects are written by js/main.js, so AlexHelper can change them) */
.phone-menu .menu-contact {
  flex: 0 0 auto; align-self: center; display: block; padding: 0 9px; margin: 0 4.5px;
  font-family: sans-serif; font-weight: 400; font-size: 18px; line-height: normal; color: var(--accent);
  transition: background-color 0.1s linear, color 0.1s linear;
}
#page, #footer { position: relative; z-index: 0; }

/* phones and small tablets: title, and a menu button that opens the full-screen menu */
@media screen and (max-width: 799px) {
  .header-bar { padding: 2.6vw var(--phone-gutter); justify-content: flex-end; position: relative; }
  .header-nav, .header-contact { display: none; }
  .header-title { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; font-size: min(calc(0.1 * 1.2vw + 1rem), 18.6px); white-space: nowrap; }
  .menu-button { display: flex; }
}
@media screen and (max-width: 767px) {
  .header-bar { justify-content: flex-start; }
  .header-title { position: static; transform: none; flex: 1 1 auto; margin: 0; padding-left: 1px; font-size: 28px; line-height: 1.2em; text-align: left; }
}
@media screen and (min-width: 800px) { .phone-menu { display: none; } }

/* ==========================================================================
   Sections and the layout grid
   ========================================================================== */
.section {
  position: relative;
  display: flex; align-items: center;
  background: var(--bg);
}
.section--medium { min-height: 66vh; }
.section--medium > .section-inner { padding-top: 6.6vmax; padding-bottom: 6.6vmax; }
.page > .section:first-child { padding-top: var(--header-offset, 51px); }
.section-inner { position: relative; width: 100%; display: flex; justify-content: center; }
.section-inner > .grid { width: 100%; }

.grid {
  --gap: 11px;
  --gutter: calc(var(--phone-gutter) - var(--gap));
  --cell: calc((var(--max-width) - (var(--gap) * 7)) / 8);
  display: grid;
  position: relative;
  grid-template-rows: repeat(var(--rows-phone), minmax(24px, auto));
  grid-template-columns: minmax(var(--gutter), 1fr) repeat(8, minmax(0, var(--cell))) minmax(var(--gutter), 1fr);
  row-gap: var(--gap);
  column-gap: var(--gap);
  overflow-x: hidden;
  overflow-x: clip;
}
@media (min-width: 768px) {
  .grid {
    --gutter: calc(var(--site-gutter) - var(--gap));
    --cell: calc((var(--max-width) - (var(--gap) * 23)) / 24);
    --container: min(var(--max-width), calc(100vw - var(--site-gutter) * 2));
    grid-template-rows: repeat(var(--rows-computer), minmax(calc(var(--container) * 0.0215), auto));
    grid-template-columns: minmax(var(--gutter), 1fr) repeat(24, minmax(0, var(--cell))) minmax(var(--gutter), 1fr);
  }
}

/* Every block fills its grid area; its content sits at the top, middle or bottom */
.block {
  grid-area: var(--area-phone);
  z-index: var(--z-phone);
  position: relative;
  display: flex; flex-direction: column;
  justify-content: var(--v-phone, flex-start);
  min-width: 0;
}
@media (min-width: 768px) {
  .block { grid-area: var(--area-computer); z-index: var(--z-computer); justify-content: var(--v-computer, flex-start); }
}
.block.is-hidden-phone { display: none; }
@media (min-width: 768px) {
  .block.is-hidden-phone { display: flex; }
  .block.is-hidden-computer { display: none; }
}
.block.has-pointer::after { content: ""; position: absolute; inset: 0; z-index: 5; cursor: pointer; }

/* ==========================================================================
   Text blocks
   ========================================================================== */
.text { position: relative; z-index: 0; }
.text > :first-child { margin-top: 0; }
.text > :last-child { margin-bottom: 0; }
.text h1, .text h2, .text h3, .text h4 {
  margin: 2rem 0;
  font-family: var(--heading-font); font-weight: 400; font-style: normal;
  letter-spacing: -0.02em; text-transform: none;
  color: var(--heading);
}
.text h1 { font-size: var(--size-h1); line-height: calc(1.2em * 0.88); }
.text h2 { font-size: var(--size-h2); line-height: calc(1.2em * 0.928); }
.text h3 { font-size: var(--size-h3); line-height: calc(1.2em * 0.952); }
.text h4 { font-size: var(--size-h4); line-height: calc(1.2em * 0.976); }
.text p { margin: 1rem 0; line-height: 1.5em; }
.text p, .text h1, .text h2, .text h3, .text h4 { white-space: pre-wrap; } /* keeps spaces exactly as typed, like Squarespace */
.text > p:empty::after, .text > h1:empty::after, .text > h2:empty::after, .text > h3:empty::after, .text > h4:empty::after { content: "\00a0"; }
.text p.large { font-size: var(--size-large); }
.text p.small { font-size: var(--size-small); }
.text :not(h1):not(h2):not(h3) { overflow-wrap: break-word; }
.text [data-align="center"] { text-align: center; }
.text [data-align="right"] { text-align: right; }
.text strong { font-weight: 700; }
.text a {
  color: var(--link);
  text-decoration: underline 1px currentColor;
  text-underline-offset: 0.2em;
}
.text h1 a, .text h2 a, .text h3 a, .text h4 a { color: var(--link); }
.c-black { color: var(--grey); }
.c-accent { color: var(--accent); }
.c-white { color: var(--mauve); }

/* underline "highlights" */
.text .hl {
  --hl-w: 0.1em;
  background: linear-gradient(var(--hl-c, var(--underline)), var(--hl-c, var(--underline))) no-repeat left bottom / 100% var(--hl-w);
  padding-bottom: calc(var(--hl-w) * 0.5);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.text .hl a { text-decoration: none; }

/* lines that stretch to fill the block's width (Squarespace "scaled text") */
.text .fit-line { height: auto; }
.text .fit-line > .fit {
  display: inline-block; position: relative; white-space: nowrap;
  margin: 0; padding: 0; transform-origin: 0 0; word-break: break-all;
}
.text .fit-line > .fit > * { margin: 0; padding: 0; line-height: 1; font-size: inherit !important; white-space: nowrap; }
.text .fit-line > .fit a { display: inline-block; }
.text .fit-line > .fit > :empty::before { content: "\200b"; }
.text .fit-line:not(.is-fitted) > .fit { visibility: hidden; }

/* ==========================================================================
   Photos
   ========================================================================== */
.photo { position: relative; width: 100%; height: 100%; display: flex; align-items: var(--v-phone, center); overflow: hidden; }
@media (min-width: 768px) { .photo { align-items: var(--v-computer, center); } }
.photo > a, .photo > .photo-box { position: relative; display: block; width: 100%; height: 100%; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.photo.is-contain img { object-fit: contain; object-position: var(--x, 50%) var(--y-phone, 50%); }
.photo.is-contain.at-left img { --x: 0%; }
.photo.is-contain.at-right img { --x: 100%; }
@media (min-width: 768px) { .photo.is-contain img { object-position: var(--x, 50%) var(--y-computer, 50%); } }
.photo img.lazy { opacity: 0; transition: opacity 0.3s ease; }
.photo img.is-loaded { opacity: 1; }

/* ==========================================================================
   Silent looping videos
   ========================================================================== */
.loop { position: relative; width: 100%; }
.loop video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }

/* ==========================================================================
   Click-to-play videos (YouTube, Vimeo) and Instagram posts
   ========================================================================== */
.player { position: relative; width: 100%; }
.player-frame { position: relative; width: 100%; padding-bottom: var(--ratio, 56.25%); height: 0; overflow: hidden; background: #000; }
.player-frame > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-cover { cursor: auto; padding: 0; background: #000; }
.player-cover img { width: 100%; height: 100%; object-fit: cover; }
.player-cover .play {
  position: absolute; left: 50%; top: 50%; width: 11%; min-width: 34px; max-width: 72px; aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.player-cover .play::before {
  content: ""; position: absolute; inset: 0; background: #fff;
  clip-path: polygon(28% 18%, 28% 82%, 82% 50%);
}
.player-cover .play { filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.35)); cursor: pointer; }
.player-cover:focus-visible .play { transform: translate(-50%, -50%) scale(1.08); }
.instagram { position: relative; width: 100%; }
.instagram iframe {
  display: block; box-sizing: content-box; width: calc(100% - 2px); max-width: 540px; min-width: 326px;
  margin: 0 0 12px; padding: 0; border: 1px solid #dbdbdb; border-radius: 3px; background: #fff; box-shadow: none;
}

/* ==========================================================================
   Buttons (underlined, like the old site)
   ========================================================================== */
.button-wrap { display: flex; justify-content: center; height: 100%; }
.button {
  display: flex; flex: 1; align-items: center; justify-content: center;
  height: 100%;
  font-family: var(--heading-font); font-weight: 700; font-size: 15px; line-height: normal;
  letter-spacing: 0; text-transform: uppercase;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding: 0 1.3rem;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.1s linear, color 0.1s linear;
}
/* (hover effects are written by js/main.js, so AlexHelper can change them) */

/* ==========================================================================
   Named looks carried over from the old site's custom CSS
   ========================================================================== */
/* big grey titles on the homepage tiles that light up on hover */
.look-tile-title, .look-tile-title-faint { --dim: rgba(62, 62, 62, 0.75); }
.look-tile-title-faint { --dim: rgba(62, 62, 62, 0.4); }
.look-tile-title .text, .look-tile-title .text *,
.look-tile-title-faint .text, .look-tile-title-faint .text * { color: var(--dim) !important; transition: color 0.35s ease; }
.look-tile-title .text a, .look-tile-title-faint .text a { text-decoration: none !important; color: inherit !important; }

/* homepage headline and tagline */
.look-hero-headline em, .look-hero-tagline em { font-style: normal !important; }
@media screen and (max-width: 767px) {
  .look-hero-headline .text * { font-size: 80px !important; line-height: 1.2em !important; text-align: left !important; }
  .look-hero-headline .text em { display: block !important; margin-top: 0 !important; }
  .look-hero-tagline .text * { font-size: 20px !important; line-height: 1.4em !important; text-align: left !important; }
  .look-hero-tagline .text em { display: block !important; margin-top: 0 !important; }
}

/* "On Virtual Reality" essay */
.look-essay-title .text *, .look-essay-byline .text *, .look-essay .text *, .look-white-helvetica .text * {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; color: #fff;
}
.look-essay-title .text, .look-essay-byline .text, .look-essay .text { box-sizing: content-box; margin: 0 auto; }
.look-essay-title .text { max-width: 900px; margin-bottom: 6px; }
.look-essay-title .text * { font-weight: 800; font-size: clamp(34px, 5vw, 48px); line-height: 1.15; letter-spacing: 0.08em; }
.look-essay-byline .text { max-width: 900px; margin-bottom: 36px; }
.look-essay-byline .text * { font-weight: 500; font-size: clamp(12px, 1.6vw, 14px); line-height: 1.3; letter-spacing: 0.06em; color: #ccc; }
.look-essay .text { max-width: 720px; padding: 0 20px; font-weight: 600; font-size: 1.15rem; line-height: 1.6; }
.look-essay .text p { font-weight: 400; font-size: clamp(16px, 1.7vw, 18px); line-height: 1.65; margin: 0 0 1.15em 0; letter-spacing: 0; }
.look-essay .text p:nth-of-type(2) { text-align: center; font-style: italic; font-weight: 500; font-size: clamp(18px, 2vw, 20px); line-height: 1.5; max-width: 620px; margin: 1.25em auto; }
@media (max-width: 767px) {
  .look-essay-title .text, .look-essay-byline .text { padding: 0 16px; }
  .look-essay .text { max-width: 92vw; padding: 0 16px; }
}

/* ==========================================================================
   Homepage reel (autoplaying preview; click plays the full reel)
   ========================================================================== */
.reel {
  position: relative; width: 100vw; margin-left: calc(-50vw + 50%);
  aspect-ratio: 21 / 9; background: #000; overflow: hidden;
  transition: aspect-ratio 0.5s ease;
}
.reel.is-playing { aspect-ratio: 16 / 9; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 10; cursor: pointer; }
.reel button.reel-cover { position: absolute; inset: 0; z-index: 11; background: none; border: 0; padding: 0; cursor: pointer; }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; border: 0; transform: scale(1.01); }
@media screen and (max-width: 767px) { .reel, .reel.is-playing { aspect-ratio: 0.5625; } }

/* ==========================================================================
   Work page video tiles
   ========================================================================== */
.tiles { display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tiles::-webkit-scrollbar { display: none; }
.tile { position: relative; flex: 0 0 90%; scroll-snap-align: center; }
.tile-frame { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000; border-radius: 2px; }
.tile-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 10; }
.tile-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; border: 0; }
.tile-play {
  position: absolute; inset: 0; z-index: 26; width: 100%; height: 100%;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: center;
  color: rgba(62, 62, 62, 0.7);
}
.tile-title, .tile-sub { display: block; transition: color 0.35s ease; text-transform: uppercase; }
.tile-play:focus-visible .tile-title, .tile-play:focus-visible .tile-sub { color: #f8f8f8 !important; }
.tile.is-playing .tile-play, .tile.is-playing video { display: none; }

/* "pair": the two music videos, title above centre and artist near the bottom */
.tiles--pair .tile-title, .tiles--pair .tile-sub { position: absolute; left: 50%; width: 95%; }
.tiles--pair .tile-title {
  top: 40%; transform: translate(-50%, -50%);
  color: rgba(62, 62, 62, 0.7); font-family: "Roboto", sans-serif; font-weight: 800; line-height: 1; letter-spacing: 2px; font-size: 4.5vw;
}
.tiles--pair .tile-sub {
  bottom: 18%; transform: translateX(-50%);
  color: rgba(62, 62, 62, 0.4); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 600; line-height: normal;
}
.tiles--pair .look-skydancer .tile-sub { font-size: 1.3vw; letter-spacing: 2px; }
.tiles--pair .look-homesick .tile-sub { font-size: 1.5vw; letter-spacing: 4px; }
@media (max-width: 767px) {
  .tiles--pair .tile-title { font-size: 8vw; }
  .tiles--pair .look-skydancer .tile-sub { font-size: 2.5vw; bottom: 15%; }
  .tiles--pair .look-homesick .tile-sub { font-size: 3vw; }
}
@media (min-width: 768px) { .tiles--pair .tile { flex: 0 0 calc(50% - 10px); } }

/* "wide-pair": full-width row of two social campaign tiles */
.tiles--wide-pair { width: 100vw; margin-left: calc(-50vw + 50%); }
.tiles--wide-pair::before, .tiles--wide-pair::after { content: ""; flex: 0 0 2vw; }
.tiles--wide-pair .tile { flex: 0 0 82vw; }
.tiles--wide-pair .tile-play { display: flex; align-items: center; justify-content: center; }
.tiles--wide-pair .tile-title {
  color: rgba(62, 62, 62, 0.7); font-family: "Roboto", sans-serif; font-size: 6vw; line-height: 1.1;
  letter-spacing: 1px; font-weight: 800; padding: 0 10px; max-width: 95%; white-space: pre-line;
}
@media (max-width: 767px) { .tiles--wide-pair .tile.has-phone-focus video { object-position: var(--phone-focus); } }
@media (min-width: 768px) {
  .tiles--wide-pair { padding: 0 20px; }
  .tiles--wide-pair .tile { flex: 0 0 calc(50% - 10px); scroll-snap-align: start; }
  .tiles--wide-pair::before, .tiles--wide-pair::after { display: none; }
  .tiles--wide-pair .tile-title { font-size: 4.5vw; line-height: 1; }
}

/* "single": one tile filling the block */
.tiles--single { display: block; overflow: visible; }
.tiles--single .tile { flex: none; }
.tiles--single .tile-frame { padding-bottom: 0; height: auto; aspect-ratio: 16 / 9; border-radius: 0; }
.tiles--single .tile-title {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 95%;
  color: rgba(62, 62, 62, 0.6); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 3.5vw; line-height: 1; font-weight: 800; letter-spacing: 2px; user-select: none;
}
@media only screen and (max-width: 767px) {
  .tiles--single .tile-title { width: 85%; font-size: 11vw; letter-spacing: 0; overflow-wrap: normal; word-break: normal; }
}

/* ==========================================================================
   About page: the services list
   ========================================================================== */
.services {
  box-sizing: content-box;
  width: 90%; max-width: 1600px; margin: 40px auto 0; padding: 0 0 100px 0; min-height: 140vh;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.services-heading { margin: 0; font: inherit; }
.services-title {
  display: block; width: 100%; background: none; border: 0; cursor: pointer;
  text-align: center; font-family: inherit; font-size: 9vw; font-weight: 800; line-height: 0.9;
  text-transform: uppercase; letter-spacing: -0.03em;
  padding: 0 0 0 40px; margin: 0 0 80px;
  transition: all 0.4s ease; color: rgba(62, 62, 62, 0.7);
}
.services-title:hover { color: rgba(255, 255, 255, 0.8); transform: scale(1.02); }
.services-title.is-active { color: #f8f8f8; text-shadow: 0 0 30px rgba(255, 255, 255, 0.15); transform: scale(1.02); }
.services-split { display: flex; align-items: flex-start; justify-content: space-between; gap: 4%; position: relative; }
.services-list {
  flex: 1; position: sticky; top: 150px;
  display: flex; flex-direction: column;
  gap: var(--dynamic-gap, 15px); transition: gap 0.1s linear;
  margin: 0; padding: 0; list-style: none;
}
.services-item {
  display: block; width: 100%; background: none; border: 0; cursor: pointer; margin: 0;
  font-family: inherit; font-size: 6vw; line-height: 0.9; font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.03em; text-align: left; padding: 0;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  color: rgba(62, 62, 62, 0.7); transform-origin: left center;
}
.services-item.is-active { color: var(--c); transform: scale(1.05); padding-left: 30px; text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.services-list.has-active .services-item:not(.is-active) { opacity: 0.6; filter: blur(1px); }
.services-text-wrap { flex: 1; position: sticky; top: 150px; padding-top: 10px; }
.services-text {
  margin: 1rem 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.8rem; line-height: 1.6; letter-spacing: 0.02em; color: #fff; font-weight: 400;
  text-align: left; opacity: 0; animation: fadeIn 0.6s ease forwards;
}
.services-text .blue { color: #4ea8de; }
.services-text a { color: inherit; text-decoration: underline; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media screen and (max-width: 900px) {
  .services { min-height: auto; padding-bottom: 80px; padding-top: 0; margin-top: 0; }
  .services-split { flex-direction: column; gap: 40px; }
  .services-heading { margin: 0; font: inherit; }
.services-title { font-size: 13vw; margin-bottom: 30px; margin-top: 0; line-height: 0.9; padding-left: 0; }
  .services-text-wrap { order: -1; position: relative; top: auto; width: 85%; margin: 0 auto 20px auto; text-align: left; hyphens: auto; }
  .services-list { position: relative; top: auto; }
  .services-item { font-size: 13vw; text-align: center; transform-origin: center center; }
  .services-item:hover { padding-left: 0; }
  .services-item.is-active { padding-left: 0; transform: scale(1.1); }
  .services-text { font-size: 1.1rem; line-height: 1.5; letter-spacing: -0.01em; }
}
@media (prefers-reduced-motion: reduce) {
  .services-text { animation: none; opacity: 1; }
}

/* ==========================================================================
   Contact form
   ========================================================================== */
.form { width: 100%; font-family: var(--body-font); font-weight: 700; font-size: var(--size-normal); letter-spacing: 0.01em; color: var(--grey); }
.form fieldset { border: 0; margin: 0 0 20px; padding: 0; }
.form legend { padding: 0; margin: 0; line-height: 1.5em; height: 29.09px; display: block; }
.form .row { display: flex; gap: 10px; }
.form .row > .field { flex: 1; min-width: 0; }
.form .field { margin: 0 0 20px; }
.form fieldset .field { margin: 0; }
.form .caption { display: block; margin-top: 4px; padding-bottom: 2px; line-height: 1.5em; font-size: var(--size-small); letter-spacing: 0.01em; }
.form .title { display: block; padding-bottom: 4px; line-height: 1.5em; }
.form .req { font-size: var(--size-small); font-weight: 700; margin-left: 0.5em; line-height: 1; }
.form fieldset .caption .req { margin-left: 0.5em; }
.form input[type="text"], .form input[type="email"], .form textarea {
  display: block; width: 100%;
  font: inherit; letter-spacing: inherit; color: var(--grey); line-height: 1.5em;
  padding: 8px 15px; margin: 0;
  background: rgba(105, 87, 87, 0);
  border: 1px solid var(--grey);
  border-radius: calc(8px + 1.5em * 0.66);
  -webkit-appearance: none; appearance: none;
  transition: background-color 0.15s cubic-bezier(0.33, 1, 0.68, 1);
}
.form textarea { height: 100px; resize: vertical; min-height: 100px; }
/* (hover effects are written by js/main.js, so AlexHelper can change them) */
.form input:focus, .form textarea:focus { outline: 2px solid var(--grey); outline-offset: 2px; }
.form .option-row { margin-top: 6px; }
.form .option { display: inline-flex; vertical-align: top; align-items: center; gap: 11px; padding-right: 4px; font-family: var(--meta-font); font-weight: 400; font-size: var(--size-small); text-transform: uppercase; letter-spacing: 0; line-height: 1.2em; cursor: pointer; width: max-content; max-width: 100%; }
.form .option input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--grey); border-radius: 25%; background: rgba(105, 87, 87, 0); flex: 0 0 auto; cursor: pointer; position: relative; transition: background-color 0.15s cubic-bezier(0.33, 1, 0.68, 1); }
.form .option input:checked::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--grey); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.form .trap { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form .submit-row { display: flex; justify-content: flex-start; }
.form button[type="submit"] {
  font-family: var(--heading-font); font-weight: 700; font-size: 15px; line-height: normal; letter-spacing: 0;
  text-transform: uppercase; color: var(--accent);
  background: none; border: 0; border-bottom: 2px solid var(--accent); border-radius: 0;
  padding: 15px 19.5px; cursor: pointer;
  transition: background-color 0.1s linear, color 0.1s linear;
}
.form button[disabled] { opacity: 0.5; cursor: default; }
.form-note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--accent); }
.form-note.is-error { color: #e08a8a; }
.form-done { padding: 30px 0; text-align: left; font-family: var(--body-font); color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* "Page not found" (404.html) */
.not-found .section-inner { padding-left: var(--site-gutter); padding-right: var(--site-gutter); }
.not-found .text { text-align: center; }
.form-note:not(:empty) { margin-top: 12px; }
main:focus { outline: none; }
