/*
Theme Name: KGC Construction
Theme URI: https://kgc-construction.metrovancouverit.ca/
Author: KGC Construction & Management Ltd.
Description: A custom, responsive theme for KGC Construction & Management Ltd.
Version: 1.0.1
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: kgc-construction
*/

:root {
  --kgc-wine: #8d001f;
  --kgc-wine-dark: #670017;
  --kgc-gold: #c5a660;
  --kgc-gold-light: #dbc98f;
  --kgc-ink: #11110f;
  --kgc-charcoal: #24231f;
  --kgc-cream: #f6f2e8;
  --kgc-paper: #fffdf8;
  --kgc-line: rgba(17, 17, 15, 0.14);
  --kgc-muted: #65635d;
  --kgc-white: #ffffff;
  --kgc-shadow: 0 24px 70px rgba(27, 22, 14, 0.12);
  --kgc-radius: 4px;
  --kgc-container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--kgc-paper);
  color: var(--kgc-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--kgc-wine);
  color: var(--kgc-white);
}

:focus-visible {
  outline: 3px solid var(--kgc-gold);
  outline-offset: 4px;
}

.screen-reader-text {
  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 {
  clip: auto;
  width: auto;
  height: auto;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  margin: 0;
  background: var(--kgc-white);
  color: var(--kgc-ink);
  z-index: 9999;
}

.container {
  width: min(calc(100% - 48px), var(--kgc-container));
  margin-inline: auto;
}

.section {
  padding: clamp(84px, 9vw, 140px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--kgc-wine);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: var(--kgc-gold-light);
}

.section-title {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.6vw, 4.65rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-title em {
  color: var(--kgc-wine);
  font-weight: 400;
}

.section-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--kgc-muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--kgc-wine);
  color: var(--kgc-white);
}

.btn--primary:hover {
  background: var(--kgc-wine-dark);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(17, 17, 15, 0.12);
  color: var(--kgc-white);
  backdrop-filter: blur(6px);
}

.btn--outline-light:hover {
  border-color: var(--kgc-white);
  background: var(--kgc-white);
  color: var(--kgc-ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--kgc-wine);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 42px;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  color: var(--kgc-white);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled,
.site-header.is-solid,
body.nav-open .site-header {
  border-bottom-color: rgba(17, 17, 15, 0.08);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 8px 32px rgba(19, 17, 13, 0.07);
  color: var(--kgc-ink);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-branding {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.site-branding img {
  width: 228px;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.08));
}

.site-header:not(.is-scrolled):not(.is-solid) .site-branding img {
  border-radius: 2px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 0 0 8px rgba(255, 253, 248, 0.94);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  padding: 12px 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--kgc-gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone svg {
  width: 17px;
  color: var(--kgc-gold);
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines::before {
  transform: translateY(-6px);
}

.menu-toggle-lines::after {
  transform: translateY(4px);
}

body.nav-open .menu-toggle-lines {
  background: transparent;
}

body.nav-open .menu-toggle-lines::before {
  transform: translateY(0) rotate(45deg);
}

body.nav-open .menu-toggle-lines::after {
  transform: translateY(-2px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 180px 0 112px;
  background: var(--kgc-ink);
  color: var(--kgc-white);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("assets/images/kgc-hero.webp") 64% center / cover no-repeat;
  content: "";
  transform: scale(1.015);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 9, 0.92) 0%, rgba(10, 10, 9, 0.69) 39%, rgba(10, 10, 9, 0.12) 72%),
    linear-gradient(0deg, rgba(10, 10, 9, 0.72) 0%, transparent 48%);
  content: "";
}

.hero-content {
  max-width: 750px;
}

.hero .eyebrow {
  margin-bottom: 26px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7.2vw, 7.25rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.93;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--kgc-gold-light);
  font-weight: 400;
}

.hero-copy {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.hero-location {
  position: absolute;
  right: max(24px, calc((100vw - var(--kgc-container)) / 2));
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-location svg {
  width: 16px;
  color: var(--kgc-gold-light);
}

/* Scope strip */
.scope-strip {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  background: var(--kgc-wine);
  color: var(--kgc-white);
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
}

.scope-list li {
  position: relative;
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.scope-list li + li::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.26);
  content: "";
}

.scope-list svg {
  width: 21px;
  height: 21px;
  color: var(--kgc-gold-light);
}

/* Intro */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.7fr);
  align-items: end;
  gap: clamp(55px, 9vw, 140px);
}

