/* ============================================================
   R&Y PARTNERS — DESIGN SYSTEM (original site design)
   White background · black sticky header · full-colour photos
   Libre Baskerville display + Inter, numbered sections 01–06
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --ink: #0a0a0a;
  --text: #111111;
  --text-2: #333333;
  --text-3: #666666;
  --muted: #999999;
  --line: #e3e3e3;
  --line-strong: #c9c9c9;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Header（black） ---------- */
.header, .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #262626;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img, .footer-brand img { width: 40px; height: 40px; border-radius: 50%; display: block; }
.brand-name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: #ffffff;
}
.nav-header { display: flex; align-items: center; gap: 24px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfcfcf;
  position: relative;
  padding-bottom: 4px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.2s;
}
.nav a:hover::after { width: 100%; }
.nav a:hover, .nav a.active { color: #ffffff; }
.nav-btn {
  background: none;
  color: #cfcfcf !important;
  letter-spacing: 0.12em;
  font-size: 12.5px;
  padding: 0;
}
.nav-btn:hover { color: #ffffff !important; }
.lang { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.lang a { color: #9a9a9a; letter-spacing: 0.06em; }
.lang a:hover { color: #ffffff; }
.lang .active { color: #ffffff; border-bottom: 1px solid #ffffff; padding-bottom: 1px; }
.lang .sep { color: #555; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #444;
  border-radius: 2px;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.btn-dark, .btn--solid { background: var(--ink); color: #fff; }
.btn-dark:hover, .btn--solid:hover { background: #333; }
.btn-outline { background: transparent; border-color: var(--text-2); color: var(--text); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light, .btn--light { background: #fff; color: var(--ink); }
.btn-light:hover, .btn--light:hover { background: #e8e8e8; }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--big { padding: 18px 34px; font-size: 14px; }

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- Hero ---------- */
.hero, .product-hero { background: var(--bg); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 1240px; margin: 0 auto; padding: 96px 32px 72px; }
.hero .container .hero-inner { padding: 96px 0 72px; }
.hero-layout, .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.product-hero .hero-grid { padding: 96px 0 72px; }
.hero-eyebrow, .hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 28px;
}
.hero-eyebrow::after, .hero-copy .eyebrow::after { content: ""; width: 56px; height: 1px; background: var(--ink); }
.hero h1, .hero-title, .product-hero-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--ink);
}
.product-hero-title { font-size: 38px; }
.hero-title { font-size: 40px; }
.hero-sub, .product-hero-sub {
  font-size: 16px;
  color: var(--text-3);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.95;
}
.hero-actions, .product-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.photo-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}
.photo-caption, .hero-cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.hero-fine { font-size: 12px; color: #777774; letter-spacing: 0.08em; }
.stats {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 32px 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.stat { padding: 0 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-value {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.stat-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 4px;
}
.hero-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}
.hero-cap { padding: 12px 4px 0; }

/* ---------- Sections ---------- */
.section { padding: 96px 32px; }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-grey, .section--paper {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: 56px; }
.section-head-center, .section-head.center { text-align: center; }
.section-eyebrow, .section-head .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.section-eyebrow::before, .section-head .eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--ink); }
.section-head-center .section-eyebrow, .section-head.center .eyebrow { justify-content: center; }
.section-head-center .section-eyebrow::after, .section-head.center .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--ink); }
.section-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 33px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 18px;
}
.section-lead {
  font-size: 15px;
  color: var(--text-3);
  max-width: 680px;
  line-height: 1.9;
}
.section-head-center .section-lead, .section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- POV / split ---------- */
.pov-grid, .split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pov-text p, .split-text p { font-size: 15px; color: var(--text-2); line-height: 2; margin-bottom: 18px; }
.pov-text strong, .split-text strong { color: var(--ink); }
.pov-photo, .split-photo img { width: 100%; height: 460px; object-fit: cover; border: 1px solid var(--line-strong); }
.pov-quote {
  border-left: 2px solid var(--ink);
  padding: 4px 0 4px 20px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-2);
  margin: 28px 0 0;
}

/* ---------- Impact / vp cards ---------- */
.impact-grid, .vp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.impact-card, .vp-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.impact-card:hover, .vp-card:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.10); transform: translateY(-3px); }
.impact-photo { width: 100%; height: 220px; object-fit: cover; }
.impact-body { padding: 26px 24px; }
.impact-kicker, .vp-no {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.impact-title, .vp-title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.impact-desc, .vp-desc { font-size: 13.5px; color: var(--text-3); line-height: 1.85; }
.vp-card .vp-no { padding: 26px 26px 0; }
.vp-card .vp-title { padding: 0 26px; }
.vp-card .vp-desc { padding: 0 26px 26px; }

/* ---------- Product ---------- */
.product-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.product-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.product-logo img { width: 40px; height: 40px; border-radius: 50%; }
.product-name { font-weight: 700; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; }
.product-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 3px 8px;
}
.product-desc { font-size: 14.5px; color: var(--text-2); line-height: 1.95; margin: 20px 0 24px; }
.product-desc strong { color: var(--ink); }
.product-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 5px 12px;
}
.feature-list, .feature-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 76px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-item { padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feature-desc { font-size: 13.5px; color: var(--text-3); line-height: 1.85; }
.feature-num {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--line-strong);
  margin-bottom: 12px;
}
.feature-row { display: contents; }

/* ---------- Steps ---------- */
.steps, .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.step-card { padding: 36px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.step-no {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--line-strong);
  margin-bottom: 18px;
}
.step-title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.step-desc { font-size: 13.5px; color: var(--text-3); line-height: 1.85; }
.steps-photo { width: 100%; height: 380px; object-fit: cover; border: 1px solid var(--line-strong); margin: 48px 0 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-tile { border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.gallery-tile img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.4s; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-cap {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-2);
}
.gallery-cap .small { font-weight: 400; color: var(--muted); font-size: 11px; letter-spacing: 0.12em; }

/* ---------- Company ---------- */
.company-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.company-text p { font-size: 14.5px; color: var(--text-2); line-height: 1.95; margin-bottom: 18px; }
.company-photo { width: 100%; height: 460px; object-fit: cover; border: 1px solid var(--line-strong); }
.company-table { margin-top: 28px; border-top: 1px solid var(--ink); }
.company-table .row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.company-table .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-3);
  padding: 14px 16px;
  background: var(--bg-soft);
}
.company-table .value { font-size: 13.5px; color: var(--text); padding: 14px 16px; }

