/* GIDEON GREY
   Single source of truth for page presentation.
   Tokens and shared base rules precede components.
   Responsive and interaction rules are grouped at the end.
*/

:root {
  --bg: #111214;
  --surface: #191b1e;
  --text-primary: #f1ece3;
  --text-secondary: #b8b6b1;
  --text-caption: #96958f;
  --accent: #d5a88e;
  --line: #ffffff26;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --size-body: 16px;
  --size-action: 14px;
  --size-small: 12px;
  --size-label: 11px;
  --header-height: 84px;
  --page-gutter: 5.2%;
  --divider-size: 1px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none!important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-family: var(--sans);
  font-size: var(--size-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  padding-top: var(--header-height);
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

a,button,summary {
  touch-action: manipulation;
}

button,summary {
  cursor: pointer;
}

::selection {
  background: #84483d;
  color: var(--text-primary);
}

a:focus,button:focus,summary:focus {
  outline: none;
}

html[data-input="keyboard"] :is(a,button,summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow {
  transition: transform .2s;
}

/* Header */
.header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-gutter);
  border-bottom: 0;
  background: var(--bg);
  transition: transform .18s ease;
  will-change: transform;
}

.brand {
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.2;
  color: var(--text-primary);
}

nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

nav a {
  transition: color .2s;
}

/* Hero */
.hero {
  height: min(940px,calc(100svh - var(--header-height)));
  min-height: 640px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 0%;
  mask-image: linear-gradient(90deg,transparent,black 18%);
  z-index: -3;
  filter: brightness(1.08) contrast(.98) saturate(.94);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#111214 0%,#111214f0 15%,#11121470 34%,#11121428 58%,#11121400 76%),linear-gradient(0deg,#111214,transparent 28%);
  z-index: -2;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,#11121433,transparent 25%);
  z-index: -1;
}

.hero-content {
  position: absolute;
  left: 8.2%;
  top: 27%;
  max-width: 700px;
}

/* Introductory label above the artist name. */
.hero-tagline {
  font-family: var(--sans);
  font-weight: 400;
  font-style: normal;
  font-size: var(--size-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--text-secondary);
}

h1 {
  margin: 32px 0 30px;
  font-family: var(--sans);
  font-size: clamp(86px,10.3vw,158px);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.075em;
  color: var(--text-primary);
}

h1 span {
  display: block;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  margin-top: 28px;
  border-bottom: 1px solid #f1ece380;
  padding: 14px 0;
}

.hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 5.2%;
  right: 5.2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-bottom a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.hero-bottom .icon {
  width: 15px;
  height: 15px;
}

.vertical-note {
  position: absolute;
  right: 3%;
  top: 45%;
  writing-mode: vertical-rl;
}

/* Album and project sections */
.album, .about {
  max-width: 1600px;
  margin: auto;
  padding-inline: 8.2%;
}

.album {
  padding-top: 85px;
  padding-bottom: 40px;
  border-top: 0;
}

.album-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 42px;
}

.album-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 9%;
  align-items: center;
}

.cover-wrap {
  position: relative;
}

.cover {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 24px 64px #0005;
  outline: 1px solid #ffffff0c;
  outline-offset: -1px;
  filter: brightness(.95) contrast(.98) saturate(.95);
}

.cover-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 19px;
}

.release {
  display: flex;
  align-items: center;
  gap: 10px;
}

.release::before {
  content: "";
  flex: 0 0 28px;
  height: 1px;
  background: currentColor;
}

h2 {
  margin: 24px 0 25px;
  font-family: var(--serif);
  font-size: clamp(48px,5.8vw,84px);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -.045em;
  line-height: 1.06;
  color: var(--text-primary);
}

.album-text p {
  max-width: 390px;
  margin: 0;
}

.album-text p+p {
  margin-top: 14px;
}

