/* destinymiraweb.com · Lens */

:root {
  --bg: #eef1ee;
  --panel: #f8faf8;
  --ink: #2b2f2e;
  --soft: #4a5550;
  --muted: #5a635f;
  --teal: #2f5f5a;
  --teal-deep: #244a46;
  --coat: #5a4a7a;
  --line: rgba(47, 95, 90, .16);
  --line-strong: rgba(47, 95, 90, .3);
  --display: 'DynaPuff', 'Afacad', system-ui, sans-serif;
  --body: 'Afacad', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shell: 1180px;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 14% -8%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%),
    radial-gradient(900px 560px at 92% 4%, rgba(90, 74, 122, .07), rgba(90, 74, 122, 0) 62%),
    radial-gradient(800px 500px at 50% 100%, rgba(47, 95, 90, .06), rgba(47, 95, 90, 0) 65%);
}

img { max-width: 100%; }
a { color: inherit; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 26px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.012em;
  margin: 0;
}

p { margin: 0 0 1.05em; }

.section {
  padding: 3.4rem 0;
  border-top: 1px solid var(--line);
}

.section-tight { padding-top: 2.5rem; }

.eyebrow {
  font-size: .74rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 .7rem;
}

.eyebrow b {
  font-family: var(--display);
  font-weight: 600;
  color: var(--coat);
  letter-spacing: .06em;
}

h2 { font-size: clamp(1.65rem, 3.3vw, 2.3rem); }

.section-sub {
  color: var(--muted);
  max-width: 62ch;
  margin: .6rem 0 1.8rem;
}

.note {
  color: var(--muted);
  font-size: .9rem;
  margin: 1.1rem 0 0;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(238, 241, 238, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: .7rem 26px;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  white-space: nowrap;
}

.mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  position: relative;
  flex: none;
}

.mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(90, 74, 122, .7);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: #3a4441;
  text-decoration: none;
  font-size: .92rem;
  padding: .18rem 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--teal);
  transition: width .2s ease;
}

.main-nav a:hover { color: #2f5f5a; }
.main-nav a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.main-nav a[aria-current="page"]::after { width: 100%; background: var(--coat); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2f5f5a;
  color: #f2f7f3;
  font-family: var(--display);
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .76rem 1.4rem;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn:hover {
  background: #244a46;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -22px rgba(36, 74, 70, .9);
}

.btn-sm { padding: .42rem 1rem; font-size: .84rem; }

.main-nav a.btn { color: #f2f7f3; background: #2f5f5a; padding: .42rem 1rem; font-size: .84rem; }
.main-nav a.btn:hover { color: #ffffff; background: #244a46; }
.main-nav a.btn::after { display: none; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding: 2.7rem 0 1.4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -190px;
  top: -150px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  border: 1px solid rgba(47, 95, 90, .13);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -230px;
  bottom: -210px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(90, 74, 122, .12);
  pointer-events: none;
}

.hero-head {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 1.4rem;
}

.kicker {
  font-size: .77rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 4.9rem);
  letter-spacing: -.015em;
}

.hero h1 .tint { color: var(--teal); }

.hero-sub {
  max-width: 63ch;
  margin: 1rem auto 0;
  color: var(--soft);
  font-size: 1.06rem;
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "note lens cta";
  align-items: center;
  gap: 2.2rem;
}

.hero-note {
  grid-area: note;
  max-width: 32ch;
  color: var(--soft);
  font-size: .98rem;
  margin: 0;
}

.hero-side {
  grid-area: cta;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  max-width: 30ch;
}

.hero-side .hint {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.lens {
  grid-area: lens;
  position: relative;
  width: clamp(380px, 40vw, 500px);
  aspect-ratio: 1;
  margin: 0;
  flex: none;
}

.lens-frame {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #dfe6e1;
  box-shadow:
    0 38px 70px -40px rgba(43, 47, 46, .55),
    inset 0 0 0 1px rgba(47, 95, 90, .25);
}

.lens-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 3%;
}

.lens-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 26% 10%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 42%),
    radial-gradient(80% 60% at 76% 90%, rgba(90, 74, 122, .16), rgba(90, 74, 122, 0) 55%);
}

.lens-rings {
  position: absolute;
  inset: -15px;
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  color: var(--teal);
  pointer-events: none;
  overflow: visible;
}

/* -------------------------------------------------------------- partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  gap: 18px;
  justify-content: center;
}

.partner-card {
  width: 250px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.partner-card img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-card:hover {
  border-color: rgba(47, 95, 90, .45);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -32px rgba(43, 47, 46, .6);
}

/* ----------------------------------------------------------- quick facts */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fact-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem 1.4rem 1.3rem;
}

