:root {
  --black: #000000;
  --white: #ffffff;
  --yellow: #e8f842;
  --yellow-strong: #ebf214;
  --taupe: #cdcac6;
  --warm: #f8f5f2;
  --soft: #f2f2f2;
  --gray: #474747;
  --green: #275f4b;
  --brown: #3b251d;
  --display: "Instrument Serif", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
  --input: "Poppins", Arial, sans-serif;
  --container: min(1600px, calc(100vw - 32px));
  --content: min(1200px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 1;
}

h2 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05;
}

h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.75rem);
  line-height: 1.12;
}

ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 18px;
}

li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: currentColor;
  content: "";
}

.container {
  width: var(--content);
  margin: 0 auto;
}

.section-light,
.section-dark {
  padding: 120px 0;
}

.section-light {
  background: var(--white);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.section-lead {
  max-width: 600px;
  color: var(--gray);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 96px;
  align-items: end;
}

.split-grid .eyebrow,
.section-heading .eyebrow {
  margin-bottom: 18px;
}

.section-heading {
  max-width: 820px;
  text-align: center;
}

.section-heading p:last-child {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--gray);
}

.button {
  display: inline-flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  padding-right: 24px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.button::before,
.button::after {
  display: grid;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  place-items: center;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--black);
  font-size: 22px;
  line-height: 1;
  content: "+";
}

.button::after {
  display: none;
}

.button-primary {
  background: var(--black);
  color: var(--white);
}

.button-secondary {
  border: 1px solid var(--taupe);
  background: var(--soft);
  color: var(--black);
}

.button:hover::before {
  background: var(--yellow-strong);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 80px;
  justify-content: center;
  padding: 16px;
  background: var(--taupe);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--taupe);
  content: "";
}

.site-header > .brand,
.site-header > .site-nav,
.site-header > .header-cta,
.site-header > .nav-toggle {
  position: relative;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(130px, auto) 1fr auto;
  gap: 48px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  width: 54px;
  height: 34px;
  place-items: center;
  border-radius: 0;
  color: var(--black);
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
}

.brand-copy {
  max-width: 140px;
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.05;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.site-nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
}

.site-nav a:hover {
  border-color: var(--black);
}

.header-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.header-cta::before {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--black);
  font-size: 18px;
  content: "+";
}

.header-cta {
  background: var(--black);
  padding-right: 16px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 180ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-open .nav-toggle span:first-child {
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 96px 16px 16px;
  background: var(--taupe);
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 96px 16px 16px;
  border-radius: 16px;
}

.hero-media {
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.2)),
    url("assets/projects/hero-kitchen.jpg")
      center / cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.05));
}

.hero-content {
  position: relative;
  display: grid;
  width: min(900px, calc(100vw - 48px));
  justify-items: center;
  text-align: center;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--white);
  font-weight: 500;
  text-transform: none;
}

.hero-rating span {
  color: var(--yellow);
  font-size: 13px;
  letter-spacing: 1px;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter Display", var(--body);
}

.story {
  padding-top: 128px;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  margin-top: 72px;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 16px;
  align-items: end;
}

.image-stack img {
  min-height: 560px;
  border-radius: 16px;
}

.image-stack img:last-child {
  min-height: 390px;
  margin-bottom: 56px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--taupe);
  background: var(--taupe);
}

.principles-grid article {
  min-height: 290px;
  padding: 32px;
  background: var(--white);
}

.principles-grid span,
.service-meta span,
.process-grid span,
.price-card > span,
.testimonial-grid span {
  display: block;
  margin-bottom: 20px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.principles-grid h3 {
  margin-bottom: 18px;
}

.principles-grid p,
.process-grid p,
.price-card p,
.testimonial-grid p,
.service-card p {
  color: var(--gray);
}

.numbers {
  padding: 120px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.stats-grid article {
  min-height: 230px;
  padding: 32px;
  background: var(--black);
}

.stats-grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
}

.stats-grid strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  font-weight: 400;
  line-height: 0.9;
}

.stats-grid p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.65);
}

.services {
  background: var(--white);
}

.service-list {
  display: grid;
  gap: 16px;
  margin-top: 64px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr) 230px;
  gap: 48px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid var(--taupe);
  border-radius: 16px;
  background: var(--warm);
}

.service-image {
  min-height: 420px;
  overflow: hidden;
  border-radius: 12px;
}

.service-card > div:not(.service-meta) {
  display: grid;
  align-content: center;
  padding: 32px 0;
}

.service-card .eyebrow {
  margin-bottom: 18px;
  color: var(--green);
}

.service-card h3 {
  margin-bottom: 20px;
}

.service-card ul {
  margin-top: 28px;
  color: var(--black);
}

.service-meta {
  display: grid;
  align-content: center;
  padding: 32px 16px 32px 0;
}

.service-meta strong {
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
}

.portfolio {
  background: var(--black);
}

.featured-project {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 72px;
}

