/* =========================
   PRINT / The Book Agency
   Shared stylesheet
   ========================= */


/* =========================
   Fonts
   ========================= */

/* Miller Display, the editorial font, comes from Adobe Fonts (kit wsk6bpv), linked in
   each page's <head> before this stylesheet: Light (300), Roman (400) and Bold (700),
   with Light and Roman italics. */

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/work-sans-latin-wght-normal.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: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/work-sans-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* =========================
   Tokens
   ========================= */

:root {
  --pny-black: #070707;
  --pny-onyx: #090a00;
  --pny-grey: #7d7d7d;

  --font-editorial: "miller-display", Georgia, serif;
  --font-functional: "Work Sans", Arial, sans-serif;

  /* Miller Display Light for all editorial text (italic too) */
  --weight-editorial: 300;
  /* Tile labels and bold editorial text: live's bolder Miller cut, which is the Roman (400),
     matched to live's widths */
  --weight-editorial-bold: 400;
}


/* =========================
   Base
   ========================= */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--pny-black);
  font-family: var(--font-editorial);
  font-weight: var(--weight-editorial);
  font-size: 16px;
  line-height: 28.8px;
}

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

a {
  color: inherit;
}

strong,
b {
  font-weight: var(--weight-editorial-bold);
}

main {
  padding-top: 28px;
}


/* =========================
   Header and navigation
   ========================= */

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 83px;
  padding: 0 26px 0 77px;
}

.site-logo {
  display: block;
  margin: 30px 0 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 0;
}

.site-logo a {
  display: block;
  text-decoration: none;
}

.site-logo img {
  width: 260px;
  height: auto;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav > ul {
  display: flex;
  gap: 54px;
  margin-top: 26px;
}

.site-nav li {
  position: relative;
}

.site-nav a,
.site-nav .nav-category {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-functional);
  /* 650 in the variable Work Sans matches the ink of live's static Bold (700) */
  font-weight: 650;
  font-size: 13px;
  line-height: 1.2;
  color: #111111;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav .nav-category:hover,
.site-nav .nav-category[aria-expanded="true"] {
  color: #666666;
}

/* Dropdowns under THE BOOKS and ABOUT */
.site-nav .nav-submenu {
  position: absolute;
  top: calc(100% + 4px);
  right: -8px;
  display: none;
  padding: 24px 12px 24px 8px;
  background: #f8f8f8;
  text-align: right;
}

/* Bridges the gap so the dropdown stays open on hover */
.site-nav .nav-submenu::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
}

.site-nav .nav-submenu li + li {
  margin-top: 10px;
}

.site-nav .nav-submenu a {
  white-space: nowrap;
}

.site-nav li:hover > .nav-submenu,
.site-nav li:focus-within > .nav-submenu,
.site-nav .nav-category[aria-expanded="true"] + .nav-submenu {
  display: block;
}

.nav-toggle,
.site-nav .nav-social {
  display: none;
}

.nav-social svg {
  display: block;
  width: 11px;
  height: 11px;
  color: var(--pny-black);
}

@media (max-width: 768px) {

  .site-header {
    height: 98px;
    padding: 19px 24px 0 17vw;
  }

  .site-logo {
    margin: 0;
  }

  .site-logo img {
    width: 178px;
  }

  /* Hamburger, which turns into the close cross */
  .nav-toggle {
    position: relative;
    z-index: 40;
    display: block;
    width: 30px;
    height: 23px;
    margin-top: 3px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .nav-toggle span {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pny-grey);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle span:nth-child(1) { top: 0; }
  .nav-toggle span:nth-child(2) { top: 10px; }
  .nav-toggle span:nth-child(3) { top: 20px; }

  .nav-open .nav-toggle span {
    background: #666666;
  }

  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

  /* Panel slides over the page from the right */
  .site-header::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    background: rgba(0, 0, 0, 0.3);
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: none;
    width: calc(100% - 42px);
    padding: 40px 24px 40px;
    overflow-y: auto;
    background: #ffffff;
  }

  .site-header.nav-open::before,
  .site-header.nav-open .site-nav {
    display: block;
  }

  .site-nav > ul {
    flex-direction: column;
    gap: 24px;
    margin-top: 0;
  }

  .site-nav a,
  .site-nav .nav-category {
    font-weight: 400;
    font-size: 13px;
    line-height: 24px;
    letter-spacing: 1.5px;
    color: #666666;
    text-align: left;
  }

  .site-nav a[aria-current="page"] {
    color: var(--pny-black);
  }

  /* Sub-items are always listed under their heading */
  .site-nav .nav-category {
    cursor: default;
    pointer-events: none;
  }

  .site-nav .nav-submenu,
  .site-nav li:hover > .nav-submenu {
    position: static;
    display: block;
    padding: 16px 0 0 5px;
    background: none;
    text-align: left;
  }

  .site-nav .nav-submenu::before {
    content: none;
  }

  .site-nav .nav-submenu li + li {
    margin-top: 24px;
  }

  .site-nav .nav-submenu a {
    white-space: normal;
  }

  .site-nav .nav-social {
    display: block;
    width: 11px;
    margin-top: 60px;
  }

}

