:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --panel: rgba(255, 251, 245, 0.84);
  --text: #302821;
  --muted: #6d6256;
  --line: rgba(165, 143, 109, 0.24);
  --accent: #b48b58;
  --accent-deep: #8d6a43;
  --shadow: 0 28px 64px rgba(180, 139, 88, 0.14);
  --font-display: "Bodoni Moda", "Libre Baskerville", Georgia, serif;
  --font-script: "Great Vibes", "Libre Baskerville", cursive;
  --font-body: "Libre Baskerville", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.site-header__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88px;
  border-bottom: 1px solid rgba(165, 143, 109, 0.14);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.site-logo__script {
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 3.2vw, 2.95rem);
  line-height: 1;
}

.site-logo__amp {
  margin-right: -7px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.92);
}

.language-switch__button {
  min-width: 44px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.language-switch__button.is-active {
  border-color: rgba(180, 139, 88, 0.24);
  background: rgba(180, 139, 88, 0.1);
  color: var(--accent-deep);
}

.language-switch__button:hover,
.language-switch__button:focus-visible {
  background: rgba(180, 139, 88, 0.08);
}

.section {
  padding: 88px 0;
}

.section-divider {
  display: flex;
  justify-content: center;
  padding: 8px 0 0;
}

.section-divider span {
  display: block;
  width: min(180px, 38vw);
  height: 1px;
  background: rgba(165, 143, 109, 0.38);
}

.section--soft {
  background: #ffffff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero__panel .eyebrow {
  margin-bottom: 20px;
}

h1,
h2,
blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

h1 {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(4.5rem, 9.6vw, 7.6rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  opacity: 0;
  transition: opacity 220ms ease;
}

h1 span {
  display: block;
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  letter-spacing: 0.22em;
}

h2 {
  margin: 0 0 22px;
  max-width: none;
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.1vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-transform: none;
}

p {
  margin: 0 0 18px;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: clip;
  padding: 28px 0 36px;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(52px) scale(1.02);
  transition:
    opacity 3600ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 3600ms cubic-bezier(0.19, 1, 0.22, 1);
}

.hero__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(34, 31, 25, 0.08) 0%, rgba(34, 31, 25, 0.12) 32%, rgba(34, 31, 25, 0.52) 100%);
}

.hero__image {
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 84px 0 40px;
  color: #f6fbfa;
  justify-items: end;
}

.hero__panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(4px);
  box-shadow: none;
}

.hero__panel.reveal {
  opacity: 0;
  transform: translateX(64px);
  transition:
    opacity 2100ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 2100ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: 280ms;
}

.hero__panel {
  max-width: 710px;
  padding: 14px 28px 18px 8px;
  justify-self: end;
  margin-right: 0;
  text-align: right;
}

@media (min-width: 901px) {
  .hero {
    min-height: 100svh;
  }

  .hero__image {
    object-position: center 30%;
  }

  .hero__content {
    grid-template-columns: 1fr auto;
    justify-items: end;
  }

  .hero__panel {
    width: auto;
    max-width: 710px;
    margin-right: -120px;
  }
}

.hero__lede {
  max-width: 17rem;
  margin: 12px 0 0;
  margin-left: auto;
  font-size: 0.96rem;
  color: rgba(246, 251, 250, 0.88);
}

.centered-copy,
.story-grid,
.feature-band {
  display: grid;
  gap: 32px;
  align-items: center;
}

.centered-copy {
  justify-items: center;
  padding-bottom: 40px;
}

.story-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.45fr);
}

.centered-copy__inner {
  max-width: 760px;
  text-align: center;
}

#viaggio + .section {
  padding-top: 32px;
}

.feature-band {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  padding: 38px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(180, 139, 88, 0.08), rgba(255, 255, 255, 0.88)),
    rgba(255, 255, 255, 0.65);
}

.story-grid__wide,
.feature-band__image,
.bank-card {
  position: relative;
  box-shadow: none;
  border: 1px solid rgba(165, 143, 109, 0.18);
}

.story-grid__wide::after,
.feature-band__image::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  border-right: 18px solid rgba(180, 139, 88, 0.26);
  border-bottom: 18px solid rgba(180, 139, 88, 0.26);
  pointer-events: none;
}

.feature-band__image--plain::after {
  display: none;
}

.story-grid__wide img,
.story-grid__wide img {
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.feature-band__image img {
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  object-position: center 28%;
}

.feature-band__content {
  max-width: 40rem;
  text-align: right;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fbfdfd;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: #9c7546;
}

.button--ghost {
  border-color: rgba(255, 249, 242, 0.55);
  background: transparent;
}

main .button--ghost {
  border-color: var(--line);
  color: var(--text);
}

main .button--ghost:hover,
main .button--ghost:focus-visible {
  background: rgba(180, 139, 88, 0.08);
}

.fineprint {
  color: var(--muted);
  font-size: 0.94rem;
}

.bank-page {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 32px 0 48px;
}

.bank-card {
  max-width: 1180px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 245, 0.9);
}

.bank-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 38px;
}

.bank-account-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(180, 139, 88, 0.24);
  background: rgba(255, 255, 255, 0.74);
}

.bank-account-card__head {
  display: grid;
  gap: 10px;
}

.bank-account-card__currency {
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(180, 139, 88, 0.24);
  background: rgba(180, 139, 88, 0.1);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bank-account-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.home-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(1180px, 100%);
  min-height: 64px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 245, 0.68);
  color: var(--accent-deep);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bank-card h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1.15;
}

