/* ============================================================
   IUSTUS — Live Better
   Section 1: Hero
   Placeholder fonts: Cormorant Garamond (serif), Jost (sans)
   ============================================================ */

:root{
  --bronze: #a67c52;        /* tagline / accents */
  --bronze-deep: #8f6a44;
  --grey-text: #808080;     /* nav text */
  --taupe: #89796b;         /* play label */
  --video-grey: #eeecea;    /* intro poster panel */
  --ink: #2b2b2b;

  /* Ambroise Std Firmin is the brand serif (Live Better / tagline).
     Playfair Display stands in until the licensed font is uploaded. */
  /* Brand serifs:
     --serif       = Ambroise Std Firmin  (the "Live Better" image-overlay) — live via Adobe Fonts
     --serif-didot = Didot LT Pro         (the "Live Life. Live Better." tagline)
     Playfair Display stands in for Didot until that licensed font is supplied. */
  --serif: "ambroise-firmin-std", "Ambroise Std", "Playfair Display", Georgia, serif;
  --serif-didot: "Didot LT Pro", "Didot", "Playfair Display", Georgia, serif;
  --sans: "Bilo", "Jost", "Century Gothic", sans-serif;

  /* layout */
  --pad: clamp(20px, 4.5vw, 90px);
  --page-max: 1680px;
}

/* Brand fonts:
   - Ambroise Std Firmin is served via the Adobe Fonts kit in <head> (family "ambroise-firmin-std").
   - Didot LT Pro and Bilo are not yet supplied; these local()-only @font-face rules pick them up
     automatically if installed, otherwise the stacks fall back to Playfair Display / Jost.
     When the real web-font files arrive, add url() sources here (or an Adobe kit link). */
