
:root {
  --paper: #ffffff;
  --stone: #e9e5de;
  --stone-deep: #d6d0c6;
  --ink: #1f2328;
  --ink-soft: #5a6068;
  --body: #3c424a;
  --bordeaux: #7a2a31;
  --camel: #b08b5b;

  --rule: rgba(31, 35, 40, 0.12);
  --rule-strong: rgba(31, 35, 40, 0.2);
  --rule-light: rgba(255, 255, 255, 0.22);

  --font-sans: "Jost", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --shell: 1240px;
  --gutter: 3rem;
  --nav-h: 5rem;
  --label-col: 15rem;
  --col-gap: 4rem;
}


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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: inherit;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: var(--bordeaux);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 3px;
}

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



/* Typography  */

.lede {
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
  line-height: 1.65;
  font-weight: 300;
  color: var(--ink);
}

.body-copy {
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 300;
  color: var(--body);
  max-width: 68ch;
}

.body-copy + .body-copy {
  margin-top: 1.5rem;
}

.section__title {
  font-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section__index {
  margin-top: 0.25rem;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--camel);
}

.subhead {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--bordeaux);
}


/* Layout helpers  */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 9rem 0;
  scroll-margin-top: var(--nav-h);
}

.section--stone {
  background: var(--stone);
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.section--flush-top {
  padding-top: 0;
}


.section__head {
  display: grid;
  grid-template-columns: minmax(0, var(--label-col)) minmax(0, 1fr);
  gap: var(--col-gap);
}

.section__label {
  align-self: start;
}

.section__label::before {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  margin-bottom: 1.25rem;
  background: var(--rule-strong);
}

.section--ink .section__label::before {
  background: var(--rule-light);
}

.section--ink .section__index {
  color: rgba(255, 255, 255, 0.45);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.split--wide-left {
  grid-template-columns: 1.15fr 0.85fr;
}

.split--wide-right {
  grid-template-columns: 0.85fr 1.15fr;
}

.stack-10 {
  margin-top: 2.5rem;
}

.stack-16 {
  margin-top: 4rem;
}

.stack-20 {
  margin-top: 5rem;
}

.rule {
  height: 1px;
  background: var(--rule-strong);
  border: 0;
  margin: 0;
}

.rule--short {
  width: 2.5rem;
  background: var(--camel);
}

/* Header/navigation */

.header-logo {
  height: 1rem; 
  width: auto;
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-bottom-color: var(--rule);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.wordmark {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  position: relative;
  padding: 0.25rem 0;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--bordeaux);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link.is-active {
  color: var(--ink);
}

.nav__link.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
}

.nav-toggle__box {
  position: relative;
  display: block;
  width: 1.5rem;
  height: 0.75rem;
}

.nav-toggle__box span {
  position: absolute;
  left: 0;
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s ease, top 0.3s ease;
}

.nav-toggle__box span:nth-child(1) {
  top: 0;
}

.nav-toggle__box span:nth-child(2) {
  top: 0.75rem;
}

.site-header.is-open .nav-toggle__box span:nth-child(1) {
  top: 0.375rem;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle__box span:nth-child(2) {
  top: 0.375rem;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
  overflow: hidden;
  max-height: 0;
  background: var(--paper);
  border-top: 1px solid transparent;
  transition: max-height 0.3s ease;
}

.site-header.is-open .nav-mobile {
  max-height: 24rem;
  border-top-color: var(--rule);
}

.nav-mobile ul {
  padding: 1rem 0;
}

.nav-mobile button {
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  text-align: left;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(31, 35, 40, 0.06);
}

/* Hero */

.hero {
  padding-top: var(--nav-h);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: var(--col-gap);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero__eyebrow {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--camel);
}

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(3rem, 10vw, 7.5rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__rule {
  width: 6rem;
  height: 1px;
  margin-top: 2rem;
  background: var(--bordeaux);
}

.hero__lede {
  margin-top: 2rem;
  max-width: 36rem;
  color: var(--ink-soft);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
}

.tag-row li {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* Stat band  */

.stats {
  background: rgba(233, 229, 222, 0.6);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stats__item {
  padding: 2.5rem 2rem;
  border-left: 1px solid var(--rule);
}

.stats__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats__value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 200;
  letter-spacing: -0.02em;
}

.stats__label {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.figure {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  padding: 0 1.5rem;
  text-align: center;
  background: var(--stone);
}

.figure--on-stone .figure__slot {
  background: var(--stone-deep);
}

.figure--on-ink .figure__slot {
  background: rgba(31, 35, 40, 0.9);
}

.figure--on-ink {
  border: 1px solid var(--rule-light);
}

.figure__slot::before {
  content: "";
  display: block;
  width: 1px;
  height: 2rem;
  background: var(--rule-strong);
}

.figure--on-ink .figure__slot::before {
  background: var(--rule-light);
}

.figure__label {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(31, 35, 40, 0.55);
}

.figure__hint {
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: rgba(31, 35, 40, 0.4);
}

.figure--on-ink .figure__label {
  color: rgba(255, 255, 255, 0.6);
}

.figure--on-ink .figure__hint {
  color: rgba(255, 255, 255, 0.35);
}

.figure-row {
  display: grid;
  gap: 1rem;
}

.figure-row--2 {
  grid-template-columns: 1fr 1fr;
}

.figure-row--7-5 {
  grid-template-columns: 7fr 5fr;
}

.figure-row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.figure-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}


/* Timeline  */

.timeline__rail {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.timeline__note {
  margin-top: 1.5rem;
  max-width: 20rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.timeline__list {
  position: relative;
  border-left: 1px solid rgba(31, 35, 40, 0.15);
  padding-left: 3rem;
}

.timeline__item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -3rem;
  top: 0.75rem;
  width: 2.25rem;
  height: 1px;
  background: var(--camel);
}

.timeline__row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.timeline__year {
  flex: 0 0 5rem;
  font-size: 1.5rem;
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--bordeaux);
}

.timeline__title {
  font-size: 1.0625rem;
  font-weight: 400;
}

.timeline__text {
  margin-top: 0.5rem;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
}


/* Quote band  */

.quote-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 5rem;
}

.quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  color: #fff;
}

.quote .mark {
  color: var(--camel);
}

.quote-band__rule {
  width: 4rem;
  height: 1px;
  margin-top: 2.5rem;
  background: var(--camel);
}

.quote-band__name {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
}

.quote-band__role {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}


/* Principles */

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.principles__item {
  border-top: 1px solid var(--rule-strong);
  padding-top: 1.25rem;
}

.principles__title {
  font-size: 0.9375rem;
  font-weight: 400;
}

.principles__text {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}


/* Store network  */

.markets {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(31, 35, 40, 0.15);
  padding-bottom: 1.25rem;
}

.markets__tabs {
  display: flex;
  gap: 2rem;
}

.market-tab__name {
  display: block;
  font-size: 1.875rem;
  font-weight: 200;
  letter-spacing: -0.02em;
  color: rgba(31, 35, 40, 0.3);
  transition: color 0.2s ease;
}

.market-tab__count {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(31, 35, 40, 0.3);
  transition: color 0.2s ease;
}

.market-tab:hover .market-tab__name {
  color: rgba(31, 35, 40, 0.6);
}

.market-tab.is-active .market-tab__name {
  color: var(--ink);
}

.market-tab.is-active .market-tab__count {
  color: var(--bordeaux);
}

.markets__meta {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.market-panel[hidden] {
  display: none;
}

.market-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.locale__name {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.locale__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.locale__count {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--camel);
}

.locale__rule {
  width: 2.5rem;
  height: 1px;
  margin-top: 0.75rem;
  background: var(--camel);
}

.locale__list {
  margin-top: 1rem;
}

.locale__list li {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  padding: 0.1875rem 0;
}

.locale__stores {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
}


/* Named-location list  */
.linked-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.5rem;
  margin-top: 1rem;
}

.linked-list li {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}


/* Countries */
.country-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 1.5rem;
}

.country-row li {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pull-serif {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
}

/* E-ticaret */
.domain-link {
  display: inline-block;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-color: var(--camel);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.5rem;
  transition: color 0.2s ease;
}

.domain-link:hover {
  color: var(--bordeaux);
}


/* Footer  */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 5rem 0;
  scroll-margin-top: var(--nav-h);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: var(--col-gap);
}

.site-footer__wordmark {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.site-footer__blurb {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.site-footer__heading {
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__list {
  margin-top: 1.25rem;
}

.site-footer__list li {
  padding: 0.25rem 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.site-footer__list a:hover {
  color: var(--bordeaux);
}

.site-footer__muted {
  color: rgba(90, 96, 104, 0.6);
}

.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  color: rgba(90, 96, 104, 0.7);
}


/* Responsive  */

@media (max-width: 1023px) {
  :root {
    --gutter: 2rem;
    --nav-h: 4rem;
    --col-gap: 2.5rem;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }

  .section {
    padding: 5rem 0;
  }

  .section--flush-top {
    padding-top: 0;
  }

  .section__head,
  .hero__inner,
  .split,
  .split--wide-left,
  .split--wide-right,
  .quote-band,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    gap: 2.5rem;
  }

  .timeline__rail {
    position: static;
  }

  .timeline__list {
    padding-left: 2rem;
  }

  .timeline__item::before {
    left: -2rem;
    width: 1.25rem;
  }

  .timeline__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats__item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .principles {
    grid-template-columns: 1fr 1fr;
  }

  .market-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639px) {
  :root {
    --gutter: 1.5rem;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .stats__item {
    padding: 2rem 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .stats__item:first-child {
    border-top: 0;
  }

  .principles,
  .market-panel,
  .linked-list,
  .figure-row--2,
  .figure-row--7-5,
  .figure-row--3 {
    grid-template-columns: 1fr;
  }

  .site-footer__base {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
