:root {
  color-scheme: light;
  --ink: #171918;
  --muted: #626a64;
  --paper: #f6f2ea;
  --surface: #fffaf1;
  --line: rgba(23, 25, 24, 0.14);
  --accent: #0d4a3b;
  --accent-ink: #f8f5ed;
  --silver: #d8d6cc;
  --shadow: 0 24px 70px rgba(23, 25, 24, 0.12);
  font-family:
    "Inter",
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--ink);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 13px;
  color: rgba(23, 25, 24, 0.72);
}

.nav a {
  border-bottom: 1px solid transparent;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.nav a:hover {
  border-color: currentColor;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 126px clamp(20px, 6vw, 96px) 72px;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(246, 242, 234, 0.95) 0%, rgba(246, 242, 234, 0.68) 44%, rgba(246, 242, 234, 0.18) 100%),
    url("assets/hiroyal-hero.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto clamp(20px, 6vw, 96px) 0;
  height: 1px;
  background: var(--line);
}

.hero__content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(76px, 13vw, 172px);
  font-weight: 500;
  line-height: 0.9;
}

.lead {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 650;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

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

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button--ghost {
  background: rgba(255, 250, 241, 0.52);
  color: var(--ink);
}

.section {
  padding: 84px clamp(20px, 6vw, 96px);
}

.section--intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(280px, 1fr);
  gap: clamp(30px, 6vw, 92px);
  background: var(--surface);
}

.section__heading {
  max-width: 520px;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 500;
  line-height: 1;
}

.intro-grid {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 16px;
}

.intro-grid p {
  margin-bottom: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.feature-list article {
  min-height: 220px;
  padding: 28px;
  background: var(--surface);
}

.feature-list span {
  display: block;
  margin-bottom: 44px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 30px clamp(20px, 6vw, 96px);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: 20px;
}

.site-footer a {
  border-bottom: 1px solid currentColor;
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    padding-top: 18px;
  }

  .nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 88svh;
    padding-top: 112px;
  }

  .hero__media {
    background:
      linear-gradient(180deg, rgba(246, 242, 234, 0.98) 0%, rgba(246, 242, 234, 0.84) 58%, rgba(246, 242, 234, 0.42) 100%),
      url("assets/hiroyal-hero.png") center bottom / cover no-repeat;
  }

  h1 {
    font-size: clamp(64px, 22vw, 104px);
  }

  .lead {
    font-size: 18px;
  }

  .section,
  .section--intro {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section--intro {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-list article {
    min-height: auto;
  }

  .feature-list span {
    margin-bottom: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
