/* Harmony Değerli Taşlar. Black is the brand: every colour on the page comes from the gems. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/jost-normal-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: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/jost-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@property --amb {
  syntax: "<color>";
  inherits: false;
  initial-value: rgb(0 0 0 / 0);
}

/* Two themes: night (black velvet, the brand) and day (ivory paper). Night is the default; day
   follows the system unless the visitor picked one with the button (html[data-theme], set before
   the first paint by the inline script in index.html). Everything that differs is a token here. */
:root {
  --bg: #000;
  --bg-rgb: 0 0 0;
  --fg: #f3efe7;
  --fg-rgb: 243 239 231;
  --soft: rgb(var(--fg-rgb) / 0.66);
  --faint: rgb(var(--fg-rgb) / 0.4);
  --line: rgb(var(--fg-rgb) / 0.12);
  --line-hover: rgb(var(--fg-rgb) / 0.32);
  --stroke: rgb(var(--fg-rgb) / 0.42);
  --w-text: 300; /* light text on black looks heavier than it is, dark text on ivory lighter */
  --w-display: 300;
  --sun: 0; /* the theme button: 0 shows the moon, 1 the sun */
  --strip: 0.4;
  --sheen-white: 100%; /* the logo's sheen: white at its heart on black, only the gem's colour on ivory */
  --gem-blend: screen;
  /* the photographs' own white glow, once baked into the pictures, now drawn here: the cut-outs
     end at the stone's edge */
  --gem-shadow: drop-shadow(2px 3px 5px rgb(255 255 255 / 0.3));
  --gem-glow: 0.24;
  --logo-filter: none;
  --amb-alpha: 0.13;
  --lamp: rgb(255 255 255 / 0.07);
  --lamp-blend: screen;
  --cta-glow: 0 0 46px rgb(255 255 255 / 0.28);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #faf8f4;
    --bg-rgb: 250 248 244;
    --fg: #121110;
    --fg-rgb: 18 17 16;
    --soft: rgb(var(--fg-rgb) / 0.72);
    --faint: rgb(var(--fg-rgb) / 0.52);
    --line: rgb(var(--fg-rgb) / 0.14);
    --line-hover: rgb(var(--fg-rgb) / 0.4);
    --stroke: rgb(var(--fg-rgb) / 0.3);
    --w-text: 360;
    --w-display: 360;
    --sun: 1;
    --strip: 0.7;
    --sheen-white: 0%;
    --gem-blend: normal;
    --gem-shadow: drop-shadow(0 12px 14px rgb(60 40 20 / 0.2)) drop-shadow(0 2px 2px rgb(60 40 20 / 0.16));
    --gem-glow: 0.2;
    --logo-filter: brightness(0);
    --amb-alpha: 0.16;
    --lamp: rgb(255 200 130 / 0.2);
    --lamp-blend: multiply;
    --cta-glow: 0 14px 34px rgb(60 40 20 / 0.24);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #faf8f4;
  --bg-rgb: 250 248 244;
  --fg: #121110;
  --fg-rgb: 18 17 16;
  --soft: rgb(var(--fg-rgb) / 0.72);
  --faint: rgb(var(--fg-rgb) / 0.52);
  --line: rgb(var(--fg-rgb) / 0.14);
  --line-hover: rgb(var(--fg-rgb) / 0.4);
  --stroke: rgb(var(--fg-rgb) / 0.3);
  --w-text: 360;
  --w-display: 360;
  --sun: 1;
  --strip: 0.7;
  --sheen-white: 0%;
  --gem-blend: normal;
  --gem-shadow: drop-shadow(0 12px 14px rgb(60 40 20 / 0.2)) drop-shadow(0 2px 2px rgb(60 40 20 / 0.16));
  --gem-glow: 0.2;
  --logo-filter: brightness(0);
  --amb-alpha: 0.16;
  --lamp: rgb(255 200 130 / 0.2);
  --lamp-blend: multiply;
  --cta-glow: 0 14px 34px rgb(60 40 20 / 0.24);
  color-scheme: light;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.is-locked {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: var(--w-text) 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 4px;
}

button {
  font: inherit;
  color: inherit;
}

section[id] {
  scroll-margin-top: 40px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--fg);
  color: var(--bg);
}
.skip:focus {
  top: 16px;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Shared type */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--faint);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}