.intro-note {
  position: relative;
  padding: 0 0 6px 42px;
  border-left: 1px solid var(--kgc-gold);
}

.intro-note p {
  margin: 0 0 24px;
  color: var(--kgc-muted);
  font-size: 1.08rem;
}

/* Services */
.services-section {
  background: var(--kgc-ink);
  color: var(--kgc-white);
}

.services-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.services-head .section-title {
  max-width: 650px;
}

.services-head p {
  max-width: 480px;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.62);
}

.service-grid {
  display: grid;
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  min-height: 420px;
  padding: 42px clamp(25px, 3vw, 42px) 38px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid transparent;
  isolation: isolate;
  transition: background-color 220ms ease, color 220ms ease;
}

.service-card:first-child {
  border-left-color: rgba(255, 255, 255, 0.14);
}

.service-card::after {
  position: absolute;
  z-index: -1;
  right: -55px;
  bottom: -55px;
  width: 185px;
  height: 185px;
  border: 1px solid rgba(197, 166, 96, 0.2);
  border-radius: 50%;
  content: "";
  transition: border-color 220ms ease, transform 220ms ease;
}

.service-card:hover {
  background: var(--kgc-wine);
}

.service-card:hover::after {
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.18);
}

.service-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--kgc-gold-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.service-number svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.35;
}

.service-card h3 {
  max-width: 260px;
  margin: 78px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.service-card p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.96rem;
  transition: color 220ms ease;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.84);
}

/* About */
.about-section {
  overflow: hidden;
  background: var(--kgc-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(64px, 10vw, 150px);
}

.about-visual {
  position: relative;
  min-height: 580px;
  background: var(--kgc-ink);
}

.about-visual::before {
  position: absolute;
  top: 42px;
  right: 42px;
  bottom: 42px;
  left: 42px;
  border: 1px solid rgba(197, 166, 96, 0.42);
  content: "";
}

.about-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74%;
  max-height: 78%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.about-stamp {
  position: absolute;
  right: -36px;
  bottom: 54px;
  width: 165px;
  height: 165px;
  display: grid;
  border: 9px solid var(--kgc-cream);
  border-radius: 50%;
  background: var(--kgc-wine);
  color: var(--kgc-white);
  place-content: center;
  text-align: center;
}

.about-stamp strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
}

