/* PStorage landing — lean one-page */
:root {
  --ink: #0f1c1e;
  --ink-soft: #3a4a4d;
  --muted: #5c6e72;
  --accent: #0d7377;
  --accent-deep: #095456;
  --accent-soft: #e6f3f3;
  --surface: #f7faf9;
  --surface-alt: #eef4f3;
  --line: #d5e2e1;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(15, 28, 30, 0.12);
  --radius: 10px;
  --nav-h: 68px;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Topbar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
  background: transparent;
}

.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.topbar-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--white);
  white-space: nowrap;
}

.topbar.is-scrolled .brand {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
  transition: background 0.2s;
}

.topbar.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
}

.topbar.is-scrolled .nav-list a {
  color: var(--ink-soft);
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--accent);
  background: rgba(13, 115, 119, 0.08);
}

.topbar:not(.is-scrolled) .nav-list a:hover,
.topbar:not(.is-scrolled) .nav-list a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.nav-cta {
  margin-left: 0.35rem;
  background: var(--accent) !important;
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--accent-deep) !important;
  color: var(--white) !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 28, 30, 0.55) 0%, rgba(9, 28, 30, 0.35) 40%, rgba(9, 28, 30, 0.78) 100%),
    linear-gradient(90deg, rgba(13, 115, 119, 0.35), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  animation: rise 0.7s ease both;
}

.hero h1 {
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 650;
  max-width: 18ch;
  margin-bottom: 0.75rem;
  animation: rise 0.7s ease 0.08s both;
}

.hero-lead {
  max-width: 42ch;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.6rem;
  animation: rise 0.7s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.7s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head .eyebrow {
  display: inline-block;
  width: 2.5rem;
  height: 3px;
  background: var(--accent);
  margin-bottom: 0.9rem;
  border-radius: 2px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.4rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.accent {
  color: var(--accent);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.service p {
  color: var(--ink-soft);
  margin: 0;
}

/* Features — split editorial list */
.section-features {
  padding-top: 5.75rem;
  padding-bottom: 5.75rem;
}

.features-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
  gap: 3.5rem 4.5rem;
  align-items: start;
}

.features-intro {
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
  padding-top: 0.35rem;
}

.features-intro .eyebrow {
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1rem;
  border-radius: 2px;
}

.features-intro h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.features-intro p {
  color: var(--muted);
  margin: 0;
  max-width: 28ch;
  font-size: 1.08rem;
  line-height: 1.55;
}

.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 1rem 1.5rem;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.feature-index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1.3;
  padding-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}

.feature-body h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
}

.feature-body p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 46ch;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.team-photo {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent-soft);
}

.team-member h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-member p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.mail-link:hover {
  background: var(--accent);
  color: var(--white);
}

.mail-link svg {
  width: 18px;
  height: 18px;
}

/* Testimonials */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.quote {
  position: relative;
  padding-top: 0.25rem;
}

.quote blockquote {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.quote blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ink);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
}

.gallery-item {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 820px;
  margin-inline: auto;
}

.contact-grid address {
  font-style: normal;
  color: var(--ink-soft);
}

.contact-grid address strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.contact-actions {
  margin-top: 2rem;
  text-align: center;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 16, 18, 0.88);
  padding: 1rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
}

body.lightbox-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 960px) {
  .features-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-intro {
    position: static;
  }

  .features-intro p {
    max-width: 40ch;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .feature {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.75rem 1rem;
    padding: 1.45rem 0;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    color: var(--ink-soft) !important;
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin: 0.35rem 0 0;
    text-align: center;
  }

  .services-grid,
  .team-grid,
  .quotes-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 78vh;
  }

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