@font-face{
  font-family: "Didot LT Pro";
  src: local("Didot LT Pro"), local("Didot");
  font-weight: 400 600;
  font-display: swap;
}
@font-face{
  font-family: "Bilo";
  src: local("Bilo");
  font-weight: 400;
  font-display: swap;
}
@font-face{
  font-family: "Bilo";
  src: local("Bilo Medium");
  font-weight: 500;
  font-display: swap;
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
img{ display: block; max-width: 100%; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }

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

/* ===================== INTRO VIDEO ===================== */
.intro{
  padding-top: clamp(48px, 9vw, 150px);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: max-height .9s cubic-bezier(.6,0,.2,1),
              opacity .6s ease,
              padding .9s cubic-bezier(.6,0,.2,1),
              margin .9s cubic-bezier(.6,0,.2,1);
  max-height: 1400px;
}
.intro.is-collapsed{
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  margin-bottom: 0;
  pointer-events: none;
}
.intro__frame{
  position: relative;
  width: 85%;
  max-width: 1180px;
  aspect-ratio: 2.06 / 1;
  background: var(--video-grey);
  overflow: hidden;
}
.intro__poster{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro__poster-script{
  width: 56%;
  opacity: .45;
  filter: grayscale(1) brightness(1.15);
}
.intro__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  opacity: 0;
  transition: opacity .5s ease;
}
.intro.is-playing .intro__poster{ opacity: 0; }
.intro.is-playing .intro__video{ opacity: 1; }

/* Mute / unmute toggle (only visible while the video plays) */
.intro__sound{
  position: absolute;
  right: clamp(12px, 1.4vw, 22px);
  bottom: clamp(12px, 1.4vw, 22px);
  z-index: 3;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 12px;
  background: rgba(20,18,16,.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: #fff;
  transition: background .25s ease, opacity .25s ease;
}
.intro.is-playing .intro__sound{ display: inline-flex; }
.intro__sound:hover{ background: rgba(20,18,16,.62); }
.intro__sound svg{ width: 20px; height: 20px; display: block; }
.intro__sound-on{ display: none; }
.intro__sound.is-on .intro__sound-muted{ display: none; }
.intro__sound.is-on .intro__sound-on{ display: block; }
.intro__sound-label{
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(11px, .82vw, 13px);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.intro__sound.is-on .intro__sound-label{ display: none; }

/* PLAY button */
.play{
  margin-top: clamp(14px, 1.8vw, 26px);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  padding: 10px;
}
.play__label{
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: .28em;
  font-size: clamp(13px, 1vw, 16px);
  color: var(--taupe);
}
.play__icon{
  width: 0; height: 0;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent var(--bronze);
  transition: transform .3s ease, border-color .3s ease;
}
.play:hover .play__icon{ transform: scale(1.12); border-color: var(--bronze-deep); }
.intro.is-playing .play{ opacity: 0; pointer-events: none; transition: opacity .4s; }

/* ===================== NAV ===================== */
.nav{
  display: flex;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 5vw, 64px) 0 0;
  position: relative;
  z-index: 60;
}
.nav__logo{ flex: 0 0 auto; }
.nav__logo img{
  width: clamp(78px, 8vw, 118px);
  height: auto;
}
.nav__menu{
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.nav__menu ul{
  display: flex;
  gap: clamp(20px, 3vw, 52px);
}
.nav__menu a{
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: .18em;
  font-size: clamp(11px, .92vw, 14px);
  color: var(--grey-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease;
}
.nav__menu a:hover{ color: var(--bronze); }
.nav__enquire{
  flex: 0 0 auto;
  font-family: var(--sans);
  letter-spacing: .18em;
  font-size: clamp(11px, .92vw, 14px);
  color: var(--grey-text);
  background: none;
  border: 1px solid #c9c4bd;
  padding: 13px 22px;
  transition: all .25s ease;
}
.nav__enquire:hover{ color: var(--bronze); border-color: var(--bronze); }
.nav__burger{ display: none; }

/* Mobile menu */
.mobile-menu{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.98);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
body.menu-open .mobile-menu{ opacity: 1; visibility: visible; }
.mobile-menu ul{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-menu a{
  font-family: var(--sans);
  letter-spacing: .2em;
  font-size: 16px;
  color: var(--grey-text);
  text-decoration: none;
}
.mobile-menu a:hover{ color: var(--bronze); }
.mobile-menu__enquire{
  border: 1px solid #c9c4bd;
  padding: 12px 26px;
  margin-top: 8px;
}
body.menu-open .nav__burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2){ opacity: 0; }
body.menu-open .nav__burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO CALLIGRAPHY ===================== */
.hero{
  display: flex;
  justify-content: center;
  padding-top: clamp(60px, 13vw, 220px);
}
.hero__script{
  width: 67%;
  max-width: 880px;
  height: auto;
}

/* ===================== LIVING ROOM ===================== */
.living{
  padding-top: clamp(64px, 13vw, 220px);
}
.living__frame{
  position: relative;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  aspect-ratio: 1.78 / 1;
  overflow: hidden;
  container-type: inline-size;
}
.living__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.living__caption{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 29%);
  width: 100%;
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 29cqw;          /* Ambroise Firmin is condensed — fills image width edge to edge */
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255,255,255,.82);
  white-space: nowrap;
  pointer-events: none;
}

/* ===================== ABOUT INTRO ===================== */
.about{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 120px) var(--pad) 0;
}
.about__inner{
  position: relative;
}
.about__birds{
  position: absolute;
  right: -1.5%;
  top: clamp(120px, 14vw, 300px);
  width: 48%;
  max-width: 820px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}
.about__tagline{
  margin: 0 0 0 19%;
  font-family: var(--serif-didot);
  font-weight: 500;
  font-size: clamp(34px, 6.1vw, 104px);
  line-height: 1.04;
  letter-spacing: .005em;
  color: var(--bronze);
}
.about__rule{
  display: block;
  margin: clamp(16px, 1.8vw, 30px) 0 0 19%;
  width: clamp(120px, 10.2vw, 204px);
  height: clamp(5px, .5vw, 8px);
  background: var(--bronze);
}
.about__copy{
  position: relative;
  z-index: 2;
  margin: clamp(34px, 4vw, 70px) 0 0 19%;
  max-width: 49%;
}
.about__copy p{
  margin: 0 0 1.5em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(12px, 1.04vw, 18px);
  line-height: 2;
  letter-spacing: .12em;
  color: #1f1f1f;
  text-transform: uppercase;
  text-align: justify;
}
.about__copy p:last-child{ margin-bottom: 0; }
.about__link{
  display: inline-block;
  margin: clamp(28px, 3.4vw, 58px) 0 0 19%;
  position: relative;
  z-index: 2;
}
.about__link img{
  width: clamp(150px, 16vw, 270px);
  height: auto;
  transition: opacity .25s ease;
}
.about__link:hover img{ opacity: .65; }
.about__divider{
  display: block;
  max-width: var(--page-max);
  margin: clamp(40px, 5vw, 86px) auto 0;
  width: 30%;
  height: 1px;
  background: #d9d4cd;
}

/* ===================== MISSION & VISION ===================== */
.mission{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 110px) var(--pad) 0;
}
.mission__head{
  margin: 0 0 clamp(34px, 4.2vw, 76px);
  font-family: var(--serif-didot);
  font-weight: 500;
  font-size: clamp(26px, 3.55vw, 60px);
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--bronze);
  max-width: 92%;
}
.mission__grid{
  display: grid;
  grid-template-columns: 21% 1fr auto;
  gap: clamp(20px, 3vw, 56px);
  align-items: start;
}
.mission__copy p{
  margin: 0 0 1.7em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(12.5px, .92vw, 16px);
  line-height: 2;
  letter-spacing: .12em;
  color: #1f1f1f;
  text-transform: uppercase;
}
.mission__copy p.is-bronze{ color: var(--bronze); }
.mission__copy p:last-child{ margin-bottom: 0; }
.mission__media img{
  width: 100%;
  height: auto;
  display: block;
}
.mission__vert{
  align-self: stretch;
  height: auto;
  width: clamp(40px, 4vw, 72px);
  justify-self: end;
  object-fit: contain;
}
.mission__values{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(26px, 3vw, 50px) 0 0;
  margin-left: 21%;            /* align under the bathroom column */
  padding-left: clamp(20px, 3vw, 56px);
}
.vcol{
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 16px);
  padding: 4px clamp(14px, 1.8vw, 32px);
  border-left: 1px solid #d9d4cd;
}
.vcol:first-child{ border-left: 0; padding-left: 0; }
.vcol span{
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(11px, 1.04vw, 18px);
  letter-spacing: .06em;
  color: var(--bronze);
  white-space: nowrap;
}

