:root {
  --bg: #f5f1e8;
  --surface: rgba(255, 255, 255, 0.34);
  --text: #114f55;
  --muted: #4d6a6e;
  --teal: #1f7a7a;
  --teal-soft: rgba(31, 122, 122, 0.14);
  --teal-softer: rgba(31, 122, 122, 0.08);
  --maroon: #8d4b4b;
  --beige: #dcc8b0;
  --blue: #5e87a6;
  --border: rgba(17, 79, 85, 0.12);
  --shadow: 0 24px 60px rgba(17, 79, 85, 0.08);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.hero {
  width: min(1120px, 100%);
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  position: relative;
}

.hero__graphic {
  position: relative;
  min-height: 640px;
}

.hero__content {
  max-width: 460px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.accent-line {
  width: 72px;
  height: 3px;
  background: var(--blue);
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.subhead {
  margin: 22px 0 34px;
  max-width: 22ch;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  line-height: 1.35;
  font-weight: 600;
  color: var(--text);
}

.linkedin-link {
  display: inline-block;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(94, 135, 166, 0.75);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.linkedin-link:hover,
.linkedin-link:focus-visible {
  color: var(--maroon);
  border-bottom-color: var(--maroon);
  transform: translateY(-1px);
  outline: none;
}

.shape {
  position: absolute;
  border-radius: 999px;
}

.shape--curve {
  width: 520px;
  height: 520px;
  left: 10px;
  top: 60px;
  border-radius: 46% 54% 58% 42% / 40% 44% 56% 60%;
  background: linear-gradient(
    145deg,
    rgba(31, 122, 122, 0.2),
    rgba(31, 122, 122, 0.08)
  );
  filter: blur(0.2px);
}

.shape--circle {
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border: 1px solid rgba(17, 79, 85, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.shape--circle-a {
  width: 260px;
  height: 260px;
  left: 120px;
  top: 95px;
  background: var(--teal-soft);
}

.shape--circle-b {
  width: 260px;
  height: 260px;
  left: 50px;
  top: 225px;
  background: rgba(141, 75, 75, 0.12);
}

.shape--circle-c {
  width: 260px;
  height: 260px;
  left: 230px;
  top: 225px;
  background: rgba(220, 200, 176, 0.42);
}

.shape--accent {
  position: absolute;
  width: 18px;
  height: 18px;
  left: 42px;
  top: 442px;
  background: var(--maroon);
  box-shadow: 0 0 0 10px rgba(94, 135, 166, 0.08);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 40px 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(17, 79, 85, 0.08) 18%,
    rgba(17, 79, 85, 0.08) 82%,
    transparent 100%
  );
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero {
    position: relative;
    isolation: isolate;
    grid-template-columns: 1fr;
    min-height: 560px;
    overflow: hidden;
  }

  .hero__graphic,
  .hero__content {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }

  .hero__graphic {
    position: relative;
    min-height: 560px;
    z-index: 1;
    transform: translateY(-68px); /* move whole artwork up */
  }

  .hero__content {
    position: relative;
    align-self: end;
    z-index: 3;
    padding: 0 28px 28px;
    transform: translateY(-112px);
  }

  /* remove any mobile divider/overlay line */
  .hero::before,
  .hero::after {
    content: none !important;
    display: none !important;
  }

  /* big rear shape: move it up so top circle sits inside it,
     and keep more of the bottom curve visible */
  .shape--curve {
    position: absolute;
    left: 50%;
    bottom: 1.5%;
    transform: translateX(-50%);
    width: 128%;
    height: auto;
    max-width: none;
  }

  .shape--circle-a,
  .shape--circle-b,
  .shape--circle-c,
  .shape--accent {
    position: absolute;
    z-index: 2;
  }

  /* top/yellow circle pulled inward so it doesn't pop outside */
  .shape--circle-a {
    top: 16%;
    right: 15%;
  }

  .shape--circle-b {
    top: 30%;
    left: 13%;
  }

  .shape--circle-c {
    top: 36%;
    right: 28%;
  }

  /* red dot moved to lower-right edge of big background shape */
  .shape--accent {
    top: auto;
    left: auto;
    right: 8%;
    bottom: 9%;
  }

  /* make the name span about 90% width */
  .hero h1 {
    width: 90%;
    max-width: 90%;
    font-size: clamp(3.6rem, 12vw, 5.8rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
  }

  eyebrow {
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.92;
    max-width: 22ch;
    margin-bottom: 0.85rem;
  }

  .subhead {
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 500;
    opacity: 0.96;
    max-width: 26ch;
    margin-top: 0.9rem;
  }

  /* CTA feels tappable, not just decorative */
  .linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.78rem 1.1rem;
    margin-top: 1.1rem;

    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, background-color 0.18s ease,
      border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .linkedin-link:hover,
  .linkedin-link:focus-visible,
  .linkedin-link:active {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    transform: translateY(-1px);
    outline: none;
  }

   /* Lift the text block slightly */
  .hero__content {
    position: relative;
    top: -12px;
  }

  /* Remove the thin divider/top line */
  .hero::before,
  .hero::after,
  .eyebrow::before,
  .eyebrow::after {
    content: none;
    display: none;
  }

  /* Reduce background competition */
  .shape--curve {
    opacity: 0.95;
    filter: saturate(0.94) brightness(0.98);
  }

  .shape--circle-a,
  .shape--circle-b,
  .shape--circle-c {
    opacity: 0.9;
    filter: saturate(0.95) brightness(0.99);
  }

  .shape--accent {
    opacity: 0.92;
  }

  /* Keep CTA spacing tidy after the shift */
  .linkedin-link {
    margin-top: 1rem;
  }
}

@media (max-width: 520px) {
  .hero,
  .hero__graphic {
    min-height: 520px;
  }

  .hero__graphic {
    transform: translateY(-56px);
  }

  .hero__content {
    padding: 0 20px 22px;
    transform: translateY(-106px);
  }

  .shape--curve {
    width: 136%;
    bottom: 3%;
  }

  .shape--circle-a {
    top: 17%;
    right: 13%;
  }

  .shape--circle-b {
    top: 31%;
    left: 11%;
  }

  .shape--circle-c {
    top: 37%;
    right: 26%;
  }

  .shape--accent {
    right: 7%;
    bottom: 10%;
  }

  .hero h1 {
    width: 90%;
    max-width: 90%;
    font-size: clamp(3.15rem, 13vw, 4.7rem);
    line-height: 0.9;
  }

  .eyebrow {
    font-size: 0.88rem;
    margin-bottom: 0.7rem;
  }

  .subhead {
    font-size: 0.98rem;
    line-height: 1.4;
    margin-top: 0.75rem;
  }

  .linkedin-link {
    min-height: 42px;
    padding: 0.72rem 1rem;
    font-size: 0.92rem;
    margin-top: 0.95rem;
  }
  .hero__content {
    top: -10px;
  }

  .shape--curve {
    opacity: 0.93;
  }

  .shape--circle-a,
  .shape--circle-b,
  .shape--circle-c {
    opacity: 0.88;
  }

  .linkedin-link {
    margin-top: 0.9rem;
  }
}