@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700&display=swap');

:root {
  --ink: #102925;
  --ink-soft: #28443f;
  --paper: #f5f1e8;
  --paper-deep: #e9e2d5;
  --white: #fffdf8;
  --accent: #e4a85c;
  --accent-soft: #f0d2a8;
  --mint: #b8d4c7;
  --line: rgba(16, 41, 37, .18);
  --shadow: 0 24px 70px rgba(16, 41, 37, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 112px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
}
.nav-wrap { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 82px; height: auto; }
.main-nav { display: flex; gap: 36px; align-items: center; }
.main-nav a { font-size: 14px; font-weight: 600; letter-spacing: .05em; }
.main-nav a::after { content: ""; display: block; width: 0; height: 1px; background: currentColor; transition: width .25s ease; }
.main-nav a:hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span:not(.sr-only) { width: 25px; height: 2px; background: var(--white); display: block; margin: 5px 0; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 180px 0 110px;
  color: var(--white);
  background: var(--ink);
  display: flex;
  align-items: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black 20%, transparent 90%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 24px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-soft); }
.eyebrow.dark { color: #8c5a22; }
h1, h2, h3 { font-family: "Manrope", Arial, sans-serif; line-height: 1.08; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(56px, 7.2vw, 100px); max-width: 850px; }
h2 { font-size: clamp(38px, 5vw, 66px); }
.hero-lead { max-width: 670px; margin: 34px 0 0; font-size: clamp(19px, 2vw, 25px); color: rgba(255,253,248,.72); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 46px; }
.button { display: inline-flex; min-height: 55px; align-items: center; justify-content: center; padding: 0 26px; border: 1px solid rgba(255,255,255,.45); font-size: 14px; font-weight: 700; transition: .25s ease; }
.button-primary { color: var(--ink); border-color: var(--accent); background: var(--accent); }
.button-primary:hover { transform: translateY(-3px); background: #efb96f; }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.hero-mark { justify-self: end; width: min(330px, 100%); }
.mark-frame { aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; display: grid; place-items: center; position: relative; }
.mark-frame::before, .mark-frame::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.mark-frame::before { inset: 28px; }
.mark-frame::after { inset: 62px; }
.mark-frame img { width: 118px; z-index: 1; }
.hero-mark p { margin: 22px 0 0; text-align: center; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .55; }
.hero-orb-one { width: 460px; height: 460px; right: -150px; top: -170px; background: radial-gradient(circle, rgba(228,168,92,.45), transparent 68%); }
.hero-orb-two { width: 500px; height: 500px; left: -280px; bottom: -300px; background: radial-gradient(circle, rgba(184,212,199,.35), transparent 70%); }
.scroll-cue { position: absolute; z-index: 2; bottom: 30px; left: 50%; transform: translateX(-50%); font-size: 25px; color: rgba(255,255,255,.6); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.intro h2 { max-width: 560px; }
.intro-copy { padding-top: 40px; font-size: 19px; color: var(--ink-soft); }
.intro-copy p { margin: 0 0 22px; }

.initiatives { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 62px; }
.section-heading > p { margin: 0 0 8px; max-width: 470px; font-size: 18px; color: var(--ink-soft); }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.initiative-card { min-height: 500px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: .35s ease; }
.initiative-card:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-5px); z-index: 2; }
.card-number { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: rgba(16,41,37,.55); }
.card-icon { margin-top: 36px; width: 70px; height: 70px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 30px; }
.card-content { margin-top: auto; padding-top: 80px; }
.card-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #7b633e; }
.initiative-card h3 { font-size: clamp(34px, 4vw, 54px); margin-top: 12px; }
.initiative-card p:not(.card-kicker) { max-width: 520px; color: var(--ink-soft); font-size: 17px; }
.card-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 20px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-weight: 700; font-size: 14px; }
.card-featured { background: var(--ink); color: var(--white); }
.card-featured .card-number, .card-featured p:not(.card-kicker) { color: rgba(255,255,255,.65); }
.card-featured .card-icon { border-color: rgba(255,255,255,.25); }
.card-featured .card-kicker { color: var(--accent-soft); }
.card-featured:hover { background: #173732; }
.card-ciao { background: #efd862; }
.card-investments { background: var(--mint); }

.principles { color: var(--white); background: #173732; }
.principles-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.principles-title { position: sticky; top: 40px; align-self: start; }
.principle { display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 38px 0; border-top: 1px solid rgba(255,255,255,.18); }
.principle:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.principle > span { color: var(--accent-soft); font-size: 12px; letter-spacing: .14em; }
.principle h3 { font-size: 28px; letter-spacing: -.02em; }
.principle p { margin: 12px 0 0; color: rgba(255,255,255,.67); font-size: 17px; }

.contact { background: var(--white); }
.contact-panel { padding: 70px; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr .75fr; gap: 70px; align-items: end; background: linear-gradient(135deg, var(--white), #f4eadb); }
.contact-panel h2 { max-width: 680px; }
.contact-panel p { max-width: 600px; font-size: 18px; color: var(--ink-soft); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.contact-actions a { font-size: 17px; font-weight: 600; }
.contact-primary { font-size: clamp(21px, 2.4vw, 30px) !important; border-bottom: 1px solid var(--ink); padding-bottom: 7px; }

.site-footer { padding: 62px 0; background: #0b211e; color: rgba(255,255,255,.68); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: .7fr 1fr .7fr; gap: 50px; align-items: start; }
.footer-brand img { width: 90px; }
.site-footer p { margin: 0 0 10px; }
.footer-meta { display: flex; flex-direction: column; gap: 10px; text-align: right; }
.footer-meta p { margin-top: 24px; }

@media (max-width: 900px) {
  .section { padding: 82px 0; }
  .hero { min-height: auto; padding-top: 150px; }
  .hero-grid, .intro-grid, .section-heading, .principles-grid, .contact-panel { grid-template-columns: 1fr; gap: 45px; }
  .hero-mark { display: none; }
  .intro-copy { padding-top: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .initiative-card { min-height: 440px; }
  .principles-title { position: static; }
  .contact-panel { padding: 48px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 30px, 1180px); }
  .nav-wrap { height: 82px; }
  .brand img { width: 70px; }
  .menu-toggle { display: block; z-index: 2; }
  .main-nav { display: none; position: absolute; top: 72px; right: 15px; left: 15px; padding: 24px; background: #173732; flex-direction: column; align-items: flex-start; gap: 18px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .hero { padding: 135px 0 95px; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  h2 { font-size: clamp(36px, 11vw, 52px); }
  .hero-lead { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .section { padding: 68px 0; }
  .section-heading { margin-bottom: 40px; }
  .initiative-card { min-height: 420px; padding: 26px; }
  .card-content { padding-top: 55px; }
  .contact-panel { padding: 34px 24px; }
  .contact-primary { overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Payment page */
.payment-page { background: var(--paper); }
.payment-header { position: absolute; }
.payment-nav { display: flex; }
.payment-hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  padding: 170px 0 90px;
  color: var(--white);
  background: var(--ink);
}
.payment-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
}
.payment-hero-inner { position: relative; z-index: 2; }
.payment-hero h1 { font-size: clamp(52px, 7vw, 88px); }
.payment-hero p:last-child { max-width: 610px; margin: 25px 0 0; font-size: 20px; color: rgba(255,253,248,.7); }
.payment-section { background: var(--paper); }
.payment-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .6fr); gap: 32px; align-items: start; }
.payment-card,
.payment-contact-card { border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.payment-card { padding: 56px; }
.payment-card-heading { margin-bottom: 38px; }
.payment-card-heading h2 { font-size: clamp(34px, 4vw, 52px); }
.payment-card-heading > p:last-child { margin: 12px 0 0; color: var(--ink-soft); font-size: 17px; }
.payment-widget { min-height: 180px; padding-top: 12px; }
.payment-contact-card { padding: 38px; background: #173732; color: var(--white); }
.payment-logo { width: 96px; margin-bottom: 34px; }
.payment-contact-intro { margin: 0 0 34px; color: rgba(255,255,255,.67); font-size: 17px; }
.payment-contact-list { border-top: 1px solid rgba(255,255,255,.17); }
.payment-contact-item { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.payment-contact-item span { display: block; margin-bottom: 7px; color: var(--accent-soft); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.payment-contact-item a,
.payment-contact-item p { margin: 0; overflow-wrap: anywhere; font-size: 16px; }
.payment-contact-item a:hover { color: var(--accent-soft); }
.payment-back-link { display: inline-flex; gap: 10px; margin-top: 32px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.55); font-weight: 600; }

@media (max-width: 900px) {
  .payment-layout { grid-template-columns: 1fr; }
  .payment-contact-card { order: 2; }
}

@media (max-width: 680px) {
  .payment-header .nav-wrap { height: 82px; }
  .payment-nav { gap: 18px; }
  .payment-nav a { font-size: 13px; }
  .payment-hero { min-height: 390px; padding: 140px 0 72px; }
  .payment-hero p:last-child { font-size: 18px; }
  .payment-card { padding: 34px 24px; }
  .payment-contact-card { padding: 32px 24px; }
}
