/*
  COLOR TOKENS
  Centralize the site palette here. --ink is reserved for text, while separate
  ink background and border tokens control dark fills and rules.
*/
:root {
  --ink: #070404;
  --ink-background: #2c2c2c;
  --ink-border: #070404;
  --paper: #d1d1d1;
  --clay: #8d0614;
  --amber: #c45a00;
  --line: #d8d3c9;
}

/* Apply predictable sizing when padding and borders are included in widths. */
* {
  box-sizing: border-box;
}

/* Use smooth movement when page links jump to their sections. */
html {
  scroll-behavior: smooth;
}

/* Site-wide defaults for the page canvas and body copy. */
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
}

/*
  HEADER AND NAVIGATION
  The logo stays on the left and the desktop navigation on the right.
  The mobile menu is hidden here and shown by the narrow-screen rules below.
*/
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 92px;
  margin: auto;
  padding: 0 5.5vw;
  background-color: rgb(63, 63, 63);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 142px;
  height: 42px;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: rgb(207, 205, 205);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a:hover,
.text-link:hover {
  color: var(--clay);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font: 500 12px "DM Mono";
  text-transform: uppercase;
}

/*
  HERO
  Places the main headline beside the featured image on wider screens.
  The mobile rules stack these pieces into one column.
*/
.hero {
  display: grid;
  grid-template-columns: 42% 58%;
  max-width: 1440px;
  min-height: 650px;
  margin: auto;
  padding: 36px 5.5vw 0;
}

.hero-copy {
  align-self: center;
  padding: 20px 5vw 80px 0;
}

.eyebrow {
  margin: 0 0 24px;
  color: #494948;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(47px, 5.8vw, 91px);
  line-height: 0.96;
}

h1 i {
  color: var(--clay);
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 42px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink-border);
  color: var(--ink);
  text-decoration: none;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link span {
  font-size: 16px;
}

.hero-image {
  position: relative;
  height: 614px;
  margin: 0;
  background-color: #ded7cc;
}

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

.hero-image figcaption {
  position: absolute;
  right: 18px;
  bottom: 15px;
  color: #fff;
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.08em;
}

/*
  INTRO
  Centers the short photographer statement and styles its contact button.
*/
.intro {
  max-width: 950px;
  margin: auto;
  padding: 180px 5.5vw;
  text-align: center;
}

.intro .eyebrow {
  margin-bottom: 35px;
}

.statement {
  margin: 0;
  font: 500 clamp(30px, 4.1vw, 57px)/1.12 "Playfair Display", serif;
  letter-spacing: -0.04em;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 43px;
  padding: 15px 20px;
  background-color: var(--ink-background);
  color: var(--paper);
  text-decoration: none;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.button:hover {
  background-color: var(--amber);
  color: var(--paper);
}

/*
  PORTFOLIO GALLERY
  Presents selected work in a three-column layout. Image sizing and hover
  effects are shared across projects, with a taller lead photograph.
*/
.work {
  padding: 90px 5.5vw 130px;
  background-color: #eae4da;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 53px;
}

.section-heading .eyebrow {
  margin: 0 0 8px;
}

.section-heading h2 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.9;
}

.gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  align-items: start;
  gap: 20px;
}

.project {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.project img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: saturate(0.78);
  transition: filter 0.25s, transform 0.4s;
}

.project-large img {
  height: 520px;
}

.project:hover img {
  filter: saturate(1);
  transform: scale(0.985);
}

.project-meta {
  display: block;
  padding-top: 14px;
}

.project-meta strong,
.project-meta small {
  display: block;
}

.project-meta strong {
  font: 500 19px "Playfair Display", serif;
}

.project-meta small {
  margin-top: 4px;
  color: #6e6b64;
  font: 10px "DM Mono", monospace;
  text-transform: uppercase;
}

.all-work {
  margin-top: 50px;
}

/*
  TESTIMONIAL
  Gives the client quote a centered, editorial layout with a small attribution.
*/
.quote {
  max-width: 1050px;
  margin: auto;
  padding: 145px 10vw;
  text-align: center;
}

.quote p {
  margin: 0;
  font: 500 clamp(29px, 4vw, 53px)/1.13 "Playfair Display", serif;
  letter-spacing: -0.04em;
}

