/*!
Theme Name: starter-theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: starter-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

starter-theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* ===== Forever Brand Tokens ===== */
:root {
  --navy: #10283d;
  --ink: #183a52;
  --gold: #c8a46a;
  --gold-light: #e2c992;
  --shell: #f4f0e8;
  --stone: #e5e0d6;
  --muted: #64717a;
  --line: rgba(16, 40, 61, 0.16);
  --white: #fffdf8;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'DM Sans', Arial, sans-serif;
}

/* ===== Global Reset / Document Defaults ===== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--shell);
  color: var(--navy);
  font-family: var(--body);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: rgba(200, 164, 106, 0.28); color: var(--navy); }

/* ===== Shared Layout / Typography ===== */
.site-width { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section-padding { padding: 112px 0; }
.display-heading, .section-title { font-family: var(--display); font-weight: 600; letter-spacing: -0.045em; }
.display-heading { margin: 18px 0 0; font-size: clamp(4.4rem, 8vw, 8.8rem); line-height: 0.82; }
.display-heading em, .section-title em { color: var(--gold); font-style: normal; }
.section-title { margin: 14px 0 0; font-size: clamp(3rem, 5vw, 5.4rem); line-height: 0.9; }
.eyebrow { margin: 0; color: var(--ink); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow--gold { color: var(--gold); }
.focus-ring:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.hidden { display: none !important; }

/* ===== Buttons / Links ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  padding: 15px 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--gold { background: var(--gold); color: var(--navy); }
.button--gold:hover { background: var(--gold-light); }
.button--navy { background: var(--navy); color: var(--white); }
.button--navy:hover { background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid currentColor; padding-bottom: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: color 180ms ease, gap 180ms ease; }
.text-link:hover { gap: 15px; color: var(--gold-light); }
.text-link--light { color: var(--white); }

/* ===== Utility Bar ===== */
.utility-bar { background: var(--navy); color: rgba(255, 253, 248, 0.62); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.utility-bar__inner { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; }
.utility-bar a { color: var(--gold-light); }

/* ===== Site Header / Navigation ===== */
.site-header { position: relative; z-index: 20; background: var(--shell); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: flex; align-items: center; gap: 13px; }
.brand-lockup__logo { width: 82px; height: 58px; object-fit: contain; }
.brand-lockup__name { border-left: 1px solid var(--gold); padding-left: 13px; color: var(--navy); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; line-height: 1.05; }
.brand-lockup__name small { color: var(--muted); font-size: 0.48rem; letter-spacing: 0.14em; }
.desktop-nav { display: flex; align-items: center; gap: 31px; margin-left: auto; }
.nav-link { position: relative; color: var(--muted); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-link::after { position: absolute; right: 0; bottom: -10px; left: 0; height: 1px; background: var(--gold); content: ''; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.header-cta { margin-left: 10px; padding: 12px 16px; }
.menu-button { display: none; border: 0; background: transparent; color: var(--navy); font-size: 1.45rem; cursor: pointer; }
.mobile-nav { display: none; }

/* ===== Editorial Hero ===== */
.hero-section { overflow: hidden; background: var(--navy); color: var(--white); }
.hero-section__inner { display: grid; min-height: 700px; grid-template-columns: 0.86fr 1.14fr; align-items: stretch; gap: 60px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 82px 0; }
.hero-copy__text { max-width: 550px; margin: 38px 0 0; color: rgba(255, 253, 248, 0.7); font-size: 1rem; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 40px; }
.hero-signature { display: flex; align-items: center; gap: 13px; margin-top: auto; color: rgba(255, 253, 248, 0.54); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-signature__line { width: 42px; height: 1px; background: var(--gold); }
.hero-media { position: relative; min-height: 620px; margin: 0 -100px 0 0; overflow: hidden; }
.hero-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, transparent 22%), linear-gradient(0deg, rgba(16, 40, 61, 0.5), transparent 42%); content: ''; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72); }
.hero-media__caption { position: absolute; right: 36px; bottom: 28px; z-index: 1; display: flex; gap: 15px; color: var(--white); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-media__caption span:first-child { color: var(--gold-light); }

/* ===== Trust Ribbon ===== */
.trust-ribbon { border-bottom: 1px solid var(--line); background: var(--stone); }
.trust-ribbon__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-ribbon__inner > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 28px 34px; border-right: 1px solid var(--line); }
.trust-ribbon__inner > div:first-child { padding-left: 0; }
.trust-ribbon__inner > div:last-child { border-right: 0; }
.trust-ribbon__number { grid-row: span 2; color: var(--gold); font-family: monospace; font-size: 0.72rem; font-weight: 700; }
.trust-ribbon strong { font-size: 0.78rem; letter-spacing: 0.04em; }
.trust-ribbon span:last-child { margin-top: 5px; color: var(--muted); font-size: 0.73rem; line-height: 1.5; }

/* ===== Section Heading ===== */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.section-heading__intro { max-width: 390px; margin: 0 0 4px; color: var(--muted); font-size: 0.92rem; line-height: 1.85; }

/* ===== Services Atlas ===== */
.services-section { background: var(--shell); }
.service-atlas { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; margin-top: 50px; }
.service-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.service-card--featured { grid-row: span 2; min-height: 610px; }
.service-card__media { position: relative; height: 210px; overflow: hidden; }
.service-card--featured .service-card__media { height: 100%; min-height: 610px; }
.service-card__media::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 40, 61, 0.76), transparent 58%); content: ''; }
.service-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.76); transition: transform 500ms ease; }
.service-card:hover img { transform: scale(1.05); }
.service-card__content { padding: 25px 28px 28px; }
.service-card--featured .service-card__content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 34px; color: var(--white); }
.service-card__number { display: block; margin-bottom: 18px; color: var(--gold); font-family: monospace; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; }
.service-card h3 { margin: 0; font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 0.95; }
.service-card--featured h3 { max-width: 380px; font-size: clamp(2.8rem, 4vw, 4.8rem); }
.service-card p { margin: 14px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.75; }
.service-card--featured p { max-width: 500px; color: rgba(255, 253, 248, 0.7); }
.service-card__tag { display: inline-block; margin-top: 19px; border-top: 1px solid var(--gold); padding-top: 11px; color: var(--gold-light); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ===== About Section ===== */
.about-section { background: var(--white); }
.about-section__grid { display: grid; grid-template-columns: 0.94fr 1.06fr; align-items: center; gap: 100px; }
.about-image { position: relative; }
.about-image img { width: 100%; height: 550px; object-fit: cover; filter: saturate(0.7); }
.about-image::before { position: absolute; top: -18px; left: -18px; width: 70%; height: 70%; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); content: ''; }
.about-image__stamp { position: absolute; right: -25px; bottom: 30px; display: grid; width: 100px; height: 100px; place-content: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 1.2rem; font-weight: 700; line-height: 0.9; text-align: center; }
.about-image__stamp small { margin-top: 6px; font-size: 0.42rem; letter-spacing: 0.12em; }
.about-copy > p:not(.eyebrow) { max-width: 550px; color: var(--muted); font-size: 0.92rem; line-height: 1.9; }
.company-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.company-details div:last-child { grid-column: span 2; }
.company-details span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.company-details strong { display: block; font-size: 0.87rem; line-height: 1.5; }