.about-stamp span {
  display: block;
  max-width: 100px;
  margin-top: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-copy .section-lead {
  margin-bottom: 34px;
}

.principles {
  display: grid;
  padding: 0;
  margin: 38px 0 0;
  border-top: 1px solid var(--kgc-line);
  list-style: none;
  grid-template-columns: 1fr 1fr;
}

.principles li {
  position: relative;
  padding: 19px 24px 19px 26px;
  border-bottom: 1px solid var(--kgc-line);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.principles li:nth-child(odd) {
  border-right: 1px solid var(--kgc-line);
}

.principles li::before {
  position: absolute;
  top: 27px;
  left: 1px;
  width: 8px;
  height: 8px;
  background: var(--kgc-wine);
  content: "";
  transform: rotate(45deg);
}

/* Process */
.process-section {
  background: var(--kgc-paper);
}

.process-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  align-items: end;
  gap: 70px;
}

.process-heading .section-lead {
  margin: 0 0 6px;
}

.process-list {
  display: grid;
  padding: 0;
  margin: 72px 0 0;
  border-top: 1px solid var(--kgc-line);
  list-style: none;
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  position: relative;
  min-height: 270px;
  padding: 32px 30px;
  border-right: 1px solid var(--kgc-line);
  border-bottom: 1px solid var(--kgc-line);
}

.process-step:first-child {
  border-left: 1px solid var(--kgc-line);
}

.process-step::before {
  position: absolute;
  top: -4px;
  left: 29px;
  width: 8px;
  height: 8px;
  background: var(--kgc-wine);
  content: "";
  transform: rotate(45deg);
}

.process-step > span {
  color: var(--kgc-wine);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.process-step h3 {
  margin: 67px 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.process-step p {
  margin: 0;
  color: var(--kgc-muted);
  font-size: 0.93rem;
}

/* Project fit */
.fit-section {
  padding: 0 0 clamp(84px, 9vw, 140px);
}

.fit-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  background: var(--kgc-wine);
  color: var(--kgc-white);
  grid-template-columns: 1fr 1fr;
  isolation: isolate;
}

.fit-panel::before {
  position: absolute;
  z-index: -1;
  top: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.fit-copy {
  padding: clamp(52px, 7vw, 90px);
}

.fit-copy h2 {
  max-width: 540px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.fit-copy p {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.fit-list {
  display: grid;
  padding: 0;
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
  grid-template-columns: 1fr 1fr;
}

.fit-list li {
  display: flex;
  min-height: 145px;
  align-items: center;
  gap: 17px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.fit-list li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.fit-list svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--kgc-gold-light);
}

/* Contact */
.contact-section {
  background: var(--kgc-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.08fr);
  gap: clamp(60px, 9vw, 130px);
}

.contact-intro {
  align-self: start;
}

.contact-details {
  padding: 0;
  margin: 52px 0 0;
  border-top: 1px solid var(--kgc-line);
  list-style: none;
}

.contact-details li {
  display: grid;
  padding: 22px 0;
  border-bottom: 1px solid var(--kgc-line);
  grid-template-columns: 42px 1fr;
}

.contact-details svg {
  width: 21px;
  height: 21px;
  margin-top: 3px;
  color: var(--kgc-wine);
}

.contact-details span {
  display: block;
  margin-bottom: 2px;
  color: var(--kgc-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details address {
  font-style: normal;
  font-weight: 700;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--kgc-wine);
}

.contact-form-wrap {
  padding: clamp(30px, 4vw, 52px);
  background: var(--kgc-white);
  box-shadow: var(--kgc-shadow);
}

.contact-form-wrap h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.form-note {
  margin: 0 0 30px;
  color: var(--kgc-muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid rgba(17, 17, 15, 0.22);
  border-radius: 0;
  background: var(--kgc-paper);
  color: var(--kgc-ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  min-height: 148px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--kgc-wine);
  box-shadow: 0 0 0 3px rgba(141, 0, 31, 0.1);
  outline: 0;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8a8880;
}

.form-consent {
  display: grid;
  align-items: start;
  gap: 10px;
  grid-template-columns: 18px 1fr;
}

.form-consent input {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  accent-color: var(--kgc-wine);
}

.form-consent label {
  color: var(--kgc-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}

.form-submit-row small {
  max-width: 250px;
  color: var(--kgc-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.form-status {
  padding: 15px 17px;
  margin: 0 0 24px;
  border-left: 4px solid;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status--success {
  border-color: #367b45;
  background: #edf7ef;
  color: #245b31;
}

.form-status--error {
  border-color: var(--kgc-wine);
  background: #fff0f3;
  color: var(--kgc-wine-dark);
}

.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Footer */
.site-footer {
  background: var(--kgc-ink);
  color: var(--kgc-white);
}

.footer-main {
  display: grid;
  padding: 72px 0 58px;
  grid-template-columns: 1.2fr 0.55fr 0.7fr;
  gap: 70px;
}

.footer-brand img {
  width: 280px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 430px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.footer-heading {
  margin: 0 0 22px;
  color: var(--kgc-gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 9px;
}

.footer-links a,
.footer-contact a,
.footer-contact address {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-style: normal;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--kgc-white);
}

.footer-contact p {
  margin: 0 0 13px;
}

.footer-bottom {
  display: flex;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Generic content pages */
.page-hero {
  padding: 180px 0 80px;
  background: var(--kgc-ink);
  color: var(--kgc-white);
}

.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.entry-content {
  max-width: 840px;
  padding: 80px 0 110px;
  margin-inline: auto;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.15;
}

.entry-content a {
  color: var(--kgc-wine);
}

/* Reveal enhancement */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .header-phone {
    display: none;
  }

  .about-grid {
    gap: 70px;
  }

  .about-visual {
    min-height: 500px;
  }

  .footer-main {
    grid-template-columns: 1fr 0.45fr 0.7fr;
    gap: 45px;
  }
}

@media (max-width: 900px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    min-height: 76px;
  }

  .site-branding img {
    width: 200px;
  }

  .site-header:not(.is-scrolled):not(.is-solid) .site-branding img {
    box-shadow: 0 0 0 6px rgba(255, 253, 248, 0.94);
  }

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

  .header-actions {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    align-items: flex-start;
    padding: 50px 24px;
    background: var(--kgc-paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .admin-bar .header-actions {
    top: 122px;
  }

  body.nav-open .header-actions {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav,
  .primary-nav ul {
    width: 100%;
  }

  .primary-nav ul {
    display: block;
  }

  .primary-nav li {
    border-bottom: 1px solid var(--kgc-line);
  }

  .primary-nav a {
    display: block;
    padding: 18px 3px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero::before {
    background-position: 68% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(10, 10, 9, 0.91) 0%, rgba(10, 10, 9, 0.55) 65%, rgba(10, 10, 9, 0.22) 100%),
      linear-gradient(0deg, rgba(10, 10, 9, 0.76) 0%, transparent 55%);
  }

  .hero-location {
    display: none;
  }

  .scope-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-list li:nth-child(3)::before {
    display: none;
  }

  .scope-list li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  }

  .intro-grid,
  .about-grid,
  .process-heading,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-note {
    max-width: 700px;
  }

  .services-head {
    display: block;
  }

  .services-head p {
    margin-top: 28px;
  }

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

  .service-card {
    min-height: 340px;
    border-left-color: rgba(255, 255, 255, 0.14);
  }

  .service-card h3 {
    margin-top: 48px;
  }

  .about-visual {
    width: min(82%, 600px);
  }

  .process-heading .section-lead {
    margin-top: 28px;
  }

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

  .process-step:nth-child(3) {
    border-left: 1px solid var(--kgc-line);
  }

  .fit-panel {
    grid-template-columns: 1fr;
  }

  .fit-list {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 32px), var(--kgc-container));
  }

  .section {
    padding: 76px 0;
  }

  .section-title {
    font-size: clamp(2.2rem, 12vw, 3.45rem);
  }

  .site-branding img {
    width: 177px;
  }

  .hero {
    min-height: 760px;
    padding: 150px 0 76px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .hero-copy {
    margin-top: 24px;
  }

  .hero-actions {
    display: grid;
    margin-top: 32px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .scope-list {
    grid-template-columns: 1fr;
  }

  .scope-list li {
    min-height: 66px;
    justify-content: flex-start;
    padding: 16px 24px;
    text-align: left;
  }

  .scope-list li + li::before {
    top: 0;
    right: 20px;
    bottom: auto;
    left: 20px;
    width: auto;
    height: 1px;
  }

  .scope-list li:nth-child(3)::before {
    display: block;
  }

  .scope-list li:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .intro-grid {
    gap: 45px;
  }

  .intro-note {
    padding-left: 24px;
  }

  .service-grid {
    margin-top: 50px;
  }

  .service-card {
    min-height: 320px;
    padding: 30px 25px;
  }

  .service-card h3 {
    margin-top: 43px;
  }

  .about-grid {
    gap: 60px;
  }

  .about-visual {
    width: calc(100% - 20px);
    min-height: 440px;
  }

  .about-visual::before {
    inset: 26px;
  }

  .about-stamp {
    right: -18px;
    bottom: 28px;
    width: 138px;
    height: 138px;
  }

  .about-stamp strong {
    font-size: 1.7rem;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles li:nth-child(odd) {
    border-right: 0;
  }

  .process-list {
    margin-top: 50px;
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(3) {
    min-height: 230px;
    border-left: 1px solid var(--kgc-line);
  }

  .process-step h3 {
    margin-top: 44px;
  }

  .fit-section {
    padding-bottom: 76px;
  }

  .fit-copy {
    padding: 44px 28px;
  }

  .fit-list {
    grid-template-columns: 1fr;
  }

  .fit-list li {
    min-height: 95px;
    border-right: 0;
  }

  .fit-list li:nth-last-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .contact-grid {
    gap: 50px;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .form-submit-row {
    display: block;
  }

  .form-submit-row .btn {
    width: 100%;
  }

  .form-submit-row small {
    display: block;
    max-width: none;
    margin-top: 14px;
    text-align: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand img {
    width: 245px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .contact-form-wrap,
  .site-footer {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 60px 0;
    background: #fff;
    color: #000;
  }

  .hero::before,
  .hero::after {
    display: none;
  }
}