/* =========================
   Footer
   ========================= */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 120px 15px 108px;
  font-family: var(--font-functional);
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #4c4c4a; /* measured from the capture */
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 14px;
}

.site-footer a {
  color: var(--pny-black);
}

.footer-social {
  display: flex;
  gap: 24px;
  padding-top: 2px;
}

.footer-social a {
  display: block;
  color: var(--pny-black);
}

.footer-social svg {
  display: block;
  width: 11px;
  height: 11px;
}

@media (max-width: 768px) {

  .site-footer {
    flex-direction: column;
    align-items: center;
    padding: 0 24px 64px;
    text-align: center;
  }

  .footer-social {
    padding-top: 9px;
  }

}


/* =========================
   Page title and caption
   ========================= */

.pny-page-title-wrap {
  text-align: center;
  margin-top: 24px;
}

.pny-page-title {
  margin: 0;
  padding: 0;
  font-family: var(--font-editorial);
  font-weight: var(--weight-editorial);
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pny-black);
}

.pny-page-caption {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--font-editorial);
  font-weight: var(--weight-editorial);
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: var(--pny-black);
}


/* =========================
   Buttons
   ========================= */

a.pny-cta-button,
a.pny-cta-button:visited {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid var(--pny-black);
  border-radius: 0;
  font-family: var(--font-functional);
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pny-black);
  transition: background-color 0.3s ease, color 0.3s ease;
}

a.pny-cta-button:hover,
a.pny-cta-button:focus-visible {
  background: var(--pny-black);
  color: #ffffff;
}

.pny-cta-container {
  margin-top: 30px;
  margin-bottom: 20px;
}


/* =========================
   Accordion
   ========================= */

.pny-accordion-wrapper {
  margin: 0;
  padding: 10px 0;
}

.pny-trigger {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 2px 0 1px;
  /* 15px lines, but the 16px icon sets the height of a one-line trigger (as live) */
  line-height: 15px;
  border: none;
  background: none;
  font-family: var(--font-functional);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.pny-trigger:hover {
  opacity: 1;
}

.pny-icon {
  margin-right: 12px;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.pny-trigger.active .pny-icon {
  transform: rotate(45deg);
}

.pny-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.pny-inner-text {
  max-width: 700px;
  padding: 12px 0;
  font-family: var(--font-editorial);
  font-weight: var(--weight-editorial);
  font-size: 17px;
  line-height: 28.9px;
  opacity: 0.9;
}

/* Everything inside an open accordion reads as body text */
.pny-inner-text h2,
.pny-inner-text h3,
.pny-inner-text p {
  font-size: 17px;
  line-height: 28.9px;
}

/* Lists inside accordions: bullets hang outside the text column, as live */
.pny-inner-text ul {
  margin: 0 0 34px;
  padding-left: 0;
}

.pny-inner-text h3 {
  margin: 17px 0;
  font-weight: var(--weight-editorial-bold);
}

.pny-inner-text a.pny-cta-button {
  font-size: 12px;
  line-height: 15px;
}

.pny-link-row {
  margin: 20px 0 40px;
}

.pny-text-link {
  /* live's weight 600 picks Miller's bolder cut, the Roman */
  font-weight: var(--weight-editorial-bold);
  text-decoration: none;
  color: var(--pny-black);
}

.pny-text-link:hover {
  text-decoration: underline;
}

.pny-mini-rule {
  width: 50px;
  margin: 30px 0;
  border: 0;
  border-top: 1px solid #dddddd;
}

.pny-subsection-title {
  margin: 30px 0;
  font-family: var(--font-editorial);
  font-weight: var(--weight-editorial);
  text-align: left;
  color: var(--pny-black);
}

.pny-service-title,
.pny-inner-text .pny-service-title {
  margin: 0 0 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pny-black);
}


/* =========================
   Bottom CTA section
   ========================= */

.pny-cta-section {
  margin: 124px 0 279px;
  padding: 0 10px;
  text-align: center;
}

.pny-cta-heading {
  margin: 0 0 5px;
  line-height: 19px;
  font-family: var(--font-editorial);
  font-size: 16px;
  font-weight: var(--weight-editorial);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pny-black);
}

