:root {
  --ryhaus-bg: #fff7e8;
  --ryhaus-black: #111614;
  --ryhaus-orange: #fb4405;
  --ryhaus-grey: #d2d5d5;
  --ryhaus-muted: #7b7f7a;
  --font-display: "Righteous", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --page-max-width: 100vw;
}

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

html,
body {
  height: 100%;
  
}

body {
  font-family: var(--font-body);
  background-color: var(--ryhaus-bg);
  color: var(--ryhaus-black);
  -webkit-font-smoothing: antialiased;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

html {
  scrollbar-width: thin;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-color: var(--ryhaus-orange) rgba(17, 22, 20, 0.12);
}

html::-webkit-scrollbar {
  width: 0.55rem;
}

html::-webkit-scrollbar-track {
  background: rgba(17, 22, 20, 0.06);
}

html::-webkit-scrollbar-thumb {
  background: var(--ryhaus-orange);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--ryhaus-orange) 90%, var(--ryhaus-black) 10%);
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-inner {
  width: 100%;
  max-width: var(--page-max-width);
  padding: 2.5rem 1.5rem 4rem;
  padding-left: 200px;
  padding-right: 1.5rem;

  @media (max-width: 640px) {
    padding-left: 1rem;
  }
}

.site-header {
  border-bottom: 1px solid var(--ryhaus-black);
  z-index: 20;
  height: 100vh;
}

.site-header-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 1.25rem 3.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 90%;
}

.scroll-down {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 3rem;
  height: 10%;
  transition: letter-spacing 0.3s ease-out;
}

.scroll-down:hover {
  color: var(--ryhaus-orange);
  letter-spacing: 0.5em;
}

.corner-logo {
  position: sticky;
  top: 1rem;
  left: 1rem;
  padding-left: 2rem;
  
  @media (max-width: 640px) {
    padding-left: 0;
    top:0;
    left:0;
    background: var(--ryhaus-bg);
    z-index: 10;
  }
}

.corner-logo > img {
  width: 150px;

  @media (max-width: 640px) {
    width: 80px;
  }
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;

  @media (max-width: 640px) {
    flex-direction: column;
  }
}

.brand-title {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-title-main {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
}

.brand-title-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ryhaus-muted);
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  @media (max-width: 640px) {
    flex-direction: column;
    font-size: 1.5rem;
  }
}

.corner-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 1px;
  background: var(--ryhaus-black);
  transition: width 0.18s ease-out;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.is-active {
  color: var(--ryhaus-orange);
}

.nav-link.is-active::after {
  width: 100%;
  background: var(--ryhaus-orange);
}

.hero {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ryhaus-muted);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.hero-title,
.hero-panel-title,
.section-title,
.value-card-title,
.color-block-name,
.type-headline-demo,
.type-scale-item-sample.h1,
.type-scale-item-sample.h2 {
  text-transform: uppercase;
}

.hero-title-accent {
  color: var(--ryhaus-orange);
  display: inline-block;
}

.hero-tagline {
  max-width: 26rem;
  margin-top: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-meta {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ryhaus-muted);
}

.hero-meta span strong {
  color: var(--ryhaus-black);
  font-weight: 600;
}

.hero-panel {
  border: 1px solid var(--ryhaus-black);
  padding: 1.75rem 1.6rem;
  position: relative;
}

.hero-panel-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ryhaus-muted);
}

.hero-panel-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 0.9rem;
  margin-bottom: 0.4rem;
}

.hero-panel-text {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 18rem;
}

.hero-panel-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  font-size: 0.75rem;
  position: relative;
}

.hero-panel-pill {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: relative;
}

.hero-panel-pill-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ryhaus-muted);
  font-size: 0.68rem;
}

.hero-panel-pill-value {
  font-weight: 500;
}

.section {
  margin-top: 4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.section-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ryhaus-muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ryhaus-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.value-card {
  border: 1px solid var(--ryhaus-black);
  padding: 1.35rem 1.3rem 1.4rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.value-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ryhaus-muted);
}

.value-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.value-card-body {
  font-size: 0.9rem;
  line-height: 1.7;
}

.color-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.color-block {
  padding: 1.1rem 1.2rem;
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.color-block-main {
  background: var(--ryhaus-orange);
  color: #fff;
}

.color-block-dark {
  background: var(--ryhaus-black);
  color: #fff;
}

.color-block-light {
  background: var(--ryhaus-bg);
  border: 1px solid var(--ryhaus-black);
}

.color-block-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.9;
}