.fact-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1px solid rgba(90, 74, 122, .22);
  box-shadow: 0 0 0 11px rgba(47, 95, 90, .045);
}

.fact-k {
  font-size: .72rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 .55rem;
}

.fact-v {
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.18;
  margin: 0 0 .5rem;
}

.fact-n {
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}

/* ----------------------------------------------------------------- about */
.about-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 3rem;
  align-items: start;
  margin-top: .4rem;
}

.about-text p { max-width: 58ch; color: var(--soft); }
.about-text p:last-child { margin-bottom: 0; }

.about-figure {
  position: relative;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .7), rgba(238, 241, 238, .25));
}

.about-figure::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(90, 74, 122, .17);
  border-radius: 23px;
  pointer-events: none;
}

.about-figure img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* -------------------------------------------------------- career / scale */
.career-split {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 3rem;
  align-items: start;
}

.career-text p { max-width: 50ch; color: var(--soft); }
.career-text p:last-child { margin-bottom: 0; }

.scale {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.7rem;
  border-left: 1px solid var(--line-strong);
}

.scale li {
  position: relative;
  padding: 0 0 1.3rem;
}

.scale li:last-child { padding-bottom: 0; }

.scale li::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: .6rem;
  width: 1rem;
  height: 1px;
  background: rgba(47, 95, 90, .6);
}

.scale li:nth-child(3n)::before { width: 1.45rem; background: rgba(47, 95, 90, .85); }
.scale li:nth-child(4n)::before { background: rgba(90, 74, 122, .7); }

.scale .when {
  display: block;
  font-family: var(--display);
  font-size: .93rem;
  color: var(--coat);
  margin-bottom: .1rem;
}

.scale .what {
  display: block;
  font-size: .96rem;
  color: var(--soft);
  line-height: 1.5;
}

/* --------------------------------------------------------------- gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(47, 95, 90, .14);
  background: #e3e9e4;
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g1 img, .g3 img, .g4 img { aspect-ratio: 3 / 4; }
.g2 { grid-column: span 2; }
.g2 img { aspect-ratio: 16 / 10; }
.g5 img { aspect-ratio: 1 / 1; }

.gallery figure:hover img { filter: brightness(1.02); }

/* ---------------------------------------------------------------- social */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.8rem;
  margin-top: 1rem;
}

.social-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.social-row .platform {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}

.social-row .handle {
  font-family: var(--display);
  font-size: .98rem;
  color: var(--ink);
  text-align: right;
  overflow-wrap: anywhere;
}

.social-row:hover .handle { color: var(--coat); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  margin-top: 1.4rem;
  background: #232827;
  color: #e8ede9;
  padding: 2.1rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 1.08rem;
  margin-bottom: .2rem;
}

.brand-line {
  color: #b9c6c0;
  font-size: .88rem;
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .85rem;
  justify-content: center;
}

.language-nav a {
  color: #d7e0da;
  text-decoration: none;
  font-size: .86rem;
  padding: .08rem 0;
  border-bottom: 1px solid transparent;
}

