/* ============================================================
   HL SUPPLY — Phase 1 homepage
   Palette: warm ivory, cream, deep navy, resort green,
   pool blue, canvas beige, soft terracotta, muted chrome.
   Type: Marcellus (display serif) + Jost (body sans).
   ============================================================ */

:root {
  --ivory: #f6f1e6;
  --cream: #fcf9f2;
  --navy: #1b2a41;
  --navy-soft: #2c3e57;
  --green: #3f5c4f;
  --pool: #7fb3c1;
  --pool-deep: #52869a;
  --canvas: #e7ddc6;
  --canvas-deep: #d8cbae;
  --terracotta: #c47e5d;
  --chrome: #9aa3a8;
  --ink: #33383d;
  --hairline: rgba(27, 42, 65, 0.16);

  --serif: "Marcellus", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --section: clamp(84px, 11vw, 150px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* The hidden attribute must always hide, regardless of author display rules.
   (A fixed full-screen element with display:flex + hidden was invisibly
   covering the page and swallowing clicks.) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16.5px;
}

img, svg { display: block; }

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

:focus-visible {
  outline: 2px solid var(--pool-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- awning ribbon (signature accent) ---------- */

.ribbon {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--navy) 0 34px,
    var(--cream) 34px 68px,
    var(--terracotta) 68px 102px,
    var(--cream) 102px 136px
  );
}

/* ---------- type utilities ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.section-head { max-width: 640px; }

.section-head .eyebrow { display: block; margin-bottom: 18px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: 0.005em;
}

h2 { font-size: clamp(30px, 3.6vw, 46px); }

.section-head p {
  margin-top: 18px;
  color: var(--ink);
  max-width: 52ch;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 34px 15px;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease);
}

.btn:hover { background: var(--navy); color: var(--cream); }

.btn--solid { background: var(--navy); color: var(--cream); }

.btn--solid:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}

.btn--light {
  border-color: rgba(252, 249, 242, 0.7);
  color: var(--cream);
}

.btn--light:hover { background: var(--cream); color: var(--navy); }

.btn--light-solid {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
}

.btn--light-solid:hover {
  background: var(--canvas);
  border-color: var(--canvas);
  color: var(--navy);
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
}

.tlink::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}

.tlink:hover { color: var(--terracotta); }
.tlink:hover::after { width: 40px; }

/* ---------- image placeholders ---------- */

.ph {
  position: relative;
  overflow: hidden;
  background: var(--canvas);
}

.ph__art {
  position: absolute;
  inset: 0;
  transition: transform 1.1s var(--ease);
}

/* faint canvas weave over every placeholder */
.ph__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(27,42,65,0.03) 0 2px, transparent 2px 5px);
}

.ph__cap {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  max-width: calc(100% - 36px);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(252, 249, 242, 0.88);
  padding: 8px 14px;
  line-height: 1.5;
}

