:root {
  --navy: #0F1B2D;
  --navy-2: #16243A;
  --navy-deep: #0A1422;
  --brass: #C9A45C;
  --ivory: #E8E2D0;
  --steel: #8E9CAB;
  --oxblood: #8A2B2B;
  --hair: rgba(201, 164, 92, 0.32);
  --font-display: 'Amiri', Georgia, serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font-body);
  line-height: 1.72;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; letter-spacing: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; letter-spacing: 0; }

.bidi {
  display: inline-block;
  unicode-bidi: isolate;
}

.tb-container {
  width: min(1220px, calc(100% - 44px));
  margin-inline: auto;
}

/* Fixed 74px Horological Navbar */
.tb-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 80;
  background: rgba(15, 27, 45, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}

.tb-nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tb-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.tb-brand strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ivory);
}

.tb-brand small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--brass);
}

.tb-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  font-size: 13.5px;
  color: rgba(232, 226, 208, 0.84);
}

.tb-links a:hover { color: var(--brass); }

.tb-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

/* Signature Knurled Watch-Crown Button */
.tb-crown-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--brass);
  background: transparent;
  color: var(--ivory);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  white-space: nowrap;
}

.tb-crown-btn.solid {
  background: var(--brass);
  color: var(--navy-deep);
}

.tb-crown-wheel {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--brass) 0deg 15deg, var(--navy-deep) 15deg 30deg);
  border: 1px solid var(--ivory);
  transition: transform 0.4s var(--ease);
}

.tb-crown-btn:hover .tb-crown-wheel { transform: rotate(42deg); }

/* 1. Guilloche + Circular Escapement Porthole Hero */
.tb-hero {
  position: relative;
  min-height: 100svh;
  padding: 98px 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 32% 52%, rgba(201, 164, 92, 0.14), transparent 55%),
    repeating-radial-gradient(circle at 32% 52%, transparent 0 4px, rgba(201, 164, 92, 0.035) 4px 5px),
    var(--navy);
}

.tb-watermark {
  position: absolute;
  inset-inline-start: 4%;
  top: 22%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(7rem, 18vw, 16rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 164, 92, 0.18);
  pointer-events: none;
  z-index: -1;
}

.tb-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
  align-items: center;
  margin-block: auto;
}

.tb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brass);
  margin-bottom: 18px;
}

.tb-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--brass);
}

.tb-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4.1rem);
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 18px;
}

.tb-h1 em,
.tb-h2 em {
  font-style: italic;
  color: var(--brass);
}

/* Circular Horology Porthole + Fluted Loupe 2.2x */
.tb-dial-wrap {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

.tb-porthole {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--brass);
  box-shadow: 0 0 0 10px rgba(201, 164, 92, 0.08), 0 30px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  cursor: crosshair;
}

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

.tb-loupe {
  position: absolute;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  border: 4px solid var(--brass);
  box-shadow: 0 0 0 2px var(--navy-deep), 0 16px 36px rgba(0, 0, 0, 0.65);
  background-image: url('../assets/art/tourbillon.webp');
  background-size: 820px auto;
  pointer-events: none;
  transform: translate(-50%, -50%);
  top: 48%;
  left: 52%;
  z-index: 4;
}

.tb-loupe-tag {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  background: var(--brass);
  color: var(--navy-deep);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.tb-callout {
  position: absolute;
  z-index: 5;
  padding: 6px 12px;
  background: rgba(10, 20, 34, 0.88);
  border: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brass);
}

.tb-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  margin-top: 24px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--steel);
}

/* Sections */
.tb-sec {
  padding: 100px 0;
  border-top: 1px solid var(--hair);
}

.tb-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.8vw, 3.3rem);
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 16px;
}

/* 2. Calibre TB-04 Anatomy + Counters */
.tb-inside-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.tb-counters-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.tb-cnt-box {
  padding: 20px;
  background: var(--navy-2);
  border: 1px solid var(--hair);
}

/* 3. Three-Piece Collection */
.tb-watches-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.tb-watch-card {
  background: var(--navy-2);
  border: 1px solid var(--hair);
  padding: 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.tb-watch-card:hover {
  transform: translateY(-5px);
  border-color: var(--brass);
}

.tb-watch-plate {
  aspect-ratio: 4 / 4.3;
  overflow: hidden;
  border: 1px solid var(--hair);
  margin-bottom: 16px;
}

.tb-watch-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. 7-Stage Hand-Finishing Hairline Grid (310 Hours) */
.tb-stages-7 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--hair);
  margin-top: 36px;
  background: var(--navy-2);
}

.tb-stage-cell {
  padding: 20px 14px;
  border-inline-end: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.tb-stage-cell:last-child { border-inline-end: 0; }

/* 5. Bespoke Case Diameter & Metal Configurator */
.tb-cfg-box {
  padding: 34px;
  background: var(--navy-2);
  border: 1px solid var(--brass);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
}

/* Footer */
.tb-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--hair);
  padding: 56px 0 40px;
}

.tb-outline-word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3.4rem, 13vw, 11rem);
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 164, 92, 0.36);
  line-height: 1.05;
  margin: 22px 0;
}

.tb-showcase-rail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}

@media (max-width: 720px) {
  .tb-links { display: none; }
  .tb-hero-grid,
  .tb-inside-grid,
  .tb-counters-4,
  .tb-watches-3,
  .tb-stages-7,
  .tb-cfg-box { grid-template-columns: 1fr; }
}
