/*
Theme Name: Peach Creative
Theme URI: https://peachcreative.co.uk
Author: Peach Creative
Description: Bespoke portfolio theme for Peach Creative.
Version: 2.3.0
Text Domain: peach-creative
*/

:root {
  --peach: #ef8b61;
  --ink: #171717;
  --paper: #fff;
  --warm: #f5f0ea;
  --font-body: "Inter", Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-mono: "Space Mono", monospace;
  --content: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
.wrap { width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; }

.site-header { background: #fff; }
.site-header__inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-logo { width: 86px; flex: 0 0 auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); }
.site-nav a { font-size: .98rem; transition: color .25s ease, background-color .25s ease; }
.site-nav a:not(.cta):hover,
.site-nav a:not(.cta):focus-visible { color: var(--peach); }
.site-nav .cta { background: var(--peach); padding: 1rem 1.35rem; }
.site-nav .cta:hover,
.site-nav .cta:focus-visible { background: var(--ink); color: var(--peach); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font: inherit; }

.hero { padding: 4.2rem 0 5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.hero h1 { margin: 0 0 2.25rem; font-family: var(--font-heading); font-size: clamp(4rem, 6.7vw, 7rem); line-height: .88; letter-spacing: -.055em; }
.hero h1 em { color: var(--peach); }
.hero__intro { max-width: 660px; margin: 0 0 2.25rem; font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.45; }
.buttons { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; min-height: 58px; align-items: center; justify-content: center; padding: .9rem 1.75rem; background: var(--ink); color: #fff; }
.button--peach { background: var(--peach); color: var(--ink); }
.button--outline { border: 2px solid var(--ink); background: transparent; color: var(--ink); }
.feature-carousel { min-width: 0; }
.feature-carousel__viewport { position: relative; overflow: hidden; aspect-ratio: 5 / 6; background: var(--warm); }
.feature-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .65s ease; }
.feature-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.feature-slide img { width: 100%; height: 100%; object-fit: cover; }
.feature-carousel__footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.feature-captions { position: relative; flex: 1; min-height: 68px; }
.feature-caption { position: absolute; inset: 0 auto auto 0; opacity: 0; transition: opacity .35s ease; }
.feature-caption.is-active { opacity: 1; }
.feature-caption h2 { margin: 1rem 0 .1rem; font-family: var(--font-heading); font-size: 1.35rem; }
.feature-dots { display: flex; gap: .5rem; padding-top: 1.35rem; }
.feature-dots button { width: 9px; height: 9px; padding: 0; appearance: none; -webkit-appearance: none; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; }
.feature-dots button.is-active { background: var(--ink); }
.feature-dots button:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
.meta { margin: 0; font-family: var(--font-mono); font-size: .76rem; letter-spacing: -.02em; }

/* Quiet entrance motion: enabled by site.js only when motion is welcome. */
.motion-enabled .motion-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .72s ease, transform .86s cubic-bezier(.2,.72,.2,1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}
.motion-enabled .motion-reveal--quiet { transform: translate3d(0, 12px, 0); }
.motion-enabled .motion-reveal--image { transform: translate3d(0, 18px, 0) scale(.992); }
.motion-enabled .motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

.feature-slide img,
.project-card img,
.service > a img,
.making-card img,
.work-card > a img,
.gallery-strip img,
.case-lead,
.case-gallery img,
.service-detail-hero img {
  transform: translateZ(0);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .6s ease;
  backface-visibility: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .feature-slide:hover img,
  .project-card:hover img,
  .project-card:focus-visible img,
  .service > a:hover img,
  .service > a:focus-visible img,
  .making-card:hover img,
  .work-card > a:hover img,
  .work-card > a:focus-visible img {
    transform: translateY(-3px) scale(1.018);
    filter: saturate(1.04) contrast(1.015);
  }

  .gallery-strip img:hover,
  .case-lead:hover,
  .case-gallery img:hover,
  .service-detail-hero img:hover {
    transform: scale(1.012);
    filter: saturate(1.035) contrast(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-slide,
  .feature-caption,
  .feature-slide img,
  .project-card img,
  .service > a img,
  .making-card img,
  .work-card > a img,
  .gallery-strip img,
  .case-lead,
  .case-gallery img,
  .service-detail-hero img {
    transition: none;
  }

  .feature-slide img,
  .project-card img,
  .service > a img,
  .making-card img,
  .work-card > a img,
  .gallery-strip img,
  .case-lead,
  .case-gallery img,
  .service-detail-hero img {
    transform: none !important;
  }

  .motion-enabled .motion-reveal,
  .motion-enabled .motion-reveal--quiet,
  .motion-enabled .motion-reveal--image {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section--dark { color: #fff; background: var(--ink); }
.section--warm { background: var(--warm); }
.section--peach { background: var(--peach); }
.section-title { margin: 0 0 3rem; font-family: var(--font-heading); font-size: clamp(3.2rem, 5.5vw, 5.5rem); line-height: .95; letter-spacing: -.045em; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.projects { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.project-card { grid-column: span 2; }
.project-card:nth-last-child(-n+2) { grid-column: span 3; }
.project-card img { aspect-ratio: 4 / 5; object-fit: cover; }
.project-card h3 { margin: 1rem 0 .2rem; font-family: var(--font-heading); font-size: 1.8rem; }
.project-card h3,
.service h3,
.work-card h2 { transition: color .25s ease; }
.project-card:hover h3,
.project-card:focus-visible h3,
.service > a:hover h3,
.service > a:focus-visible h3,
.work-card > a:hover h2,
.work-card > a:focus-visible h2 { color: var(--peach); }
.services-showcase { overflow: hidden; background: #fff3ed; }
.services-showcase .section-title { margin-bottom: clamp(4rem, 7vw, 7rem); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 2.4vw, 3rem); align-items: start; }
.service { min-width: 0; }
.service--offset { margin-top: clamp(2.5rem, 4vw, 4.5rem); }
.service img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.service h3 { margin: 1.5rem 0 .6rem; font-family: var(--font-heading); font-size: clamp(2rem, 2.45vw, 3rem); line-height: 1; letter-spacing: -.035em; }
.service p { max-width: 95%; margin: 0 0 1.25rem; font-size: 1.05rem; }
.service-link { color: var(--peach); font-weight: 600; }
.service-all { margin-top: clamp(4rem, 7vw, 7rem); }
.section-link, .price-note { font-family: var(--font-mono); font-size: .76rem; }
.price-note { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid currentColor; text-transform: uppercase; letter-spacing: .04em; }
.editorial-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.editorial-copy { max-width: 680px; }
.editorial-copy p { font-size: 1.18rem; }
.editorial-title { margin: 0 0 2rem; font-family: var(--font-heading); font-size: clamp(3.2rem, 5.5vw, 5.6rem); line-height: .94; letter-spacing: -.045em; }
.gallery-strip { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 1.2rem; }
.gallery-strip img { height: clamp(260px, 40vw, 560px); object-fit: cover; }
.making-showcase { overflow: hidden; padding-bottom: clamp(5rem, 8vw, 8rem); }
.making-head { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2rem; }
.making-head h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(2.7rem, 4vw, 4.8rem); line-height: 1; letter-spacing: -.045em; }
.making-head p { margin: 0 0 .35rem; font-size: 1.05rem; }
.making-rail { display: flex; gap: clamp(1rem, 1.5vw, 1.75rem); overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 max(1.5rem, calc((100vw - var(--content)) / 2)) 1.4rem; cursor: grab; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pan-y; user-select: none; }
.making-rail::-webkit-scrollbar { display: none; }
.making-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.making-card { flex: 0 0 clamp(300px, 23vw, 455px); scroll-snap-align: start; }
.making-card--landscape { flex-basis: clamp(420px, 34vw, 660px); }
.making-card img { width: 100%; height: clamp(420px, 31vw, 610px); object-fit: cover; pointer-events: none; }
.making-card h3 { margin: .75rem 0 0; font-family: var(--font-body); font-size: 1rem; font-weight: 500; }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #b8b3ad; border-left: 1px solid #b8b3ad; }
.benefit { padding: 2.4rem; border-right: 1px solid #b8b3ad; border-bottom: 1px solid #b8b3ad; }
.benefit h3 { margin-top: 0; font-family: var(--font-heading); font-size: 2rem; }
.eyebrow { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.service-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); padding: 5rem 0; border-bottom: 1px solid #b8b3ad; }
.service-panel h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(3rem, 5vw, 5.2rem); line-height: .95; }
.service-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.service-columns ul { padding-left: 1.2rem; }
.price { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid; font-family: var(--font-mono); font-size: .78rem; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 5rem) 1.5rem; }
.work-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.work-card:nth-child(3n+2) img { aspect-ratio: 4 / 5; }
.work-card h2 { margin: 1rem 0 .35rem; font-family: var(--font-heading); font-size: 2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2rem 0 4rem; }
.filters button { padding: .55rem 1rem; border: 1px solid #aaa; background: transparent; color: var(--ink); font-family: var(--font-mono); font-size: .75rem; cursor: pointer; }
.filters button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.work-card[hidden] { display: none; }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact-title { margin: 0 0 1.5rem; font-family: var(--font-heading); font-size: clamp(4rem, 7vw, 7rem); line-height: .82; letter-spacing: -.055em; }
.contact-title em { color: var(--peach); }
.project-form { padding: clamp(2rem, 5vw, 4rem); background: #fbf2ec; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.field { display: grid; gap: .55rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem 0; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; background: transparent; color: var(--ink); font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.success { margin-bottom: 2rem; padding: 1rem; background: #dff3e8; }
.case-hero { padding-bottom: 4rem; }
.case-hero .section-title { margin-bottom: 1.5rem; font-size: clamp(4.5rem, 10vw, 9rem); }
.case-lead { width: 100%; max-height: 820px; object-fit: cover; }
.case-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #aaa; font-family: var(--font-mono); font-size: .72rem; }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.case-gallery img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.case-gallery img:nth-child(3n) { grid-column: 1 / -1; max-height: 760px; }
.service-detail-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.service-detail-hero img { aspect-ratio: 4 / 3; object-fit: cover; }
.service-detail-lists h2 { font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 4rem); }
.service-detail-lists li { margin-bottom: .8rem; font-size: 1.1rem; }
.related-projects .project-card { grid-column: auto; }

.home-statement,
.home-process {
  padding: clamp(7rem, 10vw, 11rem) 0;
}
.home-statement { background: var(--ink); color: #fff; }
.home-process { background: #ff895d; color: var(--ink); }
.home-statement > .wrap,
.home-process > .wrap,
.home-final-cta > .wrap {
  width: min(calc(100% - 7.5rem), 1720px);
}
.home-statement__grid,
.home-process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr);
  gap: clamp(4rem, 7.5vw, 9rem);
  align-items: center;
}
.home-statement__title,
.home-process__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 5.55vw, 6.8rem);
  line-height: .88;
  letter-spacing: -.055em;
}
.home-statement__title { font-size: clamp(3.8rem, 5vw, 6.3rem); }
.home-statement__title em,
.home-process__title em {
  display: block;
  color: #ff895d;
  font-weight: 700;
}
.home-statement__title em { font-style: normal; }
.home-process__title em { color: var(--ink); font-weight: 700; font-style: italic; }
.home-statement__copy,
.home-process__copy {
  max-width: 600px;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.65;
}
.home-statement__copy { color: #bdb9b6; }
.home-statement__copy p,
.home-process__copy p { margin: 0 0 1.4rem; }
.home-statement__copy .button,
.home-process__copy .button { margin-top: .75rem; }
.home-process__note {
  margin-top: 1rem !important;
  font-size: .92rem;
  line-height: 1.45;
}
.home-final-cta { padding-block: clamp(8rem, 11vw, 12rem); }
.home-final-cta h2 { max-width: 1400px; }

.about-cta { padding: clamp(7rem, 11vw, 12rem) 0 clamp(8rem, 12vw, 13rem); background: #fff; }
.about-cta h2 { max-width: 1250px; margin: 0 0 3rem; font-family: var(--font-heading); font-size: clamp(4.2rem, 7.4vw, 8.5rem); line-height: .83; letter-spacing: -.06em; }
.about-cta h2 em { display: block; color: #ec6f38; font-weight: 700; }

.site-footer { padding: 5rem 0 2rem; color: #fff; background: var(--ink); }
.footer-top { display: grid; grid-template-columns: .85fr 1.35fr; gap: clamp(4rem, 8vw, 9rem); align-items: end; }
.footer-about { max-width: 500px; }
.footer-logo { width: 150px; margin-bottom: 1.5rem; }
.footer-intro { max-width: 580px; font-size: 1.15rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.75rem; }
.footer-social a,
.footer-social__disabled {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #555;
  color: #fff;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}
.footer-social svg { width: 20px; height: 20px; }
.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--peach);
  color: var(--peach);
  transform: translateY(-2px);
}
.footer-social a:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
.footer-social__disabled { opacity: .38; cursor: not-allowed; }
.footer-email { font-family: var(--font-heading); font-size: clamp(2.1rem, 3.2vw, 3.9rem); line-height: 1; text-align: right; white-space: nowrap; transition: color .25s ease; }
.footer-email:hover,
.footer-email:focus-visible { color: var(--peach); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.footer-links a { transition: color .25s ease; }
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--peach); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid #555; font-family: var(--font-mono); font-size: .72rem; }

.page-hero { padding: 6rem 0; background: var(--warm); }
.page-hero h1 { max-width: 1000px; margin: 0; font-family: var(--font-heading); font-size: clamp(4rem, 9vw, 8rem); line-height: .9; letter-spacing: -.055em; }
.page-content { padding: 5rem 0 7rem; }
.page-content > * { max-width: 850px; }

@media (max-width: 850px) {
  .site-header__inner { min-height: 82px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { display: none; position: absolute; z-index: 20; top: 82px; right: 0; left: 0; padding: 1.5rem; background: #fff; border-top: 1px solid #ddd; box-shadow: 0 12px 24px rgba(0,0,0,.08); flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .7rem 0; }
  .site-nav .cta { padding: 1rem 1.35rem; text-align: center; }
  .hero { padding-top: 2rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5.5rem); }
  .feature-card { max-width: 520px; }
  .projects, .services, .footer-top, .editorial-grid, .service-panel, .contact-layout, .service-detail-hero { grid-template-columns: 1fr; }
  .service--offset { margin-top: 0; }
  .project-card, .project-card:nth-last-child(-n+2) { grid-column: auto; }
  .work-grid, .benefits, .service-columns, .form-grid, .case-meta, .case-gallery { grid-template-columns: 1fr; }
  .case-gallery img:nth-child(3n) { grid-column: auto; }
  .field--full { grid-column: auto; }
  .gallery-strip { grid-template-columns: 1fr; }
  .making-head { display: block; }
  .making-head p { margin-top: 1rem; }
  .making-card, .making-card--landscape { flex-basis: min(82vw, 420px); }
  .making-card img { height: min(105vw, 540px); }
  .footer-bottom { flex-direction: column; }
  .about-cta h2 br { display: none; }
  .footer-email { font-size: clamp(1.8rem, 8vw, 3rem); text-align: left; white-space: normal; overflow-wrap: anywhere; }
  .home-statement,
  .home-process { padding: 6rem 0; }
  .home-statement__grid,
  .home-process__grid { grid-template-columns: 1fr; gap: 3rem; }
  .home-statement > .wrap,
  .home-process > .wrap,
  .home-final-cta > .wrap { width: min(calc(100% - 3rem), var(--content)); }
  .home-statement__title,
  .home-process__title { font-size: clamp(3.5rem, 13vw, 5.25rem); }
}
