/*
 * projectgd.com — a hand-written copy of the Squarespace site (Project GD
 * design 2026-11-06, Task 14). Sizes are measured off the live site at 1280px
 * and 390px; Squarespace's mobile layout starts below 768px, and so does ours.
 *
 * Desktop sizes are in vw so the page scales the way the original's fluid
 * grid does (38px of 1280 = 3vw, and so on).
 */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/projectgd/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/projectgd/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/*
 * The Seasons Light (Elena Genova) — the hero date only. The original site's
 * date was a picture set in this face. It is a licensed commercial font, NOT
 * covered by fonts/OFL.txt (that is Manrope's licence). Only the Light weight
 * is shipped because only the date uses it.
 */
@font-face {
  font-family: "The Seasons";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/projectgd/fonts/the-seasons-light.woff2") format("woff2");
}

:root {
  --fg: rgb(237, 250, 255);
  --line: rgba(237, 250, 255, 0.55);
  --gutter: 3vw;
  --pill-green: rgba(78, 219, 0, 0.8);
}

* { box-sizing: border-box; }

html { background: #000; }

body {
  margin: 0;
  background: #000;
  color: var(--fg);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 500;
  font-size: 17.5px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
/* Many headings are images of text (as on the original); the h* is for structure only. */
h1, h2, h3 { margin: 0; font: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- Header ------------------------------------------------------------- */

.pgd-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  padding: 18px var(--gutter);
}
.pgd-nav { display: flex; gap: 25px; }
.pgd-nav a,
.pgd-menu nav a {
  font-size: 22.144px;
  line-height: 1.4;
  text-decoration: none;
  padding: 2px 0;
}
.pgd-nav a[aria-current="page"],
.pgd-menu nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.pgd-menu { display: none; }

/* --- Hero (all three pages) -------------------------------------------- */

.pgd-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46.4vw;
  min-height: 520px;
  padding: 71px 6.95vw 0 4.15vw;
}
.pgd-hero--tall { height: 57.3vw; min-height: 600px; }
.pgd-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.pgd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}
.pgd-hero > :not(.pgd-hero__bg) { position: relative; z-index: 1; }
.pgd-hero__lockup { width: 20.5vw; }

/* The apply hero is a still with a curved lower edge, not a video. */
.pgd-hero--apply { padding-left: 6.95vw; }
/* Squarespace laid a dark overlay over this still. */
.pgd-hero--apply::after { background: rgba(0, 0, 0, 0.55); }
.pgd-hero--apply .pgd-hero__lockup { width: 18.9vw; }
.pgd-hero--apply .pgd-hero__curve {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 4.5vw;
  z-index: 1;
}

/*
 * The dates. On the original site this was a picture of text set in The
 * Seasons Light (LONDON / FEB. 15 — 19 / 2027); it is live text in the same
 * face now, so next year is a text edit. Sizes, gaps and the year's inset are
 * measured off that picture as fractions of its width, in container units so
 * the block scales as the picture did. The negative margins close the space
 * line-height:1 leaves above this face's tall figures.
 */
.pgd-date {
  container-type: inline-size;
  width: 22.9vw;
  margin: 0;
  font-family: "The Seasons", "Manrope", system-ui, serif;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}
.pgd-date__city {
  display: flex;
  justify-content: space-between;
  font-size: 15.6cqw;
}
.pgd-date__days {
  display: block;
  margin-top: -0.9cqw;
  font-size: 19.3cqw;
  white-space: nowrap;
}
.pgd-date__year {
  display: block;
  margin-top: -4.2cqw;
  margin-left: 2.7cqw;
  font-size: 44.7cqw;
}

/* --- Syllabus: intro -------------------------------------------------- */

.pgd-intro { padding: 71px 0; }
.pgd-intro img { width: 86.1vw; margin: 0 auto; }

/* --- Syllabus: meet your mentor --------------------------------------- */

.pgd-mentor-wrap { padding: 38px var(--gutter); }
.pgd-mentor {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 10.23vw 32.5vw;
  grid-template-areas:
    "portrait text"
    "cv credits";
  column-gap: 0.86vw;
  row-gap: 46px;
  justify-content: center;
  align-items: start;
  padding: 39px 0 85px;
}
.pgd-mentor__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.22) blur(6px);
  transform: scale(1.04);
}
.pgd-mentor > :not(.pgd-mentor__bg) { position: relative; }
.pgd-mentor__portrait {
  grid-area: portrait;
  width: 10.16vw;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
}
.pgd-mentor__text { grid-area: text; }
.pgd-mentor__meet { width: 77%; margin-top: 5px; }
.pgd-mentor__name { width: 100%; margin-top: 29px; }
.pgd-mentor__bio { width: 100%; margin-top: 33px; }
.pgd-mentor__cv { grid-area: cv; width: 9.7vw; justify-self: end; margin-right: 0.3vw; }
.pgd-mentor__credits { grid-area: credits; width: 93.3%; justify-self: center; }