/* ===== Operating Approach ===== */
.approach-section { background: var(--ink); color: var(--white); }
.section-heading--light { border-color: rgba(255, 253, 248, 0.2); }
.section-heading--light .section-heading__intro { color: rgba(255, 253, 248, 0.64); }
.approach-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; margin-top: 52px; }
.approach-steps article { border-top: 1px solid rgba(255, 253, 248, 0.3); padding-top: 20px; }
.approach-steps span { color: var(--gold-light); font-family: monospace; font-size: 0.72rem; }
.approach-steps h3 { margin: 34px 0 10px; font-family: var(--display); font-size: 2.4rem; font-weight: 600; }
.approach-steps p { max-width: 270px; margin: 0; color: rgba(255, 253, 248, 0.62); font-size: 0.8rem; line-height: 1.8; }

/* ===== Sectors Strip ===== */
.sectors-section { background: var(--stone); }
.sectors-section__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.sector-list { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px 24px; max-width: 750px; }
.sector-list span { color: var(--ink); font-family: var(--display); font-size: clamp(1.35rem, 2.3vw, 2.2rem); font-weight: 600; }
.sector-list span::after { margin-left: 20px; color: var(--gold); content: '·'; }
.sector-list span:last-child::after { display: none; }

/* ===== Contact Call To Action ===== */
.cta-section { background: var(--shell); }
.cta-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: end; background: var(--navy); padding: 72px 80px; color: var(--white); }
.cta-panel .display-heading { font-size: clamp(3.5rem, 5.8vw, 6.5rem); }
.cta-panel > div:last-child { padding-bottom: 5px; }
.cta-panel p:not(.eyebrow) { max-width: 330px; margin: 0 0 26px; color: rgba(255, 253, 248, 0.68); font-size: 0.88rem; line-height: 1.8; }