.quote span {
  display: block;
  margin-top: 26px;
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/*
  PRICING
  Styles the service introduction and package cards. The featured card uses
  the dark surface tokens to stand out from the other packages.
*/
.pricing {
  padding: 135px 5.5vw 130px;
  background-color: #f0ece4;
}

.pricing-intro {
  max-width: 650px;
  margin-bottom: 65px;
}

.pricing-intro h2 {
  font-size: clamp(43px, 5vw, 72px);
  line-height: 0.94;
}

.pricing-intro > p:last-child {
  max-width: 470px;
  margin: 28px 0 0;
  color: #5e5b54;
  font-size: 14px;
  line-height: 1.75;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 32px 30px 28px;
  background-color: var(--paper);
}

.price-card .eyebrow {
  margin-bottom: 30px;
}

.price-card h3 {
  margin: 0;
  font: 500 35px "Playfair Display", serif;
  letter-spacing: -0.04em;
}

.price {
  margin: 12px 0 25px;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card ul {
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: #5e5b54;
  font-size: 12px;
  line-height: 2;
  list-style: none;
}

.price-card a {
  margin-top: auto;
  color: var(--ink);
  text-decoration: none;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card a span {
  margin-left: 15px;
}

.price-card.featured {
  background-color: var(--ink-background);
  color: var(--paper);
}

.featured .eyebrow,
.featured ul {
  color: #d9d3c7;
}

.featured ul {
  border-color: #5b5a51;
}

.featured a {
  color: var(--paper);
}

.pricing-note {
  margin: 45px 0 0;
  color: #5e5b54;
  text-align: center;
  font: italic 18px "Playfair Display", serif;
}

/*
  CONTACT
  Uses the accent color as a full-width closing call to action, with the
  inquiry link and service area centered beneath the heading.
*/
.contact {
  padding: 145px 5.5vw;
  background-color: var(--clay);
  color: #fff;
  text-align: center;
}

.contact .eyebrow {
  color: #fff;
  opacity: 0.75;
}

.contact h2 {
  font-size: clamp(53px, 7vw, 102px);
  line-height: 0.91;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 47px;
  padding-bottom: 8px;
  border-bottom: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font: 12px "DM Mono", monospace;
  letter-spacing: 0.08em;
}

.location {
  margin: 100px 0 0;
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

/*
  FOOTER
  Arranges the logo, short message, navigation links, social links, and
  copyright line. The mobile rules switch the columns to a compact grid.
*/
.site-footer {
  padding: 64px 5.5vw 21px;
  background-color: rgb(63, 63, 63);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 65px;
}

.footer-brand {
  display: flex;
  align-items: center;
  align-self: start;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.footer-brand .brand-logo {
  width: 160px;
  height: 50px;
}

.footer-top p {
  margin: 0;
  color: rgb(207, 205, 205);
  font: 500 22px/1.16 "Playfair Display", serif;
  letter-spacing: -0.03em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 11px;
}

.footer-links a {
  color: rgb(207, 205, 205);
  text-decoration: none;
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #c9c2b8;
  color: #f7f6f4;
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/*
  MOBILE LAYOUT
  At narrow viewport widths, collapse the navigation into a menu button,
  stack image and pricing grids, and tighten section spacing.
*/
@media (max-width: 700px) {
  .site-header {
    height: 70px;
    padding: 0 25px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    z-index: 2;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 25px;
    border-top: 1px solid var(--line);
    background-color: var(--paper);
  }

  nav.open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px 25px 0;
  }

  .hero-copy {
    padding: 45px 0 60px;
  }

  .hero-image {
    height: 460px;
  }

  .intro {
    padding: 105px 25px;
  }

  .work {
    padding: 75px 25px 90px;
  }

  .gallery,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .project img,
  .project-large img {
    height: 450px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 15px;
  }

  .quote,
  .pricing {
    padding: 105px 25px;
  }

  .pricing-intro {
    margin-bottom: 45px;
  }

  .price-card {
    min-height: 330px;
  }

  .contact {
    padding: 105px 25px;
  }

  .site-footer {
    padding: 52px 25px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
    padding-bottom: 48px;
  }

  .footer-top p {
    grid-column: 1 / -1;
    order: 3;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 9px;
    font-size: 9px;
  }
}
