/* Security page — a horizontal story on the ORA black canvas.
   The header and spreads reuse the home page's own components; only the
   hero cover and the six-row services rhythm are page-specific. On phones
   every spread holds one smallest-viewport screen, like the desktop panels. */

.ora-security-page {
  background: #000;
  color: #faf9f6;
}
.ora-security-page :focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }

/* Hero cover (metrics follow the landing cover, as one story panel). */
.ora-security-hero {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100dvh;
  min-height: 540px;
  overflow: hidden;
  background: #000;
  color: #faf9f6;
}
.ora-security-clip { display: block; overflow: hidden; }
.ora-security-hero [data-line] { display: block; }
.ora-security-hero-label {
  position: absolute;
  top: 5.5vh;
  left: max(7.75vw, 96px);
  z-index: 1;
  margin: 0;
  font: 400 clamp(24px, 2vw, 40px)/1.1 "PP Editorial Old", serif;
  letter-spacing: -.025em;
}
.ora-security-hero-title-wrap {
  position: absolute;
  inset: 28vh 5vw auto max(7.75vw, 96px);
  z-index: 1;
}
.ora-security-hero-title {
  margin: 0;
  font-family: "PP Editorial Old", serif;
  font-weight: 400;
  font-size: clamp(76px, 9.3vw, 210px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.ora-security-hero-title-line {
  display: block;
  width: max-content;
  padding: .1em .15em .15em;
  margin: -.1em -.15em -.15em;
  overflow: hidden;
}
.ora-security-hero-title-line [data-line] { white-space: nowrap; }
.ora-security-hero-footer {
  position: absolute;
  right: 5vw;
  bottom: 6vh;
  width: 31ch;
  z-index: 1;
  font-size: clamp(16px, 1.35vw, 24px);
}
.ora-security-hero-footer .ora-security-hero-description {
  margin: 0;
  font-size: inherit;
  line-height: 1.45;
  letter-spacing: -.02em;
  color: #c7c3bb;
}
.ora-security-hero-scroll {
  margin: 24px 0 0;
  color: #faf9f6;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .05em;
}
.ora-security-hero-scroll [data-line] { display: flex; align-items: center; gap: 12px; }
.ora-security-hero-scroll svg { width: 24px; height: 24px; flex-shrink: 0; }

/* Six service rows share one screen: a slightly tighter rhythm than the
   four-row home list, in the same type and rules. */
.ora-security-page .ora-service { padding: clamp(12px, 2.2vh, 22px) 0; }
.ora-security-page .ora-service-copy h3 {
  margin-bottom: 6px;
  font-size: clamp(21px, 1.9vw, 30px);
}
.ora-security-page .ora-service-copy p {
  font-size: clamp(13px, .95vw, 15px);
  line-height: 1.45;
}
.ora-security-page .ora-service-visual svg { width: 44px; height: 38px; }
@media (min-width: 768px) and (max-height: 700px) {
  .ora-security-page .ora-services { padding-top: 4vh; padding-bottom: 4vh; }
  .ora-security-page .ora-services-content { padding-top: 10px; }
  .ora-security-page .ora-services-statement { font-size: min(6.3vw, 11vh); }
  .ora-security-page .ora-service { padding: 10px 0; }
  .ora-security-page .ora-service-copy h3 { font-size: 20px; margin-bottom: 4px; }
  .ora-security-page .ora-service-copy p { font-size: 12px; line-height: 1.4; }
  .ora-security-page .ora-service-visual svg { width: 36px; height: 32px; }
}
@media (max-width: 1100px) and (min-width: 768px) {
  .ora-security-page .ora-service-visual svg { width: 38px; height: 32px; }
}

/* Mobile: the story becomes the native vertical flow, like home.
   The top bar carries the section titles, so the spread labels rest, and
   every spread holds one smallest-viewport screen — one snap stop each. */
@media (max-width: 767px) {
  .ora-security-page [data-intro-header] { justify-content: flex-start; gap: 20px; height: 64px; padding: 0 20px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .ora-security-page [data-intro-header] > a { position: absolute; left: 20px; width: auto; }
  .ora-security-page #menu-toggle { margin-left: auto; width: 32px; height: 32px; }
  .ora-security-page #menu-toggle > svg { width: 32px; height: 32px; }
  .ora-security-page [data-intro-header] .ora-wordmark { height: 22px; line-height: 22px; word-spacing: .25em; }
  .ora-security-page .ora-page-title { display: none; }
  .ora-security-page .ora-intro-content { margin-top: 0; }

  .ora-security-hero {
    flex-basis: auto;
    height: 100svh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 88px 24px 112px;
  }
  .ora-security-hero-label { display: none; }
  .ora-security-hero-title-wrap { position: relative; inset: auto; flex: none; width: 100%; }
  .ora-security-hero-title { font-size: clamp(48px, 15.8vw, 110px); line-height: 1.04; }
  .ora-security-hero-footer { display: contents; }
  .ora-security-hero-footer .ora-security-hero-description {
    position: relative;
    inset: auto;
    max-width: 28ch;
    margin: 32px 0 0;
    font-size: 16px;
    line-height: 1.55;
  }
  .ora-security-hero-footer .ora-security-hero-scroll {
    position: absolute;
    left: 24px;
    right: auto;
    bottom: max(34px, env(safe-area-inset-bottom));
    margin: 0;
    color: #b9b5ad;
  }
  .ora-security-hero-scroll [data-line] { gap: 16px; }
  .ora-security-hero-scroll svg { width: 22px; height: 22px; transform: rotate(90deg); }

  /* Six rows, one phone screen: the whole spread fits a single snap. */
  .ora-security-page .ora-services { grid-template-rows: minmax(0, 1fr); padding-top: 76px; padding-bottom: 16px; min-height: 100svh; }
  .ora-security-page .ora-services-content { padding-top: 10px; gap: 16px; }
  .ora-security-page .ora-services-statement { font-size: clamp(30px, 8.6vw, 44px); line-height: 1.08; }
  .ora-security-page .ora-services-description { font-size: 13px; margin-top: 10px; line-height: 1.4; }
  .ora-security-page .ora-service {
    grid-template-columns: 14px 32px minmax(0, 1fr);
    gap: 10px;
    padding: clamp(6px, 1.15svh, 14px) 0;
  }
  .ora-security-page .ora-service-number { font-size: 9px; padding-top: 2px; }
  .ora-security-page .ora-service-visual { padding-top: 0; }
  .ora-security-page .ora-service-visual svg { width: 32px; height: 28px; }
  .ora-security-page .ora-service-copy h3 { font-size: clamp(17px, 2.3svh, 23px); margin-bottom: 3px; }
  .ora-security-page .ora-service-copy p { font-size: clamp(11.5px, 1.7svh, 14px); line-height: 1.32; }

  /* The closing spread holds one screen, signoff and all. */
  .ora-security-page .ora-contact { min-height: 100svh; padding-top: 76px; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .ora-security-page .ora-contact-main { gap: 32px; padding: 32px 0 40px; }
  .ora-security-page .ora-contact-headline { font-size: clamp(44px, 14vw, 100px); }
  .ora-security-page .ora-contact-email { font-size: clamp(21px, 6vw, 30px); }
  .ora-security-page .ora-contact-email svg { width: 20px; height: 20px; }
}
@media (max-width: 359px) {
  .ora-security-page .ora-services-statement { font-size: 26px; }
  .ora-security-page .ora-service { padding: 5px 0; grid-template-columns: 12px 26px minmax(0, 1fr); gap: 8px; }
  .ora-security-page .ora-service-visual svg { width: 26px; height: 22px; }
  .ora-security-page .ora-service-copy h3 { font-size: 15px; margin-bottom: 2px; }
  .ora-security-page .ora-service-copy p { font-size: 10.5px; line-height: 1.28; }
}
@media (max-width: 767px) and (max-height: 650px) {
  .ora-security-hero { padding-top: 88px; padding-bottom: 96px; }
  .ora-security-hero-title { font-size: 15.8vw; }
  .ora-security-hero-footer .ora-security-hero-description { margin-top: 24px; }
  .ora-security-hero-footer .ora-security-hero-scroll { bottom: 28px; }
}
@media (min-width: 600px) and (max-width: 767px) and (max-height: 480px) {
  .ora-security-hero { padding-top: 78px; padding-bottom: 68px; }
  .ora-security-hero-title { font-size: 7vw; line-height: 1.03; }
  .ora-security-hero-footer .ora-security-hero-description { max-width: 40ch; margin-top: 20px; font-size: 14px; }
  .ora-security-hero-footer .ora-security-hero-scroll { bottom: 20px; }
}
@media (min-width: 768px) and (max-height: 650px) {
  .ora-security-hero-title { font-size: min(9.3vw, 18vh); }
}

/* Motion fallbacks: content stays readable when movement is reduced or absent. */
@media (prefers-reduced-motion: reduce) {
  .ora-security-page [data-reveal-line],
  .ora-security-page [data-hero-reveal] { opacity: 1; }
}
