/*
Theme Name: Beverly Packing
Author: Beverly Packing Inc.
Description: A refined, responsive WordPress theme for white-glove art transportation, storage, installation, inventory management, and custom crating.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: beverly-packing
*/

:root {
  --forest: #123d33;
  --forest-dark: #0b2c25;
  --ink: #17231f;
  --paper: #f5f0e5;
  --ivory: #fbf8f1;
  --stone: #d9d5c9;
  --brass: #a98752;
  --white: #fff;
  --max: 1240px;
  --ease: 240ms cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; margin: 0; padding: .75rem 1rem;
  top: 1rem; left: 1rem; z-index: 9999; background: var(--white);
}
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.eyebrow {
  display: flex; align-items: center; gap: 16px; margin: 0 0 24px;
  color: var(--brass); font-size: .73rem; line-height: 1.2;
  font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 52px; height: 1px; background: currentColor; }
.section-heading { margin: 0; font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1.03; letter-spacing: -.055em; font-weight: 450; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 24px;
  min-height: 58px; padding: 0 28px; border: 1px solid var(--forest);
  background: var(--forest); color: var(--white); text-decoration: none;
  font-size: .76rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase;
  transition: transform var(--ease), background var(--ease), color var(--ease);
}
.button:hover { transform: translateY(-3px); background: var(--forest-dark); }
.button--outline { background: transparent; color: var(--forest); }
.button--outline:hover { background: var(--forest); color: var(--white); }
.button__arrow { font-size: 1.3rem; line-height: 1; transition: transform var(--ease); }
.button:hover .button__arrow { transform: translateX(4px); }

.site-notice { background: var(--forest-dark); color: rgba(255,255,255,.8); font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; }
.site-notice__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header { position: relative; z-index: 40; background: rgba(251,248,241,.96); border-bottom: 1px solid var(--stone); }
.site-header__inner { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.site-brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--forest); border-radius: 50%; font-size: .7rem; letter-spacing: .05em; }
.site-brand__logo { display: block; width: auto; height: 66px; object-fit: contain; }
.custom-logo { max-height: 56px; width: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; text-decoration: none; font-size: .73rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--brass); transition: right var(--ease); }
.primary-nav a:hover::after { right: 0; }
.header-cta { justify-self: end; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--forest); font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }

