:root {
  --navy: #142733;
  --navy-deep: #0d1c26;
  --navy-soft: #203b4a;

  --rust: #a64e2b;
  --rust-dark: #7e351f;
  --rust-light: #c66c43;

  --cream: #f0eae2;
  --cream-light: #faf7f2;
  --tan: #c9a77f;

  --charcoal: #1a2025;
  --gray: #5f666b;
  --light-gray: #e4dfd8;
  --white: #ffffff;

  --border: rgba(20, 39, 51, 0.16);
  --shadow: 0 18px 45px rgba(13, 28, 38, 0.14);

  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;

  --site-width: 1240px;
}

/* --------------------------------
   Reset and shared styles
-------------------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--cream-light);
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.65;
}

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

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

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

a {
  color: inherit;
}

.site-width {
  width: min(calc(100% - 3rem), var(--site-width));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--tan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--rust);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  border: 2px solid transparent;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
}

.button-outline-light {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  background: var(--white);
  color: var(--navy);
}

.button-cream {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
}

.button-cream:hover,
.button-cream:focus-visible {
  background: var(--white);
  border-color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--rust);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(5px);
}

/* --------------------------------
   Utility bar
-------------------------------- */

.utility-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.utility-inner p {
  letter-spacing: 0.04em;
}

.utility-links {
  display: flex;
  gap: 1.5rem;
}

.utility-links a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.utility-links a:hover,
.utility-links a:focus-visible {
  color: var(--tan);
}

/* --------------------------------
   Header and navigation
-------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
}

.brand-name {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-rule {
  width: 100%;
  height: 2px;
  margin-block: 0.25rem;
  background:
    linear-gradient(
      90deg,
      var(--rust),
      var(--tan),
      transparent
    );
}

.brand-subtitle {
  color: var(--rust);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.primary-nav a {
  position: relative;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.primary-nav .nav-cta {
  padding: 0.9rem 1.2rem;
  background: var(--rust);
  border: 1px solid var(--rust);
  color: var(--white);
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin-block: 5px;
  background: var(--navy);
}

/* --------------------------------
   Hero
-------------------------------- */

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 134px));
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 700ms ease,
    transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 18, 24, 0.96) 0%,
      rgba(8, 18, 24, 0.82) 38%,
      rgba(8, 18, 24, 0.42) 70%,
      rgba(8, 18, 24, 0.22) 100%
    ),
    linear-gradient(
      0deg,
      rgba(8, 18, 24, 0.5),
      transparent 50%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 8rem 9rem;
  color: var(--white);
}