.eyebrow span {
  color: var(--soft);
}

h2 {
  margin: 0;
  font: var(--w-display) clamp(44px, 7.4vw, 112px)/0.95 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 em {
  font-style: italic;
  color: var(--soft);
}

.lede {
  max-width: 44ch;
  margin: 0;
  font: var(--w-text) clamp(16px, 1.3vw, 19px)/1.65 var(--sans);
  color: var(--soft);
}

.section-head {
  display: grid;
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(88px, 12vw, 168px) var(--gutter) clamp(36px, 4vw, 60px);
}

/* Header */

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 20px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background 0.5s, padding 0.5s, border-color 0.5s;
}
.bar.is-solid,
.no-js .bar {
  padding-block: 12px;
  background: rgb(var(--bg-rgb) / 0.84);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.bar-logo {
  margin-right: auto;
  opacity: 0;
  transition: opacity 0.5s;
}
.bar-logo img {
  display: block;
  width: auto;
  height: 30px;
  filter: var(--logo-filter);
}
.bar.is-solid .bar-logo,
.no-js .bar-logo {
  opacity: 1;
}
.bar-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}
.bar-nav a {
  position: relative;
  padding: 8px 0;
  font: 400 12px/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--soft);
  transition: color 0.3s;
}
.bar-nav a:hover {
  color: var(--fg);
}
.bar-nav a:not(.bar-tel)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.22em;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.bar-nav a:hover::after {
  transform: scaleX(1);
}
.bar-nav .bar-tel {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: 0.08em;
  color: var(--fg);
  transition: border-color 0.3s, background 0.3s;
}
.bar-nav .bar-tel:hover {
  border-color: var(--fg);
}
.bar-toggle {
  display: none;
}

/* Day / night: a moon that becomes a sun */
.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.3s;
}
.theme-toggle:hover {
  border-color: var(--fg);
}
.no-js .theme-toggle {
  display: none;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  overflow: visible;
}
.tt-core,
.tt-bite,
.tt-rays {
  transform-origin: 12px 12px;
  transition: transform 0.7s var(--ease), opacity 0.5s;
}
.tt-core {
  transform: scale(calc(1 - 0.4 * var(--sun)));
}
.tt-bite {
  transform: translate(calc(9px * var(--sun)), calc(-9px * var(--sun)));
}
.tt-rays {
  opacity: var(--sun);
  transform: rotate(calc(-90deg + 90deg * var(--sun))) scale(calc(0.5 + 0.5 * var(--sun)));
}

/* The new theme spreads out from the button in a circle (site.js) */
.theme-switching::view-transition-old(root),
.theme-switching::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
.theme-switching .tile {
  view-transition-name: none !important; /* reveal the tray with the page, not tile by tile */
}

