:root {
  color-scheme: light;
  --ink: #20170f;
  --muted: #6d5f52;
  --paper: #fbf7ed;
  --panel: rgba(255, 252, 244, 0.9);
  --line: rgba(68, 45, 24, 0.16);
  --gold: #b88025;
  --saffron: #d89325;
  --deep: #2b1811;
  --white: #fffaf0;
  --shadow: rgba(63, 40, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  min-height: 100dvh;
  padding: 16px;
  background:
    radial-gradient(circle at 14% 8%, rgba(216, 147, 37, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 92%, rgba(43, 24, 17, 0.1), transparent 26rem),
    linear-gradient(145deg, #fff9eb 0%, #f7f0e2 50%, #eadbc1 100%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1120px;
  min-height: calc(100dvh - 36px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 26px 80px var(--shadow);
}

.hero-media {
  position: relative;
  height: clamp(230px, 42dvh, 360px);
  overflow: hidden;
  background: var(--deep);
}

.hero-media::before {
  position: absolute;
  inset: -18px;
  content: "";
  background: url("assets/profile.jpeg") center / cover no-repeat;
  filter: blur(18px);
  opacity: 0.52;
  transform: scale(1.08);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(43, 24, 17, 0), rgba(43, 24, 17, 0.28)),
    linear-gradient(90deg, rgba(43, 24, 17, 0.22), transparent 28%, transparent 72%, rgba(251, 247, 237, 0.34));
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 5vw, 58px);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.72rem, 7vw, 5.15rem);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h1 span + span {
  margin-top: 0.03em;
}

.lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.feature-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  margin-top: 2px;
  padding: 18px 18px 18px 20px;
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(135deg, #2b1811 0%, #7b481b 58%, #b88025 100%);
  box-shadow: 0 16px 36px rgba(74, 41, 16, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(74, 41, 16, 0.3);
}

.feature-link:active {
  transform: translateY(1px);
}

.feature-link strong,
.feature-link small,
.links span,
.links small {
  display: block;
}

.feature-link strong {
  font-size: 1rem;
}

.feature-link small {
  margin-top: 2px;
  color: rgba(255, 250, 240, 0.72);
}

.feature-link svg {
  width: 28px;
  min-width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.links {
  display: grid;
  gap: 12px;
}

.links a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  grid-template-areas:
    "icon label arrow"
    "icon sub arrow";
  column-gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.links a::after {
  grid-area: arrow;
  width: 20px;
  height: 20px;
  content: "";
  background: currentColor;
  opacity: 0.38;
  clip-path: path("M7.5 3.5 L16 12 L7.5 20.5 L6.1 19.1 L13.2 12 L6.1 4.9 Z");
  transform: translateX(-2px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.links a:hover {
  border-color: rgba(184, 128, 37, 0.5);
  background: rgba(255, 252, 244, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 22px rgba(63, 40, 20, 0.08);
  transform: translateY(-1px);
}

.links a:hover::after {
  opacity: 0.7;
  transform: translateX(0);
}

.links a:active {
  transform: translateY(1px);
}

.icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: transparent;
  border: 0;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(43, 24, 17, 0.12);
}

.icon img {
  display: block;
  width: 44px;
  height: 44px;
}

.links span:not(.icon) {
  grid-area: label;
  font-weight: 800;
}

.links small {
  grid-area: sub;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (min-width: 820px) {
  .shell {
    padding: 28px;
  }

  .hero {
    grid-template-columns: minmax(320px, 0.88fr) minmax(420px, 1fr);
    min-height: calc(100dvh - 56px);
  }

  .hero-media {
    height: auto;
    min-height: 100%;
  }

  .hero-media img {
    min-height: 100%;
  }

  .content {
    min-height: calc(100dvh - 58px);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
