@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/dm-sans-latin-400-600.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/libre-caslon-display-latin-400.woff2") format("woff2");
}

:root {
  --navy: #071421;
  --navy-soft: #0d2031;
  --paper: #f4f1e9;
  --gold: #b99a5a;
  --gold-light: #d8c38c;
  --ink: #0b1a27;
  --muted: #59636c;
  --line: rgba(185, 154, 90, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; }

.site-header {
  position: absolute; z-index: 10; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 76px); color: white;
}
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.header-mark { width: 68px; height: 62px; object-fit: contain; }
.brand-divider { width: 1px; height: 40px; background: rgba(216,195,140,.72); }
.brand-name { color: white; font: 25px/1 "Libre Caslon Display", serif; letter-spacing: .13em; white-space: nowrap; }
nav { display: flex; flex-shrink: 0; gap: 32px; }
nav a { color: rgba(255,255,255,.88); text-decoration: none; font: 17px/1 "Libre Caslon Display", serif; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--gold-light); }

.hero {
  min-height: 760px; height: 100svh; padding: 170px clamp(24px, 8vw, 125px) 80px;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
  color: white; background: var(--navy) url("rocypa-hero-mountains-v1.webp") center center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,14,25,.88) 0%, rgba(5,19,32,.67) 43%, rgba(5,19,32,.08) 76%); }