.language-nav a:hover { color: #ffffff; border-color: rgba(255, 255, 255, .45); }
.language-nav a[aria-current="page"] { color: #ffffff; border-color: #8fb3a8; }

.footer-legal {
  margin: 0;
  text-align: right;
  font-size: .84rem;
  color: #b9c6c0;
}

/* -------------------------------------------------------------- subpages */
.page-top {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-top::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -170px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  border: 1px solid rgba(47, 95, 90, .14);
  pointer-events: none;
}

.page-top h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.9rem);
  max-width: 22ch;
}

.page-top .lead {
  max-width: 66ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.reading {
  max-width: 770px;
  margin: 0 auto;
  padding: 2.6rem 0 3.6rem;
}

.story { margin-bottom: 2.3rem; }
.story:last-child { margin-bottom: 0; }
.story h2 { font-size: 1.5rem; margin-bottom: .85rem; }
.story p { color: var(--soft); }

.awards {
  list-style: none;
  margin: 0;
  padding: 0;
}

.awards li {
  position: relative;
  padding: .62rem 0 .62rem 1.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: .97rem;
}

.awards li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.12rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--teal);
}

.credit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: .4rem;
}

.credit-col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
}

.credit-col h3 {
  font-size: 1rem;
  color: var(--teal);
  margin: 0 0 .55rem;
}

.credit-col ul { margin: 0; padding-left: 1.05rem; }
.credit-col li { font-size: .94rem; color: var(--soft); margin-bottom: .35rem; }
.credit-col li:last-child { margin-bottom: 0; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 1rem;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--teal);
  margin-bottom: .3rem;
}

.stat span { font-size: .82rem; color: var(--muted); }

.faq-list { margin-top: .4rem; }

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.4rem;
  padding: .95rem 0;
  font-family: var(--display);
  font-size: 1.04rem;
  line-height: 1.4;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  color: var(--teal);
  font-size: 1.35rem;
  line-height: 1;
  flex: none;
  transition: transform .2s ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.answer { padding: 0 2rem 1rem 0; color: var(--soft); }
.answer p { margin: 0; }

/* ------------------------------------------------------------------- 404 */
.err {
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.err-lens {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 11px rgba(47, 95, 90, .06);
  position: relative;
  margin-bottom: 1.7rem;
}

.err-lens::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  border: 1px solid rgba(90, 74, 122, .32);
}

.err h1 {
  font-size: clamp(3.6rem, 11vw, 6.4rem);
  color: var(--teal);
  line-height: 1;
  margin-bottom: .6rem;
}

.err p { color: var(--soft); max-width: 46ch; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .partner-grid { grid-template-columns: repeat(3, 250px); }
  .about-grid, .career-split { gap: 2rem; }
}

@media (max-width: 1080px) {
  .hero-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lens"
      "note"
      "cta";
    gap: 1.7rem;
    justify-items: center;
  }

  .hero-note {
    max-width: 54ch;
    text-align: center;
  }

  .hero-side {
    justify-self: center;
    align-items: center;
    text-align: center;
    max-width: 54ch;
  }

  .lens { width: min(460px, 74vw); }
  .about-grid, .career-split { grid-template-columns: 1fr; }
  .about-text, .career-text { order: 2; }
  .about-figure { order: 1; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr; gap: .9rem; text-align: left; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .shell { padding: 0 20px; }
  .header-inner { padding: .62rem 20px; gap: .7rem; }
  .main-nav { gap: .75rem; }
  .main-nav a { font-size: .86rem; }
  .btn-sm { padding: .38rem .85rem; font-size: .8rem; }
  .hero { padding-top: 2rem; }
  .hero-sub { font-size: 1rem; }
  .fact-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 250px); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g2 { grid-column: span 2; }
  .social-grid { grid-template-columns: 1fr; }
  .credit-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .reading { padding: 2.1rem 0 2.8rem; }
}

@media (max-width: 560px) {
  .partner-grid { grid-template-columns: 250px; }
  .gallery { grid-template-columns: 1fr; }
  .g2 { grid-column: span 1; }
  .g2 img { aspect-ratio: 4 / 3; }
  .lens { width: min(360px, 80vw); }
  .wordmark { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .partner-card, .faq-list summary::after { transition: none; }
}
