/*
Theme Name: PEAK Web Solutions
Theme URI: https://peakwebsolutions.co.uk/
Author: PEAK Web Solutions
Description: Bespoke, standalone PEAK Web Solutions theme.
Version: 2.0.2
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: peak-web-solutions
*/

:root {
  --navy: #414142;
  --navy-2: #555557;
  --teal: #975199;
  --teal-bright: #c481c5;
  --blue: #975199;
  --ink: #454547;
  --muted: #707074;
  --line: #ded8df;
  --soft: #f6f2f6;
  --white: #fff;
  --shell: 1180px;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(65, 65, 66, .15);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
h1, h2, h3, h4 { margin: 0 0 .65em; color: var(--navy); font-weight: 780; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 7vw, 6.9rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 4.15rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
p { margin: 0 0 1.25em; }
button, input, textarea, select { font: inherit; }

.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 9999; top: 1rem; left: 1rem; padding: .7rem 1rem; color: white; background: var(--navy); }
.peak-shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { max-width: 820px; }

.site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(223,229,236,.8); background: rgba(255,255,255,.94); backdrop-filter: blur(18px); }
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 112px; display: flex; align-items: center; gap: 26px; }
.site-branding { margin-right: auto; }
.peak-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.brand-logo { width: 150px; height: auto; }
.primary-menu { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { color: #555557; font-size: .87rem; font-weight: 700; text-decoration: none; }
.primary-menu a:hover { color: var(--teal); }
.header-cta, .peak-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: .78rem 1.25rem; border: 0; border-radius: 999px; color: white; background: var(--navy); font-size: .92rem; font-weight: 760; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.header-cta { min-height: 44px; padding-inline: 1.1rem; background: var(--blue); }
.header-cta:hover, .peak-button:hover { color: white; background: var(--navy); box-shadow: 0 12px 28px rgba(151,81,153,.25); transform: translateY(-2px); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 12px; color: white; background: var(--navy); }
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 21px; height: 2px; margin: auto; background: currentColor; content: ""; transition: .2s ease; }
.menu-toggle-lines::before { transform: translateY(-7px); }
.menu-toggle-lines::after { transform: translateY(5px); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: translateY(-2px) rotate(-45deg); }

.site-main { min-height: 60vh; overflow: hidden; }
body.elementor-page .content-shell, body.page-template-elementor_canvas .content-shell, body.page-template-elementor_header_footer .content-shell { width: auto; max-width: none; padding: 0; }
.peak-section { padding-block: clamp(76px, 9vw, 130px); }
.eyebrow { margin: 0 0 20px; color: var(--teal); font-size: .73rem; font-weight: 820; letter-spacing: .19em; line-height: 1.4; text-transform: uppercase; }
.lead { max-width: 710px; color: #66666a; font-size: clamp(1.15rem, 2vw, 1.42rem); line-height: 1.55; }
.lead-small { color: #5c5c60; font-size: 1.23rem; line-height: 1.65; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-top: 32px; }
.text-link { color: var(--navy); font-weight: 760; text-decoration: none; }
.text-link:hover { color: var(--teal); }

.home-hero { position: relative; padding: clamp(65px, 8vw, 112px) 0 82px; background: linear-gradient(125deg,#f7f2f7 0%,#fff 58%); }
.home-hero::before { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(151,81,153,.14) 1px,transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg,#000,transparent 52%); content: ""; }
.home-hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(45px,7vw,90px); align-items: center; }
.hero-copy h1 { max-width: 760px; font-size: clamp(3.5rem,7.2vw,6.75rem); }
.hero-copy h1 em { color: var(--teal); font-family: Georgia,serif; font-weight: 500; }
.hero-visual { position: relative; }
.hero-visual::before { position: absolute; z-index: -1; inset: -22px 22px 22px -22px; border-radius: 34px; background: var(--teal-bright); content: ""; }
.hero-visual img { width: 100%; aspect-ratio: 4/5; border-radius: 28px; box-shadow: var(--shadow); object-fit: cover; }
.floating-card { position: absolute; right: -25px; bottom: 32px; display: grid; min-width: 190px; padding: 20px 24px; border-radius: 16px; background: white; box-shadow: var(--shadow); }
.floating-card strong { color: var(--navy); font-size: 1.15rem; }
.floating-card span { color: var(--muted); font-size: .83rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 52px; color: var(--muted); font-size: .76rem; font-weight: 720; text-transform: uppercase; letter-spacing: .08em; }
.hero-proof span::before { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--teal); content: ""; }

.intro-strip { padding-bottom: 65px; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.intro-grid h2 { max-width: 700px; margin: 0; }
.intro-grid > p { margin: 0 0 9px; color: var(--muted); font-size: 1.1rem; }
.services-section { padding-top: 28px; }
.service-grid, .feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card { position: relative; min-height: 360px; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: white; text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-7px); }
.service-number, .feature-grid article > span { color: var(--teal); font-size: .73rem; font-weight: 800; letter-spacing: .16em; }
.service-card h3 { margin-top: 86px; font-size: 2rem; }
.service-card p { color: var(--muted); }
.card-link { position: absolute; bottom: 35px; left: 38px; color: var(--navy); font-weight: 760; }
.image-card { color: white; border-color: transparent; background: linear-gradient(rgba(65,65,66,.72),rgba(50,50,51,.92)),url('assets/images/PEAK-Image-1024x683.jpg') center/cover; }
.image-card h3, .image-card .card-link { color: white; }
.image-card p { color: #d9e3ef; }

.work-section { background: var(--soft); }
.section-heading { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { margin: 0; }
.section-heading > p { color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.work-grid a { position: relative; overflow: hidden; border-radius: var(--radius); color: white; background: var(--navy); text-decoration: none; }
.work-grid img { width: 100%; aspect-ratio: 1.5; object-fit: cover; opacity: .87; transition: transform .4s ease, opacity .3s ease; }
.work-grid a:hover img { opacity: .65; transform: scale(1.035); }
.work-grid span { position: absolute; right: 0; bottom: 0; left: 0; display: grid; padding: 34px; background: linear-gradient(transparent,rgba(50,50,51,.92)); }
.work-grid strong { font-size: 1.35rem; }
.work-grid small { color: #d7e0eb; }

.process-section, .dark-section { color: #d9e3ef; background: var(--navy); }
.process-section h2, .process-section h3, .dark-section h2, .dark-section h3 { color: white; }
.process-section .lead-small { color: #b9c6d5; }
.split { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(45px,8vw,110px); align-items: center; }
.split > img { width: 100%; min-height: 440px; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.process-list li:first-child { border-top: 1px solid rgba(255,255,255,.13); }
.process-list span { color: var(--teal-bright); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.process-list h3 { margin-bottom: 7px; }
.process-list p { margin: 0; color: #aebdce; }
.light-link { color: white; }
.testimonial-section { text-align: center; }
.testimonial-section blockquote { max-width: 920px; margin: 30px auto 0; color: var(--navy); font-family: Georgia,serif; font-size: clamp(1.7rem,3.5vw,3rem); line-height: 1.38; }
.testimonial-section cite { display: block; margin-top: 28px; color: var(--muted); font-family: Inter,sans-serif; font-size: .85rem; font-style: normal; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }

.page-hero { padding-block: clamp(78px,10vw,140px); background: linear-gradient(125deg,#f7f2f7 0%,#fff 75%); }
.page-hero h1 { max-width: 930px; font-size: clamp(3.4rem,7vw,6.3rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px,8vw,105px); align-items: center; }
.hero-grid h1 { font-size: clamp(3.1rem,6vw,5.35rem); }
.hero-grid > img { width: 100%; aspect-ratio: 4/4.5; border-radius: 30px; box-shadow: var(--shadow); object-fit: cover; }
.compact-hero { text-align: center; }
.compact-hero h1, .compact-hero .lead { margin-inline: auto; }
.compact-hero .peak-button { margin-top: 20px; }
.photo-hero { min-height: 650px; display: flex; align-items: center; color: white; background: linear-gradient(90deg,rgba(50,50,51,.94),rgba(90,60,91,.48)),url('assets/images/Photography-sevices-1536x461.png') center/cover; }
.photo-hero h1 { max-width: 850px; color: white; }
.photo-hero .lead { color: #e0e9f1; }
.section-title { max-width: 740px; margin-bottom: 55px; }
.feature-grid article { padding: 30px 0; border-top: 2px solid var(--navy); }
.feature-grid article h3 { margin-top: 40px; }
.feature-grid article p, .service-grid > article p { color: var(--muted); }
.dark-section .feature-grid article, .dark-section .service-grid article { padding: 30px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; }
.dark-section .feature-grid article p, .dark-section .service-grid article p { color: #b9c6d5; }
.soft-section { background: var(--soft); }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 12px 0; padding-left: 30px; }
.check-list li::before { position: absolute; top: .48em; left: 0; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: .68rem; content: "✓"; }
.pricing-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px,8vw,110px); align-items: center; }
.price-card { padding: clamp(34px,5vw,58px); border-radius: 26px; box-shadow: var(--shadow); }
.price-card.featured { color: #d8e2ee; background: var(--navy); }
.price-card h2 { color: white; }
.price { color: #becbda; }
.price strong { display: block; color: white; font-size: clamp(3.7rem,6vw,5.8rem); line-height: 1.05; }
.price-card .peak-button { margin-top: 25px; background: var(--teal); }
.mini-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 36px; }
.mini-grid article, .service-grid > article { padding: 26px; border: 1px solid var(--line); border-radius: 17px; }
.mini-grid h3 { font-size: 1.13rem; }
.mini-grid p { margin: 0; color: var(--muted); font-size: .94rem; }
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 24px 40px 24px 0; color: var(--navy); font-size: 1.08rem; font-weight: 760; cursor: pointer; }
.faq details p { max-width: 700px; color: var(--muted); }
.history { align-items: start; }
.contact-hero { color: white; background: var(--navy); }
.contact-hero h1 { color: white; }
.contact-hero .lead { color: #bfcddd; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px,9vw,125px); }
.contact-method { display: grid; gap: 5px; margin-top: 28px; }
.contact-method span { color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.contact-method a, .contact-method address { color: var(--navy); font-size: 1.08rem; font-style: normal; font-weight: 700; text-decoration: none; }
.contact-panel { padding: clamp(34px,5vw,58px); border-radius: 25px; background: var(--soft); }
.form-note { margin: 24px 0 0; color: var(--muted); font-size: .9rem; }
.prose { font-size: 1.05rem; }

.peak-cta { padding-block: clamp(70px,8vw,105px); color: white; background: var(--blue); }
.peak-cta .eyebrow { color: #f2d9f2; }
.peak-cta h2 { max-width: 740px; color: white; }
.peak-cta p { max-width: 650px; color: #f2e8f2; }
.peak-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.peak-button-light { color: var(--navy); background: white; }
.peak-button-light:hover { color: white; background: var(--navy); }

.site-footer { color: #d0cbd0; background: #353536; }
.footer-inner { display: grid; grid-template-columns: 1.45fr .65fr 1fr; gap: clamp(45px,7vw,90px); padding-block: 78px 60px; }
.peak-brand-footer { width: fit-content; padding: 10px 14px; border-radius: 12px; background: white; }
.brand-logo-footer { width: 178px; }
.footer-intro > p { max-width: 430px; margin-top: 26px; }
.site-footer h2 { margin-bottom: 22px; color: white; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-menu, .footer-contact { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.footer-menu a, .footer-contact a { color: #ced8e5; text-decoration: none; }
.footer-menu a:hover, .footer-contact a:hover { color: var(--teal-bright); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--teal-bright); font-weight: 700; text-decoration: none; }

@media (max-width: 980px) {
  .primary-menu { gap: 16px; }
  .primary-menu a { font-size: .8rem; }
  .home-hero-grid, .hero-grid, .split, .pricing-layout, .contact-grid { grid-template-columns: 1fr; }
  .home-hero-grid { gap: 75px; }
  .hero-visual { width: min(80%,600px); margin-inline: auto; }
  .hero-visual img { aspect-ratio: 5/4; }
  .hero-grid > img { max-height: 550px; aspect-ratio: 16/10; }
  .feature-grid, .service-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1.3fr 1fr; }
  .footer-intro { grid-column: 1/-1; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .admin-bar .site-header { top: 46px; }
  .header-inner { min-height: 98px; }
  .brand-logo { width: 128px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-navigation { position: absolute; inset: 100% 0 auto; padding: 8px 20px 22px; border-bottom: 1px solid var(--line); background: white; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .2s ease; }
  .site-navigation.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .primary-menu { display: grid; gap: 0; }
  .primary-menu a { display: block; padding: 11px 0; font-size: .96rem; }
  .home-hero { padding-top: 55px; }
  .hero-copy h1, h1 { font-size: clamp(3rem,14vw,4.8rem); }
  .hero-visual { width: calc(100% - 18px); }
  .floating-card { right: -10px; }
  .intro-grid, .section-heading, .peak-cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .service-grid, .feature-grid, .work-grid, .mini-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .split > img { min-height: 300px; }
  .photo-hero { min-height: 610px; background-position: 64% center; }
  .pricing-layout { gap: 55px; }
  .peak-cta-inner .peak-button { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
  .footer-bottom { display: grid; }
}

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