.pny-cta-text {
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--font-editorial);
  font-weight: var(--weight-editorial);
  font-size: 15px;
  line-height: 25.5px;
  color: var(--pny-grey);
  opacity: 0.9;
}

.pny-cta-button-wrapper {
  margin-top: 44px;
}

/* Live pages whose CTA has no heading or text: the button alone */
.pny-cta-section--button-only {
  margin-top: 125px;
}

.pny-cta-section a.pny-cta-button {
  padding: 18px 30px;
}


/* =========================
   Layout helpers
   ========================= */

.page-container {
  max-width: 1064px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 1140px) {

  .page-container {
    margin-right: 38px;
    margin-left: 38px;
  }

}

@media (max-width: 768px) {

  .page-container {
    margin-right: 28px;
    margin-left: 28px;
  }

}

/* Centered label between two thin rules, e.g. INSTAGRAM */
.pny-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  font-family: var(--font-functional);
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pny-grey);
}

.pny-divider::before,
.pny-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--pny-grey);
}


/* =========================
   Homepage
   ========================= */

.home-instagram {
  margin-top: 174px;
}

.instagram-follow {
  margin: 0;
  font-family: var(--font-functional);
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: var(--pny-grey);
}

.instagram-follow a {
  color: var(--pny-black);
}

.home-accordions {
  margin-top: 68px;
  color: var(--pny-grey);
}


.pny-quote {
  margin: 0 0 24px;
}

@media (max-width: 768px) {

  .pny-accordion-wrapper {
    padding: 16px 0;
  }

  .home-accordions {
    margin-top: 86px;
  }

  .pny-cta-section {
    margin-top: 128px;
    padding: 0 40px;
  }

  .pny-cta-heading {
    line-height: 22px;
  }

}


/* =========================
   Homepage hero slideshow
   ========================= */

.hero {
  position: relative;
  aspect-ratio: 1440 / 616;
  overflow: hidden;
  background: var(--pny-onyx);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  /* Live: Format "basic_1" fade, 700ms */
  transition: opacity 700ms cubic-bezier(0.8, 0, 0.2, 1), visibility 700ms;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The live 25% black overlay that keeps white text legible */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-align: center;
}

.hero-text {
  position: absolute;
  top: 40.6%;
  left: 0;
  right: 0;
  max-width: 60%;
  margin: 0 auto;
  padding: 0;
  transform: translateY(-50%);
  font-family: var(--font-functional);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #ffffff;
  opacity: 0.8;
}

.hero-button {
  position: absolute;
  bottom: 90px;
  left: 50%;
  padding: 15px 30px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: #ffffff;
  font-family: var(--font-functional);
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  color: var(--pny-black);
  text-decoration: none;
  white-space: nowrap;
}

.hero-arrow {
  position: absolute;
  top: 40.6%;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(-50%);
  cursor: pointer;
}

.hero-arrow:hover {
  color: #ffffff;
}

.hero-arrow svg {
  display: block;
  width: 40px;
  height: 40px;
}

.hero-arrow--prev {
  left: 30px;
}

.hero-arrow--next {
  right: 30px;
}

.hero-dots {
  position: absolute;
  bottom: 33px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.hero-dots .carousel-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f9f9f9;
  opacity: 0.47;
  cursor: pointer;
}

.hero-dots .carousel-dot[aria-current="true"] {
  opacity: 0.85;
}

@media (max-width: 768px) {

  /* On mobile the hero sits directly under the header */
  .hero {
    aspect-ratio: 3 / 5;
    margin-top: -28px;
  }

  .hero-text {
    top: 36.6%;
    max-width: none;
    padding: 0 30px;
    font-size: 19px;
  }

  .hero-button {
    top: calc(36.6% + 44px);
    bottom: auto;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 29px;
  }

}