/* ===================== FOREST ===================== */
.forest{
  margin: clamp(48px, 7vw, 130px) 0 0;
}
.forest__img{
  position: relative;
  width: 100%;
  max-width: 1840px;
  margin: 0 auto;
  aspect-ratio: 1250 / 550;
  overflow: hidden;
}
.forest__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.forest__quote{
  position: absolute;
  left: 50%;
  bottom: -4%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
  font-family: var(--serif-didot);
  font-weight: 400;
  font-size: clamp(22px, 8vw, 168px);
  line-height: 1;
  letter-spacing: .005em;
  color: rgba(255,255,255,.94);
  text-shadow: 0 2px 30px rgba(0,0,0,.16);
  pointer-events: none;
}
.forest__caption{
  text-align: center;
  padding: clamp(40px, 5vw, 92px) var(--pad) 0;
}
.forest__lead{
  margin: 0 0 clamp(12px, 1.4vw, 22px);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, 1.9vw, 34px);
  letter-spacing: .12em;
  color: var(--bronze);
}
.forest__sub{
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(12px, 1.15vw, 21px);
  letter-spacing: .12em;
  color: #1a1a1a;
}

/* ===================== SHARED RULES (Section 3) ===================== */
.rule{ display: block; background: #ddd8d1; height: 1px; }
.rule--left{ width: 13%; }
.rule--top,
.rule--full{ width: 100%; }

/* ===================== WHY BETTER MATTERS ===================== */
.why{ padding: clamp(40px, 6vw, 104px) var(--pad) 0; }
.why__wrap{ max-width: var(--page-max); margin: 0 auto; }
.why__inner{
  position: relative;
  margin-top: clamp(40px, 6vw, 108px);
}
.why__butterfly{
  position: absolute;
  left: -1%;
  top: clamp(48px, 5vw, 96px);
  width: clamp(96px, 11vw, 200px);
  height: auto;
  pointer-events: none;
}
.why__head{
  margin: 0 0 clamp(28px, 3.4vw, 60px);
  padding-left: 16.5%;
  font-family: var(--serif-didot);
  font-weight: 500;
  font-size: clamp(22px, 2.95vw, 50px);
  line-height: 1.12;
  letter-spacing: .01em;
  color: var(--bronze);
}
.why__copy{
  margin-left: 22.5%;
  max-width: 56%;
}
.why__copy p{
  margin: 0 0 1.7em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(12.5px, .92vw, 16px);
  line-height: 2;
  letter-spacing: .12em;
  color: #1f1f1f;
  text-transform: uppercase;
}
.why__copy p.is-bold{ font-weight: 600; color: #111; }
.why__copy p:last-child{ margin-bottom: 0; }
.why__design{
  position: absolute;
  right: 0;
  top: 0;
  width: clamp(46px, 5vw, 92px);
  height: auto;
}

/* ===================== PRINCIPLES ===================== */
.principles{ padding: clamp(36px, 5vw, 90px) var(--pad) 0; }
.principles__wrap{ max-width: var(--page-max); margin: 0 auto; }
.principles__lead{
  margin: clamp(30px, 4vw, 70px) auto 0;
  max-width: 84%;
  text-align: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(12px, 1.06vw, 18px);
  line-height: 1.7;
  letter-spacing: .08em;
  color: #1a1a1a;
}
.principles__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: clamp(28px, 3.6vw, 64px) auto 0;
  max-width: 80%;
}
.pcol{
  padding: 0 clamp(14px, 1.8vw, 34px);
  border-left: 1px solid #ddd8d1;
  font-family: var(--serif-didot);
  font-weight: 500;
  font-size: clamp(13px, 1.18vw, 21px);
  line-height: 1.3;
  letter-spacing: .01em;
  color: #2b2b2b;
}
.pcol:first-child{ border-left: 0; padding-left: 0; }
.principles__bronze{
  margin: clamp(30px, 4vw, 70px) 0 0;
  text-align: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(12px, 1.3vw, 24px);
  letter-spacing: .08em;
  color: var(--bronze);
}

/* ===================== CLOSING ===================== */
.closing{ padding: clamp(44px, 6vw, 110px) var(--pad) 0; }
.closing__wrap{ max-width: var(--page-max); margin: 0 auto; text-align: center; }
.closing .rule--left{ margin: 0 0 clamp(40px, 6vw, 100px); }
.closing__head{
  margin: 0 0 clamp(18px, 2vw, 34px);
  font-family: var(--serif-didot);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 58px);
  letter-spacing: .01em;
  color: var(--bronze);
}
.closing__sub{
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(13px, 1.45vw, 26px);
  letter-spacing: .06em;
  color: #1a1a1a;
}