.project-copy {
  display: grid;
  align-content: center;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.project-copy .eyebrow {
  margin-bottom: 18px;
  color: var(--yellow);
}

.project-copy h3 {
  margin-bottom: 22px;
}

.project-copy p {
  color: rgba(255, 255, 255, 0.72);
}

blockquote {
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.18;
}

.featured-project img {
  min-height: 560px;
  border-radius: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.gallery-grid img {
  min-height: 280px;
  border-radius: 16px;
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(6) {
  grid-column: span 2;
}

.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  border: 1px solid var(--taupe);
  background: var(--taupe);
}

.process-grid article {
  min-height: 340px;
  padding: 40px;
  background: var(--white);
}

.process-grid span {
  color: var(--green);
}

.process-grid h3 {
  margin-bottom: 22px;
}

.pricing {
  padding-top: 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  padding: 40px;
  border: 1px solid var(--taupe);
  border-radius: 16px;
  background: var(--warm);
}

.price-card.popular {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.price-card .eyebrow {
  margin-bottom: 46px;
  color: var(--green);
}

.price-card.popular .eyebrow,
.price-card.popular p,
.price-card.popular span {
  color: rgba(255, 255, 255, 0.72);
}

.price-card h3 {
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 6vw, 5.8rem);
  line-height: 0.9;
}

.price-card ul {
  margin: 32px 0;
  color: var(--gray);
}

.price-card.popular ul {
  color: rgba(255, 255, 255, 0.78);
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 10px 12px;
  border-radius: 100px;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.testimonials {
  background: var(--black);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
}

.testimonial-grid article {
  min-height: 300px;
  padding: 36px;
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
}

.testimonial-grid p {
  margin-bottom: 32px;
  color: var(--black);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.2;
}

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 1px;
  max-width: 880px;
  margin-top: 64px;
  border: 1px solid var(--taupe);
  background: var(--taupe);
}

details {
  background: var(--white);
}

summary {
  min-height: 76px;
  padding: 26px 32px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 32px 28px;
  color: var(--gray);
}

.contact {
  padding-bottom: 128px;
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 80px;
  align-items: start;
}

.contact-copy .eyebrow {
  margin-bottom: 18px;
  color: var(--yellow);
}

.contact-copy > p {
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-points {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.contact-points article {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-points h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.contact-points p {
  color: rgba(255, 255, 255, 0.65);
}

.jobber-card {
  display: grid;
  gap: 24px;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.jobber-card .eyebrow {
  color: var(--yellow);
}

.jobber-card p {
  color: rgba(255, 255, 255, 0.72);
}

.jobber-card ul {
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
}

.jobber-card .button {
  width: 100%;
}

.jobber-card > span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.site-footer {
  padding: 64px 0 24px;
  background: var(--taupe);
  color: var(--green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.55fr 0.8fr 0.6fr;
  gap: 64px;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-grid h3 {
  margin-bottom: 18px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 14px;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(39, 95, 75, 0.2);
}

@media (max-width: 1199px) {
  :root {
    --content: min(100vw - 48px, 920px);
  }

  .site-header {
    gap: 28px;
  }

  .site-nav {
    gap: 18px;
  }

  .split-grid,
  .story-layout,
  .featured-project,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-grid,
  .gallery-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    grid-template-columns: 0.8fr 1fr;
  }

  .service-meta {
    grid-column: 2;
    padding-top: 0;
  }

  .process-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 809px) {
  :root {
    --content: calc(100vw - 32px);
  }

  .section-light,
  .section-dark {
    padding: 72px 0;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .site-header {
    min-height: 72px;
    grid-template-columns: 1fr auto;
    padding: 16px 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    min-height: calc(100vh - 72px);
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding: 32px 20px;
    background: var(--taupe);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 56px;
    font-family: var(--display);
    font-size: 32px;
    font-weight: 400;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding: 72px 0 0;
  }

  .hero-media,
  .hero-overlay {
    inset: 72px 0 0;
    border-radius: 0;
  }

  .hero-content {
    width: calc(100vw - 32px);
  }

  .hero-content p:not(.eyebrow) {
    margin-bottom: 28px;
  }

  .story-layout,
  .service-list,
  .featured-project,
  .process-grid,
  .pricing-grid,
  .testimonial-grid,
  .faq-list {
    margin-top: 44px;
  }

  .image-stack,
  .principles-grid,
  .stats-grid,
  .gallery-grid,
  .process-grid,
  .pricing-grid,
  .testimonial-grid,
  .footer-grid,
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-meta {
    grid-column: auto;
    padding: 0 12px 20px;
  }

  .image-stack img,
  .image-stack img:last-child {
    min-height: 340px;
    margin-bottom: 0;
  }

  .service-image,
  .featured-project img,
  .gallery-grid img {
    min-height: 330px;
  }

  .principles-grid article,
  .process-grid article,
  .price-card,
  .testimonial-grid article,
  .project-copy {
    padding: 28px;
  }

  .stats-grid article,
  .process-grid article,
  .price-card,
  .testimonial-grid article {
    min-height: auto;
  }

  .stats-grid span {
    margin-bottom: 30px;
  }

  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(6) {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  .brand-mark {
    width: 48px;
    font-size: 30px;
  }

  .brand-copy {
    max-width: 118px;
    font-size: 11px;
  }

  .hero {
    min-height: 620px;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading p:last-child {
    margin-left: 0;
  }

  .button::before,
  .button::after {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .button {
    min-height: 56px;
  }

  blockquote,
  .testimonial-grid p {
    font-size: 24px;
  }

  summary {
    padding: 22px 24px;
  }

  details p {
    padding: 0 24px 24px;
  }
}