.release-panel {
  max-width: 390px;
  margin-top: 32px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.release-date {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.calendar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  min-height: 58px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: background .2s,border-color .2s;
  width: 100%;
}

.availability {
  display: block;
  margin-top: 15px;
  max-width: 310px;
}

/* Colour interlude */
.interlude {
  height: 170px;
  position: relative;
  pointer-events: none;
  background: radial-gradient(ellipse 34% 38% at 34% 50%,rgba(198,91,49,.17),transparent 100%),radial-gradient(ellipse 34% 38% at 66% 50%,rgba(51,110,156,.17),transparent 100%);
}

.about {
  display: grid;
  grid-template-columns: 1fr .88fr;
  gap: 13%;
  align-items: center;
  padding-top: 25px;
  padding-bottom: 100px;
}

.about-copy h2 {
  margin: 28px 0;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: clamp(38px,4.4vw,64px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.08;
}

.about-copy p {
  max-width: 400px;
  margin: 0 0 17px;
}

/* Closing line for the project description. */
.about-copy .about-foot {
  margin: 28px 0 0;
  color: var(--text-secondary);
  font-size: var(--size-label);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-photo {
  position: relative;
  align-self: stretch;
  min-height: 450px;
  overflow: hidden;
  background: #1a1c1e;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 50% 38%;
  filter: brightness(.92) contrast(.98) saturate(.94);
  opacity: 1;
}

.about-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #ffffff12;
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  bottom: 20px;
  left: 22px;
  right: 22px;
  text-shadow: 0 1px 12px #000;
  color: var(--text-primary);
}

/* Footer */
.footer {
  margin: 0;
  padding: 30px var(--page-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0;
  gap: 24px;
  position: relative;
}

.footer a:last-child {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.footer .icon {
  width: 16px;
  height: 16px;
}

.album-text .album-story {
  margin-top: 22px;
}

.footer-contact {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.responsive-picture {
  display: contents;
}

a, a:visited {
  color: inherit;
}

.album-text p,.about-copy p {
  font-family: var(--sans);
  font-size: var(--size-body);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  color: var(--text-secondary);
}

.hero-cta,.calendar,.footer-contact,.footer a:last-child {
  font-family: var(--sans);
  font-size: var(--size-action);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text-primary);
}

.section-label,.album-topline .edition,.cover-caption,.release,.portrait-caption,.vertical-note,.hero-bottom,.date-year {
  font-family: var(--sans);
  font-size: var(--size-label);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-caption);
}

.hero-bottom,.vertical-note {
  color: var(--text-secondary);
}

.date-main {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.035em;
  color: var(--text-primary);
}

.availability,.footer small {
  font-family: var(--sans);
  font-size: var(--size-small);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--text-caption);
}

.header.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.cover-link {
  display: block;
  cursor: pointer;
}

@media(hover:hover) and (pointer:fine) {
  html:not([data-input="touch"]) :is(.calendar):hover {
    border-color: var(--accent);
    background: #ffffff07;
  }

  html:not([data-input="touch"]) a:hover .arrow {
    transform: translate(2px,-2px);
  }

  html:not([data-input="touch"]) nav a:hover,
  html:not([data-input="touch"]) .footer-contact:hover {
    color: var(--text-primary);
  }
}

@media(min-width:1600px) {
  .hero-content {
    left: 12%;
  }
}

@media(max-width:1000px) and (min-width:801px) {
  .album,.about {
    padding-inline: 6%;
  }

  .album-grid {
    gap: 7%;
  }

  .about {
    gap: 8%;
  }

  .about-photo {
    min-height: 400px;
  }
}

@media(max-width:800px) {
  .header {
    padding: 0 var(--page-gutter);
    padding-inline: var(--page-gutter);
  }

  nav {
    gap: 20px;
  }

  .hero {
    height: calc(100svh - var(--header-height));
    min-height: 620px;
    max-height: 1000px;
  }

  .hero-photo {
    width: 100%;
    height: 77%;
    object-position: 58% 0%;
    mask-image: linear-gradient(0deg,transparent,black 27%);
  }

  .hero:before {
    background: linear-gradient(0deg,#111214 0%,#111214ed 17%,#11121408 76%),linear-gradient(90deg,#11121438,transparent);
  }

  .hero-content {
    left: 7%;
    top: auto;
    bottom: 106px;
  }

  h1 {
    margin: 25px 0 22px;
    font-size: clamp(78px,17vw,132px);
  }

  .hero-cta {
    margin-top: 10px;
  }

  .hero-bottom {
    left: 7%;
    right: 7%;
    bottom: 23px;
    gap: 18px;
  }

  .hero-bottom a {
    gap: 6px;
    white-space: nowrap;
  }

  .vertical-note {
    display: none;
  }

  .album,.about {
    padding-inline: 7%;
  }

  .album {
    padding-top: 44px;
    padding-bottom: 15px;
  }

  .album-topline {
    margin-bottom: 28px;
  }

  .album-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cover-caption {
    margin-top: 15px;
  }

  .album-text h2 {
    margin: 22px 0;
    font-size: clamp(52px,14vw,72px);
  }

  .album-text p,.about-copy p {
    max-width: 100%;
  }

  .release-panel {
    max-width: 100%;
    margin-top: 26px;
  }

  .release-date {
    margin-bottom: 20px;
  }

  .availability {
    max-width: 100%;
  }

  .interlude {
    height: 110px;
    background: radial-gradient(ellipse 45% 35% at 27% 50%,rgba(198,91,49,.17),transparent 100%),radial-gradient(ellipse 45% 35% at 73% 50%,rgba(51,110,156,.17),transparent 100%);
  }

  .about {
    grid-template-columns: 1fr;
    padding-top: 10px;
    padding-bottom: 50px;
    gap: 0;
  }

  .about-copy h2 {
    margin: 23px 0;
    font-size: clamp(32px,9.4vw,55px);
  }

  .about-photo {
    min-height: 0;
    width: 100%;
    aspect-ratio: 5/4;
    max-height: 460px;
    display: none;
  }

  .about-photo img {
    aspect-ratio: 5/4;
    object-position: 50% 32%;
  }

  .footer {
    margin: 0;
    padding: 20px var(--page-gutter);
    gap: 13px;
    flex-wrap: wrap;
  }

  .footer small {
    order: 4;
    width: 100%;
  }

  .footer a:last-child {
    margin-left: auto;
    order: 2;
  }

  .calendar {
    padding: 17px 18px;
  }

  .footer-contact {
    order: 3;
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid var(--line);
  }

  .footer .brand {
    order: 1;
  }

  :root {
    --size-body: 15px;
    --header-height: 72px;
    --page-gutter: 7%;
  }

  .brand {
    font-size: 14px;
  }

  .header nav {
    gap: 18px;
  }
}

@media(max-width:359px) {
  nav {
    gap: 12px;
  }

  .album-topline .edition {
    display: none;
  }

  .hero-bottom {
    font-size: 10px;
    letter-spacing: .08em;
  }

  .header nav {
    gap: 12px;
  }
}



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

/* All section separators share one width, colour and thickness. */
.page-divider {
  width: calc(100% - 2 * var(--page-gutter));
  height: var(--divider-size);
  margin: 0 auto;
  background: var(--line);
  pointer-events: none;
  flex-shrink: 0;
}
.header > .page-divider,
.footer > .page-divider {
  position: absolute;
  left: var(--page-gutter);
  margin: 0;
}
.header > .page-divider { bottom: 0; }
.footer > .page-divider { top: 0; }