.color-block-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.color-block-code {
  font-size: 0.8rem;
  opacity: 0.9;
}

.type-stack {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.type-headline-demo {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1.05;
}

.type-headline-demo span {
  display: block;
}

.type-headline-demo span.accent {
  color: var(--ryhaus-orange);
}

.type-body-demo {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 1.2rem;
  color: var(--ryhaus-black);
}

.type-meta-list {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ryhaus-muted);
}

.type-scale {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-body);
}

.type-scale-item-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ryhaus-muted);
}

.type-scale-item-sample.h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.type-scale-item-sample.h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.type-scale-item-sample.body {
  font-size: 0.93rem;
  line-height: 1.6;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--ryhaus-black);
  padding: 1.6rem 1.5rem 2.2rem;
}

.site-footer-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ryhaus-muted);
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.footer-nav {
  display: flex;
  gap: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.about-page,
.offerings-page {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.story-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.story-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ryhaus-muted);
}

.story-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
}

.story-hero-lede {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 48rem;
}

.story-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.story-hero-pill {
  border: 1px solid var(--ryhaus-black);
  padding: 1.6rem 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.story-hero-pill-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ryhaus-muted);
}

.story-hero-pill-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.story-hero-pill-copy {
  font-size: 0.95rem;
  line-height: 1.7;
}

.story-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.story-pillar-card {
  border: 1px solid var(--ryhaus-black);
  padding: 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.story-card-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ryhaus-muted);
}

.story-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.story-card-copy {
  font-size: 0.95rem;
  line-height: 1.7;
}

.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 3rem;
  align-items: start;
}

.journey-lede {
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 1rem;
}

.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.journey-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--ryhaus-black);
  background: #fff;
}

.journey-step-index {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--ryhaus-black);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.journey-step-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ryhaus-muted);
  margin-bottom: 0.3rem;
}

.journey-step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.journey-step-copy {
  font-size: 0.95rem;
  line-height: 1.6;
}

.story-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.story-proof-card {
  border: 1px solid var(--ryhaus-black);
  padding: 1.6rem 1.5rem;
  background: #fff;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.story-proof-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.story-proof-copy {
  font-size: 0.95rem;
  line-height: 1.7;
}

.story-close {
  padding-bottom: 4rem;
}

.story-close-inner {
  border: 1px solid var(--ryhaus-black);
  padding: 2rem;
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2rem;
  align-items: center;
}

.story-close-title {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
}

.story-close-copy {
  font-size: 1rem;
  line-height: 1.8;
}

.offer-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.offer-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 1rem 0;
}

.offer-hero-lede {
  font-size: 1.05rem;
  line-height: 1.8;
}

.offer-hero-list {
  border: 1px solid var(--ryhaus-black);
  padding: 1.6rem;
  font-size: 0.95rem;
  line-height: 1.8;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: #fff;
}

.offer-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.offer-duo-card {
  border: 1px solid var(--ryhaus-black);
  padding: 1.8rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.offer-card-label {
  font-size: 0.85rem;
}

.offer-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
}

.offer-card-copy {
  font-size: 1rem;
  line-height: 1.8;
}

.department-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.department-card {
  border: 1px solid var(--ryhaus-black);
  padding: 1.8rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.department-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ryhaus-muted);
}

.department-index {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--ryhaus-black);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--ryhaus-black);
}

.department-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.department-points {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.offer-solutions {
  padding-bottom: 4rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.solution-card {
  border: 1px solid var(--ryhaus-black);
  padding: 1.4rem;
  background: #fff;
  min-height: 130px;
  display: flex;
  align-items: flex-end;
}

.solution-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 1.4;
}

.solutions-footer {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 880px) {
  .site-header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    margin-left: 0;
  }

  .nav-list {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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

  .hero-panel {
    order: -1;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .type-stack {
    grid-template-columns: 1fr;
  }

  .story-hero,
  .offer-hero,
  .story-close-inner {
    grid-template-columns: 1fr;
  }

  .story-pillars-grid,
  .story-proof-grid,
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

  .offer-duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .color-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .site-header-inner {
    padding-inline: 1rem;
  }

  .page-inner {
    padding-inline: 1rem;
  }

  .story-pillars-grid,
  .story-proof-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .journey-step {
    grid-template-columns: 1fr;
  }
}