.eyebrow { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; color: #f0c66e; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.eyebrow span { width: 36px; height: 1px; background: #f0c66e; box-shadow: 0 1px 5px rgba(0,0,0,.55); }
h1, h2, .closing p { font-family: "Libre Caslon Display", serif; font-weight: 400; letter-spacing: -.035em; }
h1 { position: relative; z-index: 1; max-width: 1050px; margin: 28px 0 24px; font-size: clamp(64px, 7.3vw, 112px); line-height: .92; }
h1 em { color: var(--gold-light); font-weight: 400; }
.hero-copy { position: relative; z-index: 1; width: min(100%, 520px); margin: 18px 0 30px; color: rgba(255,255,255,.7); font-size: clamp(17px, 1.5vw, 20px); }

.about { padding: clamp(90px, 12vw, 170px) clamp(24px, 8vw, 125px); }
.section-label { margin: 0 0 45px; color: #795f30; text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 600; }
.about-grid { display: grid; grid-template-columns: minmax(300px, .9fr) 1.1fr; gap: clamp(50px, 10vw, 150px); align-items: start; }
h2 { margin: 0; font-size: clamp(48px, 6vw, 82px); line-height: .98; }
.about-copy { max-width: 610px; padding-top: 8px; }
.about-copy p:first-child { margin-top: 0; color: var(--ink); font-size: clamp(20px, 2vw, 28px); line-height: 1.5; }
.about-copy p:last-child { color: var(--muted); max-width: 530px; }

.approach { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 8vw, 130px); padding: clamp(90px, 11vw, 150px) clamp(24px, 8vw, 125px); background: #e8e3d8; }
.approach-heading { position: sticky; top: 80px; align-self: start; }
.approach-heading h2 { font-size: clamp(42px, 5vw, 68px); }
.principles { margin: 0; padding: 0; list-style: none; }
.principles li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 35px 0; border-top: 1px solid rgba(11,26,39,.18); }
.principles li:last-child { border-bottom: 1px solid rgba(11,26,39,.18); }
.number { color: #795f30; font-size: 12px; letter-spacing: .12em; }
.principles h3 { margin: -7px 0 8px; font: 34px/1.2 "Libre Caslon Display", serif; }
.principles p { margin: 0; max-width: 440px; color: var(--muted); }

.closing { min-height: 520px; display: grid; place-items: center; position: relative; overflow: hidden; padding: 100px 24px; color: white; text-align: center; background: var(--navy); }
.closing p { z-index: 1; margin: 0; font-size: clamp(48px, 7vw, 96px); line-height: 1.03; }
.closing p::first-line { color: var(--gold-light); }
.closing-mark { position: absolute; color: rgba(255,255,255,.025); font: 500px/1 "Libre Caslon Display", serif; transform: translateY(45px); }
.contact { padding: clamp(75px, 10vw, 130px) clamp(24px, 8vw, 125px); background: #fff; }
.company-logo { display: block; width: min(100%, 580px); height: auto; margin: 0 auto clamp(60px, 8vw, 100px); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 32px; border-top: 1px solid rgba(11,26,39,.18); }
.contact-details > div { display: grid; grid-template-columns: minmax(110px, .34fr) 1fr; gap: 24px; align-items: start; }
.contact-label { margin: 0; color: #795f30; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 600; }
.contact address, .contact a { margin: 0; color: var(--ink); font-size: clamp(17px, 1.5vw, 20px); font-style: normal; line-height: 1.6; }
.contact a { width: fit-content; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.contact a:hover, .contact a:focus-visible { color: #8c713d; }
footer { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 35px clamp(24px, 5vw, 76px); background: #040d15; color: rgba(255,255,255,.45); font-size: 12px; }
footer p { margin: 0; }
footer .footer-links { display: flex; justify-content: center; gap: 24px; }
footer .footer-links a { color: var(--gold-light); text-decoration: none; text-underline-offset: 4px; }
footer .footer-links a:hover, footer .footer-links a:focus-visible, footer .footer-links a[aria-current="page"] { color: white; text-decoration: underline; }
footer p:last-child { color: rgba(255,255,255,.82); font-size: 13px; font-weight: 500; text-align: center; }

.legal-page { background: #f4f1e9; }
.legal-site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; padding: 24px clamp(24px, 5vw, 76px); background: var(--navy); color: white; }
.legal-site-header .header-mark { width: 58px; height: 54px; }
.legal-site-header .brand-name { font-size: 21px; }
.back-link { color: var(--gold-light); text-decoration: none; font-size: 14px; border-bottom: 1px solid rgba(216,195,140,.5); }
.back-link:hover, .back-link:focus-visible { color: white; }
.legal-main { width: min(100% - 48px, 900px); margin: 0 auto; padding: clamp(70px, 9vw, 120px) 0; }
.legal-title { padding-bottom: 46px; border-bottom: 1px solid rgba(11,26,39,.18); }
.legal-title .section-label { margin-bottom: 24px; }
.legal-title h1 { margin: 0 0 18px; color: var(--ink); font: clamp(50px, 7vw, 82px)/1 "Libre Caslon Display", serif; letter-spacing: -.035em; }
.legal-title > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.legal-content { padding-top: 28px; }
.legal-content section { padding: 34px 0; border-bottom: 1px solid rgba(11,26,39,.13); }
.legal-content h2 { margin: 0 0 15px; font: 30px/1.2 "Libre Caslon Display", serif; letter-spacing: -.015em; }
.legal-content h3 { margin: 24px 0 8px; color: var(--ink); font-size: 16px; }
.legal-content p { margin: 0 0 14px; color: #46535d; font-size: 17px; line-height: 1.75; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content a { color: #806631; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .site-header { padding-top: 22px; flex-direction: column; align-items: stretch; gap: 16px; }
  .brand { align-self: flex-start; }
  nav { width: 100%; justify-content: flex-start; gap: 34px; padding-top: 14px; border-top: 1px solid rgba(216,195,140,.3); }
  nav a { font-size: 15px; }
  .hero { min-height: 680px; padding-top: 300px; justify-content: flex-start; }
  .hero { background-position: 67% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3,14,25,.93) 0%, rgba(4,17,29,.77) 62%, rgba(4,17,29,.22) 100%); }
  .about-grid, .approach { grid-template-columns: 1fr; }
  .about-grid { gap: 38px; }
  .approach { gap: 55px; }
  .approach-heading { position: static; }
  .principles li { grid-template-columns: 48px 1fr; }
  .contact-details { grid-template-columns: 1fr; gap: 36px; }
  footer { align-items: flex-start; }
  footer .footer-links { justify-content: flex-start; }
  footer p:last-child { text-align: left; }
  .legal-site-header { min-height: 96px; }
}

@media (max-width: 430px) {
  .site-header { padding-left: 18px; padding-right: 18px; }
  .brand { gap: 12px; }
  .header-mark { width: 56px; height: 50px; }
  .brand-divider { height: 34px; }
  .brand-name { font-size: 18px; letter-spacing: .08em; }
  nav { gap: 28px; }
  nav a { font-size: 14px; }
  h1 { font-size: clamp(60px, 20vw, 84px); }
  .hero-copy { font-size: 17px; }
  .principles h3 { font-size: 29px; }
  .contact-details > div { grid-template-columns: 1fr; gap: 8px; }
  .legal-site-header { padding-left: 18px; padding-right: 18px; }
  .legal-site-header .header-mark { width: 44px; height: 42px; }
  .legal-site-header .brand-divider { height: 29px; }
  .legal-site-header .brand-name { font-size: 15px; }
  .legal-main { width: min(100% - 36px, 900px); }
  .legal-content h2 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