@media (max-width: 760px) {
  .bar {
    gap: 12px;
  }
  .bar-toggle {
    display: block;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: none;
    font: 400 12px/1 var(--sans);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .bar-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  .bar-nav a {
    font: var(--w-display) 44px/1 var(--serif);
    letter-spacing: 0;
    text-transform: none;
    color: var(--fg);
  }
  .bar-nav .bar-tel {
    margin-top: 18px;
    font: 400 15px/1 var(--sans);
  }
  .menu-open .bar {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .menu-open .bar-nav {
    opacity: 1;
    visibility: visible;
  }
  .menu-open .bar-logo {
    opacity: 1;
  }
  .bar-logo img {
    height: 24px;
  }
}

/* Hero: every gem on one slowly turning ring around the logo */

.hero {
  --size: 130px;
  --ry: 150px;
  --front: 200 210 235;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  background: var(--bg);
}
.hero-ambient {
  --amb: rgb(var(--front) / var(--amb-alpha));
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 42% at 50% 46%, var(--amb), transparent 72%);
  transition: --amb 1.6s;
  pointer-events: none;
}
.orbit {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0;
  height: 0;
}
.orbit-gem {
  position: absolute;
  left: calc(var(--size) / -2);
  top: calc(var(--size) / -2);
  width: var(--size);
  height: var(--size);
  mix-blend-mode: var(--gem-blend);
  will-change: transform, opacity;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.orbit-gem img {
  display: block;
  width: 100%;
  height: 100%;
  filter: var(--gem-shadow);
  opacity: 0;
  transition: opacity 1.2s;
  -webkit-user-drag: none;
}
.orbit-gem.is-ready img {
  opacity: 1;
}
.hero-logo {
  --lift: 0px;
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 58; /* above the gems passing at the sides, below the ones in front */
  /* inside the ring: clear of the gems at the sides on a phone, and above the front row everywhere
     (5.5 = twice the logo's 600:218 proportions, to turn the free height into a width) */
  width: min(58vw, 500px, (var(--ry) - var(--size) / 2 - 8px + var(--lift)) * 5.5);
  margin: 0;
  translate: -50% calc(-50% - var(--lift));
  pointer-events: none;
}
@media (min-width: 700px) {
  /* the flat ring of wide screens (site.js, measure()): its front row is far larger than its back row,
     so the logo sits a little above the centre and gets that much more height */
  .hero-logo {
    --lift: calc(var(--size) * 0.12);
  }
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: var(--logo-filter);
}
.sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 38%, rgb(var(--front)) 46%, color-mix(in srgb, #fff var(--sheen-white), rgb(var(--front))) 50%, rgb(var(--front)) 54%, transparent 62%) 100% 0 / 320% 100% no-repeat;
  -webkit-mask: url(logo.svg) center / 100% 100% no-repeat;
  mask: url(logo.svg) center / 100% 100% no-repeat;
  animation: sheen 7s var(--ease) 1.2s infinite;
}
@keyframes sheen {
  0% {
    background-position: 100% 0;
  }
  55%,
  100% {
    background-position: 0% 0;
  }
}
.hero-front {
  position: absolute;
  left: 50%;
  top: calc(46% + var(--ry) + var(--size) / 2 + 6px);
  z-index: 60;
  margin: 0;
  translate: -50% 0;
  font: 400 11px/1 var(--sans);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--soft);
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(70px, 11vh, 120px);
  z-index: 60;
  display: grid;
  justify-items: center;
  gap: 20px; /* the values above, the motto below, a little apart (the client, 2026-11-24) */
  padding-inline: var(--gutter);
  text-align: center;
  pointer-events: none;
}
/* The motto, under the four values and smaller than them (the client, 2026-11-24): it was the
   large line, 26 to 42 px. */
.hero-tag {
  margin: 0;
  font: italic var(--w-display) clamp(19px, 1.75vw, 24px)/1.1 var(--serif);
}
/* The four values, above the motto: the client wanted them to stand out (2026-11-24). Larger, in the full text
   colour and at the heaviest weight the Jost file carries (500): a real bold is not in it, and
   would sit badly beside the hairline logo. The stars stay quiet so the words lead. */
.hero-values {
  margin: 0;
  font: 500 clamp(13px, 1.25vw, 17px)/1 var(--sans);
  letter-spacing: 0.34em;
  text-indent: 0.34em; /* the spacing after the last letter, mirrored, so the line is centred */
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--fg);
}
.hero-values i {
  margin: 0 0.6em;
  font-style: normal;
  font-size: 0.8em;
  color: var(--faint);
}
@media (max-width: 560px) {
  /* a phone: the four words still have to fit on one line */
  .hero-values {
    font-size: clamp(11px, 3.35vw, 13px);
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }
  .hero-values i {
    margin: 0 0.25em;
  }
}
.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 60;
  display: grid;
  justify-items: center;
  gap: 10px;
  translate: -50% 0;
  padding-bottom: 0;
  font: 400 10px/1 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--faint);
}
.hero-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--fg), transparent);
  transform-origin: top;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% {
    transform: scaleY(0);
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}
.no-js .hero-front {
  display: none;
}

@media (max-height: 640px) and (min-width: 761px) {
  .hero-copy {
    bottom: 56px;
  }
}

/* Collection: the gem tray */

