/* ============================================================
   Lagomé — House of Curation
   Shared stylesheet
   ============================================================ */

html, body { margin: 0; padding: 0; background: #EDE8E0; }
* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: #16120E;
  overflow-x: hidden;
}

main {
  width: 100%;
  background: #EDE8E0;
  font-family: 'Inter', sans-serif;
  color: #16120E;
  overflow-x: hidden;
}

a { color: inherit; }

/* ============================================================
   HEADER
   ============================================================ */
@media (max-width: 1080px) and (min-width: 601px) {
  header { padding: 26px 40px !important; }
  header nav { gap: 26px !important; }
  header nav a { font-size: 11px !important; letter-spacing: 1.2px !important; }
  header > a[style*="absolute"] { font-size: 54px !important; }
}
@media (max-width: 600px) {
  header { padding: 20px 24px !important; flex-direction: column !important; gap: 14px !important; }
  header > a[style*="absolute"] {
    position: static !important; left: auto !important; top: auto !important;
    transform: none !important; order: -1; font-size: 42px !important;
  }
  header nav { gap: 16px !important; flex-wrap: nowrap !important; justify-content: center !important; }
  header nav a { font-size: 11px !important; letter-spacing: 1px !important; }
}
@media (max-width: 360px) {
  header nav { gap: 12px !important; }
  header nav a { font-size: 10px !important; letter-spacing: 0.6px !important; }
}

/* ============================================================
   HERO
   ============================================================ */
@media (max-width: 1200px) {
  .hero-textwrap { padding: 92px 40px 0 48px !important; }
}
@media (max-width: 900px) {
  .hero-sec { height: auto !important; display: flex !important; flex-direction: column !important; overflow: visible !important; }
  .hero-media {
    position: relative !important; top: auto !important; right: auto !important;
    width: 100% !important; max-width: none !important; height: 420px !important; order: 2 !important;
    -webkit-mask-image: none !important; mask-image: none !important;
  }
  .hero-textwrap {
    position: relative !important; top: auto !important; left: auto !important;
    width: 100% !important; height: auto !important; order: 1 !important; padding: 36px 40px 48px !important;
  }
  .hero-textwrap > div { max-width: 600px !important; padding-top: 0 !important; }
  /* the headline sits in a 188px min-height box (for desktop vertical centring);
     on stacked mobile that becomes dead space above the title — collapse it */
  .hero-textwrap div[style*="min-height:188px"] { min-height: 0 !important; }
  .hero-textwrap h1 { font-size: 54px !important; }
  .hero-textwrap h1 span { font-size: 74px !important; }
}
@media (max-width: 600px) {
  .hero-media { height: 320px !important; }
  .hero-textwrap { padding: 28px 24px 40px !important; }
  .hero-textwrap h1 { font-size: 44px !important; }
  .hero-textwrap h1 span { font-size: 58px !important; }
  .hero-textwrap p { font-size: 15px !important; }
}

/* ============================================================
   ADVISORY SECTIONS
   ============================================================ */
@media (max-width: 1200px) {
  .adv-content { padding: 56px 40px !important; }
}
@media (max-width: 900px) {
  .adv-sec { flex-direction: column !important; height: auto !important; }
  .adv-img { width: 100% !important; height: 340px !important; order: 0 !important; flex: none !important; }
  .adv-content { flex-direction: column !important; padding: 48px 40px !important; gap: 34px !important; }
  .adv-divider { display: none !important; }
  .adv-text, .adv-svc { width: 100% !important; flex: none !important; }
}
@media (max-width: 600px) {
  .adv-img { height: 240px !important; }
  .adv-content { padding: 40px 24px !important; }
}

/* ============================================================
   THE HOUSE — ethos / founders
   ============================================================ */
@media (max-width: 880px) {
  main section { flex-direction: column !important; min-height: 0 !important; }
  main section > img,
  main section img[style*="position:absolute"] { position: static !important; width: 100% !important; height: 300px !important; }
  main h1 { font-size: 46px !important; }
  main h1 span { font-size: 60px !important; }
  main [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 48px !important; }
  main section[data-screen-label] { padding-left: 24px !important; padding-right: 24px !important; }
  .ethos-panel { position: static !important; left: auto !important; width: auto !important; padding: 56px 24px !important; }
  .ethos-sec { min-height: 0 !important; }
}