/* =========================
   Homepage book tiles carousel
   ========================= */

.book-tiles {
  --per-view: 3;
  --tile-gap: 34px;
  position: relative;
  margin-top: 103px;
}

/* 13px of padding so the tile shadows are not clipped */
.tiles-viewport {
  max-width: calc(1256px + 26px);
  margin: -13px auto;
  padding: 13px;
  overflow: hidden;
}

.tiles-track {
  display: flex;
  gap: var(--tile-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 450ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.tile {
  position: relative;
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--tile-gap)) / var(--per-view));
  aspect-ratio: 396 / 593;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.05) 0 0 13px 0;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-content {
  position: absolute;
  left: 35px;
  right: 20px;
  bottom: 40px;
}

.tile-heading {
  margin: 0 0 18px;
  font-family: var(--font-editorial);
  font-weight: var(--weight-editorial-bold);
  font-size: 22.5px;
  line-height: 25.875px;
  letter-spacing: 0.45px;
  color: var(--pny-black);
}

.tile-button {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid #ffffff;
  border-radius: 2px;
  font-family: var(--font-functional);
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
  color: var(--pny-black);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.tile-button:hover,
.tile-button:focus-visible {
  background: #ffffff;
}

.tiles-arrow {
  position: absolute;
  /* Centered on the tiles: the section is the tiles plus 38px of dots */
  top: calc(50% - 29px);
  z-index: 2;
  width: 30px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pny-black);
  cursor: pointer;
}

.tiles-arrow:disabled {
  color: #b0b0b0;
  cursor: default;
}

.tiles-arrow svg {
  display: block;
  width: 30px;
  height: 20px;
}

.tiles-arrow--prev {
  left: 15px;
}

.tiles-arrow--next {
  right: 15px;
}

.tiles-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.tiles-dots .carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b0b0b0;
  cursor: pointer;
}

.tiles-dots .carousel-dot[aria-current="true"] {
  background: var(--pny-black);
}

@media (max-width: 1140px) {

  .book-tiles {
    --per-view: 2;
  }

  .tiles-viewport {
    margin: -13px 47px;
  }

}

@media (max-width: 768px) {

  .book-tiles {
    --per-view: 1;
    --tile-gap: 20px;
    margin-top: 85px;
  }

  .tiles-viewport {
    margin: -13px 0;
    padding: 13px 10px;
  }

  .tile-content {
    left: 15px;
    right: 15px;
    bottom: 32px;
    text-align: center;
  }

  /* Arrows sit centered under the tile; no dots */
  .tiles-arrow {
    position: static;
    width: 36px;
  }

  .tiles-arrow svg {
    width: 36px;
  }

  .book-tiles {
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    column-gap: 34px;
  }

  .tiles-viewport {
    grid-column: 1 / -1;
  }

  .tiles-arrow--prev {
    grid-column: 2;
    margin-top: 45px;
  }

  .tiles-arrow--next {
    grid-column: 3;
    margin-top: 45px;
  }

  .tiles-dots {
    display: none;
  }

}


/* =========================
   Homepage Instagram row
   ========================= */

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 24.9%);
  justify-content: center;
  column-gap: 8.8%;
  row-gap: 12px;
  margin: 130px 0 0;
  padding: 0;
  list-style: none;
}

.instagram-grid a {
  display: block;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 265 / 347;
  object-fit: cover;
}

.instagram-follow {
  margin-top: 13px;
}

@media (max-width: 768px) {

  .home-instagram {
    margin-top: 180px;
  }

  .instagram-grid {
    row-gap: 5px;
    margin-top: 154px;
  }

  .instagram-follow {
    margin-top: 5px;
  }

}


/* =========================
   Service pages (template: /brand-books)
   A centered title, then a column of full-width images and centered
   captions, then the grouped accordions and the closing CTA.
   Spacing is measured from the live pages.
   ========================= */

.page-image {
  margin: 0;
}

.page-image img {
  width: 100%;
}

/* Images shown at their own width, centered (e.g. a portrait GIF) */
.page-image--natural img {
  width: 849px;
  max-width: 100%;
  margin: 0 auto;
}

.pny-page-caption a {
  font-style: italic;
}

.service-page > .pny-page-title-wrap {
  margin-top: 86px;
}

.service-page > .pny-page-title-wrap + .page-image {
  margin-top: 119px;
}

