@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400-1.woff2) format('truetype');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-500-2.woff2) format('truetype');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-3.woff2) format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/dm-sans-300-4.woff2) format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-sans-400-5.woff2) format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-sans-500-6.woff2) format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/dm-sans-600-7.woff2) format('truetype');
}

/* Elite Elegance — general site styles.
   Drop into the WordPress theme stylesheet (style.css) or enqueue as-is.
   Showcase-specific styles live in showcase.css. */

:root {
  --background: oklch(0.975 0.008 85);
  --foreground: oklch(0.235 0.014 70);
  --primary: oklch(0.255 0.012 70);
  --primary-foreground: oklch(0.98 0.006 85);
  --secondary: oklch(0.925 0.014 82);
  --muted: oklch(0.94 0.01 82);
  --muted-foreground: oklch(0.5 0.015 70);
  --border: oklch(0.82 0.018 80);
  --hero-foreground: oklch(0.985 0.005 85);
  --brass: oklch(0.59 0.075 75);
  --brass-light: oklch(0.76 0.065 77);
  --footer: oklch(0.195 0.012 65);
  --footer-foreground: oklch(0.95 0.008 85);
  --footer-muted: oklch(0.76 0.012 80);
  --warm: oklch(0.925 0.02 80);
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --shell: 1480px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
blockquote,
p,
figure {
  margin: 0;
}
button {
  font: inherit;
}

.font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.005em;
}

.shell {
  margin-inline: auto;
  max-width: var(--shell);
  padding-inline: 1.25rem;
}
.shell-narrow {
  margin-inline: auto;
  max-width: 1120px;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) {
  .shell,
  .shell-narrow {
    padding-inline: 2rem;
  }
}
@media (min-width: 1024px) {
  .shell,
  .shell-narrow {
    padding-inline: 3rem;
  }
}

.eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.text-brass {
  color: var(--brass);
}
.text-brass-light {
  color: var(--brass-light);
}
.muted {
  color: var(--muted-foreground);
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  color: var(--hero-foreground);
  border-bottom: 1px solid
    color-mix(in oklab, var(--hero-foreground) 20%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
@media (min-width: 1024px) {
  .site-header__inner {
    height: 6rem;
  }
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}
.brand__tag {
  margin-top: 0.35rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: color-mix(in oklab, var(--hero-foreground) 75%, transparent);
}
@media (min-width: 640px) {
  .brand__name {
    font-size: 1.65rem;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
@media (min-width: 640px) {
  .site-nav {
    gap: 2.25rem;
  }
}
.nav-link {
  position: relative;
  padding-block: 0.5rem;
  color: color-mix(in oklab, var(--hero-foreground) 78%, transparent);
  transition: color 250ms ease;
}
.nav-link:hover {
  color: var(--hero-foreground);
}
.nav-link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--brass-light);
  transform: scaleX(0);
  transition: transform 250ms ease;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}
.nav-link.is-active {
  color: var(--hero-foreground);
}

/* ---------- Buttons ---------- */
.button-hero,
.button-primary {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding-inline: 1.4rem;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 200ms ease,
    color 200ms ease;
}
.button-hero {
  border: 1px solid color-mix(in oklab, var(--hero-foreground) 70%, transparent);
  background: transparent;
  color: var(--hero-foreground);
}
.button-hero:hover {
  background: var(--hero-foreground);
  color: var(--foreground);
}
.button-primary {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}
.button-primary:hover {
  background: transparent;
  color: var(--foreground);
}
.icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  background: var(--primary);
  color: var(--hero-foreground);
}
.hero__image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    color-mix(in oklab, var(--footer) 74%, transparent),
    color-mix(in oklab, var(--footer) 28%, transparent) 68%,
    color-mix(in oklab, var(--footer) 42%, transparent)
  );
}
.hero__inner {
  position: relative;
  display: flex;
  min-height: 92svh;
  align-items: flex-end;
  padding-top: 9rem;
  padding-bottom: 5rem;
}
.hero__content {
  max-width: 56rem;
  animation: rise-in 1000ms ease both;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1.02;
}
.hero__lede {
  margin-top: 1.75rem;
  max-width: 42rem;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
  color: color-mix(in oklab, var(--hero-foreground) 85%, transparent);
}
.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero {
  position: relative;
  min-height: 48svh;
  background: var(--primary);
  color: var(--hero-foreground);
}
@media (min-width: 640px) {
  .page-hero {
    min-height: 55svh;
  }
}
.page-hero__inner {
  position: relative;
  display: flex;
  min-height: inherit;
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: 3.5rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 1.05;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    color-mix(in oklab, var(--footer) 75%, transparent),
    color-mix(in oklab, var(--footer) 22%, transparent)
  );
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: 6rem;
}
@media (min-width: 1024px) {
  .section {
    padding-block: 9rem;
  }
}
.section--tight {
  padding-block: 5rem;
}
@media (min-width: 1024px) {
  .section--tight {
    padding-block: 7rem;
  }
}
.section--warm {
  background: var(--warm);
}
.section--dark {
  background: var(--primary);
  color: var(--primary-foreground);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 6rem;
  }
}
.about-grid h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.15;
  max-width: 56rem;
}
.about-body {
  margin-top: 2.25rem;
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
@media (min-width: 768px) {
  .about-body {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 4rem;
  }
}
.about-body p {
  max-width: 42rem;
  font-weight: 300;
  line-height: 2;
  color: var(--muted-foreground);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.section-head h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}
.section-head p {
  max-width: 24rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.project-grid {
  display: grid;
  gap: 2.5rem 1.25rem;
}
@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.project__frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--muted);
}
.project__frame img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}
.project:hover .project__frame img {
  transform: scale(1.025);
}
.project__meta {
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.project__meta h3 {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
}
.project__index {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.services {
  margin-top: 3.5rem;
  display: grid;
  border-block: 1px solid var(--border);
}
@media (min-width: 768px) {
  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.service {
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.service:last-child {
  border-bottom: 0;
}
@media (min-width: 768px) {
  .service {
    border-bottom: 0;
    border-right: 1px solid var(--border);
    padding-inline: 2.25rem;
  }
  .service:first-child {
    padding-left: 0;
  }
  .service:last-child {
    border-right: 0;
    padding-right: 0;
  }
}
.service__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brass);
}
.service h3 {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.9rem;
}
.service p {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.quote {
  margin-inline: auto;
  max-width: 64rem;
  text-align: center;
}
.quote blockquote {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.3;
}
.quote__rule {
  margin: 2.5rem auto 0;
  height: 1px;
  width: 3rem;
  background: var(--brass-light);
}
.quote__name {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.quote__role {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 6rem;
  }
}
.contact-grid h2 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.2;
}
.contact-grid aside > p {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted-foreground);
}
.contact-details {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: grid;
  gap: 1.25rem;
  font-size: 0.9rem;
}
.contact-details a,
.contact-details p {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color 200ms ease;
}
.contact-details a:hover {
  color: var(--brass);
}
.contact-details .icon {
  width: 18px;
  height: 18px;
  color: var(--brass);
}

.contact-form {
  display: grid;
  gap: 1.75rem 1.5rem;
}
@media (min-width: 640px) {
  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .span-2 {
    grid-column: span 2;
  }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.form-field > span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  padding: 0.7rem 0;
  color: var(--foreground);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 200ms ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brass);
}
.form-field ::placeholder {
  color: var(--muted-foreground);
}
.form-field textarea {
  resize: vertical;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer);
  color: var(--footer-foreground);
}
.site-footer__inner {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 0.7fr 1fr;
  }
}
@media (min-width: 1024px) {
  .site-footer__inner {
    padding-block: 5rem;
  }
}
.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
}
.site-footer p.lede {
  margin-top: 0.75rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--footer-muted);
}
.footer-links {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.footer-link {
  color: var(--footer-muted);
  transition: color 200ms ease;
}
.footer-link:hover {
  color: var(--footer-foreground);
}
.footer-contact {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--footer-muted);
}
.footer-contact a,
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-contact .icon {
  width: 16px;
  height: 16px;
}
.socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
}
.social-link {
  display: grid;
  height: 2.35rem;
  width: 2.35rem;
  place-items: center;
  border: 1px solid
    color-mix(in oklab, var(--footer-foreground) 25%, transparent);
  border-radius: 999px;
  color: var(--footer-muted);
  transition:
    border-color 200ms ease,
    color 200ms ease;
}
.social-link:hover {
  border-color: var(--brass-light);
  color: var(--brass-light);
}
.social-link .icon {
  width: 16px;
  height: 16px;
}
.site-footer__base {
  border-top: 1px solid
    color-mix(in oklab, var(--footer-foreground) 10%, transparent);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--footer-muted);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .hero__content {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
