* {
  box-sizing: border-box;
}

:root {
  --background: #111820;
  --surface: rgba(23, 33, 42, 0.88);
  --text: #e7ecef;
  --muted: #8e9ca6;
  --border: #34414c;
  --accent: #58b9aa;
  --accent-bright: #80d0c3;
  --accent-soft: rgba(88, 185, 170, 0.12);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 185, 170, 0.13), transparent 38rem),
    var(--background);
  overflow-x: hidden;
}

.skyline {
  position: absolute;
  z-index: 1;
  inset: 18px;
  pointer-events: none;
  opacity: 0.54;
  overflow: hidden;
  border-radius: 38px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 25%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 4%, #000 25%, #000 100%);
}

.skyline svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
}

.skyline-strokes path {
  stroke: #318d82;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.skyline-strokes .tower-detail,
.skyline-strokes .junk-boat,
.skyline-strokes .ifc,
.skyline-strokes .wheel {
  stroke: var(--accent-bright);
  stroke-width: 1.5;
}

.skyline-strokes .harbour,
.skyline-strokes .hills,
.skyline-strokes .clouds {
  stroke: #236a63;
  stroke-width: 1.25;
}

.skyline-strokes .windows { stroke-width: 1; }
.skyline-strokes .stars { stroke-width: 4; }

.page-shell {
  position: relative;
  z-index: 2;
  width: calc(100% - 56px);
  min-height: calc(100vh - 56px);
  margin: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vh, 74px) 24px 28px;
  overflow: hidden;
  border: 1px solid rgba(142, 156, 166, 0.46);
  border-radius: 38px;
  background: radial-gradient(circle at 50% 44%, rgba(17, 35, 42, 0.2), rgba(7, 20, 27, 0.1) 48%, rgba(5, 16, 22, 0.54));
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.18), var(--shadow);
}

.hero {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  margin: auto;
  text-align: center;
  padding: 0 clamp(16px, 4vw, 56px);
}

.brand-lockup {
  width: fit-content;
  margin: 0 auto clamp(32px, 5vh, 54px);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.brand-mark svg {
  display: block;
}

.brand-mark {
  width: 72px;
  height: 72px;
  flex: none;
  filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.25));
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.brand-copy strong span { color: #f1f4f6; }
.brand-copy strong b { color: var(--accent); }

.brand-copy small {
  color: #a5afb6;
  font-size: clamp(0.72rem, 1.5vw, 0.95rem);
  letter-spacing: 0.025em;
}

.logo-house {
  fill: none;
  stroke: #80d0c3;
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.logo-layer {
  stroke: #10201f;
  stroke-width: 1;
  stroke-linejoin: round;
}

.logo-layer-top { fill: #47b3a4; }
.logo-layer-middle { fill: #318d82; }
.logo-layer-bottom { fill: #236a63; }

.eyebrow {
  margin: 0 0 28px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 800;
}

h1 span,
h1 b { display: block; }
h1 span { color: #f1f4f6; }
h1 b { color: var(--accent); }

.hero-actions {
  margin-top: 38px;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.about-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid #58b9aa;
  border-radius: 999px;
  background: #28786f;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.about-button:hover {
  transform: translateY(-1px);
  border-color: #80d0c3;
  background: #318d82;
}

.about-button:focus-visible,
.back-link:focus-visible {
  outline: 3px solid rgba(128, 208, 195, 0.28);
  outline-offset: 3px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(32, 44, 53, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(88, 185, 170, 0.14);
}

footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 26px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .page-shell {
    width: calc(100% - 20px);
    min-height: calc(100vh - 20px);
    margin: 10px;
    padding: 34px 10px 20px;
    border-radius: 24px;
  }

  .hero {
    padding-inline: 22px;
  }

  .skyline {
    inset: 10px;
    opacity: 0.4;
    border-radius: 24px;
  }

  .skyline svg {
    width: 210%;
    transform: translateX(-27%);
  }

  .brand-lockup {
    margin-bottom: 34px;
    gap: 11px;
  }

  .brand-mark {
    width: 57px;
    height: 57px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 0.67rem;
  }

  .hero-actions {
    margin-top: 30px;
  }

  footer {
    padding-bottom: 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: fade-up 650ms ease-out both;
  }

  .skyline-strokes path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw-skyline 2.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  }

  .skyline-strokes .tower-detail { animation-delay: 180ms; }
  .skyline-strokes .harbour { animation-delay: 280ms; }
  .skyline-strokes .junk-boat { animation-delay: 520ms; }
  .skyline-strokes .wheel { animation-delay: 600ms; }
  .skyline-strokes .clouds { animation-delay: 650ms; }

  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes draw-skyline {
    to { stroke-dashoffset: 0; }
  }
}

.about-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(49, 141, 130, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 141, 130, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, rgba(88, 185, 170, 0.14), transparent 36rem),
    #111820;
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.about-shell {
  width: min(1050px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 0 28px;
}

.about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mini-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.mini-lockup .brand-mark {
  width: 54px;
  height: 54px;
}

.mini-lockup > span {
  display: grid;
  grid-template-columns: auto auto;
  line-height: 1;
  text-transform: uppercase;
}

.mini-lockup b,
.mini-lockup strong {
  font-size: 1.12rem;
  letter-spacing: -0.035em;
}

.mini-lockup b { color: #f1f4f6; }
.mini-lockup strong { color: var(--accent); }

.mini-lockup small {
  grid-column: 1 / -1;
  margin-top: 5px;
  color: #8e9ca6;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.back-link {
  padding: 10px 14px;
  border: 1px solid #3f5b5a;
  border-radius: 999px;
  color: #b8c2c9;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}

.back-link:hover {
  border-color: #62b9ad;
  color: #fff;
}

.about-content {
  width: min(760px, 100%);
  margin: clamp(70px, 12vh, 124px) auto 80px;
}

.about-content > .eyebrow { margin-bottom: 18px; }

.about-content > h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 7vw, 5.2rem);
}

.about-content > h1 b { display: inline; }

.about-content section {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid #34414c;
}

.about-content h2 {
  margin: 0 0 13px;
  color: #f0f3f5;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.about-content section p {
  max-width: 690px;
  margin: 0;
  color: #a9b4ba;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.75;
}

.about-content .source-note {
  padding: 26px;
  border: 1px solid #3f5b5a;
  border-radius: 18px;
  background: rgba(32, 44, 53, 0.7);
}

@media (max-width: 600px) {
  .about-shell {
    width: min(100% - 28px, 1050px);
    padding-top: 20px;
  }

  .about-header {
    align-items: flex-start;
  }

  .mini-lockup .brand-mark {
    width: 46px;
    height: 46px;
  }

  .mini-lockup b,
  .mini-lockup strong { font-size: 0.96rem; }

  .back-link {
    padding: 9px 11px;
    font-size: 0.73rem;
  }

  .about-content {
    margin: 72px auto 58px;
  }

  .about-content section { margin-top: 40px; }
  .about-content .source-note { padding: 21px; }
}
