/* Vivere SAS — warm lifestyle "new life abroad" magazine / scrollytelling
   Palette: honey/amber + cream/off-white + espresso brown ink + soft sky-blue accent
   Fonts: Crimson Pro (serif headings) / Be Vietnam Pro (sans body) */

:root {
  --honey: #f0a830;
  --honey-deep: #d9871a;
  --amber-soft: #f7d9a6;
  --cream: #fbf4e6;
  --paper: #fffdf8;
  --espresso: #3a2417;
  --espresso-soft: #5a4334;
  --ink: #2b1c12;
  --sky: #7fb2d6;
  --sky-deep: #4f8fbd;
  --line: rgba(58, 36, 23, 0.14);
  --shadow: 0 24px 60px -28px rgba(58, 36, 23, 0.45);
  --shadow-sm: 0 12px 30px -18px rgba(58, 36, 23, 0.4);
  --maxw: 1180px;
  --serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--espresso); letter-spacing: -0.01em; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--honey-deep); display: inline-block; }
.eyebrow.light { color: var(--amber-soft); }
.eyebrow.light::before { background: var(--amber-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  padding: 14px 28px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--espresso); color: var(--cream); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-honey { background: var(--honey); color: var(--espresso); }
.btn-honey:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(217, 135, 26, .7); background: var(--honey-deep); color: var(--cream); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--espresso); }
.btn-ghost:hover { border-color: var(--espresso); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--espresso); letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; border-radius: 9px; }
nav.main { display: flex; gap: 30px; margin-left: auto; }
nav.main a { font-size: 0.95rem; font-weight: 500; color: var(--espresso-soft); position: relative; padding: 4px 0; }
nav.main a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--honey); transition: width .25s ease; }
nav.main a:hover { color: var(--espresso); }
nav.main a:hover::after { width: 100%; }

.head-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 2px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: .04em; color: var(--espresso-soft); background: transparent; border: 0; padding: 6px 10px; border-radius: 999px; cursor: pointer; transition: all .18s ease; }
.lang button:hover { color: var(--espresso); }
.lang button.active { background: var(--espresso); color: var(--cream); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--espresso); border-radius: 2px; transition: .25s; }

/* Hero — full-bleed photographic story band */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(43,28,18,.15) 0%, rgba(43,28,18,.1) 40%, rgba(43,28,18,.78) 100%); }
.hero-inner { position: relative; z-index: 2; padding-bottom: 88px; padding-top: 120px; max-width: 760px; }
.hero h1 { color: var(--paper); font-size: clamp(2.7rem, 6vw, 4.8rem); font-weight: 600; margin: 0 0 22px; }
.hero h1 em { font-style: italic; color: var(--honey); }
.hero .lead { color: rgba(255, 253, 248, .92); font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 56ch; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Trust strip — quiet, human, no fake logos */
.trust { background: var(--espresso); color: var(--cream); }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 14px 48px; padding: 26px 28px; align-items: center; justify-content: space-between; }
.trust p { font-size: 0.92rem; color: var(--amber-soft); max-width: 40ch; }
.trust .marks { display: flex; flex-wrap: wrap; gap: 30px; }
.trust .marks div { display: flex; flex-direction: column; }
.trust .marks b { font-family: var(--serif); font-size: 1.7rem; color: var(--honey); line-height: 1; }
.trust .marks span { font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,244,230,.7); margin-top: 6px; }

/* Generic section */
section.band { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 16px; }
.section-head p { color: var(--espresso-soft); font-size: 1.08rem; }

/* Intro / story split — asymmetric editorial */
.story { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.story.reverse { grid-template-columns: 0.95fr 1.05fr; }
.story.reverse .story-text { order: 2; }
.story-text h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: 20px; }
.story-text p { color: var(--espresso-soft); margin-bottom: 16px; font-size: 1.06rem; }
.story-text .lede { font-size: 1.22rem; color: var(--ink); font-family: var(--serif); font-style: italic; line-height: 1.4; margin-bottom: 22px; }

/* Overlapping caption-card image */
.framed { position: relative; }
.framed img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.framed.wide img { aspect-ratio: 5/4; }
.cap-card {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 22px; max-width: 280px; box-shadow: var(--shadow-sm);
}
.cap-card.right { left: auto; right: -28px; bottom: auto; top: -24px; }
.cap-card .k { font-family: var(--serif); font-size: 1.5rem; color: var(--honey-deep); line-height: 1; }
.cap-card .t { font-size: 0.86rem; color: var(--espresso-soft); margin-top: 6px; }
.framed::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--honey); border-radius: 18px; z-index: -1; opacity: .55; }