.service-page > .page-image + .page-image {
  margin-top: 126px;
}

/* A new book starts after a blank row */
.service-page > .page-image.page-image--section {
  margin-top: 252px;
}

.service-page > .page-image + .pny-page-caption {
  margin-top: 62px;
}

.service-page > .pny-page-caption + .page-image {
  margin-top: 100px;
}

/* Live caption rows have a minimum height, so short captions keep extra space below */
.service-page > .pny-page-caption {
  min-height: 90px;
}

.page-accordions {
  color: var(--pny-grey);
}

.service-page > .page-accordions {
  margin-top: 63px;
}

@media (max-width: 768px) {

  .service-page > .pny-page-title-wrap {
    margin-top: 70px;
  }

  .service-page > .pny-page-title-wrap + .page-image {
    margin-top: 131px;
  }

  .service-page > .page-image + .page-image {
    margin-top: 138px;
  }

  .service-page > .page-image.page-image--section {
    margin-top: 264px;
  }

  .service-page > .page-image + .pny-page-caption {
    margin-top: 74px;
  }

  .service-page > .pny-page-caption + .page-image {
    margin-top: 112px;
  }

  .service-page > .page-accordions {
    margin-top: 69px;
  }

}


/* =========================
   Split pages (/the-vision, /the-edge, /the-process, /contact)
   An image column beside a text column, stacked on mobile. Measured from live.
   ========================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 63px auto 239px;
}

.split-col {
  padding: 0 18px;
}

.split-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* /the-vision: a 3:4 image with extra space below, as live */
.split-image--tall img {
  aspect-ratio: 3 / 4;
}

.split-image--tall {
  margin-bottom: 24px;
}

.split-text {
  margin-top: -10px;
  padding-left: 30px;
}

.split-text--narrow-pad {
  padding-left: 20px;
}

/* Text column on the left (/the-edge) */
.split-text--left {
  padding-left: 0;
  padding-right: 30px;
}

.split-text h1 {
  margin: 0 0 40px;
  font-family: var(--font-editorial);
  font-weight: var(--weight-editorial);
  font-size: 38px;
  line-height: 46.74px;
  color: var(--pny-black);
}

.split-text p {
  margin: 16px 0 25px;
  font-size: 16px;
  line-height: 25.6px;
  color: var(--pny-grey);
}

.split-link {
  margin-top: 40px;
  line-height: 22.5px;
}

.split-text a {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--pny-black);
  font-size: 16px;
  color: var(--pny-black);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.split-text a:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {

  .split {
    grid-template-columns: 1fr;
    row-gap: 12px;
    margin: 47px 10px 239px;
  }

}


/* =========================
   /about (The Founders): centered text, one image, centered text
   ========================= */

.about {
  text-align: center;
}

.about > .pny-page-title-wrap {
  margin-top: 50px;
}

.about-text {
  margin-top: 60px;
  padding: 0 10px;
}

.about-text p {
  margin: 16px 0;
  font-size: 16px;
  line-height: 25.6px;
  color: var(--pny-grey);
}

.about-image {
  margin: 87px 0 0;
}

.about-image img {
  width: 100%;
}

.about-image + .about-text {
  margin-top: 81px;
}

.about-text:last-child {
  margin-bottom: 279px;
}

@media (max-width: 768px) {

  .about > .pny-page-title-wrap {
    margin-top: 34px;
  }

  .about-image {
    margin-top: 99px;
  }

  .about-image + .about-text {
    margin-top: 93px;
  }

  .about-text:last-child {
    margin-bottom: 280px;
  }

}


/* =========================
   /in-the-press: rows of three logos with headline links, each followed
   by a row of three article images. Measured from live.
   ========================= */

.press {
  max-width: 1100px;
  margin: 0 auto 270px;
}

.press-title {
  margin: 59px 0 0;
  font-family: var(--font-editorial);
  font-weight: var(--weight-editorial);
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  color: var(--pny-black);
}

.press-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.press-logos {
  margin-top: 64px;
}

.press-title + .press-logos {
  margin-top: 111px;
}

.press-logos img {
  width: 128px;
  margin: 0 auto;
}

.press-caption {
  padding: 0 52px;
  font-size: 16px;
  line-height: 25.6px;
}

.press-caption p {
  margin: 0;
}

.press-caption a {
  color: var(--pny-black);
}

.press-covers {
  margin-top: 18px;
}

