
/* =========================================================
   PAULINA DOTS — DESIGN SYSTEM 2027
   Version 1.0
   Visual reference: Viktoria Dots
   ========================================================= */


/* 01 — DESIGN TOKENS */

:root {
  --pd-bg: #111414;
  --pd-bg-dark: #0b0d0d;
  --pd-bg-cinema: #060c0e;

  --pd-text: #eeeeee;
  --pd-text-body: #bec4c3;
  --pd-muted: #a1aaa9;

  --pd-accent: #c7b28c;
  --pd-accent-soft: #e7e1d5;

  --pd-line: rgba(255,255,255,.12);
  --pd-panel: rgba(255,255,255,.025);

  --pd-font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --pd-width: 1180px;
  --pd-reading-width: 760px;

  --pd-section-space: 100px;
  --pd-transition: .25s ease;
}


/* 02 — PAGE FOUNDATION */

.pd-page {
  background: var(--pd-bg);
  color: var(--pd-text);
  font-family: var(--pd-font);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

body.pd-site {
  margin: 0;
  background: var(--pd-bg);
  color: var(--pd-text);
  font-family: var(--pd-font);
}

.pd-page img,
.pd-page video {
  max-width: 100%;
}

.pd-page a {
  color: var(--pd-accent);
  text-decoration: none;
  transition: color var(--pd-transition);
}

.pd-page a:hover {
  color: #ffffff;
}

.pd-page :focus-visible {
  outline: 2px solid var(--pd-accent);
  outline-offset: 5px;
}


/* 03 — TYPOGRAPHY */

.pd-page h1,
.pd-page h2,
.pd-page h3,
.pd-page h4 {
  color: var(--pd-text);
  font-weight: 300;
}

.pd-page h1 {
  margin: 18px 0 24px;
  font-size: clamp(38px, 5vw, 80px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.pd-page h2 {
  margin: 14px 0 24px;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.pd-page h3 {
  margin: 20px 0 16px;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.3;
  letter-spacing: -.02em;
}

.pd-page h4 {
  margin: 18px 0 12px;
  font-size: 19px;
  line-height: 1.4;
}

.pd-page p {
  margin: 0 0 22px;
  color: var(--pd-text-body);
}

.pd-page strong {
  color: var(--pd-text);
  font-weight: 500;
}

.pd-page .pd-eyebrow {
  color: var(--pd-accent);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.pd-page .pd-lead {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  font-weight: 300;
}

.pd-page .pd-muted {
  color: var(--pd-muted);
}

.pd-page .pd-small {
  font-size: 12px;
}

.pd-page .pd-center {
  text-align: center;
}


/* 04 — CONTAINERS */

.pd-page .pd-container {
  width: min(var(--pd-width), 88%);
  margin-inline: auto;
}

.pd-page .pd-reading {
  width: min(var(--pd-reading-width), 88%);
  margin-inline: auto;
}

.pd-page .pd-wide {
  width: min(1440px, 94%);
  margin-inline: auto;
}

.pd-page .pd-section {
  padding-block: var(--pd-section-space);
}

.pd-page .pd-section-dark {
  background: var(--pd-bg-dark);
  border-top: 1px solid var(--pd-line);
  border-bottom: 1px solid var(--pd-line);
}

.pd-page .pd-divider {
  height: 1px;
  border: 0;
  background: var(--pd-line);
  margin: 40px 0;
}


/* 05 — CINEMATIC HERO */

.pd-page .pd-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--pd-bg-cinema);
}

.pd-page .pd-hero-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-page video.pd-hero-media {
  object-fit: contain;
  background: #000000;
}

.pd-page .pd-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 6%;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,.55),
    transparent 64%
  );

  pointer-events: none;
}

.pd-page .pd-hero-overlay[hidden] {
  display: none;
}

.pd-page .pd-hero-copy {
  max-width: 42%;
  pointer-events: auto;
}

.pd-page .pd-hero h1 {
  font-size: clamp(28px, 4.5vw, 80px);
  color: #ffffff;
}

.pd-page .pd-hero-tagline {
  font-size: clamp(15px, 1.65vw, 28px);
  line-height: 1.4;
  font-weight: 300;
  color: #e0ded8;
}


/* 06 — EDITORIAL COMPOSITION */

.pd-page .pd-editorial {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.pd-page .pd-editorial-copy {
  color: var(--pd-text-body);
  font-size: 16px;
}

.pd-page .pd-section-heading {
  max-width: 720px;
  margin-bottom: 45px;
}

.pd-page .pd-statement {
  margin: 55px 0;
  padding: 25px 0 25px 25px;
  border-left: 1px solid var(--pd-accent);

  font-size: clamp(27px, 3.6vw, 45px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--pd-accent-soft);
}

.pd-page .pd-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 22px 0;

  border-top: 1px solid var(--pd-line);
  border-bottom: 1px solid var(--pd-line);

  color: var(--pd-muted);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}