.hero h1 {
  max-width: 840px;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 690px;
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-controls {
  position: absolute;
  right: 0;
  bottom: 2.1rem;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  background: rgba(13, 28, 38, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.hero-controls > button:hover,
.hero-controls > button:focus-visible {
  background: var(--rust);
  border-color: var(--rust);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.hero-dot.active {
  width: 30px;
  background: var(--rust-light);
  border-radius: 999px;
}

/* --------------------------------
   Trust strip
-------------------------------- */

.trust-strip {
  position: relative;
  z-index: 4;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  border-right: 1px solid var(--border);
}

.trust-grid article:first-child {
  border-left: 1px solid var(--border);
}

.trust-grid strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.trust-grid span {
  color: var(--gray);
  font-size: 0.88rem;
}

/* --------------------------------
   Introduction
-------------------------------- */

.intro-section {
  background: var(--cream-light);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.intro-media {
  position: relative;
  min-height: 580px;
}

.intro-media > img {
  width: 88%;
  height: 560px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.intro-media::before {
  content: "";
  position: absolute;
  top: -1.3rem;
  right: 0;
  width: 42%;
  height: 70%;
  border: 2px solid var(--tan);
  z-index: -1;
}

.experience-card {
  position: absolute;
  right: 0;
  bottom: -1rem;
  width: min(260px, 50%);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.7rem;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.experience-number {
  display: block;
  color: var(--tan);
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1;
}

.intro-copy h2,
.section-heading h2,
.projects-heading h2,
.testimonial-label h2,
.process-heading h2,
.contact-cta h2 {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.intro-copy > p:not(.eyebrow) {
  margin-top: 1.35rem;
  color: var(--gray);
}

.intro-copy .text-link {
  margin-top: 1.8rem;
}

/* --------------------------------
   Services
-------------------------------- */

.services-section {
  background: var(--cream);
}

.section-heading {
  max-width: 760px;
}

.centered-heading {
  margin-inline: auto;
  text-align: center;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 1.1rem auto 0;
  color: var(--gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1.3rem;
  margin-top: 3.5rem;
}

.service-card {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  background: var(--cream-light);
  border: 1px solid var(--border);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.service-number {
  color: var(--rust);
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 1;
  opacity: 0.68;
}

.service-card h3 {
  margin-top: 2rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.15;
}

.service-card p {
  margin-top: 1rem;
  color: var(--gray);
}

.service-card a {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 2rem;
  color: var(--rust);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.featured-service {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.featured-service .service-number {
  color: var(--tan);
}

.featured-service h3 {
  color: var(--white);
}

.featured-service p {
  color: rgba(255, 255, 255, 0.72);
}

.featured-service a {
  color: var(--tan);
}

/* --------------------------------
   Process
-------------------------------- */

.process-section {
  background: var(--navy);
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.process-heading {
  align-self: start;
}

.process-heading h2 {
  color: var(--white);
}

.process-heading > p:not(.eyebrow) {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.process-heading .button {
  margin-top: 2rem;
}

.process-steps {
  display: grid;
}

.process-steps article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding-block: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.process-steps article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.process-steps > article > span {
  color: var(--tan);
  font-family: var(--serif);
  font-size: 2.7rem;
  line-height: 1;
}

.process-steps h3 {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.55rem;
}

.process-steps p {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.67);
}

/* --------------------------------
   Projects
-------------------------------- */

.projects-section {
  background: var(--cream-light);
}

.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.35rem;
  margin-top: 3rem;
}

.project-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--navy);
}

.project-card:nth-child(1),
.project-card:nth-child(4) {
  grid-column: span 7;
}

.project-card:nth-child(2),
.project-card:nth-child(3) {
  grid-column: span 5;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition:
    transform 500ms ease,
    opacity 300ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(8, 18, 24, 0.92),
      rgba(8, 18, 24, 0.05) 68%
    );
}

.project-card:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.project-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 2rem;
  color: var(--white);
}

.project-card-content > span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--tan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.project-card-content p {
  max-width: 580px;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

/* --------------------------------
   Testimonial
-------------------------------- */

.testimonial-section {
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.testimonial-grid blockquote {
  position: relative;
  padding-left: 3rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  line-height: 1.32;
}

.testimonial-grid blockquote::before {
  content: "“";
  position: absolute;
  top: -2.7rem;
  left: 0;
  color: var(--rust);
  font-size: 7rem;
  line-height: 1;
  opacity: 0.65;
}

.testimonial-grid cite {
  display: block;
  margin-top: 1.5rem;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------
   Contact call to action
-------------------------------- */

.contact-cta {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background:
    linear-gradient(
      115deg,
      var(--rust-dark),
      var(--rust)
    );
  color: var(--white);
}

.contact-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.contact-cta h2 {
  max-width: 800px;
  color: var(--white);
}

/* --------------------------------
   Footer
-------------------------------- */

.site-footer {
  padding-top: 5rem;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) 0.7fr 0.7fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-brand .brand-name {
  color: var(--cream);
}

.footer-brand .brand-subtitle {
  color: var(--tan);
}

.footer-grid > div:first-child > p {
  max-width: 470px;
  margin-top: 1.3rem;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid > div:not(:first-child) a {
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.footer-grid > div:not(:first-child) a:hover,
.footer-grid > div:not(:first-child) a:focus-visible {
  color: var(--tan);
}

.footer-bottom {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
}

/* --------------------------------
   Tablet layout
-------------------------------- */

@media (max-width: 980px) {
  .utility-inner > p {
    display: none;
  }

  .utility-inner {
    justify-content: flex-end;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--cream-light);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 35px rgba(13, 28, 38, 0.12);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
  }

  .primary-nav a:not(.nav-cta)::after {
    display: none;
  }

  .primary-nav .nav-cta {
    margin-top: 1rem;
    padding: 1rem;
    text-align: center;
  }

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

  .trust-grid article:nth-child(3) {
    border-left: 1px solid var(--border);
  }

  .trust-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .intro-grid,
  .process-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .intro-media {
    max-width: 780px;
  }

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

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

  .project-card:nth-child(n) {
    grid-column: span 6;
  }
}

/* --------------------------------
   Mobile layout
-------------------------------- */

@media (max-width: 680px) {
  .site-width {
    width: min(calc(100% - 2rem), var(--site-width));
  }

  .utility-bar {
    display: none;
  }

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

  .brand-name {
    font-size: 1.75rem;
  }

  .brand-subtitle {
    font-size: 0.67rem;
  }

  .hero {
    min-height: 690px;
  }

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(8, 18, 24, 0.92),
        rgba(8, 18, 24, 0.62)
      ),
      linear-gradient(
        0deg,
        rgba(8, 18, 24, 0.55),
        transparent
      );
  }

  .hero-content {
    padding-block: 6rem 8rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .trust-grid article,
  .trust-grid article:first-child,
  .trust-grid article:nth-child(3) {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }

  .intro-media {
    min-height: 470px;
  }

  .intro-media > img {
    width: 100%;
    height: 430px;
  }

  .intro-media::before {
    display: none;
  }

  .experience-card {
    right: 1rem;
    bottom: -1.5rem;
    width: 210px;
    min-height: 145px;
  }

  .intro-copy {
    margin-top: 2rem;
  }

  .process-steps article {
    grid-template-columns: 58px 1fr;
    gap: 1rem;
  }

  .process-steps > article > span {
    font-size: 2rem;
  }

  .projects-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .project-card:nth-child(n) {
    grid-column: auto;
    min-height: 390px;
  }

  .project-card img {
    min-height: 390px;
  }

  .testimonial-grid blockquote {
    padding-left: 1.5rem;
  }

  .contact-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-cta-inner .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.5rem;
  }
}

/* --------------------------------
   Reduced motion
-------------------------------- */

@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;
  }
}

/* ==================================================
   DYNAMIC KEY PICTURES HERO
================================================== */

/*
 * Used when index.json is empty or cannot be loaded.
 * The hero remains styled instead of appearing broken.
 */
.hero.hero-without-images {
  background:
    linear-gradient(
      120deg,
      var(--navy-deep),
      var(--navy-soft)
    );
}

/*
 * The hidden attribute is applied when the hero
 * has zero or one image.
 */
.hero-controls[hidden] {
  display: none;
}


/* ==================================================
   CONTINUOUS PROJECT SCROLLER
================================================== */

.project-grid.project-marquee {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 3rem;
  overflow: hidden;

  /*
   * The soft faded edges make images appear to
   * enter and leave the page more naturally.
   */
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );

  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
}

.project-track {
  display: flex;
  width: max-content;
  will-change: transform;

  animation-name: project-scroll;
  animation-duration: var(
    --project-scroll-time,
    50s
  );
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.project-set {
  display: flex;
  flex: none;
  gap: 1.35rem;
  padding-right: 1.35rem;
}

/*
 * Pause the moving images so visitors can inspect
 * a particular project.
 */
.project-marquee:hover .project-track {
  animation-play-state: paused;
}

.project-marquee:focus-within .project-track {
  animation-play-state: paused;
}

.project-marquee .scrolling-project-card {
  flex: 0 0 clamp(310px, 34vw, 490px);
  min-height: 410px;
  margin: 0;
  grid-column: auto;
}

.project-marquee .scrolling-project-card img {
  width: 100%;
  height: 410px;
  min-height: 410px;
  object-fit: cover;
}

.project-marquee .project-card-content {
  padding: 1.7rem;
}

.project-marquee .project-card-content h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

@keyframes project-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* ==================================================
   MOBILE PROJECT SCROLLER
================================================== */

@media (max-width: 680px) {
  .project-grid.project-marquee {
    /*
     * A smaller fade keeps more of each card visible
     * on narrow screens.
     */
    -webkit-mask-image:
      linear-gradient(
        90deg,
        transparent 0%,
        black 2%,
        black 98%,
        transparent 100%
      );

    mask-image:
      linear-gradient(
        90deg,
        transparent 0%,
        black 2%,
        black 98%,
        transparent 100%
      );
  }

  .project-marquee .scrolling-project-card {
    flex-basis: min(82vw, 370px);
    min-height: 350px;
  }

  .project-marquee .scrolling-project-card img {
    height: 350px;
    min-height: 350px;
  }
}


/* ==================================================
   REDUCED MOTION ACCESSIBILITY
================================================== */

@media (prefers-reduced-motion: reduce) {
  .project-grid.project-marquee {
    overflow-x: auto;
    padding-bottom: 1rem;

    -webkit-mask-image: none;
    mask-image: none;
  }

  .project-track {
    animation: none;
  }

  /*
   * The duplicate row is unnecessary when animation
   * has been disabled.
   */
  .project-set[aria-hidden="true"] {
    display: none;
  }
}


/* ==================================================
   INTERIOR PAGE HERO
================================================== */

.page-hero {
  position: relative;
  padding-block: clamp(5rem, 10vw, 9rem);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(201, 167, 127, 0.17),
      transparent 32%
    ),
    linear-gradient(
      120deg,
      var(--navy-deep),
      var(--navy)
    );
  color: var(--white);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 970px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.page-hero-copy {
  max-width: 720px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}


/* ==================================================
   PORTFOLIO SECTION HEADINGS
================================================== */

.portfolio-featured-section {
  background: var(--cream-light);
}

.portfolio-projects-section {
  background: var(--cream);
}

.portfolio-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: 3rem;
}

.portfolio-section-heading h2 {
  max-width: 780px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.portfolio-section-heading > p {
  color: var(--gray);
}


/* ==================================================
   FEATURED KEY PICTURES GALLERY
================================================== */

.portfolio-gallery-card {
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.key-gallery {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.key-gallery .nav {
  position: relative;
  z-index: 8;
  width: 52px;
  height: 52px;
  background: var(--rust);
  border: 2px solid var(--tan);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.key-gallery .nav:hover,
.key-gallery .nav:focus-visible {
  background: var(--rust-dark);
  transform: scale(1.06);
}

.key-gallery .nav:disabled {
  opacity: 0.4;
  cursor: default;
}

.key-stage {
  position: relative;
  height: clamp(300px, 56vw, 630px);
  overflow: hidden;
  background: var(--navy-deep);
}

.key-frame {
  position: absolute;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  border-radius: 10px;
  transition:
    transform 350ms ease,
    opacity 350ms ease;
}

.key-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.key-frame.hero {
  box-shadow: 0 12px 32px rgba(13, 28, 38, 0.26);
}

.key-frame.prev,
.key-frame.next {
  opacity: 0.88;
}

.key-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.key-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: var(--light-gray);
  border: 1px solid rgba(20, 39, 51, 0.35);
  border-radius: 50%;
  cursor: pointer;
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.key-dot.active {
  width: 30px;
  background: var(--rust);
  border-color: var(--rust);
  border-radius: 999px;
}


/* ==================================================
   INDIVIDUAL PROJECT CARDS
================================================== */

#portfolio-jobs {
  display: grid;
  gap: 2.5rem;
}

.job-card.full-width {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  background: var(--cream-light);
  border: 1px solid var(--border);
  box-shadow: 0 14px 35px rgba(13, 28, 38, 0.09);
}

.job-card.full-width > h3 {
  margin-bottom: 1.5rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.1;
}

.job-card.full-width > p {
  max-width: 850px;
  margin: 1.5rem auto 0;
  color: var(--gray);
  text-align: center;
}

.job-card.full-width .key-gallery {
  margin-block: 1rem;
}

.job-card.full-width .key-stage {
  height: clamp(280px, 48vw, 560px);
}


/* ==================================================
   LIGHTBOX
================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 12, 17, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  background: var(--navy-deep);
  border-radius: 10px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--rust);
}


/* ==================================================
   PORTFOLIO RESPONSIVE STYLES
================================================== */

@media (max-width: 900px) {
  .portfolio-section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1rem;
  }
}

@media (max-width: 780px) {
  .key-gallery {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 0.4rem;
  }

  .key-gallery .nav {
    width: 44px;
    height: 44px;
    font-size: 1.45rem;
  }

  .key-frame.prev,
  .key-frame.next {
    display: none !important;
  }

  .key-frame.hero {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    width: 96% !important;
    height: 96% !important;
    transform: translate(-50%, -50%) !important;
  }

  .key-frame.hero img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
  }
}

@media (max-width: 680px) {
  .page-hero-actions {
    flex-direction: column;
  }

  .page-hero-actions .button {
    width: 100%;
  }

  .portfolio-gallery-card {
    padding: 0.7rem;
  }

  .key-stage {
    height: 360px;
  }

  .job-card.full-width {
    padding: 1rem 0.65rem 1.5rem;
  }

  .job-card.full-width > h3,
  .job-card.full-width > p {
    padding-inline: 0.7rem;
  }

  .job-card.full-width .key-stage {
    height: 330px;
  }
}

/* ==================================================
   CENTER CAROUSEL IMAGES VERTICALLY
   Applies to Key Pictures and regular project galleries
================================================== */

.key-frame.hero img,
.portfolio-gallery-card .key-frame.hero img,
.job-card.full-width .key-frame.hero img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
}

/*
 * Keep the center frame itself aligned to the middle
 * of the carousel stage.
 */
.key-frame.hero {
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}
.projects-list-heading .eyebrow {
  font-size: 2rem;
  text-align: center;
}
.portfolio-featured-section .portfolio-section-heading {
  grid-template-columns: 1fr;
}

.portfolio-featured-section .portfolio-section-heading h2 {
  width: 100%;
  max-width: none;
}
.portfolio-featured-section .portfolio-section-heading .eyebrow {
  font-size: 2rem;
}


/* ==================================================
   ABOUT THE BUILDER PAGE
================================================== */

.builder-profile-section {
  background: var(--cream-light);
}

.builder-profile-grid {
  display: grid;
  grid-template-columns:
    minmax(320px, 0.88fr)
    minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}


/* ==================================================
   BUILDER PLACEHOLDER AND EXPERIENCE CARD
================================================== */

.builder-profile-visual {
  position: relative;
  width: 100%;
  max-width: 570px;
  padding-bottom: 80px;
}

/*
 * This is the temporary builder-photo area.
 * The orange border is attached directly to the square,
 * so it always fits correctly.
 */
.builder-photo-placeholder {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(
      145deg,
      var(--navy-soft),
      var(--navy-deep)
    );
  border: 2px solid var(--rust);
  box-shadow: var(--shadow);
}

.builder-photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(201, 167, 127, 0.28);
}

.builder-photo-placeholder::after {
  content: "CORDER";
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(240, 234, 226, 0.12);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  transform: translate(-50%, -50%);
}

.builder-years-card {
  position: absolute;
  right: -20px;
  bottom: 0;
  z-index: 3;
  width: min(260px, 58%);
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.7rem;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.builder-years-card strong {
  color: var(--tan);
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
}

.builder-years-card span {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.76);
}


/* ==================================================
   BUILDER PROFILE TEXT
================================================== */

.builder-profile-copy h2,
.builder-section-heading h2,
.builder-approach-heading h2 {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.builder-profile-copy > p:not(.eyebrow) {
  margin-top: 1.3rem;
  color: var(--gray);
}

.builder-profile-copy .text-link {
  margin-top: 1.8rem;
}


/* ==================================================
   BUILDER SKILLS
================================================== */

.builder-skills-section {
  background: var(--cream);
}

.builder-section-heading {
  max-width: 850px;
  margin-bottom: 3.5rem;
}

.builder-section-heading > p:last-child {
  max-width: 720px;
  margin-top: 1.1rem;
  color: var(--gray);
}

.builder-section-heading.centered-heading {
  margin-inline: auto;
  text-align: center;
}

.builder-section-heading.centered-heading > p:last-child {
  margin-inline: auto;
}

.builder-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.builder-skill-card {
  min-height: 385px;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--cream-light);
  border: 1px solid var(--border);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.builder-skill-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.builder-skill-number {
  color: var(--rust);
  font-family: var(--serif);
  font-size: 3.3rem;
  line-height: 1;
  opacity: 0.7;
}

.builder-skill-card h3 {
  margin-top: 2rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.15;
}

.builder-skill-card p {
  margin-top: 1rem;
  color: var(--gray);
}

.featured-builder-skill {
  background: var(--navy);
  border-color: var(--navy);
}

.featured-builder-skill .builder-skill-number {
  color: var(--tan);
}

.featured-builder-skill h3 {
  color: var(--white);
}

.featured-builder-skill p {
  color: rgba(255, 255, 255, 0.72);
}


/* ==================================================
   BUILDER APPROACH
================================================== */

.builder-approach-section {
  background: var(--navy);
  color: var(--white);
}

.builder-approach-grid {
  display: grid;
  grid-template-columns:
    minmax(280px, 0.78fr)
    minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.builder-approach-heading {
  align-self: start;
}

.builder-approach-heading h2 {
  color: var(--white);
}

.builder-approach-heading > p:not(.eyebrow) {
  margin-top: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
}

.builder-approach-heading .button {
  margin-top: 2rem;
}

.builder-approach-list {
  display: grid;
}

.builder-approach-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.4rem;
  padding-block: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.builder-approach-list article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.builder-approach-list > article > span {
  color: var(--tan);
  font-family: var(--serif);
  font-size: 2.3rem;
  line-height: 1;
}

.builder-approach-list h3 {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.builder-approach-list p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.68);
}


/* ==================================================
   BUILDER VALUES
================================================== */

.builder-values-section {
  background: var(--cream-light);
}

.builder-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.builder-values-grid article {
  padding: clamp(1.8rem, 4vw, 2.7rem);
  background: var(--white);
  border-top: 4px solid var(--rust);
  box-shadow: 0 12px 30px rgba(13, 28, 38, 0.07);
}

.builder-values-grid h3 {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.65rem;
}

.builder-values-grid p {
  margin-top: 0.8rem;
  color: var(--gray);
}


/* ==================================================
   BUILDER STATEMENT
================================================== */

.builder-statement-section {
  background: var(--cream);
}

.builder-statement-inner {
  max-width: 1000px;
  text-align: center;
}

.builder-statement-inner blockquote {
  margin-top: 1.3rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.3;
}

.builder-statement-inner cite {
  display: block;
  margin-top: 1.8rem;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}


/* ==================================================
   ABOUT PAGE RESPONSIVE STYLES
================================================== */

@media (max-width: 980px) {
  .builder-profile-grid,
  .builder-approach-grid {
    grid-template-columns: 1fr;
  }

  .builder-profile-visual {
    max-width: 650px;
  }

  .builder-skills-grid {
    grid-template-columns: 1fr;
  }

  .builder-skill-card {
    min-height: 290px;
  }
}

@media (max-width: 680px) {
  .builder-profile-visual {
    max-width: 100%;
    padding-bottom: 65px;
  }

  .builder-photo-placeholder {
    width: 100%;
  }

  .builder-photo-placeholder::after {
    font-size: clamp(2rem, 13vw, 4rem);
  }

  .builder-years-card {
    right: 1rem;
    bottom: 0;
    width: 215px;
    min-height: 145px;
    padding: 1.3rem;
  }

  .builder-profile-copy {
    margin-top: 2rem;
  }

  .builder-approach-list article {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .builder-approach-list > article > span {
    font-size: 1.85rem;
  }

  .builder-values-grid {
    grid-template-columns: 1fr;
  }
}



/* ==================================================
   SCHEDULE AND CONTACT PAGE
================================================== */

.schedule-form-section {
  background: var(--cream-light);
}

.schedule-layout {
  display: grid;
  grid-template-columns:
    minmax(280px, 0.78fr)
    minmax(460px, 1.22fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}


/* ==================================================
   SCHEDULE INFORMATION COLUMN
================================================== */

.schedule-info {
  position: sticky;
  top: 130px;
}

.schedule-info h2,
.schedule-form-heading h2,
.schedule-section-heading h2 {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.schedule-info-intro {
  margin-top: 1.25rem;
  color: var(--gray);
}

.schedule-info-list {
  display: grid;
  margin-top: 2rem;
}

.schedule-info-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--border);
}

.schedule-info-list article:last-child {
  border-bottom: 1px solid var(--border);
}

.schedule-info-list > article > span {
  color: var(--rust);
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
}

.schedule-info-list h3 {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.15;
}

.schedule-info-list p {
  margin-top: 0.45rem;
  color: var(--gray);
  font-size: 0.92rem;
}

.schedule-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--navy);
  border-left: 5px solid var(--rust);
  color: var(--white);
}

.schedule-note strong {
  display: block;
  color: var(--tan);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.schedule-note p {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.72);
}


/* ==================================================
   FORM CARD
================================================== */

.schedule-form-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 5px solid var(--rust);
  box-shadow: var(--shadow);
}

.schedule-form-heading {
  margin-bottom: 2rem;
}

.schedule-form-heading h2 {
  font-size: clamp(2rem, 3.7vw, 3.3rem);
}

.schedule-form-heading > p:last-child {
  margin-top: 0.65rem;
  color: var(--gray);
}

.contact-request-form {
  display: grid;
  gap: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-group label,
.contact-method-fieldset legend {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.required {
  color: var(--rust);
}

.contact-request-form input[type="text"],
.contact-request-form input[type="tel"],
.contact-request-form input[type="email"],
.contact-request-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--cream-light);
  border: 1px solid rgba(20, 39, 51, 0.25);
  border-radius: 0;
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.contact-request-form textarea {
  min-height: 190px;
  resize: vertical;
}

.contact-request-form input::placeholder,
.contact-request-form textarea::placeholder {
  color: rgba(95, 102, 107, 0.7);
}

.contact-request-form input:focus,
.contact-request-form textarea:focus {
  background: var(--white);
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(166, 78, 43, 0.14);
  outline: none;
}


/* ==================================================
   CONTACT METHOD OPTIONS
================================================== */

.contact-method-fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.contact-method-fieldset legend {
  margin-bottom: 0.7rem;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.contact-option {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.contact-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-option span {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: var(--cream-light);
  border: 1px solid rgba(20, 39, 51, 0.25);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.contact-option input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.contact-option input:focus-visible + span {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(166, 78, 43, 0.16);
}


/* ==================================================
   SUBMIT BUTTON AND FORM MESSAGES
================================================== */

.submit-btn {
  min-height: 56px;
  padding: 0.85rem 1.6rem;
  background: var(--rust);
  border: 2px solid var(--rust);
  border-radius: 0;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.submit-btn:hover,
.submit-btn:focus-visible {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  transform: translateY(-2px);
}

.form-message {
  min-height: 1.5rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.form-message.error {
  color: #a32929;
}

.form-message.success {
  color: #28733c;
}


/* ==================================================
   WHAT HAPPENS NEXT
================================================== */

.schedule-expectations-section {
  background: var(--cream);
}

.schedule-section-heading {
  max-width: 800px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.schedule-section-heading > p:last-child {
  max-width: 650px;
  margin: 1rem auto 0;
  color: var(--gray);
}

.schedule-expectations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.schedule-expectations-grid article {
  min-height: 280px;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  background: var(--cream-light);
  border: 1px solid var(--border);
}

.schedule-expectations-grid > article > span {
  color: var(--rust);
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1;
}

.schedule-expectations-grid h3 {
  margin-top: 1.5rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.15;
}

.schedule-expectations-grid p {
  margin-top: 0.8rem;
  color: var(--gray);
}


/* ==================================================
   SCHEDULE PAGE RESPONSIVE STYLES
================================================== */

@media (max-width: 980px) {
  .schedule-layout {
    grid-template-columns: 1fr;
  }

  .schedule-info {
    position: static;
  }

  .schedule-info-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .schedule-info-list article {
    display: block;
    padding: 1.4rem;
    border: 1px solid var(--border);
  }

  .schedule-info-list article:last-child {
    border-bottom: 1px solid var(--border);
  }

  .schedule-info-list h3 {
    margin-top: 1rem;
  }
}

@media (max-width: 760px) {
  .schedule-info-list,
  .schedule-expectations-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .schedule-form-card {
    padding: 1.3rem 1rem;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .contact-option span {
    justify-content: flex-start;
    padding-inline: 1rem;
  }
}