/* ============================================================
   CORRESPONDENCE — dialogue + form
   ============================================================ */
@media (max-width: 1200px) {
  .dlg-sec { padding: 80px 48px !important; }
}
@media (max-width: 900px) {
  .dlg-grid { grid-template-columns: 1fr !important; gap: 48px 0 !important; }
  .dlg-vdiv { display: none !important; }
  .dlg-sec { padding: 64px 40px !important; }
}
@media (max-width: 600px) {
  .dlg-form-row { grid-template-columns: 1fr !important; }
  .dlg-sec { padding: 52px 24px !important; }
}

.lg-field {
  font-family: 'Inter', sans-serif; font-size: 14px; color: #F5F5F2;
  background: transparent; border: none; border-bottom: 1px solid rgba(245,245,242,0.5);
  padding: 9px 0; outline: none; width: 100%; transition: border-color .3s;
}
.lg-field:focus { border-bottom-color: #F5F5F2; }
.lg-field::placeholder { color: rgba(245,245,242,0.55); }
.lg-label {
  font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 500; letter-spacing: 1.8px;
  text-transform: uppercase; color: #F5F5F2; margin-bottom: 9px; display: block;
}
textarea.lg-field { resize: vertical; min-height: 60px; }

.dlg-grid {
  max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(240px, 0.78fr) 1px minmax(0, 1.55fr);
  gap: 0 72px; align-items: stretch;
}
.dlg-vdiv { width: 1px; background: rgba(245,245,242,0.3); align-self: stretch; }
.dlg-sectlabel {
  font-family: 'Cormorant Garamond', serif; font-size: 15px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; color: #F5F5F2;
}
.dlg-crow { display: flex; gap: 16px; align-items: flex-start; }
.dlg-crow svg { flex: none; margin-top: 2px; color: #F5F5F2; }
.dlg-cval { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; letter-spacing: 0.2px; color: #F5F5F2; line-height: 1.3; }
.dlg-csub { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: rgba(245,245,242,0.72); line-height: 1.4; margin-top: 3px; }
.dlg-hr { height: 1px; background: rgba(245,245,242,0.3); border: none; margin: 0; }
.dlg-note { font-family: 'Inter', sans-serif; font-size: 13.5px; line-height: 1.7; color: rgba(245,245,242,0.8); max-width: 280px; }
.dlg-selwrap { position: relative; }
.dlg-selwrap::after {
  content: ''; position: absolute; right: 2px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid rgba(245,245,242,0.7); border-bottom: 1.5px solid rgba(245,245,242,0.7);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
select.lg-field { appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; padding-right: 26px; color: rgba(245,245,242,0.6); }
select.lg-field.is-set { color: #F5F5F2; }
select.lg-field option { color: #16120E; }
.dlg-send {
  font-family: 'Cormorant Garamond', serif; font-size: 15px; font-weight: 500; letter-spacing: 2.5px;
  color: #F5F5F2; background: #8a9a7b; border: none; border-radius: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 14px; padding: 19px 40px; transition: background .3s, gap .3s;
}
.dlg-send:hover { background: #7d8d6f; gap: 20px; }

/* ============================================================
   FOOTER — responsive (designer shipped no footer breakpoints,
   so the 4 columns overflowed off-screen on phones)
   ============================================================ */
@media (max-width: 900px) {
  .foot-wrap { padding: 48px 40px 28px !important; }
  .foot-row {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 34px !important;
  }
  .foot-vdiv { display: none !important; }
  .foot-col {
    flex: none !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
}
@media (max-width: 600px) {
  .foot-wrap { padding: 44px 24px 26px !important; }
}

/* ============================================================
   THE HOUSE — founders section side padding on small phones
   (plain <section> keeps its inline 64px padding, too tight <600px)
   ============================================================ */
@media (max-width: 600px) {
  main > section[style*="96px 64px"] {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