.collection .section-head {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  column-gap: var(--gutter);
}
.collection .section-head .eyebrow,
.collection .section-head h2 {
  grid-column: 1 / -1;
}
.collection .section-head .lede {
  grid-column: 2;
}

.spectrum {
  position: relative;
  height: 3px;
  background: var(--spectrum);
}
.spectrum::after {
  content: "";
  position: absolute;
  inset: -4px 0;
  background: inherit;
  filter: blur(10px);
  opacity: 0.7;
}
.spectrum-mark {
  --c: 255 255 255;
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: rgb(var(--c));
  box-shadow: 0 0 0 1px rgb(var(--c)), 0 0 18px 4px rgb(var(--c) / 0.7);
  opacity: 0;
  transition: left 0.6s var(--ease), opacity 0.4s, background 0.4s, box-shadow 0.4s;
}
.spectrum.is-marked .spectrum-mark {
  opacity: 1;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 36px;
}
.no-js .filters {
  display: none;
}
.filters button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  font: 400 13px/1 var(--sans);
  letter-spacing: 0.04em;
  color: var(--soft);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.filters button:hover {
  color: var(--fg);
  border-color: var(--line-hover);
}
.filters button[aria-pressed="true"] {
  color: var(--fg);
  border-color: var(--fg);
  background: rgb(var(--fg-rgb) / 0.06);
}
.filters sup {
  font-size: 10px;
  color: var(--faint);
  vertical-align: 0.5em;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 10px -1px rgb(255 255 255 / 0.25);
}
.dot-all {
  background: conic-gradient(#e8394a, #f08a1c, #f2d23c, #3fbf6a, #2f86e6, #7a4fd6, #e34fa0, #e8394a);
}

.tray {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 42vw), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.tray::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(300px circle at var(--mx, -999px) var(--my, -999px), var(--lamp), transparent 70%);
  mix-blend-mode: var(--lamp-blend);
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.tray.is-lit::after {
  opacity: 1;
}
.tile {
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tile[hidden] {
  display: none;
}
.js .tile {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 60ms);
}
.js .tile.is-in {
  opacity: 1;
  transform: none;
}
.tile a {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  aspect-ratio: 4 / 5;
  padding: 16px 12px 22px;
  overflow: hidden;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.tile a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 44% at 50% 45%, rgb(var(--glow) / var(--gem-glow)), transparent 72%);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.tile-no {
  position: absolute;
  top: 16px;
  left: 16px;
  font: 400 10px/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--faint);
}
.tile-light {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 64%;
  height: 20%;
  background: radial-gradient(closest-side, rgb(var(--glow) / 0.6), transparent);
  opacity: 0.25;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.tile img {
  position: relative;
  z-index: 1;
  place-self: center;
  width: 88%;
  height: auto;
  aspect-ratio: 1;
  mix-blend-mode: var(--gem-blend);
  filter: var(--gem-shadow);
  transition: transform 0.9s var(--ease);
}
/* The name: English over Turkish, or one line where both languages spell it alike. Two lines
   are always reserved and the names sit on the lower one, so the gems stay level across a row.
   Each line carries its own lang: the capitals then follow that language (CITRINE, SİTRİN). */
.tile-names {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4em;
  min-height: 3em;
  font: 400 11px/1.3 var(--sans);
  letter-spacing: 0.26em;
  text-align: center;
  text-transform: uppercase;
}
.tile-en,
.tile-name {
  color: var(--soft);
  transition: color 0.4s, letter-spacing 0.6s var(--ease);
}
.tile a:hover::before,
.tile a:focus-visible::before {
  opacity: 1;
}
.tile a:hover img,
.tile a:focus-visible img {
  transform: translateY(-5%) scale(1.08);
}
.tile a:hover .tile-light,
.tile a:focus-visible .tile-light {
  opacity: 1;
  transform: scale(1.2, 1.1);
}
.tile a:hover .tile-en,
.tile a:hover .tile-name,
.tile a:focus-visible .tile-en,
.tile a:focus-visible .tile-name {
  color: var(--fg);
  letter-spacing: 0.32em;
}
.tile a:focus-visible {
  outline-offset: -6px;
}

/* Story */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--gutter);
}
.story-year span {
  position: sticky;
  top: 24vh;
  display: block;
  font: var(--w-display) clamp(110px, 16vw, 250px)/0.85 var(--serif);
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--stroke);
}
.timeline {
  display: grid;
  gap: clamp(72px, 16vh, 180px);
  margin: 0;
  padding: 6vh 0 18vh;
  list-style: none;
}
.timeline li {
  max-width: 32em;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  opacity: 0.3;
  transition: opacity 0.8s var(--ease);
}
.timeline li.is-active {
  opacity: 1;
}
.timeline h3 {
  display: flex;
  gap: 14px;
  margin: 0 0 18px;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg);
}
.timeline h3 span {
  color: var(--faint);
}
.timeline p {
  margin: 0;
  font: var(--w-display) clamp(24px, 2.3vw, 32px)/1.3 var(--serif);
}

