:root {
  --bg: #f6f3ee;
  --text: #22211f;
  --muted: #77736c;
  --line: rgba(34, 33, 31, 0.12);

  --accent: #5f8f7b;

  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  background: var(--bg);
  color: var(--text);

  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header,
.landing,
.site-footer {
  width: min(calc(100% - 64px), var(--max-width));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  min-height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* -------------------------
   HEADER
------------------------- */

.site-header {
  .site-header,
  .landing,
  .site-footer {
    width: min(calc(100% - 64px), var(--max-width));
  }
  min-height: 88px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--text);

  text-decoration: none;

  font-size: 23px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.admin-link {
  color: var(--muted);

  text-decoration: none;

  font-size: 13px;
  font-weight: 650;
}

.admin-link:hover {
  color: var(--text);
}


/* -------------------------
   PAGE
------------------------- */

.landing {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}


/* -------------------------
   HERO — DESKTOP
------------------------- */

.hero {
  position: relative;

  min-height: 650px;

  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;

  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;

  max-width: 620px;

  padding: 70px 0 90px;
}

.eyebrow {
  margin: 0 0 22px;

  color: var(--accent);

  font-size: 12px;
  font-weight: 750;

  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;

  font-size: clamp(58px, 6.8vw, 98px);
  line-height: 0.92;

  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-text {
  max-width: 520px;

  margin: 28px 0 0;

  color: var(--muted);

  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 34px;

  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  min-height: 49px;
  padding: 0 19px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  border-radius: 12px;

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  transition:
    transform 150ms ease,
    background 150ms ease,
    border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--text);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.34);

  color: var(--text);
}


/* -------------------------
   HERO IMAGE
------------------------- */

.hero-image {
  position: absolute;

  top: 18px;
  right: 0;
  bottom: 0;

  width: 58%;

  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  border-radius: 0;
}

/*
  Fade the photograph into the background
  instead of making it look like a card.
*/

.hero-image::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 2;

  pointer-events: none;

  background:
    linear-gradient(
      to right,
      var(--bg) 0%,
      rgba(246, 243, 238, 0.96) 9%,
      rgba(246, 243, 238, 0.72) 19%,
      rgba(246, 243, 238, 0.22) 34%,
      transparent 50%
    ),
    linear-gradient(
      to bottom,
      rgba(246, 243, 238, 0.15),
      transparent 22%,
      transparent 76%,
      var(--bg) 100%
    );
}


/* -------------------------
   INTRO STATEMENT
------------------------- */

.intro {
  max-width: 760px;

  padding: 54px 0 88px;

  border-top: 1px solid var(--line);
}

.intro-heading {
  margin: 0;

  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;

  letter-spacing: -0.045em;

  font-weight: 700;
}

.intro-heading span {
  color: var(--accent);
}

.intro-text {
  max-width: 560px;

  margin: 18px 0 0;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.65;
}


/* -------------------------
   FOOTER
------------------------- */

.site-footer {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 90px;

  margin: 0 auto;

  border-top: 1px solid var(--line);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  color: var(--muted);

  font-size: 13px;
}


/* =========================================================
   PHONE
   Deliberately treated as a different composition.
========================================================= */

@media (max-width: 720px) {

  .site-header,
  .landing,
  .site-footer {
    width: calc(100% - 28px);
  }

  .site-header {
    min-height: 64px;
  }

  .brand {
    font-size: 19px;
  }

  .admin-link {
    font-size: 12px;
  }

  .hero {
    min-height: auto;

    display: flex;
    flex-direction: column;

    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: none;

    padding: 34px 0 24px;
  }

  .eyebrow {
    margin-bottom: 14px;

    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    max-width: 340px;

    font-size: clamp(38px, 11vw, 48px);
    line-height: 0.98;

    letter-spacing: -0.055em;
  }

  .hero-text {
    max-width: 340px;

    margin-top: 18px;

    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    width: 100%;

    margin-top: 22px;

    display: grid;
    grid-template-columns: 1fr;

    gap: 8px;
  }

  .button {
    width: 100%;
    min-height: 46px;

    padding: 0 16px;

    font-size: 13px;
  }

  .hero-image {
    position: relative;

    top: auto;
    right: auto;
    bottom: auto;

    width: 100%;
    height: 250px;

    margin: 0;
  }

  .hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
  }

  .intro {
    padding: 34px 0 48px;
  }

  .intro-heading {
    max-width: 300px;

    font-size: 28px;
    line-height: 1.08;
  }

  .intro-text {
    max-width: 320px;

    margin-top: 14px;

    font-size: 14px;
  }
}



/* Smaller phones */

@media (max-width: 420px) {

  .hero-copy {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-image {
    height: 220px;
  }

  .intro-heading {
    font-size: 27px;
  }
}