.press-covers img {
  width: 271px;
  margin: 0 auto;
}

@media (max-width: 768px) {

  .press {
    margin: 0 10px 270px;
  }

  .press-title {
    margin-top: 55px;
  }

  .press-row {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .press-title + .press-logos {
    margin-top: 78px;
  }

  .press-logos {
    margin-top: 76px;
  }

  .press-caption {
    padding: 0 33px;
  }

  .press-covers {
    margin-top: 42px;
  }

  .press-covers img {
    width: 100%;
  }

}


/* =========================
   Blog (/blog and /blog/<slug>)
   Work Sans, as live; post headings use the editorial serif. Measured from live.
   Live's Work Sans Regular is a slightly wider cut than ours: letter-spacing here is
   live's plus 0.03px, which matches its line widths. Bold matches at 700.
   ========================= */

.blog {
  max-width: 780px;
  margin: 0 auto;
  padding: 10px 40px;
  font-family: var(--font-functional);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.03px;
  color: var(--pny-black);
}

.blog b,
.blog strong {
  font-weight: 700;
}

/* Live's footer sits 176px below the blog column */
.blog {
  margin-bottom: 176px;
}

@media (max-width: 768px) {

  .blog {
    margin-top: -28px;
  }

}

/* Index: thumbnail, title, date and excerpt, all one link */

/* All posts on one page, so no pagination bar; its space below the list is kept */
.blog-index {
  padding-bottom: 83px;
}

.blog-index-title {
  margin: 16px 0;
  font-family: var(--font-functional);
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: #928f8f;
}

.blog-list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.blog-list li {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 22.5px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.blog-list a {
  display: block;
  min-height: 105px;
  padding-left: 125px;
  text-decoration: none;
}

.blog-list-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  object-fit: contain;
  object-position: 0 0;
  border-radius: 3px;
}

/* As live, a long title stays on one line and ends in an ellipsis */
.blog-list-title {
  position: relative;
  top: -3.36px;
  margin: 0;
  overflow: hidden;
  font-weight: 700;
  font-size: 22.4px;
  line-height: 29.12px;
  letter-spacing: -0.336px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #111111;
}

.blog-list a:hover .blog-list-title {
  color: var(--pny-black);
  text-decoration: underline;
}

.blog-list-date {
  margin: 0;
  padding: 1.28px 0;
  font-size: 12.8px;
  line-height: 19.2px;
  opacity: 0.4;
}

.blog-list-excerpt {
  margin: 0;
}

@media (max-width: 480px) {

  .blog-list a {
    padding-left: 0;
  }

  .blog-list-thumb {
    display: none;
  }

}

/* Post */

.blog-post {
  padding-bottom: 60px;
  letter-spacing: -0.13px;
  hyphens: auto;
}

.blog-post-title {
  margin: 10px 0 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 36.4px;
  letter-spacing: -0.42px;
  color: #111111;
}

.blog-post-date {
  margin: 17.6px 0 0;
  opacity: 0.5;
}

.blog-post-date time {
  font-size: 12.8px;
  line-height: 19.2px;
}

.blog-post-body p {
  margin: 16px 0;
}

/* Live headings are Miller Light, or Miller's bolder cut when wrapped in <b> */
.blog-post-body h2 {
  margin: 40px 0 21.58px;
  font-family: var(--font-editorial);
  font-weight: var(--weight-editorial);
  font-size: 26px;
  line-height: 26px;
  letter-spacing: normal;
}

.blog-post-body h2 b {
  font-weight: var(--weight-editorial-bold);
}

.blog-post-body a {
  text-decoration: underline;
}

/* As live: the image sits on a text line, 1% of the column below its top. Live closes
   most image blocks with an empty paragraph, which adds 16px that never collapses */
.blog-post-image {
  margin: 16px 0;
  padding-bottom: 16px;
  text-align: center;
}

.blog-post-image img {
  display: inline-block;
  margin: 1% 0 16px;
}

/* An image that opens a post sits right under the date, as live */
.blog-post-body > .blog-post-image:first-child {
  margin-top: 0;
}

/* Live has no empty paragraph after some images, so less space below them */
.blog-post-image--flush {
  padding-bottom: 0;
}

.blog-post-image figcaption {
  max-width: 490px;
  margin: 14px 0;
  font-size: 14px;
  line-height: 19.6px;
  text-align: left;
  opacity: 0.5;
}