/* the thin line between the timeline and the quote */
.story-rule {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr);
  align-items: center;
  column-gap: clamp(28px, 3.6vw, 52px);
  margin: clamp(90px, 12vw, 170px) auto;
  max-width: 1120px;
}
/* the portrait with the name under it, on the right: it says whose words these are */
.quote-photo {
  grid-area: 1 / 2;
  padding: 10px;
  border: 1px solid var(--line);
}
.quote-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.quote blockquote {
  grid-area: 1 / 1;
  margin: 0;
  text-align: right; /* the words lean on the portrait */
}
.quote p {
  margin: 0;
  font: italic var(--w-display) clamp(30px, 3.4vw, 50px)/1.15 var(--serif);
  text-wrap: balance;
}
.quote p::before {
  content: "“";
  display: block;
  height: 0.55em;
  font-size: 2.4em;
  line-height: 1;
  color: var(--faint);
}

.story-more {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr); /* the photograph is upright: it fits a laptop's screen at this width */
  gap: var(--gutter);
  align-items: start;
}
.story-lead {
  max-width: 24em;
  margin: 0 0 34px;
  font: var(--w-display) clamp(24px, 2.4vw, 34px)/1.35 var(--serif);
}
.story-photo {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
}
.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.05) brightness(0.85);
  transition: filter 1s var(--ease);
}
.story-photo:hover img {
  filter: none;
}
.story-photo figcaption,
.quote-photo {
  font: 400 10px/1 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
}
.story-photo figcaption {
  padding-top: 10px;
}
.quote-photo img {
  margin-bottom: 10px;
}
.story-full p {
  max-width: 40em;
  margin: 1.2em 0 0;
  font: var(--w-text) 17px/1.8 var(--sans);
  color: var(--soft);
}
@media (min-width: 901px) and (min-height: 800px) {
  /* the text is far longer than the photograph, which stays in view beside it */
  .story-photo {
    position: sticky;
    top: 104px;
  }
}

