/* Aleans Creative – static replica of the Google Sites version of aleans.fi */
:root {
  --bg: #2b2625;
  --bar: #1c1c1c;
  --gold-light: #e5c687;
  --gold-dark: #a68a56;
  --white: #f9f9f9;
  --container: 1271px;
  --serif-head: "Playfair Display", Georgia, serif;
  --serif-body: "Lora", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--gold-light);
  font-family: var(--serif-body);
  font-size: 21.3333px;
  line-height: 32px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--gold-dark); text-decoration: underline; }
a:hover { color: var(--gold-light); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--bar); color: var(--white); padding: 8px 16px; z-index: 100;
}
.skip:focus { left: 8px; }

.container {
  width: min(var(--container), calc(100% - 38px));
  margin: 0 auto;
}

/* Top bar (transparent over the hero, solid once the page is scrolled) */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  height: 56px;
  display: flex; align-items: center;
  padding: 0 16px;
}
.topbar::before {
  content: ""; position: absolute; inset: 0;
  background: var(--bar);
  opacity: 0; transition: opacity .2s ease;
  z-index: -1;
}
.topbar.is-scrolled::before { opacity: 1; }
.topbar__title {
  font-family: var(--serif-body);
  font-size: 20px; line-height: 20px;
  color: var(--white);
  text-decoration: none;
}
.topbar__title:hover { color: var(--white); }

/* Hero */
.hero {
  height: 430px;
  background: #1a1716 url("../img/hero.jpg") center / cover no-repeat;
  display: flex; align-items: center;
}
.hero__title {
  margin: 0;
  padding-left: 8px;
  width: 73.1%;
  text-align: center;
  font-family: var(--serif-head);
  font-weight: 400;
  font-size: 128px;
  line-height: 1.38;
  color: var(--gold-light);
}

/* Image + text rows */
.row { padding: 24px 0; }
.row__grid {
  display: grid;
  grid-template-columns: minmax(0, 619fr) minmax(0, 611fr);
  column-gap: 41px;
  align-items: start;
}
.row__media { overflow: hidden; }
.row__media img { width: 100%; }
.row__text { padding: 14px 8px 14px 0; }

h2, h3 {
  font-family: var(--serif-head);
  font-weight: 500;
  margin: 0;
}
.row__text h2,
.footer h2 {
  font-size: 45.3333px;
  line-height: 62.56px;
  color: var(--gold-dark);
  margin-bottom: 28px;
}
.row__text p { margin: 0; overflow-wrap: break-word; }
.row__text p + p { margin-top: 21px; }

/* Divider + spacer before the footer */
.divider { padding: 8px 0; }
.divider hr {
  margin: 0; border: 0; height: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.spacer { height: 88px; }

/* Footer */
.footer { padding: 32px 0 30px; }
.footer__inner { padding: 0 8px; }
.footer h2 { color: var(--gold-light); margin-bottom: 18px; }
.footer h3 {
  font-size: 18.6667px;
  line-height: 28px;
  color: var(--gold-dark);
}
.footer h3 .light { color: var(--gold-light); }
.footer p { margin: 0; font-size: 16px; line-height: 24px; }
.footer__note { color: var(--gold-dark); margin-top: 31px !important; }
.footer__copy { color: var(--gold-light); margin-top: 29px !important; }

/* Tablet / mobile: stack image above text like Google Sites does */
@media (max-width: 767px) {
  .hero__title {
    width: 100%;
    padding: 0 8px;
    font-size: 80px;
  }
  .row__grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .row__text { padding: 14px 8px; }
  .row__text h2,
  .footer h2 { font-size: 33.3333px; line-height: 46px; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .hero__title { font-size: 96px; }
}