/* ===================== FOOTER ===================== */
.footer{ padding: clamp(50px, 7vw, 120px) var(--pad) clamp(20px, 3vw, 50px); }
.footer__wrap{ max-width: var(--page-max); margin: 0 auto; }
.footer__top{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
  gap: clamp(20px, 3vw, 50px);
  padding: clamp(34px, 4vw, 70px) 0;
  align-items: start;
}
.footer__tag{
  margin: 0 0 18px;
  font-family: var(--serif-didot);
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 24px);
  letter-spacing: .01em;
  color: #2b2b2b;
}
.footer__copyright{
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(10px, .8vw, 13px);
  letter-spacing: .06em;
  color: #8a8a8a;
}
.footer__col h3{
  margin: 0 0 clamp(14px, 1.6vw, 26px);
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(10px, .82vw, 13px);
  letter-spacing: .14em;
  color: #9a9a9a;
}
.footer__col a{
  display: block;
  margin-bottom: clamp(8px, 1vw, 15px);
  font-family: var(--sans);
  font-size: clamp(11px, .92vw, 15px);
  letter-spacing: .04em;
  color: #3a3a3a;
  text-decoration: none;
  transition: color .2s ease;
}
.footer__col a:hover{ color: var(--bronze); }
.footer__legal{
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 15px);
  align-self: end;
  text-align: right;
}
.footer__legal a{
  font-family: var(--sans);
  font-size: clamp(11px, .92vw, 15px);
  letter-spacing: .04em;
  color: #3a3a3a;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.footer__legal a:hover{ color: var(--bronze); }
.footer__watermark{
  text-align: center;
  padding: clamp(34px, 5vw, 80px) 0;
}
.footer__watermark img{
  width: 48%;
  max-width: 920px;
  height: auto;
  margin: 0 auto;
  opacity: .9;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px){
  .nav__menu, .nav__enquire{ display: none; }
  .nav__burger{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    background: none; border: 0;
    min-width: 44px; min-height: 44px;
    padding: 11px;
  }
  .nav__burger span{
    width: 26px; height: 2px; background: var(--grey-text);
    transition: transform .3s, opacity .3s;
  }
  .intro__frame{ width: 100%; }
  .intro__poster-script{ width: 70%; }
  .hero__script{ width: 86%; }
  .living__frame{ aspect-ratio: 4 / 3; }

  /* About intro → single column, birds become a top accent */
  .about__tagline,
  .about__rule,
  .about__copy,
  .about__link{ margin-left: 0; }
  .about__copy{ max-width: 100%; }
  .about__copy p{ text-align: left; }
  .about__birds{
    position: static;
    display: block;
    width: 80%;
    max-width: 520px;
    margin: 0 0 24px auto;
  }
  .about__divider{ width: 60%; }

  /* Mission → stack */
  .mission__head{ max-width: 100%; }
  .mission__grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mission__vert{
    width: 46px;
    justify-self: start;
    transform: rotate(180deg);
  }
  .mission__values{
    grid-template-columns: 1fr 1fr;
    margin-left: 0;
    padding-left: 0;
    gap: 22px 0;
  }
  .vcol{ padding: 4px clamp(10px, 4vw, 24px); }
  .vcol:nth-child(odd){ border-left: 0; padding-left: 0; }

  /* Why → stack, butterfly becomes a top accent */
  .why__inner{ display: flex; flex-direction: column; }
  .why__head{ padding-left: 0; order: 1; }
  .why__copy{ margin-left: 0; max-width: 100%; order: 2; }
  .why__butterfly{
    position: static;
    width: 120px;
    margin: 0 0 18px;
    order: 0;
  }
  .why__design{
    position: static;
    width: 54px;
    margin: 36px 0 0;
    transform: rotate(180deg);
    align-self: flex-start;
    order: 3;
  }

  /* Principles → stack */
  .principles__lead{ max-width: 100%; }
  .principles__grid{
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
    gap: 22px 0;
  }
  .pcol{ padding: 0 16px; }
  .pcol:nth-child(odd){ border-left: 0; padding-left: 0; }

  /* Footer → stack */
  .footer__top{
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .footer__brand{ grid-column: 1 / -1; }
  .footer__col a{ padding: 6px 0; margin-bottom: 4px; }
  .footer__legal{
    text-align: left; align-self: start;
    flex-direction: row; gap: 24px;
    grid-column: 1 / -1;
  }
  .footer__legal a{ padding: 6px 0; }
  .footer__watermark img{ width: 78%; }
}

@media (max-width: 520px){
  .about__copy p{ letter-spacing: .08em; }
  .mission__values{ grid-template-columns: 1fr; }
  .vcol{ border-left: 0; padding-left: 0; }
  .forest__quote{ transform: translateX(-50%) translateY(6%); }
  .principles__grid{ grid-template-columns: 1fr; }
  .pcol{ border-left: 0; padding-left: 0; }
  .footer__top{ grid-template-columns: 1fr; }
}