/* 07 — BUTTONS AND LINKS */

.pd-page .pd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 3px;

  background: rgba(255,255,255,.025);
  color: var(--pd-text);

  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;

  cursor: pointer;
  transition: background var(--pd-transition),
              border-color var(--pd-transition);
}

.pd-page .pd-button:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.65);
  color: #ffffff;
}

.pd-page .pd-button-small {
  padding: 7px 12px;
  font-size: 11px;
}

.pd-page .pd-link {
  display: inline-block;
  color: var(--pd-accent);
  border-bottom: 1px solid #70634e;
  padding-bottom: 2px;
}


/* 08 — EDITORIAL GALLERIES */

.pd-page .pd-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

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

.pd-page .pd-gallery figure {
  margin: 0;
  min-width: 0;
}

.pd-page .pd-gallery img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--pd-bg-dark);
}

.pd-page .pd-gallery-vertical img {
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.pd-page .pd-gallery-square img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.pd-page .pd-gallery-horizontal img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.pd-page .pd-gallery figcaption {
  padding: 16px 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--pd-text-body);
}

.pd-page .pd-number {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--pd-accent);
}


/* 09 — JOURNAL AND ARTICLE GRID */

.pd-page .pd-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px 24px;
}

.pd-page .pd-article-card {
  min-width: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pd-line);
}

.pd-page .pd-article-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--pd-bg-dark);
}

.pd-page .pd-article-card h3 {
  font-size: clamp(20px, 2vw, 27px);
  margin: 16px 0 12px;
}

.pd-page .pd-article-card p {
  font-size: 14px;
  line-height: 1.6;
}

.pd-page .pd-article-card a {
  color: inherit;
}

.pd-page .pd-article-card a:hover {
  color: var(--pd-accent);
}

.pd-page .pd-article-meta {
  font-size: 11px;
  color: var(--pd-muted);
  letter-spacing: .06em;
}


/* 10 — DOCUMENTARY ARCHIVE */

.pd-page .pd-document {
  font-size: 16px;
  line-height: 1.85;
}

.pd-page .pd-document h2 {
  margin-top: 60px;
  font-size: clamp(25px, 3vw, 40px);
}

.pd-page .pd-document h3 {
  margin-top: 35px;
}

.pd-page .pd-document-note {
  padding: 24px;
  margin: 30px 0;
  border-left: 1px solid var(--pd-accent);
  background: var(--pd-panel);
  color: var(--pd-text-body);
}

.pd-page .pd-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.pd-page .pd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.pd-page .pd-table th,
.pd-page .pd-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--pd-line);
  text-align: left;
  vertical-align: top;
}

.pd-page .pd-table th {
  color: var(--pd-accent);
  font-weight: 500;
}

.pd-page .pd-table td {
  color: var(--pd-text-body);
}


/* 11 — CLOSING AND SECONDARY LINKS */

.pd-page .pd-closing {
  padding: 100px 0 70px;
  text-align: center;
}

.pd-page .pd-closing p {
  max-width: 640px;
  margin: 24px auto;
  color: var(--pd-muted);
}

.pd-page .pd-secondary {
  width: min(760px, 88%);
  margin: 0 auto 75px;
  padding: 24px 0;
  border-top: 1px solid var(--pd-line);
  text-align: center;
  font-size: 12px;
  color: var(--pd-muted);
}


/* 12 — RESPONSIVE */

@media (max-width: 900px) {

  .pd-page {
    --pd-section-space: 65px;
  }

  .pd-page .pd-editorial {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .pd-page .pd-gallery,
  .pd-page .pd-gallery-3,
  .pd-page .pd-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-page .pd-hero-copy {
    max-width: 50%;
  }
}

@media (max-width: 600px) {

  .pd-page .pd-hero {
    aspect-ratio: auto;
  }

  .pd-page .pd-hero-media {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .pd-page .pd-hero-overlay {
    position: relative;
    display: block;
    padding: 28px 6% 38px;
    background: #0d1517;
  }

  .pd-page .pd-hero-overlay[hidden] {
    display: none;
  }

  .pd-page .pd-hero-copy {
    max-width: none;
  }

  .pd-page .pd-hero h1 {
    font-size: 38px;
  }

  .pd-page .pd-gallery {
    gap: 12px;
  }

  .pd-page .pd-gallery figcaption {
    font-size: 12px;
  }

  .pd-page .pd-article-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .pd-page .pd-closing {
    padding: 65px 0 40px;
  }

  .pd-page .pd-table th,
  .pd-page .pd-table td {
    padding: 10px;
    font-size: 12px;
  }

  .pd-page .pd-statement {
    margin: 35px 0;
    padding-left: 18px;
  }
}


/* 13 — ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  .pd-page *,
  .pd-page *::before,
  .pd-page *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* END — PAULINA DOTS DESIGN SYSTEM 2027 */