/* Full-bleed story band with overlaid text */
.bleed { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.bleed .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.bleed::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bleed.left::after { background: linear-gradient(90deg, rgba(43,28,18,.82) 0%, rgba(43,28,18,.5) 48%, rgba(43,28,18,.05) 100%); }
.bleed .panel { position: relative; z-index: 2; max-width: 540px; color: var(--paper); }
.bleed .panel h2 { color: var(--paper); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.bleed .panel p { color: rgba(255,253,248,.9); font-size: 1.1rem; margin-bottom: 14px; }
.bleed .panel .lede { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--honey); margin-bottom: 18px; line-height: 1.35; }

/* Services — editorial list, not identical cards */
.services { background: var(--cream); }
.svc-list { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 78px 1fr auto; gap: 28px; align-items: start;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding .2s ease;
}
.svc:hover { background: rgba(240,168,48,.07); }
.svc .num { font-family: var(--serif); font-size: 1.9rem; color: var(--honey-deep); line-height: 1; }
.svc .body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.svc .body p { color: var(--espresso-soft); max-width: 60ch; }
.svc .tag { font-size: 0.78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-deep); white-space: nowrap; padding-top: 8px; }

/* Journey — narrative, not a stepper. A vertical hand-drawn-ish ribbon of moments */
.journey { background: var(--paper); }
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 12px; }
.moment { position: relative; padding-top: 30px; }
.moment::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 4px; border-radius: 4px; background: var(--honey); }
.moment .when { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-deep); font-weight: 600; margin-bottom: 8px; }
.moment h3 { font-size: 1.4rem; margin-bottom: 8px; }
.moment p { color: var(--espresso-soft); font-size: 1rem; }

/* Pull quote */
.pull { background: var(--espresso); color: var(--cream); text-align: center; padding: 110px 0; }
.pull blockquote { max-width: 880px; margin: 0 auto; font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.28; color: var(--cream); }
.pull blockquote b { color: var(--honey); font-style: normal; }
.pull .cite { margin-top: 28px; font-size: 0.88rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-soft); }

/* Destinations / where we work — warm chips */
.places { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.places span { border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 0.92rem; color: var(--espresso-soft); background: var(--paper); }
.places span:hover { border-color: var(--honey); color: var(--espresso); }

/* CTA / contact band */
.contact { background: linear-gradient(160deg, var(--amber-soft), var(--cream)); }
.contact-inner { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: center; }
.contact-inner h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 16px; }
.contact-inner p { color: var(--espresso-soft); font-size: 1.08rem; margin-bottom: 18px; }
.contact-list { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.contact-list li { display: flex; gap: 12px; align-items: baseline; font-size: 1rem; color: var(--ink); }
.contact-list li b { font-family: var(--serif); color: var(--honey-deep); }

form.enquiry { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-sm); }
form.enquiry .field { margin-bottom: 16px; }
form.enquiry label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--espresso); margin-bottom: 6px; }
form.enquiry input, form.enquiry select, form.enquiry textarea {
  width: 100%; font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); transition: border .18s ease;
}
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { outline: none; border-color: var(--honey); background: var(--paper); }
form.enquiry textarea { min-height: 96px; resize: vertical; }
form.enquiry .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.8rem; color: var(--espresso-soft); margin-top: 12px; text-align: center; }
.form-ok { display: none; background: rgba(127,178,214,.18); border: 1px solid var(--sky); color: var(--espresso); padding: 12px 14px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 14px; }
.form-ok.show { display: block; }

/* Footer */
footer.site { background: var(--espresso); color: var(--cream); padding: 70px 0 40px; }
.foot-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-bottom: 38px; border-bottom: 1px solid rgba(251,244,230,.16); }
.foot-brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.5rem; color: var(--cream); }
.foot-brand svg { width: 34px; height: 34px; border-radius: 9px; }
.foot-top > div:first-child p { color: var(--amber-soft); margin-top: 16px; max-width: 38ch; font-size: 0.98rem; }
.legal { font-size: 0.9rem; line-height: 1.85; color: rgba(251,244,230,.82); }
.legal strong { color: var(--cream); font-weight: 600; }
.legal a { color: var(--honey); }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 20px; }
.foot-links a { font-size: 0.9rem; color: var(--cream); border-bottom: 1px solid transparent; padding-bottom: 2px; }
.foot-links a:hover { border-color: var(--honey); color: var(--honey); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 28px; font-size: 0.84rem; color: rgba(251,244,230,.6); }

/* Policy pages */
.doc { padding: 64px 0 90px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 10px; }
.doc .updated { color: var(--espresso-soft); font-size: 0.92rem; margin-bottom: 40px; }
.doc h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.doc h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--espresso-soft); margin-bottom: 12px; }
.doc ul { padding-left: 22px; margin-bottom: 12px; }
.doc a { color: var(--honey-deep); border-bottom: 1px solid var(--line); }
.doc .back { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--honey-deep); margin-bottom: 30px; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 920px) {
  nav.main { display: none; }
  .menu-toggle { display: flex; }
  header.site nav.main.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 28px 16px; }
  header.site nav.main.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .story, .story.reverse { grid-template-columns: 1fr; gap: 48px; }
  .story.reverse .story-text { order: 0; }
  .framed::before { display: none; }
  .cap-card { left: 16px; bottom: -22px; }
  .cap-card.right { right: 16px; top: auto; bottom: -22px; left: auto; }
  .moments { grid-template-columns: 1fr; gap: 30px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .svc { grid-template-columns: 54px 1fr; }
  .svc .tag { grid-column: 2; padding-top: 0; }
  .trust .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  section.band { padding: 64px 0; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .lang button { padding: 6px 8px; }
}