/* --- Syllabus: the five projects -------------------------------------- */

.pgd-syllabus {
  position: relative;
  display: grid;
  grid-template-columns: 22.9vw 46.6vw;
  column-gap: 12.73vw;
  padding: 116px var(--gutter) 84px;
  /* The focal point Squarespace stored for this image: 0.76, 0.408. */
  background: #000 url("/projectgd/images/syllabus-bg.jpg") 76% 40.8% / cover no-repeat;
}
.pgd-syllabus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.pgd-syllabus > * { position: relative; }
.pgd-syllabus__days { padding-top: 43px; }
.pgd-day + .pgd-day { margin-top: 48px; }
/* The heading blocks were 63px tall, and 100px for days 2 and 5, image centred. */
.pgd-day h3 { display: flex; align-items: center; min-height: 63px; }
.pgd-day--tall h3 { min-height: 100px; }
.pgd-day__title { width: 100%; }
.pgd-day ul { margin: 19px 0 0; padding-left: 40px; }
.pgd-day li p { margin: 8.77px 0; font-size: 17.536px; line-height: 1.4; }
.pgd-day strong { color: #fff; font-weight: 700; }

/* --- Syllabus: pricing ------------------------------------------------ */

.pgd-pricing {
  display: grid;
  grid-template-columns: 22.9vw auto;
  column-gap: 12.73vw;
  padding: 85px var(--gutter) 102px;
}
.pgd-pricing__title { width: 100%; margin-top: 80px; }
.pgd-table {
  position: relative;
  display: grid;
  grid-template-columns: 18.9vw repeat(3, 7.03vw);
  grid-template-rows: 123px repeat(5, 26px 1px) 63px;
  column-gap: 0.86vw;
  row-gap: 23.5px;
  align-items: center;
}
.pgd-table__bar {
  grid-row: 1 / -1;
  align-self: stretch;
  filter: blur(15px);
}
.pgd-table__bar--1 { grid-column: 2; background: rgb(71, 95, 69); }
.pgd-table__bar--2 { grid-column: 3; background: rgb(110, 133, 107); }
.pgd-table__bar--3 { grid-column: 4; background: rgb(148, 172, 145); }
.pgd-table > :not(.pgd-table__bar) { position: relative; z-index: 1; }
.pgd-table__head {
  align-self: start;
  padding-top: 2px;
  text-align: center;
  font-size: 14px;
  line-height: 31px;
}
.pgd-table__label { grid-column: 1; text-align: right; padding-right: 0.3vw; font-size: 17.536px; line-height: 26px; }
.pgd-table__tick { width: 26px; margin: 0 auto; }
.pgd-table__rule { grid-column: 1 / -1; height: 1px; background: rgba(255, 255, 255, 0.85); align-self: stretch; }
.pgd-table__price { text-align: center; font-size: 22.144px; line-height: 31px; align-self: start; }

.pgd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 300px;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.pgd-pricing__apply {
  grid-column: 2;
  width: 22.9vw;
  height: 63px;
  margin-top: 140px;
}

/* --- Footer ------------------------------------------------------------ */

.pgd-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 13px var(--gutter) 123px;
}
.pgd-footer__lockup { width: 20.5vw; margin-left: 1.17vw; }
.pgd-social { display: flex; gap: 18px; margin: 133px 0 0; padding: 0; list-style: none; }
.pgd-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
.pgd-social svg { flex: none; width: 64px; height: 64px; fill: var(--fg); }

/* --- Forms (apply and sign-up) ---------------------------------------- */