.academy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 40px;
  margin-top: clamp(80px, 10vw, 140px);
  padding: 34px 0;
  border-block: 1px solid var(--line);
}
.academy-text {
  margin: 0;
  max-width: 40em;
  font: var(--w-display) clamp(20px, 1.8vw, 26px)/1.35 var(--serif);
}
.academy a {
  padding: 14px 22px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  font: 400 12px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.academy a:hover {
  background: var(--fg);
  color: var(--bg);
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 130px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(88px, 12vw, 168px) var(--gutter);
}
.contact-intro {
  display: grid;
  gap: 22px;
}
.contact-lines {
  display: grid;
  gap: 26px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.contact-lines span {
  display: block;
  margin-bottom: 8px;
  font: 400 11px/1 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-lines a {
  font: var(--w-display) clamp(26px, 2.8vw, 42px)/1.1 var(--serif);
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.6s var(--ease);
}
.contact-lines a:hover {
  background-size: 100% 1px;
}
.contact-lines address {
  font-style: normal;
}
.contact-lines .contact-address {
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.45;
  color: var(--soft);
}
.contact-lines .contact-address:hover {
  color: var(--fg);
}

.contact-form {
  padding-top: 8px;
}
.field {
  position: relative;
  display: block;
  margin-bottom: 22px;
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 28px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font: var(--w-text) 19px/1.4 var(--sans);
  color: var(--fg);
  outline: none;
  transition: border-color 0.4s;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--fg);
}
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--fg);
  box-shadow: 0 0 0 1000px var(--bg) inset;
  caret-color: var(--fg);
}
.field span {
  position: absolute;
  left: 0;
  top: 32px;
  font: 400 12px/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  pointer-events: none;
  transition: top 0.35s var(--ease), font-size 0.35s var(--ease), color 0.35s;
}
.field :focus + span,
.field :not(:placeholder-shown) + span {
  top: 6px;
  font-size: 10px;
  color: var(--soft);
}
.cf-turnstile {
  min-height: 65px;
  margin: 8px 0 18px;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
}
.form-foot button {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 18px 34px;
  border: 0;
  border-radius: 999px;
  background: var(--fg);
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bg);
  cursor: pointer;
  transition: box-shadow 0.4s, transform 0.4s var(--ease), opacity 0.3s;
}
.form-foot button:hover {
  box-shadow: var(--cta-glow);
  transform: translateY(-1px);
}
.form-foot button:disabled {
  opacity: 0.5;
  cursor: progress;
}
.form-status {
  margin: 0;
  max-width: 28em;
  font: italic var(--w-display) 19px/1.4 var(--serif);
  color: var(--soft);
}

/* Footer */

.foot {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 72px var(--gutter) 44px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.foot img {
  width: min(320px, 70vw);
  height: auto;
  filter: var(--logo-filter);
}
.foot p {
  margin: 0;
  font: italic var(--w-display) 20px/1.3 var(--serif);
  color: var(--soft);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}
.foot nav a {
  font: 400 11px/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--soft);
}
.foot nav a:hover {
  color: var(--fg);
}
.foot .foot-small {
  font: 400 10px/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
}

.foot .foot-credit {
  justify-self: end; /* a small signature in the corner, apart from the client's own footer */
  margin-top: 18px;
  font: 400 9px/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.foot-credit a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none; /* the brand is written in lowercase */
  color: var(--soft);
  text-decoration: none;
  transition: color 0.3s;
}
.foot-credit a:hover {
  color: var(--fg);
}
/* backendlab credit heart, the same on every backendlab site (colour too): a double beat all the time;
   hovering the credit (or focusing its link) grows the heart, leaving shrinks it back.
   The beat animates `transform` and the hover animates `scale`, so the two stack. */
.bl-heart {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-inline: 0.2em;
  vertical-align: -0.17em;
  font-size: 12px; /* the heart's own size: the words around it are set very small */
  color: #ff5a70;
  transform-origin: 50% 55%;
  animation: bl-heartbeat 1.4s ease-in-out infinite;
  transition: scale 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bl-credit:hover .bl-heart,
.bl-credit:focus-within .bl-heart {
  scale: 1.4;
}
@keyframes bl-heartbeat {
  0%,
  50%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.22);
  }
  22% {
    transform: scale(1);
  }
  34% {
    transform: scale(1.16);
  }
}

/* Loupe: one gem, large */

.loupe {
  --glow: 200 210 235;
  /* the gem's side; the text beside it is sized from it, so both fit a short window */
  --gem: min(66vh, 44vw, 640px);
  --name: clamp(40px, min(7vw, var(--gem) * 0.17), 116px);
  --text: clamp(15px, var(--gem) * 0.03, 17px);
  --step: clamp(18px, var(--gem) * 0.05, 30px);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
}
.loupe::backdrop {
  background: var(--bg);
}
.loupe:focus-visible {
  outline: none;
}
.loupe[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  animation: loupe-in 0.6s var(--ease);
}
@keyframes loupe-in {
  from {
    opacity: 0;
  }
}
.loupe-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  min-height: 0;
  padding: 76px var(--gutter) 12px;
  overflow: hidden auto; /* a window too short for the text scrolls it */
  scrollbar-width: thin;
}
.loupe-stage {
  display: grid;
  justify-items: center;
}
.loupe-gem {
  position: relative;
  isolation: isolate;
  width: var(--gem);
  aspect-ratio: 1;
  touch-action: pan-y;
}
.loupe-gem img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  mix-blend-mode: var(--gem-blend);
  filter: var(--gem-shadow);
  -webkit-user-drag: none;
}
.loupe-light {
  position: absolute;
  inset: -12%;
  background: radial-gradient(closest-side, rgb(var(--glow) / 0.3), rgb(var(--glow) / 0.08) 55%, transparent 76%);
}
.loupe-gem::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 4%;
  height: 14%;
  background: radial-gradient(closest-side, rgb(var(--glow) / 0.55), transparent);
  filter: blur(8px);
}
.loupe-info {
  /* as tall as the gem and filled from the top: the buttons stay where they are, however long the
     name and the text under them */
  box-sizing: border-box;
  height: var(--gem);
  padding-top: clamp(0px, (var(--gem) - 440px) * 0.3, 40px);
}
.loupe-no {
  margin: 0;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}
