/* ==========================================================================
   Postcards from Sonder — rebuilt to match the reference layout
   Type:  Helvetica bold/regular (as the reference), Cormorant Garamond
          italic for the serif accent words, Yellowtail for the script
          wordmark.
   ========================================================================== */

:root{
  --cream:      #FFF1B5;   /* butter-yellow accent + highlight boxes */
  --blue:       #C1DBE8;   /* pale blue section ground */
  --brown-band: #43302E;   /* statement band */
  --brown-deep: #3E2518;   /* brands panel / body brown */
  --ink:        #301D10;   /* headline brown */
  --white:      #FFFFFF;
  --rule:       rgba(48, 29, 16, .18);

  --sans:   "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif:  "Cormorant Garamond", Georgia, serif;
  --script: "Yellowtail", "Brush Script MT", cursive;

  --maxw: 1180px;
  --gutter: 48px;
}

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

body{
  margin: 0;
  background: var(--white);
  color: var(--brown-deep);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }

.wrap{
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- media placeholders ------------------------------------------ */

.ph{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg,
      rgba(48,29,16,.04) 0 12px, rgba(48,29,16,.075) 12px 24px),
    #EFE9DC;
  border: 1px dashed rgba(48,29,16,.3);
  color: rgba(48,29,16,.55);
  text-align: center;
}
.ph__label{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.9;
  padding: 12px;
}
.ph__label b{ display:block; font-size: 11px; letter-spacing: .22em; color: var(--ink); }
.ph__label span{ display:block; font-weight: 400; font-size: 9px; opacity: .75; }
.ph--fill{ position: absolute; inset: 0; border: none; }
.ph--dark{
  background:
    repeating-linear-gradient(45deg,
      rgba(255,241,181,.05) 0 14px, rgba(255,241,181,.09) 14px 28px),
    #5C463C;
  border-color: rgba(255,241,181,.35);
  color: rgba(255,241,181,.75);
}
.ph--dark .ph__label b{ color: var(--cream); }

/* ---------- serif accent + highlight ------------------------------------ */

.accent{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}
.hl{                                     /* cream highlight box behind word */
  background: var(--cream);
  padding: 0 .12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- header / navigation ----------------------------------------- */

.site-header{
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  padding: 30px 0;
}
.site-header--solid{
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  padding-inline: var(--gutter);
}
.nav a,
.nav .nav__more > button{
  font-family: var(--sans);
  font-weight: 700;                       /* bold, as the reference */
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream);
  background: none;
  border: 0;
  padding: 6px 2px;
  cursor: pointer;
  transition: color .2s ease;
}
/* pressed / hovered / current page -> brown */
.nav a:hover,
.nav a:active,
.nav a[aria-current="page"],
.nav .nav__more > button:hover,
.nav .nav__more > button:active{
  color: var(--brown-deep);
}
.site-header--solid .nav a,
.site-header--solid .nav .nav__more > button{ color: var(--brown-deep); }
.site-header--solid .nav a:hover,
.site-header--solid .nav a:active,
.site-header--solid .nav a[aria-current="page"]{
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav__more{ position: relative; }
.nav__more menu{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin: 10px 0 0;
  padding: 10px 0;
  min-width: 190px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--rule);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.nav__more:hover menu,
.nav__more:focus-within menu{ opacity: 1; visibility: visible; }
.nav__more menu a{
  display: block;
  padding: 9px 20px;
  color: var(--brown-deep);
  font-size: 11px;
}

/* ---------- hero --------------------------------------------------------- */

.hero{
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #5C463C;
}
.hero__media{ position: absolute; inset: 0; }
.hero__scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48,29,16,.30) 0%, rgba(48,29,16,.05) 40%, rgba(48,29,16,.22) 100%);
}
.hero__logo{
  position: relative;
  z-index: 10;
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.8rem, 7.5vw, 6.8rem);
  line-height: 1.15;
  color: var(--cream);
  text-align: center;
  padding-inline: 24px;
  text-shadow: 0 2px 26px rgba(48,29,16,.32);
}
.hero .ph--fill{ align-items: flex-end; justify-content: flex-start; }
.hero .ph--fill .ph__label{ text-align: left; padding: 0 0 48px 40px; }

/* ---------- statement band (dark brown, cream bold) ---------------------- */

.band-statement{
  background: var(--brown-band);
  padding: 150px 0 170px;
}
.statement{
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--cream);
  max-width: 880px;
}

/* ---------- about (pale blue, framed photo + display) -------------------- */

.about{
  background: var(--blue);
  padding: 130px 0 40px;
}
.about__grid{
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 90px;
  align-items: start;
}

/* framed photo with text overlays */
.polaroid{
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border: 3px solid var(--brown-band);
  border-radius: 14px;
  overflow: hidden;
}
.polaroid .ph{ position: absolute; inset: 0; border: none; }
.polaroid__caption{
  position: absolute;
  z-index: 5;
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.05;
  color: var(--white);
  text-shadow: 0 1px 14px rgba(48,29,16,.35);
}
.polaroid__caption .accent{ color: var(--cream); font-weight: 600; }
.polaroid__caption--tl{ top: 28px; left: -34px; }
.polaroid__caption--br{ right: 20px; bottom: 90px; text-align: right; }

.about__display{
  margin: 0 0 30px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--brown-deep);
}
.about__display .accent{
  font-size: 1.08em;
  font-weight: 600;
}
.about__body{
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--brown-deep);
  max-width: 46ch;
}