/* placeholder tints — sunlit, Riviera-leaning gradients */
.tint-poolside  { background: linear-gradient(178deg, #f2ead8 0%, #ded1b2 42%, #8db9c5 43%, #6ea3b3 100%); }
.tint-sand      { background: linear-gradient(170deg, #f5eedd 0%, #e7dcc2 55%, #d6c6a2 100%); }
.tint-navy      { background: linear-gradient(165deg, #33465f 0%, #1b2a41 70%, #16233a 100%); }
.tint-pool      { background: linear-gradient(165deg, #a8ccd6 0%, #7fb3c1 55%, #5d8fa0 100%); }
.tint-green     { background: linear-gradient(165deg, #5b7a6c 0%, #3f5c4f 65%, #354e43 100%); }
.tint-terra     { background: linear-gradient(165deg, #d99e7f 0%, #c47e5d 60%, #b06a4a 100%); }
.tint-chrome    { background: linear-gradient(165deg, #c6ccce 0%, #9aa3a8 65%, #869095 100%); }
.tint-linen     { background: linear-gradient(165deg, #faf5e9 0%, #ece3cc 60%, #ddd0b1 100%); }

/* sun disc used sparingly inside a few placeholders */
.ph__sun {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  right: 8%;
  top: 10%;
  background: radial-gradient(circle at 35% 35%, rgba(252,249,242,0.9), rgba(252,249,242,0) 70%);
}

/* horizon line detail */
.ph__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 58%;
  height: 1px;
  background: rgba(252, 249, 242, 0.45);
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 249, 242, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}

.header.is-scrolled {
  background: rgba(252, 249, 242, 0.97);
  border-bottom-color: var(--hairline);
  box-shadow: 0 10px 30px -18px rgba(27, 42, 65, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
  transition: height 0.4s var(--ease);
}

.header.is-scrolled .header__inner { height: 68px; }

.wordmark {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}

.wordmark span { color: var(--terracotta); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}

.nav a {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

.header .btn { padding: 12px 24px 11px; font-size: 11.5px; }

@media (max-width: 940px) {
  .nav { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero { position: relative; }

.hero .ph { min-height: clamp(560px, 82vh, 760px); }

.hero__art {
  position: absolute;
  inset: 0;
  background:
    /* sunlight wash */
    radial-gradient(120% 90% at 78% 8%, rgba(252, 249, 242, 0.85) 0%, rgba(252, 249, 242, 0) 55%),
    /* sky to stone to pool */
    linear-gradient(
      178deg,
      #f7f0df 0%,
      #efe5cc 38%,
      #e2d5b4 54.8%,
      #9cc2cc 55%,
      #7fb3c1 74%,
      #5d92a3 100%
    );
}

/* soft pool shimmer */
.hero__art::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 55%;
  bottom: 0;
  background: repeating-linear-gradient(
    92deg,
    rgba(252, 249, 242, 0.14) 0 3px,
    transparent 3px 90px
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: clamp(560px, 82vh, 760px);
  display: flex;
  align-items: center;
}

.hero__content {
  max-width: 620px;
  padding: 90px 0 120px;
}

.hero__label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid rgba(27, 42, 65, 0.35);
  padding: 9px 16px 8px;
  margin-bottom: 34px;
  background: rgba(252, 249, 242, 0.5);
}

.hero h1 {
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.06;
  margin-bottom: 26px;
}

.hero__sub {
  font-size: clamp(16.5px, 1.4vw, 19px);
  color: var(--navy-soft);
  max-width: 50ch;
  margin-bottom: 40px;
}

/* ============================================================
   CATEGORY SECTION
   ============================================================ */

.section { padding-top: var(--section); padding-bottom: var(--section); }

.categories .section-head { margin-bottom: clamp(44px, 5vw, 70px); }

/* Category grid/card styles moved to css/category-section.css (Phase 3) */

/* ============================================================
   LIFESTYLE STATEMENT
   ============================================================ */

.statement { background: var(--ivory); }

.statement__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

@media (max-width: 900px) {
  .statement__grid { grid-template-columns: 1fr; }
}

.statement .ph { aspect-ratio: 4 / 4.6; }

@media (max-width: 900px) {
  .statement .ph { aspect-ratio: 4 / 3; order: -1; }
}

.statement h2 { margin-bottom: 26px; max-width: 15ch; }

.statement__copy {
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.75;
  color: var(--navy-soft);
  max-width: 52ch;
}

.statement__rule {
  width: 64px;
  height: 1px;
  background: var(--terracotta);
  margin-bottom: 30px;
}

/* ============================================================
   COLLECTIONS
   ============================================================ */

.collections .section-head { margin-bottom: clamp(44px, 5vw, 70px); }

.col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.2vw, 30px);
}

@media (max-width: 760px) {
  .col-grid { grid-template-columns: 1fr; }
}

.col-card .ph { aspect-ratio: 16 / 10; }

.col-card:hover .ph__art { transform: scale(1.045); }

.col-card__body {
  padding: 22px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.col-card h3 { font-size: 26px; }

.col-card p { font-size: 15.5px; max-width: 48ch; margin-bottom: 8px; }

/* ============================================================
   CLIENT LOGOS
   ============================================================ */

.clients { background: var(--ivory); }

.clients .section-head {
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}

.clients .section-head p { margin-left: auto; margin-right: auto; }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

@media (max-width: 1000px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

.logo-box {
  border: 1px solid var(--hairline);
  background: var(--cream);
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--chrome);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.logo-box:hover { border-color: var(--chrome); color: var(--navy-soft); }

/* ============================================================
   PROCESS
   ============================================================ */

.process .section-head { margin-bottom: clamp(44px, 5vw, 70px); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}

@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.step {
  border-top: 1px solid var(--navy);
  padding-top: 26px;
}

.step__num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.step h3 { font-size: 24px; margin-bottom: 10px; }

.step p { font-size: 15.5px; max-width: 38ch; }

/* ============================================================
   CONCIERGE CTA
   ============================================================ */

.concierge {
  background:
    radial-gradient(90% 120% at 85% -10%, rgba(127, 179, 193, 0.28) 0%, rgba(127, 179, 193, 0) 60%),
    var(--navy);
  color: var(--cream);
}

.concierge__inner {
  padding-top: clamp(90px, 11vw, 150px);
  padding-bottom: clamp(90px, 11vw, 150px);
  max-width: 760px;
}

.concierge .eyebrow { color: var(--pool); display: block; margin-bottom: 20px; }

.concierge h2 {
  color: var(--cream);
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 24px;
}

.concierge p {
  color: rgba(252, 249, 242, 0.82);
  font-size: clamp(16.5px, 1.4vw, 18.5px);
  max-width: 56ch;
  margin-bottom: 42px;
}

/* ============================================================
   FOOTER — luxury hotel stationery
   ============================================================ */

.footer {
  background: var(--cream);
  border-top: 1px solid var(--hairline);
  padding: clamp(70px, 8vw, 110px) 0 46px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; } }

.footer .wordmark { font-size: 26px; margin-bottom: 16px; display: inline-block; }

.footer__tag {
  font-size: 15px;
  color: var(--navy-soft);
  max-width: 34ch;
  margin-bottom: 26px;
}

.footer__seal {
  width: 64px;
  height: 1px;
  background: var(--terracotta);
}

.footer h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--chrome);
  margin-bottom: 20px;
}

.footer ul { list-style: none; display: grid; gap: 12px; }

.footer ul a {
  font-size: 15px;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer ul a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

.footer__contact { font-size: 15px; color: var(--navy-soft); line-height: 2; }

.footer__bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chrome);
}

/* ---------- reduced motion ---------- */

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

/* ============================================================
   Real catalog imagery (shared image modes for the ph component)
   ============================================================ */

.ph__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* Lifestyle covers: full-bleed editorial photos */
.ph--cover .ph__img { object-fit: cover; }
.ph--cover .ph__art::after { display: none; }

/* Product cutouts: transparent photos centered on a softened tint backdrop */
.ph--photo .ph__img { object-fit: contain; padding: 9%; }
.ph--photo .ph__art { opacity: 0.38; }
.ph--photo .ph__art::after { opacity: 0.5; }

/* homepage hero photo */
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.hero__inner { z-index: 2; }

/* image hover zoom (parallels the .ph__art zooms in component sheets) */
.at-card__media .ph__img,
.ccard__media .ph__img,
.pcard__media .ph__img,
.rel-card__media .ph__img {
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.at-card:hover .at-card__media .ph__img,
.ccard:hover .ccard__media .ph__img,
.pcard__media-link:hover .ph__img,
.rel-card:hover .rel-card__media .ph__img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .ph__img { transition-duration: 0.01ms !important; }
  .at-card:hover .at-card__media .ph__img,
  .ccard:hover .ccard__media .ph__img,
  .pcard__media-link:hover .ph__img,
  .rel-card:hover .rel-card__media .ph__img { transform: none; }
}