.loupe-no .sep {
  margin: 0 0.4em;
}
.loupe-info h2 {
  margin: var(--step) 0;
  font-size: var(--name);
  text-shadow: 0 0 60px rgb(var(--glow) / 0.35);
}
.loupe-desc p {
  max-width: 32em;
  margin: 0 0 1em;
  font: var(--w-text) var(--text)/1.7 var(--sans);
  color: var(--soft);
}
.loupe-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.loupe-nav button,
.loupe-close {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  font: 400 12px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.loupe-nav button:hover,
.loupe-close:hover {
  border-color: var(--fg);
}
.loupe-ask {
  display: inline-block;
  margin-top: var(--step);
  padding-bottom: 4px;
  border-bottom: 1px solid rgb(var(--glow) / 0.7);
  font: 400 12px/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}
.loupe-close {
  position: absolute;
  top: 18px;
  right: var(--gutter);
  z-index: 3;
}
.loupe-strip {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 64px;
  padding: 0 var(--gutter) 22px;
}
.loupe-strip button {
  --c: 255 255 255;
  flex: 1;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgb(var(--c));
  opacity: var(--strip);
  cursor: pointer;
  transition: height 0.4s var(--ease), opacity 0.3s, box-shadow 0.4s;
}
.loupe-strip button:hover {
  height: 16px;
  opacity: 0.9;
}
.loupe-strip button[aria-current="true"] {
  height: 26px;
  opacity: 1;
  box-shadow: 0 0 16px rgb(var(--c) / 0.8);
}

/* Narrow screens */

@media (max-width: 900px) {
  .collection .section-head {
    grid-template-columns: 1fr;
  }
  .collection .section-head .lede {
    grid-column: 1;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-year {
    display: none;
  }
  .timeline {
    gap: 48px;
    padding: 0 0 72px;
  }
  .timeline li {
    opacity: 1;
  }
  .quote {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .quote-photo,
  .quote blockquote {
    grid-area: auto;
  }
  .quote blockquote {
    text-align: center;
  }
  .quote-photo {
    width: min(260px, 64vw);
    margin-bottom: 34px;
  }
  .story-more {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .story-photo {
    justify-self: center;
    width: min(100%, 440px);
  }
  .academy {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .loupe[open] {
    overflow-y: auto;
  }
  .loupe-inner {
    grid-template-columns: 1fr;
    align-content: start;
    padding-top: 70px;
  }
  .loupe {
    --gem: min(84vw, 46vh);
    --name: 54px;
    --text: 17px;
    --step: 28px;
  }
  .loupe-inner {
    overflow: visible;
  }
  .loupe-info {
    height: auto;
    padding-top: 0;
  }
  .loupe-strip {
    position: sticky;
    bottom: 0;
    padding-top: 14px;
    background: linear-gradient(transparent, var(--bg) 40%);
  }
}

@media (max-width: 560px) {
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .filters button {
    flex: none;
  }
  .tile a {
    aspect-ratio: 5 / 6;
    padding: 12px 8px 16px;
  }
  .tile-no {
    top: 12px;
    left: 12px;
  }
  .tile-names {
    font-size: 10px;
    letter-spacing: 0.2em;
  }
}

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