/* wavy transition out of the blue section */
.wave{
  display: block;
  width: 100%;
  height: 90px;
  background: var(--blue);
}
.wave svg{ display: block; width: 100%; height: 100%; }

/* ---------- services (white, centered) ----------------------------------- */

.services{
  background: var(--white);
  padding: 110px 0 120px;
  text-align: center;
}
.services__title{
  margin: 0 0 22px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -.02em;
  color: #1e1a17;
}
.services__title .accent{ font-size: 1.1em; }
.services__intro{
  margin: 0 auto 64px;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.55;
  color: #33291f;
}
.cards{
  display: grid;
  grid-template-columns: repeat(2, 340px);
  justify-content: center;
  gap: 120px;
}
.card{ display: block; }
.card__media{
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(193,219,232,.85);
}
.card__media .ph{ position: absolute; inset: 0; border: none; }
.card__title{
  margin: 26px 0 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown-deep);
}
.card:hover .card__title{ text-decoration: underline; text-underline-offset: 5px; }

/* ---------- brands (brown panel + photo split) --------------------------- */

.brands{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.brands__body{
  background: var(--brown-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px min(8vw, 100px);
}
.brands__title{
  margin: 0 0 30px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
}
.brands__title .num{ color: var(--cream); }
.brands__text{
  margin: 0 0 34px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--blue);
  max-width: 42ch;
}
.brands__list{
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--blue);
  max-width: 44ch;
}
.brands__list .alt{ color: var(--cream); }
.brands__figure{ position: relative; }

/* ---------- testimonials (white, 3 cols + rules) ------------------------- */

.quotes-section{ background: var(--white); padding: 0; }
.quotes{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.quote{
  padding: 90px 44px 110px;
  text-align: center;
}
.quote + .quote{ border-left: 1px solid rgba(0,0,0,.35); }
.quote__mark{
  display: block;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 110px;
  line-height: .4;
  height: 58px;
  color: var(--cream);
  user-select: none;
}
.quote__brand{
  margin: 44px 0 24px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brown-deep);
}
.quote__text{
  margin: 0 auto;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: #33291f;
}

/* ---------- feed (pale blue, heading left + carousel right) --------------- */

.feed{
  background: var(--blue);
  padding: 110px 0;
  overflow: hidden;
}
.feed__grid{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
}
.feed__title{
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--brown-deep);
}
.feed__strip{
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.feed__strip::-webkit-scrollbar{ height: 4px; }
.feed__strip::-webkit-scrollbar-thumb{ background: rgba(48,29,16,.25); }
.feed__item{
  flex: none;
  width: 224px;
  height: 316px;
  scroll-snap-align: start;
  border-radius: 4px;
  overflow: hidden;
}
.feed__item .ph{ width: 100%; height: 100%; border: none; }

/* ---------- footer (pale blue) ------------------------------------------- */

.site-footer{
  background: var(--blue);
  padding: 20px 0 70px;
}
.footer__grid{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__logo{
  margin: 0;
  font-family: var(--script);
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.2;
  color: var(--cream);
  text-shadow: 0 1px 0 rgba(48,29,16,.12);
}
.footer__links{
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}
.footer__links a{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--brown-deep);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.footer__links a:hover{ border-bottom-color: var(--brown-deep); }
.footer__legal{
  margin: 34px 0 0;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(62,37,24,.6);
}

/* ---------- inner pages --------------------------------------------------- */

.page-hero{ padding: 120px 0 60px; }
.page-hero__title{
  margin: 0 0 18px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -.02em;
  color: #1e1a17;
}
.page-hero__lede{
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  color: var(--brown-deep);
}
.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 0 100px;
}
.grid-3 figure{ margin: 0; }
.grid-3 .ph{ aspect-ratio: 4 / 5; border-radius: 10px; }
.grid-3 h3{
  margin: 16px 0 2px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brown-deep);
}
.grid-3 p{ margin: 0; font-size: 12px; color: rgba(62,37,24,.6); }

.cta{
  background: var(--brown-band);
  text-align: center;
  padding: 110px 0;
}
.cta h2{
  margin: 0 0 28px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  color: var(--cream);
}
.btn{
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--cream);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream);
  transition: background .3s ease, color .3s ease;
}
.btn:hover{ background: var(--cream); color: var(--brown-deep); }

/* ---------- responsive ---------------------------------------------------- */

@media (max-width: 1024px){
  :root{ --gutter: 32px; }
  .about__grid{ grid-template-columns: 340px 1fr; gap: 50px; }
  .cards{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 50px; }
  .brands{ grid-template-columns: 1fr; }
  .brands__figure{ min-height: 420px; }
  .quotes{ grid-template-columns: 1fr; }
  .quote + .quote{ border-left: 0; border-top: 1px solid rgba(0,0,0,.35); }
  .feed__grid{ grid-template-columns: 1fr; gap: 40px; }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px){
  .nav{ gap: 20px; }
  .nav a, .nav .nav__more > button{ font-size: 11px; letter-spacing: .14em; }
  .band-statement{ padding: 90px 0; }
  .about{ padding: 80px 0 20px; }
  .about__grid{ grid-template-columns: 1fr; }
  .polaroid{ max-width: 360px; }
  .polaroid__caption--tl{ left: 16px; }
  .cards{ grid-template-columns: 1fr; justify-items: center; }
  .card{ width: min(340px, 100%); }
  .quote{ padding: 60px 32px 70px; }
  .grid-3{ grid-template-columns: 1fr; }
  .footer__grid{ flex-direction: column; align-items: flex-start; }
}

/* hero background video */
.hero__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
