/*
Theme Name: Reviews Letter
Theme URI: https://reviewsletter.pk
Author: Reviews Letter
Author URI: https://www.instagram.com/reviewsletter/
Description: A premium editorial WordPress theme for Reviews Letter, an independent PR agency in Pakistan.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reviews-letter
Tags: portfolio, custom-logo, custom-menu, featured-images, editor-style
*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=DM+Sans:wght@300;400;500&display=swap");

:root {
  --ink: #191914;
  --paper: #f2efe8;
  --cream: #e8e1d5;
  --red: #9e2f22;
  --line: rgba(25, 25, 20, 0.19);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

button, input, textarea, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

.site-shell {
  overflow: clip;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-bar .site-header {
  top: 32px;
}

.custom-logo-link img {
  width: auto;
  max-height: 42px;
}

.site-content {
  min-height: 60vh;
}

.editor-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 20px 120px;
  font-size: 14px;
  line-height: 1.8;
}

.editor-content h2,
.editor-content h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
}

.editor-content h2 {
  font-size: 48px;
}

.editor-content a {
  color: var(--red);
}

.work-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.single-case {
  padding: 160px 5vw 120px;
}

.single-case-header {
  max-width: 1100px;
  margin: 0 auto 70px;
}

.single-case-header h1 {
  margin: 25px 0;
  font: 400 clamp(72px, 11vw, 160px)/.8 "Cormorant Garamond", serif;
  letter-spacing: -.055em;
}

.single-case-image {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  margin-bottom: 70px;
}

.single-case-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8vw;
  max-width: 1050px;
  margin: 0 auto;
}

.single-case-body .editor-content {
  margin: 0;
  padding: 0;
}

.default-page-hero {
  padding-bottom: 40px;
  min-height: 50vh;
}

.wp-block-image img {
  height: auto;
}

.footer-menu {
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 8px;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px 3.2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: normal;
}

.logo-button, .nav button, .footer button {
  border: 0;
  background: none;
  cursor: pointer;
}

.logo-button a,
.logo {
  color: inherit;
  text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: italic 500 23px/1 "Cormorant Garamond", serif;
}

.logo-name {
  max-width: 70px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.05;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav button, .nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
}

.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
  right: 0;
}

.nav button::after {
  position: absolute;
  content: "";
  height: 1px;
  left: 0;
  right: 100%;
  bottom: -6px;
  background: currentColor;
  transition: right .3s ease;
}

.nav button:hover::after, .nav button.active::after {
  right: 0;
}

.nav-contact {
  margin-left: 8px;
  padding: 12px 17px;
  border: 1px solid currentColor;
  transition: .25s ease;
}

.nav-contact:hover {
  background: var(--ink);
  color: var(--paper);
}

.menu-button {
  display: none;
}

.arrow {
  display: inline-block;
  margin-left: 9px;
  font-size: 1.05em;
  transition: transform .25s ease;
}

button:hover .arrow, a:hover .arrow {
  transform: translateX(4px);
}

.arrow-down {
  transform: rotate(90deg);
}

button:hover .arrow-down {
  transform: rotate(90deg) translateX(4px);
}

.eyebrow, .section-count {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: 9px;
  line-height: 1.3;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 145px 3.2vw 38px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 4vw;
  background: var(--cream);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1, .page-hero h1, .partnership-hero h1 {
  margin: 24px 0 32px;
  font: 400 clamp(60px, 8.3vw, 136px)/.78 "Cormorant Garamond", serif;
  letter-spacing: -.055em;
}

em {
  font-weight: 400;
}

.hero-intro {
  width: min(450px, 74%);
  margin: 0 0 0 22%;
  font-size: 13px;
  line-height: 1.8;
}

.hero-image-wrap {
  position: relative;
  justify-self: end;
  width: min(100%, 510px);
  height: 68vh;
  min-height: 480px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(.72);
}

.image-note {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 0;
  margin: 0;
  writing-mode: vertical-rl;
  rotate: 180deg;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scroll-note {
  position: absolute;
  border: 0;
  background: none;
  cursor: pointer;
  left: 3.2vw;
  bottom: 35px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 9px;
}

.reveal {
  animation: reveal .9s both cubic-bezier(.21,.75,.3,1);
}

.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .25s; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.manifesto {
  padding: 150px 8vw 170px 3.2vw;
  display: grid;
  grid-template-columns: 1fr 2.25fr;
}

.manifesto h2, .work-heading h2, .join h2, .contact-aside h2, .form-success h2 {
  margin: 0 0 48px;
  font: 400 clamp(48px, 6.2vw, 94px)/.94 "Cormorant Garamond", serif;
  letter-spacing: -.04em;
}

.manifesto > div > p {
  max-width: 520px;
  margin: 0 0 35px 22%;
  font-size: 14px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 9px;
  cursor: pointer;
}

.manifesto .text-link {
  margin-left: 22%;
}

.services {
  padding: 115px 3.2vw 130px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: .75fr 2fr;
  gap: 30px;
}

.light { opacity: .62; }

.services-heading h2 {
  margin: 18px 0 70px;
  font: 400 clamp(46px, 5.7vw, 82px)/.92 "Cormorant Garamond", serif;
  letter-spacing: -.04em;
}

.service-list {
  grid-column: 2;
  border-top: 1px solid rgba(255,255,255,.22);
}

.service-row {
  display: grid;
  grid-template-columns: 50px 1.15fr 1fr 30px;
  gap: 20px;
  align-items: center;
  min-height: 105px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.service-row > span:first-child {
  font-size: 9px;
  opacity: .55;
}

.service-row h3 {
  margin: 0;
  font: 400 30px/1 "Cormorant Garamond", serif;
}

.service-row p {
  margin: 0;
  max-width: 290px;
  opacity: .62;
  font-size: 11px;
  line-height: 1.6;
}

.selected-work {
  padding: 140px 3.2vw;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 8vw;
}

.work-heading .section-count {
  margin-bottom: 70px;
}

.work-heading h2 {
  margin-bottom: 38px;
}

.featured-card {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.featured-card img {
  width: 100%;
  aspect-ratio: .82;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.6,.2,1), filter .4s;
  filter: saturate(.7);
}

.featured-card:hover img {
  transform: scale(.985);
  filter: saturate(1);
}

.featured-card > div {
  position: absolute;
  left: -42px;
  bottom: 45px;
  width: 220px;
  padding: 20px;
  background: var(--paper);
}

.featured-card span {
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.featured-card h3 {
  margin: 8px 0 0;
  font: 400 43px/1 "Cormorant Garamond", serif;
}

.belief {
  padding: 150px 4vw;
  background: var(--red);
  color: #f6eee4;
  text-align: center;
}

.belief blockquote {
  margin: 55px auto 45px;
  font: 400 clamp(40px, 5.6vw, 82px)/1 "Cormorant Garamond", serif;
  letter-spacing: -.035em;
}

.belief > p:last-child {
  font: italic 18px "Cormorant Garamond", serif;
}

.page-hero {
  min-height: 78vh;
  padding: 170px 5vw 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-hero h1 {
  margin: 30px 0;
  font-size: clamp(70px, 10.5vw, 158px);
}

.page-hero > p:last-child {
  align-self: flex-end;
  width: min(400px, 90%);
  font-size: 13px;
  line-height: 1.8;
}

.work-hero {
  background: var(--cream);
}

.work-grid {
  padding: 130px 3.2vw;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 120px 5vw;
  align-items: start;
}

.work-card {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.work-card:nth-child(even) {
  margin-top: 130px;
}

.work-image {
  position: relative;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  aspect-ratio: 1 / .72;
  object-fit: cover;
  filter: saturate(.65);
  transition: .65s cubic-bezier(.2,.6,.2,1);
}

.work-card-tall .work-image img {
  aspect-ratio: .81;
}

.work-image > span {
  position: absolute;
  inset: auto 20px 20px auto;
  padding: 12px 15px;
  background: var(--paper);
  opacity: 0;
  transform: translateY(8px);
  transition: .3s;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 8px;
}

.work-card:hover img {
  transform: scale(1.035);
  filter: saturate(1);
}

.work-card:hover .work-image > span {
  opacity: 1;
  transform: translateY(0);
}

.work-meta {
  position: relative;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.work-meta h2 {
  margin: 0 0 5px;
  font: 400 35px/1 "Cormorant Garamond", serif;
}

.work-meta p, .work-meta > span {
  margin: 0;
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.work-meta > span {
  position: absolute;
  right: 0;
  top: 24px;
}

.case-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: flex;
  justify-content: flex-end;
}

.case-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15,15,12,.65);
  backdrop-filter: blur(4px);
}

.case-panel {
  position: relative;
  width: min(620px, 92vw);
  height: 100%;
  padding: 25px 42px 50px;
  overflow-y: auto;
  background: var(--paper);
  animation: slide .5s cubic-bezier(.22,.8,.25,1);
}

@keyframes slide {
  from { transform: translateX(100%); }
}

.case-close {
  display: block;
  margin: 0 0 20px auto;
  border: 0;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 9px;
  cursor: pointer;
}

.case-panel img {
  width: 100%;
  height: 44vh;
  object-fit: cover;
  margin-bottom: 35px;
}

.case-panel h2 {
  margin: 12px 0 20px;
  font: 400 70px/1 "Cormorant Garamond", serif;
}

.case-summary {
  max-width: 450px;
  font: 400 22px/1.35 "Cormorant Garamond", serif;
}

.case-services {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin: 40px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.case-services ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-services li + li {
  margin-top: 10px;
}

.team-hero {
  background: #b8bdaf;
}

.team-statement {
  padding: 150px 5vw;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 5vw;
}

.team-statement h2 {
  margin: 0;
  font: 400 clamp(42px, 5vw, 75px)/.98 "Cormorant Garamond", serif;
}

.team-statement > p:last-child {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.9;
}

.team-grid {
  padding: 0 3.2vw 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5vw;
}

.person > div {
  position: relative;
  overflow: hidden;
}

.person img {
  width: 100%;
  aspect-ratio: .75;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
  transition: .5s;
}

.person:hover img {
  filter: grayscale(0);
  transform: scale(1.015);
}

.person > div span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 8px;
  background: var(--paper);
  font-size: 8px;
}

.person h3 {
  margin: 20px 0 5px;
  font: 400 29px/1 "Cormorant Garamond", serif;
}

.person p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 8px;
}

.join {
  padding: 135px 5vw;
  background: #d9d0c4;
  text-align: center;
}

.join h2 {
  margin: 40px 0 30px;
}

.join > p:not(.eyebrow) {
  margin: 0 auto 30px;
  font-size: 12px;
}

.partnership-hero {
  min-height: 100vh;
  padding: 140px 3.2vw 50px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 7vw;
  background: #c6a27f;
}

.partnership-hero h1 {
  margin: 30px 0;
}

.partnership-hero > div > p:last-child {
  width: min(420px, 80%);
  margin-left: 25%;
  font-size: 13px;
  line-height: 1.8;
}

.partnership-hero img {
  width: 100%;
  height: 68vh;
  object-fit: cover;
  filter: saturate(.75);
}

.contact-section {
  padding: 140px 5vw;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 10vw;
}

.contact-aside h2 {
  margin: 45px 0 65px;
  font-size: clamp(42px, 5vw, 72px);
}

.contact-aside > div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  max-width: 350px;
}

.contact-aside > div span {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 8px;
}

.contact-aside > div a, .contact-aside > div p {
  color: inherit;
  text-decoration: none;
  margin: 0;
  font: 400 19px "Cormorant Garamond", serif;
}

.contact-section form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 28px;
}

.contact-section label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-section label span {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 8px;
}

.contact-section input, .contact-section textarea, .contact-section select {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: 400 20px "Cormorant Garamond", serif;
}

.contact-section input:focus, .contact-section textarea:focus, .contact-section select:focus {
  border-bottom-color: var(--red);
}

.contact-section textarea {
  resize: vertical;
}

.contact-section .full {
  grid-column: 1 / -1;
}

.submit-button {
  justify-self: start;
  padding: 15px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 9px;
  cursor: pointer;
}

.form-success {
  align-self: center;
}

.form-success h2 {
  margin: 25px 0;
}

.footer {
  padding: 120px 3.2vw 28px;
  background: #11110e;
  color: #ede9e1;
}

.footer h2 {
  margin: 25px 0 42px;
  font: 400 clamp(52px, 7vw, 100px)/.9 "Cormorant Garamond", serif;
  letter-spacing: -.04em;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  margin-top: 120px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.22);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.footer-links a, .footer-links button, .footer-bottom > p {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 8px;
}

.footer-bottom > p {
  justify-self: end;
}

.logo-compact .logo-mark {
  width: 29px;
  height: 29px;
  font-size: 19px;
}

@media (max-width: 800px) {
  .admin-bar .site-header {
    top: 46px;
  }
  .site-header {
    padding: 18px 20px;
  }

  .menu-button {
    position: relative;
    z-index: 3;
    display: flex;
    width: 32px;
    height: 32px;
    padding: 8px 0;
    border: 0;
    background: none;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }

  .menu-button span {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: .3s;
  }

  .menu-button.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav {
    position: fixed;
    inset: 0;
    display: flex;
    padding: 120px 30px 50px;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(100%);
    transition: .4s cubic-bezier(.2,.7,.2,1);
  }

  .nav-open { transform: translateX(0); }

  .primary-menu {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .nav button, .nav a {
    font: 400 38px/1 "Cormorant Garamond", serif;
    text-transform: none;
    letter-spacing: -.02em;
  }

  .nav-contact {
    margin: auto 0 0;
    font-family: "DM Sans", sans-serif !important;
    font-size: 10px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  .hero {
    min-height: auto;
    padding: 125px 20px 42px;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero h1 {
    font-size: 16vw;
    line-height: .84;
  }

  .hero-intro {
    width: 83%;
    margin-left: 17%;
  }

  .hero-image-wrap {
    width: 83%;
    height: 58vh;
    min-height: 430px;
  }

  .scroll-note { display: none; }

  .manifesto, .services, .selected-work, .team-statement, .contact-section {
    padding: 90px 20px;
    grid-template-columns: 1fr;
  }

  .manifesto {
    gap: 50px;
  }

  .manifesto h2, .work-heading h2 {
    font-size: 14vw;
  }

  .manifesto > div > p, .manifesto .text-link {
    margin-left: 0;
  }

  .services {
    gap: 45px;
  }

  .service-list {
    grid-column: 1;
  }

  .service-row {
    grid-template-columns: 30px 1fr 20px;
    padding: 25px 0;
  }

  .service-row p { display: none; }

  .selected-work {
    gap: 60px;
  }

  .featured-card > div {
    left: 0;
    bottom: 0;
  }

  .belief {
    padding: 100px 20px;
  }

  .page-hero {
    min-height: 70vh;
    padding: 130px 20px 60px;
  }

  .page-hero h1 {
    font-size: 20vw;
  }

  .work-grid {
    padding: 70px 20px;
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .work-card:nth-child(even) {
    margin-top: 0;
  }

  .case-panel {
    padding: 20px 20px 50px;
  }

  .team-statement {
    gap: 40px;
  }

  .team-grid {
    padding: 0 20px 90px;
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .partnership-hero {
    min-height: auto;
    padding: 125px 20px 60px;
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .partnership-hero h1 {
    font-size: 19vw;
  }

  .partnership-hero > div > p:last-child {
    width: 100%;
    margin-left: 0;
  }

  .partnership-hero img {
    height: 55vh;
  }

  .contact-section {
    gap: 75px;
  }

  .contact-section form {
    grid-template-columns: 1fr;
  }

  .contact-section .full {
    grid-column: 1;
  }

  .footer {
    padding: 90px 20px 25px;
  }

  .footer h2 {
    font-size: 14vw;
  }

  .footer-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-top: 90px;
  }

  .footer-links {
    justify-content: flex-end;
  }

  .footer-bottom > p {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .single-case {
    padding: 125px 20px 80px;
  }

  .single-case-body {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
