/* ==========================================================================
   TIADEL — Common styles shared by every page
   Load this first, then the page-specific stylesheet.
   ========================================================================== */

/* Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --gold: #A9813D;
  --gold-rule: #B08C4F;

  /* Ink */
  --ink: #2E2A23;
  --ink-strong: #211D16;
  --ink-mid: #37322A;
  --ink-soft: #46413A;
  --ink-body: #5F594C;
  --ink-body-alt: #57513F;
  --ink-muted: #665F52;

  /* Surfaces */
  --cream: #F2EDE3;
  --cream-alt: #F1ECE1;
  --cream-page: #F5F1E8;
  --cream-warm: #F3EEE4;
  --sand: #ECE4D4;
  --line: #DCD2BF;
  --line-warm: #D9CFBB;

  /* Dark footer */
  --dark: #16120D;
  --dark-text: #EDE7DB;
  --dark-body: #9F988A;
  --dark-city: #CFC8B9;
  --dark-link: #D9D3C6;
  --dark-meta: #7E786B;

  /* Type */
  --serif: 'Playfair Display', serif;
  --sans: Mulish, sans-serif;

  /* Layout */
  --page-width: 1086px;
}

/* Base
   -------------------------------------------------------------------------- */
body {
  margin: 0;
  background: var(--cream);
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

input {
  outline: none;
}

input::placeholder {
  color: #948C7B;
}

/* Page shell — every page's root screen div
   -------------------------------------------------------------------------- */
.page {
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background: var(--cream-page);
  overflow-x: hidden;
}

/* Images never overflow their column */
img {
  max-width: 100%;
}

/* Centered content container used inside almost every band */
.container {
  max-width: var(--page-width);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Shared primitives
   -------------------------------------------------------------------------- */

/* Gold rule under headings */
.rule {
  width: 36px;
  height: 2px;
  background: var(--gold-rule);
  margin: 20px 0 24px;
}

.rule--center {
  margin-left: auto;
  margin-right: auto;
}

/* Small gold uppercase label above a heading */
.eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
}

/* Serif section heading */
.section-title {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--ink-strong);
}

.section-subtitle {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--ink-body);
}

.section-head {
  text-align: center;
}

/* Serif page title (hero h1) */
.page-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  color: var(--ink-strong);
}

/* Solid dark button */
.btn {
  background: #1D1A14;
  color: #EFEAE0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 11px 24px;
  display: inline-block;
}

.btn:hover {
  color: #EFEAE0;
}

/* Outlined button */
.btn-outline {
  border: 1px solid #97907F;
  color: #3E3930;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 11px 21px;
  display: inline-block;
}

/* Underlined gold text link */
.link-underline {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--ink);
  border-bottom: 1px solid var(--gold-rule);
  padding-bottom: 4px;
}

/* Sketch/product image that blends into the paper background */
.blend {
  mix-blend-mode: multiply;
}

/* Grid helpers */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

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

/* Arrow glyph used beside inputs and links */
.arrow {
  color: var(--gold);
  font-size: 14px;
}

/* ==========================================================================
   Header — identical markup on every page
   ========================================================================== */
.header {
  background: var(--cream);
}

.header__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}

.header__wordmark {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 7px;
  color: var(--ink-strong);
}

.header__nav {
  display: flex;
  gap: 24px;
  margin-left: 34px;
  align-items: center;
}

.header__link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* Current page in the nav */
.header__link--active {
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
}

/* NEW YORK | LONDON | DUBAI on the right of the header */
.header__cities {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* Thin pipe separators, same as the Home header */
.header__sep {
  color: #B99B62;
  font-size: 9px;
}

/* ==========================================================================
   Footer — dark band, shared shell with per-page layout variants
   ========================================================================== */
.footer {
  background: var(--dark);
}

.footer__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 26px 40px 22px;
  box-sizing: border-box;
}

.footer__row {
  display: flex;
  align-items: flex-start;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.footer__wordmark {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--dark-text);
}

.footer__about {
  margin-left: 44px;
}

.footer__tagline {
  font-size: 11px;
  color: var(--dark-body);
}

.footer__cities {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--dark-city);
  margin-top: 10px;
}

.footer__dot {
  color: var(--gold);
}

.footer__links {
  display: flex;
  gap: 44px;
  margin-left: auto;
  padding-top: 4px;
}

.footer__link {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--dark-link);
}

.footer__copyright {
  font-size: 10px;
  color: var(--dark-meta);
}

.footer__copyright--center {
  text-align: center;
  margin-top: 16px;
}

/* ==========================================================================
   Mobile navigation toggle
   Hidden on desktop; the checkbox drives the drop-down with no JavaScript.
   ========================================================================== */
.nav-toggle {
  display: none;
}

.nav-burger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink-strong);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Tablet — 768px to 1085px
   ========================================================================== */
@media (max-width: 1085px) {
  .container {
    max-width: 100%;
  }

  .header__inner {
    max-width: 100%;
    padding: 0 24px;
  }

  .header__nav {
    gap: 18px;
    margin-left: 24px;
  }

  .header__link {
    font-size: 9px;
    letter-spacing: 1px;
  }

  /* The city list is repeated in the footer, so it can go first */
  .header__cities {
    display: none;
  }

  .footer__inner {
    max-width: 100%;
    padding: 26px 24px 22px;
  }
}

/* ==========================================================================
   Mobile — up to 767px
   ========================================================================== */
@media (max-width: 767px) {
  /* --- Header becomes logo + burger, nav drops down ------------------- */
  .header__inner {
    position: relative;
    height: 64px;
    padding: 0 20px;
  }

  .header__logo {
    width: 34px;
    height: 34px;
  }

  .header__wordmark {
    font-size: 14px;
    letter-spacing: 5px;
  }

  .nav-burger {
    display: flex;
  }

  /* The header owns a stacking context so the open panel sits above the
     hero image that immediately follows it. */
  .header {
    position: relative;
    z-index: 20;
  }

  /* The panel drops out of the 64px bar rather than stretching it. */
  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 4px 20px 12px;
    box-sizing: border-box;
    background: var(--cream);
    box-shadow: 0 10px 24px rgba(33, 29, 22, 0.10);
  }

  /* Checkbox is a sibling of the nav inside .header__inner */
  .nav-toggle:checked ~ .header__nav {
    display: flex;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .header__link {
    font-size: 11px;
    letter-spacing: 1.4px;
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid rgba(46, 42, 35, 0.12);
    box-sizing: border-box;
  }

  /* The active underline would clash with the row divider */
  .header__link--active {
    border-bottom: 1px solid rgba(46, 42, 35, 0.12);
    padding-bottom: 13px;
    color: var(--gold);
  }

  /* --- Shared primitives --------------------------------------------- */
  .page-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 12px;
  }

  .rule {
    margin: 16px 0 20px;
  }

  .btn,
  .btn-outline {
    padding: 13px 24px;
    font-size: 10.5px;
  }

  /* --- Footer stacks --------------------------------------------------- */
  .footer__inner {
    padding: 30px 20px 22px;
  }

  .footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer__about {
    margin-left: 0;
  }

  .footer__links {
    margin-left: 0;
    padding-top: 0;
    gap: 24px;
    flex-wrap: wrap;
  }

  .footer__copyright--center {
    margin-top: 24px;
  }
}

/* ==========================================================================
   Card grid columns
   Deliberately on their own breakpoints so a card row keeps a sensible
   column count independently of the header/footer layout tiers:
     < 576px   1 column
     576-991px 2 columns
     >= 992px  full desktop count (4 or 3)
   ========================================================================== */
@media (max-width: 991px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