.pgd-form { font-size: 22.144px; }
.pgd-form [hidden] { display: none !important; }
.pgd-field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.pgd-field__title,
.pgd-field legend {
  display: block;
  padding: 0 0 4px;
  font-size: 22.144px;
  line-height: 1.4;
}
.pgd-req { font-size: 14px; opacity: 0.75; margin-left: 6px; white-space: nowrap; }
.pgd-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.pgd-pair--phone { grid-template-columns: 236fr 352fr; }
.pgd-sublabel { display: block; font-size: 12px; margin-bottom: 4px; }
.pgd-input {
  width: 100%;
  min-height: 53px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 22.144px;
  line-height: 1.4;
}
textarea.pgd-input { display: block; resize: vertical; border-radius: 24px; min-height: 96px; }
input[type="date"].pgd-input { width: auto; min-width: 200px; color-scheme: dark; }
select.pgd-input {
  appearance: none;
  padding-right: 42px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23edfaff' stroke-width='1.5'/%3E%3C/svg%3E")
    right 18px center no-repeat;
  text-overflow: ellipsis;
}
select.pgd-input option { color: #000; }
.pgd-input:focus { outline: 2px solid var(--fg); outline-offset: 2px; }
.pgd-input[aria-invalid="true"] { border-color: #ff8a8a; }
.pgd-rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0 28px; }

.pgd-pills { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 2px; }
.pgd-pill { position: relative; display: inline-block; cursor: pointer; }
.pgd-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pgd-pill span {
  display: inline-block;
  padding: 1px 10px;
  border: 1px solid transparent;
  border-radius: 12.4px;
  background: var(--pill-green);
  color: var(--fg);
  font-size: 14.4px;
  line-height: 17.28px;
  text-transform: uppercase;
}
.pgd-pill input:checked + span { background: #fff; color: #000; }
.pgd-pill input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.pgd-followup { margin-top: 14px; }

.pgd-error { display: block; margin-top: 6px; font-size: 14px; color: #ff8a8a; }
.pgd-error:empty { display: none; }

.pgd-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.pgd-submit { height: 69px; padding: 0 35.2px; margin-top: 8px; }
.pgd-submit[disabled] { opacity: 0.6; cursor: progress; }

.pgd-status { font-size: 22.144px; line-height: 1.4; margin: 0 0 24px; }
.pgd-status:empty { display: none; }
.pgd-status--error { color: #ff8a8a; }

/* --- Top-size page ---------------------------------------------------------- */

.pgd-sizepage { padding: 120px var(--gutter); max-width: 760px; margin: 0 auto; text-align: center; }
.pgd-sizepage__title { font-size: 38px; font-weight: 500; margin: 0 0 24px; }
.pgd-sizes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 28px; }
.pgd-sizes[hidden], .pgd-sizepage .pgd-status[hidden] { display: none; }
.pgd-size {
  min-width: 76px;
  height: 56px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 300px;
  background: transparent;
  color: var(--fg);
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}
.pgd-size[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.pgd-size:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.pgd-size[disabled] { opacity: 0.6; cursor: progress; }

/* --- Apply page ---------------------------------------------------------- */

.pgd-apply { padding: 84px 0 84px; }
.pgd-apply__title { width: 44.4vw; margin: 0 auto 48px; }
.pgd-apply__form { width: 46.6vw; margin: 0 auto; }

/* --- Sign-up page -------------------------------------------------------- */

.pgd-about { padding: 43px var(--gutter) 116px; }
.pgd-about__text { width: 64.1vw; margin: 0 auto 85px; }
.pgd-about__video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }

.pgd-signup {
  display: grid;
  grid-template-columns: 46.7vw 1fr;
  align-items: center;
  padding: 124px var(--gutter) 154px 0;
}
.pgd-signup__text { width: 40.2vw; margin-left: 6.25vw; }
.pgd-signup__form { padding-left: 3.9vw; }
.pgd-signup__optin { margin: 6px 0 22px; }
.pgd-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.4px; text-transform: uppercase; }
.pgd-check input { width: 14px; height: 14px; margin: 0; accent-color: rgb(78, 219, 0); }
.pgd-signup .pgd-submit { width: 100%; }

/* --- Paid page ---------------------------------------------------------- */

.pgd-paid { padding: 140px var(--gutter); text-align: center; }
.pgd-paid__lockup { width: 20.5vw; margin: 0 auto 64px; }
.pgd-paid__message { font-size: 22.144px; max-width: 34em; margin: 0 auto; }

/* =======================================================================
 * Mobile — Squarespace switches layouts below 768px.
 * ======================================================================= */

@media (max-width: 767px) {
  :root { --gutter: 23px; }
  body { font-size: 17px; }

  .pgd-header { padding: 28px 27px; min-height: 84px; }
  .pgd-nav { display: none; }
  .pgd-menu { display: block; }
  .pgd-menu summary {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    width: 36px;
    height: 28px;
    cursor: pointer;
    list-style: none;
  }
  .pgd-menu summary::-webkit-details-marker { display: none; }
  .pgd-menu summary span { display: block; height: 1px; background: var(--fg); transition: transform 0.2s; }
  .pgd-menu[open] summary span:first-child { transform: translateY(5px) rotate(45deg); }
  .pgd-menu[open] summary span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .pgd-menu nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #000;
  }
  .pgd-menu nav a { font-size: 32px; }

  .pgd-hero,
  .pgd-hero--tall,
  .pgd-hero--apply {
    flex-direction: column;
    justify-content: flex-start;
    gap: 11px;
    height: auto;
    min-height: 612px;
    padding: 143px var(--gutter) 60px;
  }
  .pgd-hero--tall { padding-top: 113px; min-height: 622px; }
  .pgd-hero__lockup,
  .pgd-hero--apply .pgd-hero__lockup { width: 249px; }
  .pgd-date { width: 296px; }
  .pgd-hero--apply .pgd-hero__curve { height: 50px; }

  .pgd-intro { padding: 100px var(--gutter) 104px; }
  .pgd-intro img { width: 100%; }

  .pgd-mentor-wrap { padding: 0; }
  .pgd-mentor {
    grid-template-columns: 72fr 237fr;
    grid-template-areas:
      "portrait portrait"
      "text text"
      "cv credits";
    column-gap: 11px;
    row-gap: 0;
    padding: 23px 35px 100px;
  }
  .pgd-mentor__portrait { width: 199px; justify-self: center; }
  .pgd-mentor__text { margin-top: 16px; }
  .pgd-mentor__meet { width: 100%; }
  .pgd-mentor__name { margin-top: 33px; }
  .pgd-mentor__bio { margin-top: 65px; }
  .pgd-mentor__cv { width: 100%; margin: 97px 0 0; }
  .pgd-mentor__credits { width: 100%; margin-top: 104px; }

  .pgd-syllabus { grid-template-columns: 1fr; padding: 73px var(--gutter) 95px; }
  .pgd-syllabus__days { padding-top: 24px; }
  .pgd-day + .pgd-day { margin-top: 46px; }
  .pgd-day ul { padding-left: 40px; }
  .pgd-day li p { font-size: 17px; }

  .pgd-pricing { grid-template-columns: 1fr; padding: 108px 0 59px; }
  .pgd-pricing h2 { padding: 0 var(--gutter) 59px; }
  .pgd-pricing__title { margin: 0; width: 100%; }
  .pgd-table {
    grid-template-columns: minmax(0, 1fr) repeat(3, 21%);
    grid-template-rows: auto repeat(5, minmax(26px, auto) 1px) 59px;
    column-gap: 2.8vw;
    row-gap: 18px;
    padding-right: 6px;
  }
  .pgd-table__head { font-size: 14px; line-height: 28px; padding-top: 10px; }
  .pgd-table__label { font-size: 14px; line-height: 22px; padding-right: 2px; }
  .pgd-table__tick { width: 24px; }
  .pgd-table__price { font-size: 20px; }
  .pgd-pricing__apply { grid-column: 1; width: auto; height: 59px; margin: 81px var(--gutter) 0; }

  .pgd-footer { grid-template-columns: 1fr; justify-items: center; padding: 9px var(--gutter) 40px; }
  .pgd-footer__lockup { width: 249px; margin: 0; }
  .pgd-social { margin-top: 24px; }

  .pgd-form,
  .pgd-field__title,
  .pgd-field legend,
  .pgd-input,
  .pgd-status,
  .pgd-paid__message { font-size: 20.32px; }
  .pgd-input { min-height: 50px; }
  input[type="date"].pgd-input { min-width: 180px; }
  .pgd-pair--phone { grid-template-columns: 134fr 201fr; }

  .pgd-apply { padding: 60px var(--gutter) 60px; }
  .pgd-apply__title { width: 100%; margin-bottom: 70px; }
  .pgd-apply__form { width: 100%; }

  .pgd-about { padding: 30px var(--gutter) 30px; }
  .pgd-about__text { width: 100%; margin-bottom: 21px; }

  .pgd-signup { grid-template-columns: 1fr; padding: 25px var(--gutter) 30px; }
  .pgd-signup__text { width: 100%; margin: 0 0 87px; }
  .pgd-signup__form { padding: 0; }

  .pgd-paid { padding: 120px var(--gutter); }
  .pgd-paid__lockup { width: 249px; }
}
