/* Brand colours are provisional. Change them here and the whole site follows. */
:root {
  --green: #496A58;
  --green-dark: #2F4A3D;
  --green-pale: #D5E2DA;
  --uluru: #A65738;
  --cream: #F6EEE4;
  --charcoal: #2B2523;
  --muted: #4A403C;
  --page: #FAF8F5;
  --stone: #F1EEE9;
  --photo: #ECE6DF;
  --line: #E7E2DB;
  --white: #FFFFFF;

  --script: "Sacramento", cursive;
  --sans: "Jost", system-ui, sans-serif;
  --gutter: 20px;
  --section: clamp(56px, 8vw, 104px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

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

/* Logo */
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-script { font-family: var(--script); font-size: 34px; color: var(--cream); line-height: 1; }
.logo-caps { font-weight: 600; font-size: 9px; letter-spacing: 0.24em; padding-left: 0.24em; color: var(--green-pale); margin-top: 2px; }
.logo-foot .logo-script { font-size: 38px; }
.logo-foot .logo-caps { font-size: 10px; color: #B9C4BB; }

/* Header and language switch */
.top { background: var(--green); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.switch { display: flex; gap: 2px; padding: 3px; border: 1px solid #A9C0B3; border-radius: 999px; }
.switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 52px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--white);
}
.switch a[aria-current="true"] { background: var(--white); color: var(--green-dark); }

/* Opening */
.hero { background: var(--green); color: var(--white); }
.hero .wrap { display: flex; flex-direction: column; gap: 26px; padding-top: 24px; }
h1 { font-weight: 700; font-size: clamp(44px, 9vw, 104px); line-height: 0.98; letter-spacing: -0.03em; }
.sub { font-size: 19px; max-width: 30em; }
.hero .sub { color: #E9F0EC; }
.hero-photo {
  margin-top: 8px;
  height: clamp(300px, 46vw, 520px);
  border-radius: 28px 28px 0 0;
  background: var(--photo);
  color: #5E534E;
  font-size: 14px;
  text-align: center;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* WhatsApp button */
.button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}
.button:hover { background: var(--cream); }
.button:focus-visible, .bar-button:focus-visible, .switch a:focus-visible { outline: 3px solid var(--uluru); outline-offset: 3px; }

/* Sections */
.section { padding: var(--section) 0; }
.words { padding-bottom: 0; }
h2 { font-weight: 700; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
.muted { color: var(--muted); margin-top: 8px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 20px; }
.cards li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.cards h3 { font-weight: 600; font-size: 19px; line-height: 1.25; }
.cards p { font-size: 16px; color: var(--muted); }

/* How it works */
.how { background: var(--stone); }
h2.big { font-size: clamp(36px, 6vw, 68px); line-height: 1.02; }
h2.big span { color: var(--uluru); }
.steps { margin-top: 28px; border-bottom: 2px solid var(--charcoal); }
.steps li { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-top: 2px solid var(--charcoal); }
.steps .n { font-weight: 700; font-size: 26px; width: 36px; flex: 0 0 auto; }
.step { display: flex; flex-direction: column; gap: 2px; }
.step-title { font-size: 20px; font-weight: 500; }
.step-text { font-size: 15px; color: var(--muted); }

/* In their words */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; margin-top: 20px; }
.quotes figcaption { margin-top: auto; }
.quotes figure { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.quotes svg { color: var(--uluru); }
.quotes blockquote { font-size: 19px; line-height: 1.45; }
.quotes figcaption { font-size: 15px; font-weight: 600; color: var(--muted); }

/* About */
.me { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.portrait {
  flex: 1 1 240px;
  min-width: 0;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--photo);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.portrait img { width: 100%; height: 94%; object-fit: cover; object-position: top center; }
.me-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
h2.me-title { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.01em; line-height: 1.15; color: var(--uluru); }
.creds { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

/* Closing call to action */
.cta { background: var(--green); color: var(--white); }
.cta .wrap { display: flex; flex-direction: column; gap: 24px; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.cta h2 { font-size: clamp(44px, 8vw, 96px); line-height: 0.98; letter-spacing: -0.03em; }

/* Footer */
.foot { background: var(--charcoal); color: #E6DED8; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.foot p { font-size: 14px; }

/* WhatsApp bar that stays at the bottom of the screen */
.bar {
  position: sticky;
  bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar span { font-size: 14px; color: var(--muted); }
.bar-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}