/* ---------- Product grid (suite) ---------- */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.product-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  display: block;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.10); transform: translateY(-3px); }
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.product-body { padding: 26px 24px; }
.product-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.product-link .arrow { display: inline-block; margin-left: 6px; transition: transform 0.2s; }
.product-card:hover .product-link .arrow { transform: translateX(4px); }

/* ---------- Flow diagram (In -> Revance value -> Out) ---------- */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1.35fr auto 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 2px;
  padding: 22px 20px;
}
.flow-col { display: flex; flex-direction: column; gap: 8px; }
.flow-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.flow-chip {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--ink);
  border-radius: 2px;
  padding: 9px 11px;
  line-height: 1.4;
}
.flow-core {
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}
.flow-core-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.flow-core-sub {
  font-size: 11px;
  font-weight: 600;
  color: #9a9a9a;
  margin-top: 9px;
  line-height: 1.65;
}
.flow-arrow { color: var(--line-strong); font-size: 22px; line-height: 1; text-align: center; }
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow-arrow { transform: rotate(90deg); }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  padding: 22px 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q:hover { color: var(--text-3); }
.faq-q .chevron, .faq-q .chev { flex-shrink: 0; font-size: 14px; transition: transform 0.2s; color: var(--muted); }
.faq-item.open .faq-q .chevron, .faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 32px 22px 4px; font-size: 14px; color: var(--text-2); line-height: 1.9; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA ---------- */
.cta-band, .cta { background: var(--ink); color: #fff; text-align: center; padding: 110px 32px; }
.cta-band .section-eyebrow, .cta .eyebrow { color: #9a9a9a; justify-content: center; }
.cta-band .section-eyebrow::before, .cta-band .section-eyebrow::after,
.cta .eyebrow::before, .cta .eyebrow::after { background: #fff; }
.cta-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}
.cta-sub { font-size: 15px; color: #aaaaaa; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.9; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-layout { max-width: 860px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.form-group { padding: 24px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.form-group.full { grid-column: 1 / -1; }
.form-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-3); margin-bottom: 10px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  background: transparent;
  transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-bottom-color: var(--ink); }
.form-select { appearance: none; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6"><path d="M0 0l5 6 5-6z" fill="%23999"/></svg>') no-repeat right center / 10px 6px; }
.form-textarea { min-height: 110px; resize: vertical; }
.form-actions { margin-top: 12px; text-align: right; }
.form-note { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: right; }
.contact-alt { text-align: center; margin-top: 40px; font-size: 14px; color: var(--text-3); }
.contact-alt strong { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9a9a9a; padding: 56px 32px 32px; font-size: 13px; }
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.footer-links a { color: #9a9a9a; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1240px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
}
.footer-credit { color: #6f6f6f; }
.footer-credit a { color: #9a9a9a; }
.footer-copy { color: #6f6f6f; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-layout, .pov-grid, .product-layout, .company-layout,
  .hero-grid, .split, .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1, .hero-title { font-size: 34px; }
  .product-hero-title { font-size: 32px; }
  .hero-inner, .hero .container .hero-inner { padding: 64px 24px 56px; }
  .photo-frame img, .hero-photo img { height: 380px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat { border-left: none; padding: 0; }
  .impact-grid, .vp-grid { grid-template-columns: 1fr 1fr; }
  .feature-list, .feature-panel, .feature-row, .form-grid { grid-template-columns: 1fr; }
  .steps, .steps-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 24px; }
  .section-title { font-size: 28px; }
  .product-hero .hero-grid, .hero .container .hero-inner { padding: 64px 0 56px; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0a0a0a;
    border-bottom: 1px solid #262626;
    padding: 8px 24px 20px;
  }
  .nav.open a { padding: 12px 0; width: 100%; }
  .nav.open .nav-btn { text-align: center; margin-top: 10px; }
  .nav-toggle { display: block; }
  .lang { margin-left: auto; }
  .hero h1, .hero-title, .product-hero-title { font-size: 28px; }
  .impact-grid, .vp-grid, .gallery-grid, .product-grid { grid-template-columns: 1fr; }
  .cta-band, .cta { padding: 80px 24px; }
  .cta-title { font-size: 28px; }
  .company-table .row { grid-template-columns: 1fr; }
  .company-table .label { border-bottom: 1px solid var(--line); }
  .nav-header { gap: 12px; }
}