@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("../assets/fonts/dm-serif-display-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f3efe7;
  --surface: rgba(255, 250, 242, 0.7);
  --surface-strong: rgba(255, 252, 247, 0.9);
  --surface-deep: #161616;
  --text: #181511;
  --muted: #635a4f;
  --accent: #c96d37;
  --accent-strong: #0d5c52;
  --line: rgba(24, 21, 17, 0.1);
  --shadow: 0 24px 70px rgba(51, 35, 17, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-body: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.95), transparent 30%),
    radial-gradient(circle at 100% 15%, rgba(201, 109, 55, 0.18), transparent 22%),
    linear-gradient(135deg, #f7f2eb 0%, #ece4d7 52%, #f6f1eb 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 21, 17, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 21, 17, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  opacity: 0.6;
}

p,
li,
.contact-card strong,
.metric-list strong,
.highlight-card strong,
.floating-note strong,
.brand-text small {
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}

.ambient-one {
  top: 90px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: rgba(13, 92, 82, 0.12);
}

.ambient-two {
  left: -70px;
  bottom: 80px;
  width: 220px;
  height: 220px;
  background: rgba(201, 109, 55, 0.14);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar,
.hero-panel,
.panel,
.contact-section {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff9f3;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 18px 28px rgba(13, 92, 82, 0.22);
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-text small {
  margin-top: 2px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 32px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.hero-copy,
.hero-visual,
.contact-header > div,
.contact-copy,
.contact-card,
.highlight-card,
.metric-list li {
  min-width: 0;
}

.hero-copy {
  padding: 18px 10px 18px 8px;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 18px;
  font-size: clamp(3.2rem, 7vw, 6rem);
  max-width: 10.5ch;
  line-height: 0.98;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

h1 span {
  display: inline;
}

.nowrap {
  white-space: nowrap;
}

.hero-subtitle {
  margin: 16px 0 0;
  max-width: 34rem;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1.5;
}

.lead {
  margin: 20px 0 30px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.secondary-button {
  min-height: 56px;
  min-width: min(100%, 180px);
  padding: 0 22px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  color: #fffaf3;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 18px 30px rgba(13, 92, 82, 0.22);
}

.secondary-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.primary-button:hover,
.secondary-button:hover,
.contact-card:hover {
  transform: translateY(-2px);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.highlight-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
}

.highlight-card span,
.contact-card span,
.metric-list span,
.floating-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.highlight-card strong,
.contact-card strong,
.metric-list strong,
.floating-note strong {
  display: block;
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.portrait-card {
  position: relative;
  width: min(100%, 430px);
  height: 560px;
  border-radius: 28px;
  overflow: hidden;
  background: #cbbfb2;
  box-shadow: 0 22px 44px rgba(37, 25, 13, 0.18);
}

.portrait-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(16, 14, 12, 0.44), transparent);
  pointer-events: none;
}

.floating-note {
  position: absolute;
  z-index: 1;
  max-width: min(240px, calc(100% - 40px));
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 30px rgba(57, 39, 23, 0.12);
}

.note-top {
  top: 20px;
  right: 10px;
}

.note-bottom {
  left: 10px;
  bottom: 20px;
}

.insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  margin-top: 24px;
}

.panel {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.panel h2 {
  margin: 16px 0 16px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  max-width: 12ch;
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.85;
}

.statement-panel {
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.86), rgba(247, 240, 229, 0.72)),
    var(--surface);
}

.metric-panel {
  background:
    linear-gradient(135deg, rgba(13, 92, 82, 0.08), rgba(201, 109, 55, 0.1)),
    var(--surface);
}

.metric-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.metric-list li {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.contact-section {
  margin-top: 24px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.contact-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.contact-header h2 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.contact-copy {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  text-decoration: none;
  color: inherit;
  padding: 22px 20px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.75;
}

.contact-card.featured {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(255, 243, 233, 0.92));
}

.topbar,
.hero-panel,
.panel,
.contact-section {
  animation: rise 0.8s ease both;
}

.hero-panel {
  animation-delay: 0.06s;
}

.insight-grid .panel:first-child {
  animation-delay: 0.14s;
}

.insight-grid .panel:last-child {
  animation-delay: 0.22s;
}

.contact-section {
  animation-delay: 0.3s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero-panel,
  .insight-grid,
  .contact-header {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portrait-card {
    width: 100%;
    height: 540px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    padding: 14px 0 34px;
  }

  .topbar {
    border-radius: 28px;
    padding: 14px 16px;
  }

  .topnav {
    display: none;
  }

  .hero-panel,
  .panel,
  .contact-section {
    padding: 18px;
  }

  .hero-copy {
    padding: 8px 0 0;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
    max-width: none;
    line-height: 1.02;
  }

  .hero-highlights,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .portrait-card {
    min-height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .floating-note {
    position: static;
    max-width: none;
    width: 100%;
    margin-top: 0;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .hero-visual {
    display: grid;
    gap: 14px;
  }

  .portrait-card::after {
    height: 24%;
  }
}

@media (max-width: 520px) {
  .hero-visual {
    gap: 12px;
  }

  .portrait-card {
    aspect-ratio: 7 / 9;
    border-radius: 20px;
  }

  .floating-note {
    padding: 13px 14px;
  }

  .floating-note strong {
    font-size: 0.96rem;
    line-height: 1.45;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: min(100% - 14px, 1180px);
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }
}