.hero { min-height: 710px; display: grid; grid-template-columns: 47% 53%; border-bottom: 1px solid var(--stone); }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding: 82px max(40px, calc((100vw - var(--max))/2)) 72px max(24px, calc((100vw - var(--max))/2)); background: var(--paper); }
.hero h1 { max-width: 670px; margin: 0 0 34px; color: var(--forest); font-size: clamp(3.35rem, 6.1vw, 6rem); line-height: .97; letter-spacing: -.065em; font-weight: 400; }
.hero__lede { max-width: 620px; margin: 0 0 40px; color: #5e655f; font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.75; }
.hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__visual { position: relative; overflow: hidden; background: var(--forest-dark); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .92; }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,61,51,.08), rgba(11,44,37,.28)); pointer-events: none; }
.hero__seal { position: absolute; z-index: 2; right: 7%; bottom: 7%; display: grid; place-content: center; width: 168px; aspect-ratio: 1; border-radius: 50%; background: var(--paper); color: var(--forest); text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.hero__seal strong { display: block; font-size: 2.15rem; line-height: 1; font-weight: 450; }
.hero__seal span { display: block; margin-top: 12px; font-size: .66rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.trust-strip { background: var(--forest); color: var(--white); }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 130px; padding: 30px; border-left: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; justify-content: center; }
.trust-item:last-child { border-right: 1px solid rgba(255,255,255,.18); }
.trust-item strong { display: block; color: var(--paper); font-size: 1.05rem; font-weight: 650; }
.trust-item span { color: rgba(255,255,255,.58); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.services { padding: 130px 0; }
.services__intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: end; margin-bottom: 70px; }
.services__intro p { max-width: 660px; margin: 0 0 8px; color: #626a64; font-size: 1.12rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stone); border-left: 1px solid var(--stone); }
.service-card { position: relative; min-height: 265px; padding: 32px; border-right: 1px solid var(--stone); border-bottom: 1px solid var(--stone); background: var(--ivory); transition: background var(--ease), color var(--ease), transform var(--ease); }
.service-card:hover { z-index: 2; background: var(--forest); color: var(--white); transform: translateY(-6px); }
.service-card__number { display: block; margin-bottom: 52px; color: var(--brass); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.service-card h3 { margin: 0 0 14px; font-size: 1.45rem; line-height: 1.2; font-weight: 560; letter-spacing: -.03em; }
.service-card p { margin: 0; color: #6a716c; font-size: .92rem; transition: color var(--ease); }
.service-card:hover p { color: rgba(255,255,255,.72); }

.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; background: var(--forest-dark); color: var(--white); }
.feature__image { min-height: 620px; }
.feature__image img { width: 100%; height: 100%; object-fit: cover; }
.feature__content { display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(36px, 7vw, 110px); }
.feature__content .section-heading { max-width: 600px; color: var(--paper); }
.feature__content > p { max-width: 600px; margin: 34px 0; color: rgba(255,255,255,.68); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; margin: 0; padding: 30px 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.feature-list li { position: relative; padding-left: 22px; color: rgba(255,255,255,.84); font-size: .9rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }

.about { padding: 130px 0; background: var(--paper); }
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.about__year { position: sticky; top: 40px; padding-top: 8px; }
.about__year strong { display: block; color: var(--forest); font-size: clamp(6rem, 15vw, 12rem); line-height: .78; font-weight: 350; letter-spacing: -.08em; }
.about__year span { display: block; margin-top: 28px; color: var(--brass); font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.about__copy .section-heading { max-width: 720px; margin-bottom: 38px; }
.about__copy p { max-width: 760px; margin: 0 0 24px; color: #59625c; font-size: 1.06rem; }

.storage-showcase { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 620px; }
.storage-showcase__image img { width: 100%; height: 100%; object-fit: cover; }
.storage-showcase__content { padding: 80px clamp(36px, 6vw, 90px); background: var(--stone); display: flex; flex-direction: column; justify-content: center; }
.storage-showcase__content h2 { margin: 0 0 24px; color: var(--forest); font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1.04; font-weight: 430; letter-spacing: -.05em; }
.storage-showcase__content p { margin: 0 0 26px; color: #515b54; }

.quote-section { padding: 130px 0; background: var(--ivory); }
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); }
.quote-intro p { max-width: 480px; margin: 30px 0; color: #5d655f; }
.contact-list { margin: 36px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--stone); }
.contact-list span { display: block; color: var(--brass); font-size: .67rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.contact-list a { text-decoration: none; font-weight: 620; }
.quote-form { padding: clamp(28px, 5vw, 60px); background: var(--paper); border: 1px solid var(--stone); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: .73rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #9b9c94; padding: 12px 2px; background: transparent; color: var(--ink); border-radius: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--forest); box-shadow: 0 2px 0 var(--forest); }
.form-submit { margin-top: 30px; }
.form-notice { margin: 0 0 24px; padding: 14px 18px; border-left: 4px solid var(--forest); background: #e6eee9; }
.form-note { margin: 18px 0 0; color: #747a75; font-size: .75rem; }

.site-footer { padding: 70px 0 28px; background: var(--forest-dark); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 60px; padding-bottom: 58px; }
.footer-brand p { max-width: 430px; color: rgba(255,255,255,.58); }
.footer-title { margin: 0 0 22px; color: var(--brass); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.45); font-size: .74rem; }

.featured-project { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; background: var(--forest-dark); }
.featured-project__image { min-height: 620px; overflow: hidden; }
.featured-project__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.featured-project__content { display: flex; flex-direction: column; justify-content: center; padding: 85px max(40px, calc((100vw - var(--max))/2)); color: rgba(255,255,255,.72); }
.featured-project__content .eyebrow { color: var(--brass); }
.featured-project__content .section-heading { color: var(--white); max-width: 560px; }
.featured-project__content p { max-width: 530px; font-size: 1.08rem; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 10px; width: max-content; margin-top: 18px; color: var(--white); font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--brass); font-size: 1.1rem; }

.client-notes { padding: 112px 0; background: #e8e1d2; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.client-notes__intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 46px; }
.client-notes__intro .section-heading { max-width: 590px; margin: 0; }
.client-notes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.client-notes blockquote { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; margin: 0; padding: 34px; background: var(--paper); border: 1px solid rgba(38,61,53,.18); }
.client-notes blockquote p { margin: 0; color: var(--forest); font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; line-height: 1.18; }
.client-notes cite { color: #73766f; font-size: .67rem; font-style: normal; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.client-notes__source { margin: 25px 0 0; color: #73766f; font-size: .75rem; }
.client-notes__source a { color: var(--forest); }
.text-link--dark { color: var(--forest); }

.social-proof { padding: 118px 0; background: var(--ivory); border-bottom: 1px solid var(--stone); }
.social-proof__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(42px, 7vw, 100px); align-items: start; }
.social-proof__content p { max-width: 680px; margin: 0 0 34px; color: #566059; font-size: 1.1rem; line-height: 1.78; }
.name-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.name-cloud li { padding: 10px 15px; border: 1px solid rgba(18,61,51,.24); color: var(--forest); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.subpage-hero { display: grid; grid-template-columns: 52% 48%; min-height: 620px; border-bottom: 1px solid var(--stone); background: var(--paper); }
.subpage-hero__image { min-height: 620px; overflow: hidden; background: var(--forest-dark); }
.subpage-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .94; }
.subpage-hero__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 84px max(40px, calc((100vw - var(--max))/2)) 84px clamp(34px, 6vw, 90px); }
.subpage-hero__content h1 { max-width: 720px; margin: 0 0 30px; color: var(--forest); font-size: clamp(3rem, 5.8vw, 5.8rem); line-height: .98; font-weight: 400; letter-spacing: -.06em; }
.subpage-hero__content p { max-width: 620px; margin: 0 0 34px; color: #5e655f; font-size: 1.12rem; line-height: 1.76; }
.subpage-hero--about .subpage-hero__image img { object-position: center top; }

.service-detail-list { padding: 110px 0; background: var(--ivory); }
.service-detail { display: grid; grid-template-columns: 130px 1fr; gap: 48px; padding: 52px 0; border-top: 1px solid var(--stone); }
.service-detail:last-child { border-bottom: 1px solid var(--stone); }
.service-detail__meta { color: var(--brass); font-size: .76rem; font-weight: 850; letter-spacing: .18em; }
.service-detail h2 { margin: 0 0 22px; color: var(--forest); font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1.04; font-weight: 430; letter-spacing: -.05em; }
.service-detail h3 { margin: 32px 0 14px; color: var(--brass); font-size: .74rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.service-detail p { max-width: 900px; margin: 0 0 18px; color: #59625c; font-size: 1.06rem; }
.service-detail ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 34px; max-width: 920px; margin: 0; padding: 0; list-style: none; }
.service-detail li { position: relative; padding-left: 24px; color: #4d5751; }
.service-detail li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }

.about-page-copy { padding: 120px 0; background: var(--ivory); }
.about-page-copy__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.about-page-copy__year strong { display: block; color: var(--forest); font-size: clamp(6rem, 13vw, 11rem); line-height: .8; font-weight: 350; letter-spacing: -.08em; }
.about-page-copy__year span { display: block; margin-top: 24px; color: var(--brass); font-size: .73rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.about-page-copy__content p { max-width: 860px; margin: 0 0 24px; color: #59625c; font-size: 1.12rem; line-height: 1.82; }
.about-page-proof { padding: 105px 0; background: #e8e1d2; border-top: 1px solid var(--stone); }
.about-page-proof__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(42px, 7vw, 100px); align-items: start; }
.about-page-proof p { max-width: 680px; margin: 0; color: #566059; font-size: 1.1rem; line-height: 1.78; }

.contact-page { padding: 120px 0; background: var(--ivory); }
.contact-page__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.contact-page__intro h1 { max-width: 620px; margin: 0; color: var(--forest); font-size: clamp(3rem, 5.8vw, 5.7rem); line-height: .98; font-weight: 400; letter-spacing: -.06em; }
.contact-page__intro p { max-width: 520px; margin: 30px 0; color: #5d655f; }

.entry-shell { min-height: 60vh; padding: 100px 0; }
.entry-shell article { max-width: 860px; margin: 0 auto; }
.entry-title { color: var(--forest); font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide { max-width: 1100px; margin-left: 50%; transform: translateX(-50%); }

@media (max-width: 1050px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 30px 24px; background: var(--ivory); border-bottom: 1px solid var(--stone); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .header-cta { display: none; }
  .hero { min-height: 650px; }
  .hero__content { padding: 70px 40px; }
  .services__intro { grid-template-columns: 1fr; gap: 30px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature__image { min-height: 520px; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-project__image { min-height: 520px; }
  .client-notes__grid { grid-template-columns: 1fr; }
  .social-proof__grid { grid-template-columns: 1fr; }
  .subpage-hero { grid-template-columns: 1fr; }
  .subpage-hero__image { min-height: 500px; }
  .subpage-hero__content { padding: 70px 40px; }
  .service-detail { grid-template-columns: 1fr; gap: 20px; }
  .about-page-copy__grid, .about-page-proof__grid, .contact-page__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .site-notice__inner span:last-child { display: none; }
  .site-header__inner { min-height: 74px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__content { padding: 64px 24px 58px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero__visual { min-height: 480px; }
  .hero__seal { width: 130px; }
  .trust-strip__inner { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(odd) { border-left: 0; }
  .trust-item { min-height: 105px; padding: 22px 16px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .services, .about, .quote-section { padding: 88px 0; }
  .client-notes { padding: 88px 0; }
  .social-proof { padding: 88px 0; }
  .client-notes__intro { display: block; margin-bottom: 32px; }
  .client-notes__intro .eyebrow { margin-bottom: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 225px; }
  .service-card__number { margin-bottom: 35px; }
  .feature__image { min-height: 420px; }
  .featured-project__image { min-height: 430px; }
  .featured-project__content { padding: 68px 24px; }
  .feature__content { padding: 70px 24px; }
  .feature-list { grid-template-columns: 1fr; }
  .about__grid, .quote-grid { grid-template-columns: 1fr; }
  .subpage-hero__image { min-height: 420px; }
  .subpage-hero__content { padding: 62px 24px; }
  .service-detail-list, .about-page-copy, .about-page-proof, .contact-page { padding: 82px 0; }
  .service-detail { padding: 42px 0; }
  .service-detail ul { grid-template-columns: 1fr; }
  .about__year { position: static; }
  .about__year strong { font-size: 7rem; }
  .storage-showcase { grid-template-columns: 1fr; }
  .storage-showcase__image { min-height: 420px; }
  .storage-showcase__content { padding: 65px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; }
}

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