/* ===== Contact Page ===== */
.contact-hero { background: var(--navy); color: var(--white); }
.contact-hero__inner { display: flex; min-height: 450px; align-items: end; justify-content: space-between; gap: 70px; padding: 78px 0; }
.contact-hero .display-heading { max-width: 700px; font-size: clamp(4rem, 7vw, 7.6rem); }
.contact-hero__intro { max-width: 310px; margin: 0 0 6px; color: rgba(255, 253, 248, 0.68); font-size: 0.92rem; line-height: 1.85; }
.contact-section { background: var(--shell); }
.contact-section__grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 95px; align-items: start; }
.contact-details__intro { max-width: 400px; margin: 30px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.85; }
.contact-facts { display: grid; gap: 24px; margin-top: 42px; }
.contact-facts > div { display: grid; gap: 5px; border-top: 1px solid var(--line); padding-top: 16px; }
.fact-label { color: var(--gold); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.contact-facts strong, .contact-facts span:not(.fact-label), .contact-email { font-size: 0.78rem; line-height: 1.65; }
.contact-facts span:not(.fact-label) { color: var(--muted); }
.contact-email { width: fit-content; color: var(--ink); font-weight: 700; }
.location-card { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 45px; background: var(--ink); padding: 25px; color: var(--white); }
.location-card > div { display: flex; gap: 15px; align-items: center; }
.location-card__mark { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--gold); color: var(--gold-light); font-family: monospace; font-size: 0.62rem; }
.location-card p { margin: 7px 0 0; font-size: 0.75rem; line-height: 1.5; }
.form-panel { background: var(--white); border: 1px solid var(--line); padding: 40px; box-shadow: 12px 12px 0 var(--stone); }
.form-panel__heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 25px; }
.form-panel__ornament { color: var(--gold); font-family: var(--display); font-size: 3.5rem; line-height: 0.6; }
.enquiry-form { display: grid; gap: 20px; margin-top: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.enquiry-form label { display: grid; gap: 8px; }
.enquiry-form label > span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.enquiry-form label b { color: var(--gold); }
.form-field { width: 100%; border: 1px solid var(--line); border-radius: 0; background: var(--shell); padding: 13px 14px; color: var(--navy); font-size: 0.82rem; outline: none; transition: border-color 180ms ease, box-shadow 180ms ease; }
.form-field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 164, 106, 0.16); }
.form-field::placeholder { color: rgba(100, 113, 122, 0.7); }
.form-message { margin: 0; border: 1px solid; padding: 12px 14px; font-size: 0.78rem; line-height: 1.5; }
.form-message--error { border-color: #c87f74; background: #fff3f0; color: #944339; }
.form-message--success { border-color: rgba(46, 116, 91, 0.35); background: #eef8f2; color: #2e745b; }
.form-note { margin: -4px 0 0; color: var(--muted); font-size: 0.68rem; line-height: 1.6; text-align: center; }

/* ===== Site Footer ===== */
.site-footer { background: var(--navy); color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr; gap: 60px; padding: 70px 0; }
.footer-logo { width: 125px; height: 82px; object-fit: contain; }
.site-footer p:not(.eyebrow) { color: rgba(255, 253, 248, 0.62); font-size: 0.76rem; line-height: 1.8; }
.footer-email { display: block; margin: 15px 0 26px; color: var(--gold-light); font-size: 0.82rem; font-weight: 700; }
.site-footer__bottom { border-top: 1px solid rgba(255, 253, 248, 0.16); padding: 18px 0; color: rgba(255, 253, 248, 0.42); font-size: 0.65rem; letter-spacing: 0.05em; }
.site-footer__bottom .site-width { display: flex; justify-content: space-between; gap: 20px; }

/* ===== Entrance Animation ===== */
.reveal { animation: reveal 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards; opacity: 0; transform: translateY(18px); }
.delay-1 { animation-delay: 90ms; }
.delay-2 { animation-delay: 180ms; }
.delay-3 { animation-delay: 270ms; }
.delay-4 { animation-delay: 360ms; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

/* ===== Responsive Layout ===== */
@media (max-width: 900px) {
  .site-width { width: min(100% - 36px, 680px); }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: block; }
  .mobile-nav { display: grid; gap: 4px; border-top: 1px solid var(--line); padding: 15px max(18px, calc((100% - 680px) / 2)); }
  .mobile-nav a:not(.button) { padding: 13px 0; color: var(--muted); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
  .mobile-nav .button { margin-top: 9px; }
  .hero-section__inner, .about-section__grid, .contact-section__grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { min-height: 610px; padding: 75px 0 55px; }
  .hero-media { min-height: 450px; margin: 0; }
  .hero-media::after { background: linear-gradient(0deg, rgba(16, 40, 61, 0.55), transparent 55%); }
  .service-atlas { grid-template-columns: 1fr 1fr; }
  .service-card--featured { grid-row: span 2; min-height: 580px; }
  .service-card--featured .service-card__media { min-height: 580px; }
  .about-section__grid { gap: 70px; }
  .about-image { max-width: 570px; }
  .contact-hero__inner, .sectors-section__inner { align-items: start; flex-direction: column; gap: 32px; }
  .contact-hero__inner { min-height: 440px; justify-content: end; }
  .contact-hero__intro { margin: 0; }
  .contact-section__grid { gap: 75px; }
  .cta-panel { padding: 55px 42px; }
}

@media (max-width: 620px) {
  .site-width { width: calc(100% - 34px); }
  .utility-bar__inner { align-items: start; flex-direction: column; gap: 4px; }
  .site-header__inner { min-height: 78px; }
  .brand-lockup__logo { width: 72px; height: 50px; }
  .brand-lockup__name { display: none; }
  .section-padding { padding: 76px 0; }
  .display-heading { font-size: clamp(3.65rem, 17vw, 5.8rem); }
  .hero-copy { min-height: 560px; }
  .hero-copy__text { margin-top: 30px; font-size: 0.86rem; line-height: 1.75; }
  .hero-actions { align-items: start; flex-direction: column; gap: 22px; margin-top: 32px; }
  .hero-media { min-height: 300px; }
  .hero-media__caption { right: 20px; bottom: 18px; }
  .trust-ribbon__inner { grid-template-columns: 1fr; }
  .trust-ribbon__inner > div, .trust-ribbon__inner > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); padding: 21px 0; }
  .trust-ribbon__inner > div:last-child { border-bottom: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 25px; }
  .section-heading__intro { max-width: 100%; }
  .service-atlas { grid-template-columns: 1fr; gap: 16px; }
  .service-card--featured { grid-row: auto; min-height: 470px; }
  .service-card--featured .service-card__media { min-height: 470px; }
  .service-card__media { height: 210px; }
  .service-card--featured .service-card__content { padding: 25px; }
  .service-card--featured h3 { font-size: 3.1rem; }
  .about-image img { height: 420px; }
  .about-image__stamp { right: -9px; bottom: 20px; width: 84px; height: 84px; }
  .company-details { grid-template-columns: 1fr; }
  .company-details div:last-child { grid-column: auto; }
  .approach-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 38px; }
  .approach-steps h3 { margin-top: 20px; }
  .sector-list { justify-content: start; gap: 7px 15px; }
  .sector-list span { font-size: 1.45rem; }
  .sector-list span::after { margin-left: 12px; }
  .cta-panel { grid-template-columns: 1fr; gap: 30px; padding: 42px 25px; }
  .cta-panel .display-heading { font-size: 3.6rem; }
  .contact-hero__inner { min-height: 410px; padding: 65px 0; }
  .contact-hero .display-heading { font-size: clamp(3.6rem, 16vw, 5.8rem); }
  .form-panel { padding: 24px 18px; box-shadow: 7px 7px 0 var(--stone); }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .location-card { align-items: start; flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 38px; padding: 55px 0; }
  .site-footer__bottom .site-width { align-items: start; flex-direction: column; }
}

/* ===== Reduced Motion Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}