/* ============================================================
   WATCHES PAGE — section styles for watches.html
   Loaded after style.css and photography.css.
   photography.css provides: body.page-light, nav dark overrides,
   :root light tokens (--page-bg, --page-mid, --text, --text-dim),
   .page-intro*, and .rwi-ph placeholder utility.
============================================================ */

/* ============================================================
   IMAGE BREAK — decorative full-bleed pause between light sections
============================================================ */
.image-break {
  width: 100%;
  height: clamp(280px, 40vw, 640px); /* source is 1920×1280, 3:2 */
  overflow: hidden;
}

.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*
  Parallax variant — TAG Heuer break, watches.html only.
  The image is painted as a fixed background instead of an <img>,
  so it stays anchored to the viewport while the section scrolls
  past it (a "pinned" background, not a subtle drift). Requires no
  transform/filter/perspective on any ancestor — see body/html in
  style.css — since that would force background-attachment back to
  scroll behavior.
*/
.image-break--parallax {
  height: clamp(360px, 55vw, 780px);
  background-image: url('../images/watches/tag-hero.webp');
  background-size: cover;
  background-position: center 38%;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .image-break--parallax {
    height: clamp(320px, 70vw, 560px);
  }
}

/* ============================================================
   CREDIBILITY
============================================================ */
.credibility {
  background-color: var(--page-bg);
  padding: 7rem 0 8rem;
  text-align: center;
}

.credibility .eyebrow {
  color: var(--amber);
}

.client-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 3rem;
  margin-bottom: 3.5rem;
}

.client-logo {
  width: clamp(130px, 14vw, 170px);
  height: auto;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.award-callout {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  border-left: 3px solid var(--amber);
  background-color: var(--page-mid);
  padding: 1.5rem 2rem;
  max-width: 540px;
  margin: 0 auto;
  text-align: left;
}

.award-text {
  flex: 1;
}

.award-photo {
  flex-shrink: 0;
  width: 120px;
  height: 96px;
  object-fit: cover;
  border-radius: 2px;
}

.award-label {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.6rem;
}

.award-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.award-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ============================================================
   SERVICES
============================================================ */
.services-section {
  background-color: var(--page-mid);
  padding: 8rem 0 9rem;
  text-align: center;
}

.services-section .eyebrow {
  color: var(--amber);
}

.services-headline {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 5rem;
}

.services-headline em {
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: left;
  margin-bottom: 5rem;
}

.service-item {
  border-top: 1px solid rgba(15, 15, 15, 0.12);
  padding-top: 2rem;
}

/*
  To swap a placeholder for a real image:
  Replace <div class="rwi-ph"><span>3:2</span></div> inside
  .service-image with:
    <img src="images/watches/filename.jpg" alt="brief description">
  and remove the rwi-ph div. overflow:hidden handles cropping.
*/
.service-image {
  aspect-ratio: 3 / 2;
  background-color: #E8E4DF;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-dim);
}

.services-cta {
  text-align: center;
}

.watches-enquire {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s ease;
}

.watches-enquire:hover {
  color: var(--text);
}

/* ============================================================
   PORTFOLIO
============================================================ */
.portfolio-section {
  background-color: var(--page-bg);
  padding: 8rem 0 10rem;
}

.portfolio-section .eyebrow {
  color: var(--amber);
}

/*
  Portfolio grid — 9 square image slots (3×3 on desktop)
  To swap a placeholder for a real image:
  Replace <div class="rwi-ph"><span>NN</span></div> inside
  .portfolio-item with:
    <img src="images/watches/filename.jpg" alt="brief description">
  and remove the rwi-ph div. overflow:hidden handles cropping.
*/
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
  margin-bottom: 3rem;
}

.portfolio-item {
  aspect-ratio: 1;
  background-color: #E8E4DF;
  overflow: hidden;
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: 0;
  transition: outline-color 0.18s ease, transform 0.18s ease;
}

.portfolio-item:hover,
.portfolio-item:focus-visible {
  outline-color: var(--amber);
  transform: scale(1.025);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-more {
  text-align: center;
}

/* ============================================================
   WRITING & PRESS
============================================================ */
.writing-section {
  background-color: var(--page-mid);
  padding: 8rem 0 10rem;
}

.writing-section .eyebrow {
  color: var(--amber);
}

.writing-intro {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 4rem;
}

/*
  Source group — one block per publication.
  To add a new source: duplicate a .writing-group and update
  the .writing-source-label and the .writing-entry links inside.
  To add a new article: duplicate a .writing-entry <a> block
  and update the href and .writing-title text.
*/
.writing-group {
  margin-bottom: 2.75rem;
}

.writing-group:last-child {
  margin-bottom: 0;
}

.writing-source-label {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(15, 15, 15, 0.15);
}

.writing-entry {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(15, 15, 15, 0.07);
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s ease;
}

.writing-entry:hover {
  color: var(--amber);
}

.writing-entry:hover .writing-arrow {
  color: var(--text);
}

.writing-title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}

.writing-arrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--amber);
  flex-shrink: 0;
  transition: color 0.2s ease;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  /* Credibility */
  .client-row {
    flex-direction: column;
    gap: 2.25rem;
  }

  .client-logo {
    width: clamp(170px, 50vw, 220px);
  }

  .client-sep {
    display: none;
  }

  .award-callout {
    max-width: 100%;
    gap: 1.25rem;
  }

  .award-photo {
    width: 90px;
    height: 90px;
  }

  /* Services */
  .services-headline {
    margin-bottom: 3.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 3.5rem;
  }

  .service-item {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .credibility {
    padding: 5rem 0 6rem;
  }

  .services-section {
    padding: 5rem 0 6rem;
  }

  .portfolio-section {
    padding: 5rem 0 7rem;
  }

  .writing-section {
    padding: 5rem 0 7rem;
  }

  .portfolio-grid {
    gap: 0.5rem;
  }
}