.bank-card__intro {
  max-width: 42rem;
}

.bank-details {
  display: grid;
  gap: 18px;
  margin: 0;
}

.bank-details div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.bank-details dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bank-details dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.bank-details__copy-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.copy-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--accent-deep);
  cursor: pointer;
}

.copy-icon-button img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(38%) sepia(21%) saturate(862%) hue-rotate(351deg) brightness(93%) contrast(86%);
}

.copy-icon-button:hover,
.copy-icon-button:focus-visible {
  background: rgba(180, 139, 88, 0.08);
}

.copy-icon-button.is-copied {
  background: rgba(180, 139, 88, 0.12);
}

.proposals {
  display: grid;
  gap: 0;
}

.proposal-card {
  border: none;
  background: #ffffff;
  padding: clamp(24px, 4vw, 44px);
}

.proposal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.proposal-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.proposal-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(180, 139, 88, 0.18);
  background: rgba(180, 139, 88, 0.08);
}

.proposal-panel span {
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.proposal-panel .button,
.proposal-panel .button--ghost {
  width: fit-content;
  border-color: transparent;
  background: var(--accent);
  color: #fffdf9;
}

.proposal-panel .button:hover,
.proposal-panel .button:focus-visible,
.proposal-panel .button--ghost:hover,
.proposal-panel .button--ghost:focus-visible {
  background: #9c7546;
}

.thank-you {
  padding-top: 48px;
  padding-bottom: 88px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 3600ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 3600ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero .reveal:nth-child(1) {
  --reveal-delay: 260ms;
}

.hero .reveal:nth-child(2) {
  --reveal-delay: 520ms;
}

.feature-band__image {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

@media (min-width: 901px) {
  .story-grid {
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1fr);
  }

  .story-grid__copy {
    width: min(100%, 760px);
    margin-left: auto;
    padding-left: 0;
  }

  .feature-band__image {
    order: 1;
    justify-self: start;
  }

  .feature-band__content {
    order: 2;
    width: min(100%, 760px);
    margin-left: auto;
    text-align: right;
  }
}

body.is-ready .hero__image-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.is-ready .hero__panel.reveal {
  opacity: 1;
  transform: translateX(0);
}

body.fonts-ready h1 {
  opacity: 1;
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .intro-grid,
  .story-grid,
  .feature-band,
  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding-top: 96px;
    justify-items: end;
  }

  .hero__panel {
    width: min(100%, 320px);
    max-width: 320px;
    margin-left: auto;
  }

  .site-header__line {
    min-height: 76px;
  }

  .language-switch {
    margin-left: 16px;
  }

  h2 {
    max-width: none;
  }

  .feature-band {
    padding: 24px;
  }

  .feature-band__image {
    max-width: 100%;
  }

  .proposal-panels {
    grid-template-columns: 1fr;
  }

  #viaggio + .section {
    padding-top: 18px;
  }

  .section-divider {
    padding-top: 0;
  }
}

@media (min-width: 901px) {
  .eyebrow {
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(5rem, 10.2vw, 8.2rem);
  }

  h1 span {
    font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  }

  h2 {
    font-size: clamp(1.95rem, 3.4vw, 3rem);
  }

  p {
    font-size: 1.15rem;
  }

  .hero__lede {
    font-size: 1.02rem;
  }

  .proposal-card h3 {
    font-size: clamp(1.95rem, 3.2vw, 2.8rem);
  }

  .proposal-panel span {
    font-size: 1.3rem;
  }

  .bank-card h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  }

  .bank-details dd {
    font-size: clamp(1.12rem, 1.45vw, 1.5rem);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100vw - 24px, 1180px);
  }

  .hero {
    min-height: 72svh;
    padding: 12px 0 24px;
  }

  .hero__image {
    object-position: center 18%;
  }

  .hero__content {
    padding-top: 72px;
    padding-bottom: 20px;
    justify-items: end;
  }

  .hero__panel {
    width: min(100%, 164px);
    max-width: 164px;
    padding: 8px 6px 10px 2px;
    margin-left: auto;
  }

  .site-header__line {
    gap: 12px;
  }

  .site-logo {
    gap: 6px;
  }

  .language-switch {
    padding: 4px;
  }

  .language-switch__button {
    min-width: 40px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2.45rem, 10vw, 3.2rem);
  }

  h1 span {
    font-size: 0.68rem;
  }

  .section .eyebrow,
  .proposal-card .eyebrow,
  .bank-card .eyebrow {
    font-size: 0.72rem;
  }

  h2 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    margin-bottom: 18px;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero__lede {
    max-width: 12.4rem;
    margin-top: 14px;
    font-size: 0.68rem;
    line-height: 1.8;
  }

  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .bank-cards-grid {
    grid-template-columns: 1fr;
  }

  .bank-account-card {
    padding: 18px;
  }

  .bank-account-card__note {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .bank-details dt {
    font-size: 0.72rem;
  }

  .bank-details dd {
    font-size: 0.98rem;
  }

  .home-banner {
    font-size: 0.82rem;
  }

  .story-grid__wide::after,
  .feature-band__image::after {
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    border-right-width: 12px;
    border-bottom-width: 12px;
  }
}

@media (min-width: 390px) and (max-width: 440px) {
  .hero__panel {
    width: min(100%, 176px);
    max-width: 176px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button {
    transition: none;
  }
}
