/* =========================================================
   ELVORA — WEBSITE STYLESHEET
   Theme: Cream, Forest Green, Gold
   Direction: Premium, Editorial, Soft-Organic
========================================================= */


/* =========================================================
   1. ROOT VARIABLES & GLOBAL RESET
========================================================= */

:root {
  --cream: #f4f0e8;
  --cream2: #ebe5da;
  --ink: #111714;
  --green: #071e19;
  --green2: #0d2a23;
  --gold: #b58a50;
  --line: rgba(25, 30, 26, .18);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;

  --curve: 28px;
  --curve-large: 48px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.section-shell {
  width: min(1320px, calc(100% - 9.5vw));
  margin: auto;
}


/* =========================================================
   2. HEADER & PRIMARY NAVIGATION
========================================================= */

.site-header {
  height: 76px;
  padding: 0 6.8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;

  background: rgba(244, 240, 232, .94);
  position: sticky;
  top: 0;
  z-index: 20;

  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 25, 20, .06);
}

.wordmark {
  font: 500 27px var(--serif);
  letter-spacing: .28em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: clamp(24px, 4.4vw, 72px);
  font-size: 13px;
}

.main-nav a,
.site-footer nav a {
  transition: opacity .2s;
}

.main-nav a:hover,
.site-footer nav a:hover {
  opacity: .55;
}

.header-cta {
  border: 1px solid #84765f;
  border-radius: 40px;
  padding: 10px 22px;
  font-size: 13px;
  white-space: nowrap;
}

.header-cta span {
  padding-left: 16px;
}

.menu-toggle {
  display: none;
}


/* =========================================================
   3. HERO SECTION
========================================================= */

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  position: relative;
  padding-top: 30px;
  padding-bottom: 38px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 28px 0 0 3.5%;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #916a37;
  margin: 0 0 14px;
  font-weight: 600;
}

.hero h1 {
  font: 400 clamp(48px, 6vw, 86px) / .99 var(--serif);
  letter-spacing: -.055em;
  margin: 0 0 18px;
}

.hero h1 em {
  color: #9a7546;
  font-weight: 400;
}

.hero-intro {
  max-width: 490px;
  font-size: 16px;
  line-height: 1.55;
  color: #42433e;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 25px;
  border-radius: 40px;
  font-size: 13px;
  transition: transform .25s, background .25s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-dark {
  background: var(--green);
  color: #fff;
  min-width: 190px;
}

.button-outline {
  border: 1px solid #8f795d;
  min-width: 175px;
}

.hero-tags {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  font-size: 12px;
  color: #55564f;
}

.hero-tags i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a47b42;
}


/* =========================================================
   4. HERO ARTWORK
========================================================= */

.hero-art {
  height: 480px;
  position: relative;
  overflow: hidden;
}

.art-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 32px solid transparent;
  right: 23%;
  top: 18px;

  background:
    linear-gradient(var(--cream), var(--cream)) padding-box,
    linear-gradient(120deg, #e4c58c, #9a7038, #f3dfb2) border-box;

  box-shadow:
    inset 12px 0 22px #b38d58,
    0 18px 40px #a88a5a22;
}

.art-stone {
  position: absolute;
  background: linear-gradient(125deg, #fffdf8, #c9c0b1 60%, #e8e1d5);
  box-shadow:
    inset 8px 0 18px #fff9,
    14px 20px 35px #4b3c2922;
}

.stone-back {
  width: 210px;
  height: 230px;
  right: 30%;
  bottom: 72px;
  clip-path: polygon(0 7%, 65% 0, 100% 40%, 100% 100%, 0 100%);
  transform: rotate(-4deg);
}

.stone-front {
  width: 270px;
  height: 125px;
  right: 43%;
  bottom: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 3px;
}

.art-plinth {
  position: absolute;
  width: 185px;
  height: 30px;
  right: 18%;
  bottom: 0;
  background: linear-gradient(90deg, #6c4c27, #c5a36b, #70502c);
  box-shadow: 0 12px 22px #0002;
}

.art-plant {
  position: absolute;
  right: 19%;
  bottom: 27px;
  width: 5px;
  height: 300px;
  background: #293b25;
  transform: rotate(4deg);
  transform-origin: bottom;
}

.art-plant b {
  position: absolute;
  width: 70px;
  height: 22px;
  background: linear-gradient(130deg, #0e281e, #43533a);
  border-radius: 100% 0 100% 0;
  transform-origin: left bottom;
}

.art-plant b:nth-child(1) {
  top: 30px;
  left: 0;
  transform: rotate(-55deg);
}

.art-plant b:nth-child(2) {
  top: 70px;
  left: 0;
  transform: rotate(20deg) scaleX(-1);
}

.art-plant b:nth-child(3) {
  top: 110px;
  left: 0;
  transform: rotate(-48deg);
}

.art-plant b:nth-child(4) {
  top: 145px;
  left: 0;
  transform: rotate(25deg) scaleX(-1);
}

.art-plant b:nth-child(5) {
  top: 185px;
  left: 0;
  transform: rotate(-48deg);
}

.art-plant b:nth-child(6) {
  top: 220px;
  left: 0;
  transform: rotate(25deg) scaleX(-1);
}

.art-plant b:nth-child(7) {
  top: 255px;
  left: 0;
  transform: rotate(-45deg);
}

.art-note {
  position: absolute;
  right: 0;
  font-size: 9px;
  line-height: 2.1;
  letter-spacing: .25em;
  border-left: 1px solid #a99a83;
  padding-left: 15px;
}

.note-top {
  top: 62px;
}

.note-bottom {
  bottom: 42px;
}


/* =========================================================
   5. FEATURED WORK SECTION
========================================================= */

.work-section {
  background: var(--green);
  color: #f5f1e8;
  padding: 36px 0 42px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.eyebrow-light {
  color: #d6b985;
}

.work-heading h2,
.services-heading h2,
.process-section h2,
.contact-inner h2 {
  font: 400 clamp(30px, 3.2vw, 43px) / 1.12 var(--serif);
  letter-spacing: -.025em;
  margin: 0;
}

.work-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-left: 5%;
}

.work-intro p {
  max-width: 340px;
  color: #d0d2ca;
  font-size: 13px;
  margin: 0;
}

.carousel-controls {
  display: flex;
  gap: 12px;
}

.carousel-controls button,
.testimonial button {
  width: 40px;
  height: 40px;
  border: 1px solid #a4b1a9;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background .2s;
}

.carousel-controls button:hover,
.testimonial button:hover {
  background: #ffffff1c;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.project-card {
  background: #f5f1e9;
  color: #171a17;
  border-radius: 4px;
  padding: 12px 12px 16px;
  min-width: 0;
  transition: transform .3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: .2em;
  font-weight: 700;
  padding: 0 5px 9px;
}

.project-visual {
  display: block;
  height: 205px;
  background: #e9e7df;
  border: 1px solid #d5d2c9;
  border-radius: 3px;
  overflow: hidden;
  padding: 7px;
}


/* =========================================================
   6. PROJECT MOCKUP — SHARED BROWSER
========================================================= */

.mock-browser {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 8px #0001;
}

.browser-bar {
  height: 19px;
  background: #e7e6e1;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  color: #7e807a;
  font-size: 7px;
}

.browser-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #aaa;
}

.browser-bar span {
  margin: auto;
}


/* =========================================================
   7. PROJECT MOCKUP — DENTOCARE
========================================================= */

.dental-nav {
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 9px;
  color: #163b37;
  font-weight: 700;
}

.dental-nav small {
  font-size: 6px;
  color: #555;
  font-weight: 400;
}

.dental-nav b {
  font-size: 6px;
  background: #0d6257;
  color: white;
  padding: 5px;
}

.dental-content {
  height: 125px;
  background: #e9f4f2;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 18px;
}

.dental-content small {
  font-size: 5px;
  letter-spacing: .1em;
  color: #418076;
}

.dental-content strong {
  display: block;
  font: 17px / 1.12 var(--serif);
  color: #174f49;
  margin: 3px 0;
}

.dental-content p {
  font-size: 6px;
  margin: 0 0 7px;
}

.dental-content label {
  font-size: 6px;
  background: #0d6257;
  color: white;
  padding: 5px;
}

.smile-photo {
  width: 95px;
  height: 110px;
  border-radius: 50% 50% 5px 5px;
  background: linear-gradient(145deg, #e8c7aa, #f7e6d4 50%, #4f8b85);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 48px;
}

.dental-foot {
  font-size: 6px;
  color: #58645f;
  text-align: center;
  padding: 7px;
}


/* =========================================================
   8. PROJECT MOCKUP — VELORA FRAGRANCE
========================================================= */

.dark-browser {
  background: #10100e;
  color: #eee;
}

.fragrance-nav {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  font: 12px var(--serif);
  letter-spacing: .15em;
  color: #d5bc8b;
}

.fragrance-nav small {
  font: 6px var(--sans);
  letter-spacing: 0;
}

.fragrance-content {
  height: 145px;
  background: radial-gradient(ellipse at 80% 80%, #59442d, #11100e 65%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 20px;
}

.fragrance-content small {
  font-size: 5px;
  letter-spacing: .2em;
  color: #c6a36e;
}

.fragrance-content strong {
  display: block;
  font: 21px / 1.05 var(--serif);
  margin: 7px 0 12px;
}

.fragrance-content label {
  background: #e8d9bd;
  color: #201b14;
  padding: 6px 9px;
  font-size: 6px;
}

.perfume {
  width: 58px;
  height: 82px;
  position: relative;
  margin-right: 14px;
  margin-top: 20px;
}

.perfume .cap {
  height: 20px;
  width: 25px;
  background: linear-gradient(90deg, #151515, #4b4b49, #080808);
  margin: auto;
}

.perfume .bottle {
  height: 60px;
  background: linear-gradient(90deg, #9c7137, #d9b878, #5b3e1e);
  border: 2px solid #a77a3c;
  border-radius: 5px 5px 9px 9px;
  text-align: center;
  padding-top: 18px;
  font: 7px var(--serif);
  color: #1b1309;
  box-shadow: 0 0 15px #c29a4b66;
}

.bottle small {
  font-size: 5px;
}


/* =========================================================
   9. PROJECT MOCKUP — TASKHUB DASHBOARD
========================================================= */

.dash-layout {
  height: calc(100% - 19px);
  display: flex;
  color: #252e31;
}

.dash-layout aside {
  width: 25%;
  background: #f0f4f3;
  padding: 13px 7px;
  font-size: 9px;
  font-weight: 700;
}

.dash-layout aside small {
  display: block;
  font-size: 7px;
  line-height: 2.5;
  font-weight: 400;
  margin-top: 12px;
}

.dash-main {
  padding: 10px;
  width: 75%;
  font-size: 8px;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  margin-bottom: 12px;
}

.dash-main > strong {
  font-size: 12px;
}

.dash-stats {
  display: flex;
  gap: 5px;
  margin: 12px 0;
}

.dash-stats span {
  flex: 1;
  border: 1px solid #e7e9e8;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 600;
}

.dash-stats small {
  display: block;
  font-size: 6px;
  font-weight: 400;
}

.dash-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 7px;
}

.dash-bottom svg {
  width: 100%;
  height: 40px;
  margin-top: 10px;
}


/* =========================================================
   10. PROJECT CARD TEXT & LINKS
========================================================= */

.project-card h3 {
  font: 23px var(--serif);
  margin: 8px 4px 0;
}

.project-card > p {
  font-size: 12px;
  line-height: 1.4;
  color: #4c4d48;
  margin: 2px 4px 7px;
  max-width: 290px;
}

.text-link {
  font-size: 12px;
  border-bottom: 1px solid #9b825e;
  padding-bottom: 3px;
  display: inline-flex;
  gap: 12px;
  margin: 0 4px;
}

.text-link span {
  font-size: 16px;
  line-height: 12px;
}


/* =========================================================
   11. SERVICES SECTION
========================================================= */

.services-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.services-heading {
  grid-template-columns: 1.1fr 1fr auto;
  gap: 45px;
  align-items: center;
}

.services-heading > p {
  max-width: 370px;
  font-size: 13px;
  line-height: 1.5;
  margin: 15px 0 0;
  color: #44463f;
}

.services-heading > .text-link {
  white-space: nowrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

.service-card {
  padding: 0 30px;
  min-height: 155px;
  border-right: 1px solid var(--line);
}

.service-card:first-child {
  padding-left: 0;
}

.service-card:last-child {
  border: 0;
}

.service-icon {
  font: 30px var(--serif);
  color: #9d7037;
  display: block;
  height: 40px;
}

.service-card h3 {
  font: 21px var(--serif);
  margin: 8px 0 4px;
}

.service-card p {
  font-size: 13px;
  line-height: 1.45;
  color: #5b5c55;
  margin: 0 0 8px;
  max-width: 220px;
}

.service-card > a {
  font-size: 12px;
  border-bottom: 1px solid #b8a58b;
  padding-bottom: 3px;
}


/* =========================================================
   12. PROCESS SECTION
========================================================= */

.process-section {
  background: var(--green);
  color: #f5f1e8;
  padding: 43px 0 47px;
}

.process-section h2 {
  margin-top: -5px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  position: relative;
}

.process-step > span {
  font: 28px var(--serif);
  color: #d9bb8b;
}

.process-step h3 {
  font: 16px var(--serif);
  margin: 2px 0 3px;
}

.process-step p {
  font-size: 11px;
  line-height: 1.5;
  color: #c5ccc6;
  margin: 0;
  max-width: 190px;
}

.process-step > b {
  font-size: 24px;
  font-weight: 400;
  margin-left: auto;
  color: #d5b985;
}


/* =========================================================
   13. TESTIMONIAL SECTION
========================================================= */

.testimonial-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.testimonial {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 28px;
  margin: 5px 0 0;
}

.testimonial blockquote {
  font: clamp(21px, 2.5vw, 31px) / 1.22 var(--serif);
  max-width: 850px;
  margin: 0;
}

.testimonial blockquote em {
  font-weight: 400;
}

.testimonial button {
  color: #85663d;
  border-color: #d7c7ad;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 70px;
  margin-top: 12px;
  font-size: 12px;
}

.client-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(140deg, #d4a77e, #61412c);
  display: grid;
  place-items: center;
  color: white;
  font-size: 10px;
}

.client-info strong,
.client-info span {
  display: block;
}

.client-info span {
  font-size: 11px;
  color: #77766e;
}

.stars {
  color: #b5894d;
  letter-spacing: 2px;
  margin-left: 10px;
}

.quote-aside {
  margin-left: auto;
  border-left: 1px solid #b99c70;
  padding: 0 0 0 32px;
  font-size: 9px;
  line-height: 2.1;
  letter-spacing: .25em;
  color: #5c5142;
}


/* =========================================================
   14. CONTACT SECTION
========================================================= */

.contact-section {
  background: linear-gradient(110deg, #07120f, #0c0e0d 55%, #171511);
  color: #f4f0e8;
  position: relative;
  overflow: hidden;
  padding: 44px 0 48px;
}

.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 100%, #8d795022, transparent 45%),
    linear-gradient(120deg, transparent 65%, #ffffff08);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-left: 16%;
}

.contact-inner h2 {
  font-size: clamp(35px, 4vw, 53px);
}

.contact-copy {
  max-width: 380px;
}

.contact-copy p {
  font-size: 13px;
  color: #d5d4ce;
  margin: 0 0 18px;
}

.button-gold {
  background: linear-gradient(110deg, #b28a53, #d0ad78);
  color: #1c1a15;
  min-width: 145px;
}

.contact-plant {
  position: absolute;
  left: -35px;
  bottom: -95px;
  font-size: 250px;
  color: #294236;
  transform: rotate(-30deg);
  opacity: .45;
}


/* =========================================================
   15. FOOTER
========================================================= */

.site-footer {
  background: #080a09;
  color: #f4f0e8;
  padding: 20px 6.5% 16px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ffffff25;
}

.wordmark-footer {
  font-size: 21px;
}

.site-footer nav {
  display: flex;
  gap: clamp(20px, 4vw, 55px);
  font-size: 12px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  font-size: 12px;
  border: 1px solid #ffffff55;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  font-size: 10px;
  color: #b6b6b0;
}

.footer-bottom div {
  display: flex;
  gap: 26px;
}

.footer-bottom a:hover {
  color: #fff;
}


/* =========================================================
   16. SCROLL REVEAL ANIMATION
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

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


/* =========================================================
   17. RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {
  .section-shell {
    width: calc(100% - 8vw);
  }

  .site-header {
    padding: 0 4%;
    gap: 15px;
  }

  .main-nav {
    gap: 20px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-art {
    transform: scale(.9);
    transform-origin: center;
  }

  .hero h1 {
    font-size: clamp(48px, 7vw, 70px);
  }

  .project-visual {
    height: 175px;
  }

  .services-heading {
    gap: 22px;
  }

  .service-card {
    padding: 0 18px;
  }

  .contact-inner {
    padding-left: 8%;
  }
}


/* =========================================================
   18. RESPONSIVE — MOBILE BASE LAYOUT
========================================================= */

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

  .site-header {
    height: 68px;
    padding: 0 5%;
  }

  .wordmark {
    font-size: 23px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: none;
    padding: 10px;
    margin-left: auto;
  }

  .menu-toggle span {
    width: 23px;
    height: 1px;
    background: #17201b;
    display: block;
  }

  .header-cta {
    padding: 8px 12px;
    font-size: 11px;
  }

  .header-cta span {
    padding-left: 5px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 18px 6%;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 20px #0000000d;
  }

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

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 38px;
    padding-bottom: 0;
    min-height: 0;
  }

  .hero-copy {
    padding: 0 0 0 1%;
  }

  .hero h1 {
    font-size: clamp(48px, 12vw, 68px);
  }

  .hero-intro {
    font-size: 14px;
    max-width: 430px;
  }

  .hero-actions {
    gap: 9px;
    flex-wrap: wrap;
  }

  .button {
    padding: 12px 17px;
    font-size: 12px;
  }

  .button-dark,
  .button-outline {
    min-width: 0;
  }

  .hero-tags {
    margin-top: 23px;
  }

  .hero-art {
    height: 330px;
    width: 100%;
    transform: scale(.88);
    transform-origin: top center;
    margin-top: 18px;
    margin-bottom: -30px;
  }

  .art-orb {
    right: 24%;
    width: 175px;
    height: 175px;
    border-width: 25px;
  }

  .stone-back {
    right: 28%;
    width: 170px;
    height: 175px;
    bottom: 55px;
  }

  .stone-front {
    right: 40%;
    width: 210px;
    height: 90px;
  }

  .art-plant {
    right: 17%;
    height: 235px;
  }

  .art-note {
    font-size: 7px;
  }

  .note-top {
    top: 40px;
  }

  .note-bottom {
    bottom: 22px;
  }

  .work-section {
    padding: 32px 0;
  }

  .section-heading {
    display: block;
  }

  .work-heading h2,
  .services-heading h2,
  .process-section h2 {
    font-size: 34px;
  }

  .work-intro {
    padding: 15px 0 0;
    align-items: center;
  }

  .work-intro p {
    font-size: 12px;
  }

  .project-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    gap: 13px;
  }

  .project-card {
    flex: 0 0 min(85vw, 360px);
    scroll-snap-align: start;
  }

  .project-visual {
    height: 205px;
  }

  .carousel-controls {
    display: none;
  }

  .services-section {
    padding-top: 43px;
    padding-bottom: 42px;
  }

  .services-heading > p {
    margin: 14px 0;
  }

  .services-heading > .text-link {
    display: inline-flex;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
    margin-top: 30px;
  }

  .service-card {
    padding: 0 15px;
    min-height: 0;
  }

  .service-card:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--line);
  }

  .service-card:nth-child(even) {
    border: 0;
  }

  .service-card h3 {
    font-size: 19px;
  }

  .service-card p {
    font-size: 12px;
  }

  .process-section {
    padding: 35px 0;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 18px;
  }

  .process-step {
    gap: 8px;
  }

  .process-step > span {
    font-size: 25px;
  }

  .process-step > b {
    display: none;
  }

  .testimonial-section {
    padding: 28px 0;
  }

  .testimonial {
    grid-template-columns: 28px 1fr 28px;
    gap: 10px;
  }

  .testimonial button {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .testimonial blockquote {
    font-size: 22px;
  }

  .client-info {
    margin-left: 38px;
    flex-wrap: wrap;
  }

  .quote-aside {
    display: none;
  }

  .contact-section {
    padding: 37px 0;
  }

  .contact-inner {
    display: block;
    padding-left: 0;
  }

  .contact-inner h2 {
    font-size: 42px;
  }

  .contact-copy {
    margin-top: 20px;
  }

  .contact-plant {
    font-size: 160px;
    left: auto;
    right: -40px;
    bottom: -75px;
  }

  .footer-top {
    flex-wrap: wrap;
  }

  .site-footer nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
  }

  .social-links {
    margin-left: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom div {
    gap: 15px;
    flex-wrap: wrap;
  }

  .footer-bottom span:last-child {
    margin-left: auto;
  }
}


/* =========================================================
   19. ACCESSIBILITY — REDUCED MOTION
========================================================= */

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

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


/* =========================================================
   20. PREMIUM FOREST-GREEN NAVIGATION UPDATE
========================================================= */

.site-header {
  background: rgba(7, 30, 25, 0.97);
  color: #f5f1e8;
  border-bottom: 1px solid rgba(213, 185, 133, 0.22);
  box-shadow: 0 8px 28px rgba(5, 18, 14, 0.10);
}

.site-header .wordmark {
  color: #f5f1e8;
  letter-spacing: .32em;
  font-size: 25px;
}

.site-header .main-nav a {
  color: rgba(245, 241, 232, .82);
  position: relative;
  padding: 8px 0;
}

.site-header .main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 1px;
  background: #c9a36d;
  transition: right .25s ease;
}

.site-header .main-nav a:hover {
  color: #fff;
  opacity: 1;
}

.site-header .main-nav a:hover::after {
  right: 0;
}

.site-header .header-cta {
  color: #f5f1e8;
  border-color: rgba(213, 185, 133, .72);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.site-header .header-cta:hover {
  background: #c5a16d;
  color: #10231d;
  border-color: #c5a16d;
}

.site-header .menu-toggle span {
  background: #f5f1e8;
}

@media (max-width: 680px) {
  .site-header .main-nav {
    background: #071e19;
    border-bottom: 1px solid rgba(213, 185, 133, .22);
    box-shadow: 0 16px 25px rgba(0, 0, 0, .2);
  }

  .site-header .main-nav a {
    color: #f5f1e8;
    border-bottom-color: rgba(245, 241, 232, .12);
  }

  .site-header .main-nav a:hover {
    color: #d9bb8b;
  }

  .site-header .menu-toggle {
    background: transparent;
  }
}


/* =========================================================
   21. EDITORIAL POLISH & TYPOGRAPHY
========================================================= */

.site-header {
  height: 82px;
  padding-inline: clamp(22px, 6.8%, 104px);

  background:
    radial-gradient(ellipse at 12% -60%, rgba(192, 158, 103, .16), transparent 55%),
    linear-gradient(105deg, #061b16 0%, #0b2b23 52%, #071e19 100%);

  border-bottom: 1px solid rgba(211, 180, 127, .34);
  box-shadow: 0 10px 30px rgba(4, 19, 14, .16);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 6.8%;
  right: 6.8%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208, 174, 119, .62), transparent);
  pointer-events: none;
}

.site-header .wordmark {
  font-size: 26px;
  letter-spacing: .34em;
  text-shadow: 0 1px 18px rgba(215, 188, 143, .12);
}

.site-header .main-nav {
  align-items: center;
  gap: clamp(18px, 3.1vw, 46px);
}

.site-header .main-nav a {
  color: rgba(248, 245, 237, .78);
  font-size: 12px;
  letter-spacing: .055em;
  padding: 10px 1px;
  transition: color .25s ease, transform .25s ease;
}

.site-header .main-nav a::before {
  content: "✳";
  display: inline-block;
  color: #c6a16c;
  font-size: 8px;
  margin-right: 7px;
  opacity: 0;
  transform: translateY(-2px) scale(.65);
  transition: opacity .25s ease, transform .25s ease;
}

.site-header .main-nav a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.site-header .main-nav a:hover::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-header .main-nav a::after {
  height: 1px;
  background: linear-gradient(90deg, #d5b47f, #f0dfbd);
  bottom: 3px;
}

.site-header .header-cta {
  padding: 11px 18px 11px 21px;
  border: 1px solid rgba(211, 180, 127, .72);
  background: rgba(239, 225, 199, .045);
  color: #f7f1e6;
  font-size: 11px;
  letter-spacing: .045em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.site-header .header-cta span {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-left: 10px;
  padding: 0;
  border-radius: 50%;
  background: #c7a16c;
  color: #10251e;
  transition: transform .25s ease;
}

.site-header .header-cta:hover {
  background: #d0ae7b;
  color: #10251e;
  border-color: #d0ae7b;
}

.site-header .header-cta:hover span {
  transform: translate(2px, -2px);
}


/* =========================================================
   22. EDITORIAL HEADLINES & ACCENT DETAILS
========================================================= */

.hero h1,
.work-heading h2,
.services-heading h2,
.process-section h2,
.contact-inner h2 {
  letter-spacing: -.045em;
}

.hero h1 em,
.services-heading h2 em,
.contact-inner h2 em {
  color: #a47c49;
  font-style: italic;
  text-shadow: 0 8px 28px rgba(151, 111, 59, .10);
}

.hero h1 {
  max-width: 700px;
}

.hero-intro {
  max-width: 470px;
  line-height: 1.72;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  letter-spacing: .25em;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .75;
}

.work-heading h2 em,
.process-section h2 em {
  color: #d7b985;
}

.work-heading h2 {
  max-width: 520px;
}

.project-card h3 {
  letter-spacing: -.025em;
}

.service-card h3 {
  letter-spacing: -.02em;
}

.service-card:hover .service-icon {
  transform: translateY(-4px) rotate(-5deg);
}

.service-icon {
  transition: transform .25s ease;
}

.process-step h3 {
  letter-spacing: .015em;
}

.testimonial blockquote {
  letter-spacing: -.025em;
}

.contact-inner h2 em {
  color: #d3b17d;
}

.button {
  letter-spacing: .015em;
}

.button-dark {
  box-shadow: 0 8px 20px rgba(5, 24, 18, .12);
}

.button-dark:hover {
  background: #173b30;
}


/* =========================================================
   23. MOBILE NAVIGATION & TYPOGRAPHY POLISH
========================================================= */

@media (max-width: 680px) {
  .site-header {
    height: 70px;
  }

  .site-header::after {
    left: 5%;
    right: 5%;
  }

  .site-header .wordmark {
    font-size: 22px;
    letter-spacing: .27em;
  }

  .site-header .main-nav {
    top: 70px;
    padding: 12px 6%;
  }

  .site-header .main-nav a {
    padding: 14px 0;
  }

  .site-header .main-nav a::before {
    opacity: .8;
    transform: none;
  }

  .site-header .header-cta {
    padding: 8px 10px 8px 13px;
  }

  .site-header .header-cta span {
    width: 18px;
    height: 18px;
    margin-left: 5px;
  }

  .hero h1 {
    line-height: 1.02;
  }

  .eyebrow {
    font-size: 9px;
  }
}


/* =========================================================
   24. SOFT-ORGANIC DESIGN DIRECTION
========================================================= */

.site-header {
  margin: 14px auto 0;
  width: min(1440px, calc(100% - 36px));
  height: 76px;
  padding: 0 clamp(20px, 4.2vw, 64px);
  border: 1px solid rgba(211, 180, 127, .3);
  border-radius: 22px;
  overflow: visible;
}

.site-header::after {
  display: none;
}

.site-header .header-cta {
  border-radius: 999px;
}

.site-header .main-nav a {
  border-radius: 999px;
}

.hero {
  padding-top: 55px;
  padding-bottom: 65px;
}

.hero-copy {
  padding: 30px 0 30px 4%;
}

.hero-art {
  border-radius: 48% 52% 44% 56% / 44% 42% 58% 56%;
  background:
    radial-gradient(ellipse at 68% 30%, rgba(208, 179, 132, .32), transparent 42%),
    radial-gradient(ellipse at 34% 83%, rgba(16, 55, 42, .10), transparent 44%);
}

.art-orb {
  border-radius: 44% 56% 52% 48%;
  transform: rotate(-18deg);
}

.art-stone {
  border-radius: 48% 52% 12% 12% / 20% 18% 8% 8%;
}

.stone-back {
  clip-path: none;
  border-radius: 48% 52% 16% 16% / 22% 20% 8% 8%;
}

.stone-front {
  clip-path: none;
  border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px;
}

.art-plinth {
  border-radius: 50% 50% 5px 5px / 35% 35% 5px 5px;
}

.art-note {
  border-left: 0;
  border-radius: 999px;
  background: rgba(244, 240, 232, .72);
  padding: 9px 14px;
}

.note-top {
  right: 1%;
}

.note-bottom {
  right: 0;
}


/* =========================================================
   25. ORGANIC WORK CARDS & SERVICE STYLING
========================================================= */

.work-section {
  border-radius: 54px 54px 0 0;
  margin-top: -2px;
  padding-top: 54px;
  padding-bottom: 58px;
}

.project-card {
  border-radius: 18px;
  padding: 13px 13px 19px;
}

.project-visual {
  border-radius: 13px;
}

.project-card:nth-child(1) .project-visual {
  border-radius: 13px 13px 13px 42px;
}

.project-card:nth-child(2) .project-visual {
  border-radius: 42px 13px 42px 13px;
}

.project-card:nth-child(3) .project-visual {
  border-radius: 13px 42px 13px 42px;
}

.services-section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.service-card {
  border-right: 0;
  border-left: 1px solid var(--line);
  padding: 5px 25px 8px;
}

.service-card:first-child {
  border-left: 0;
  padding-left: 0;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px 17px 17px 5px;
  background: #e8e0d2;
  font-size: 25px;
}

.service-card:hover .service-icon {
  border-radius: 50%;
}


/* =========================================================
   26. ORGANIC PROCESS & TESTIMONIAL DETAILS
========================================================= */

.process-section {
  border-radius: 54px;
  margin: 0 18px;
  padding: 55px 0 60px;
}

.process-step {
  padding: 20px 18px;
  border: 1px solid rgba(245, 241, 232, .13);
  border-radius: 20px 20px 20px 5px;
  min-height: 135px;
  transition: background .25s ease, border-radius .25s ease, transform .25s ease;
}

.process-step:hover {
  background: rgba(255, 255, 255, .045);
  border-radius: 20px 5px 20px 20px;
  transform: translateY(-3px);
}

.testimonial-section {
  padding-top: 55px;
  padding-bottom: 55px;
}

.testimonial blockquote {
  background: #ebe5da;
  border-radius: 8px 34px 8px 34px;
  padding: 28px 34px;
}

.testimonial button {
  flex-shrink: 0;
}

.client-avatar {
  border-radius: 45% 55% 55% 45%;
}


/* =========================================================
   27. ORGANIC CONTACT & FOOTER DETAILS
========================================================= */

.contact-section {
  border-radius: 54px 54px 0 0;
  overflow: hidden;
}

.contact-inner h2 em {
  display: inline-block;
}

.button {
  border-radius: 999px;
}

.button-dark:hover,
.button-gold:hover {
  transform: translateY(-3px) scale(1.015);
}

.site-footer {
  border-radius: 0;
}


/* =========================================================
   28. RESPONSIVE — TABLET ORGANIC ADJUSTMENTS
========================================================= */

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .process-section {
    margin-inline: 12px;
    border-radius: 36px;
  }
}


/* =========================================================
   29. RESPONSIVE — MOBILE ORGANIC ADJUSTMENTS
========================================================= */

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    height: 66px;
    border-radius: 18px;
    padding-inline: 16px;
  }

  .site-header .main-nav {
    top: 74px;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 18px;
    padding: 12px 18px;
  }

  .hero {
    padding-top: 35px;
    padding-bottom: 20px;
  }

  .hero-art {
    border-radius: 46% 54% 40% 60% / 35% 42% 58% 65%;
  }

  .work-section {
    border-radius: 32px 32px 0 0;
    padding-top: 36px;
  }

  .services-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .service-card {
    border-left: 0;
    padding: 0 10px 0 0;
  }

  .service-card:first-child {
    padding-left: 0;
  }

  .process-section {
    margin-inline: 8px;
    padding: 36px 0;
    border-radius: 30px;
  }

  .process-step {
    padding: 15px 12px;
    border-radius: 16px 16px 16px 5px;
    min-height: 125px;
  }

  .testimonial-section {
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .testimonial blockquote {
    padding: 20px 17px;
    border-radius: 7px 24px 7px 24px;
  }

  .contact-section {
    border-radius: 32px 32px 0 0;
  }
}

/* =========================================================
   ELVORA — ENHANCED COMPONENT ANIMATIONS
   Append this section at the end of styles.css
========================================================= */

:root {
  --elvora-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --elvora-fast: 220ms;
  --elvora-medium: 450ms;
  --elvora-slow: 750ms;
}

/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 750ms var(--elvora-ease),
    transform 750ms var(--elvora-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* =========================================
   HERO ARTWORK ANIMATION
========================================= */

.hero-art .art-orb {
  animation: elvoraOrbFloat 7s ease-in-out infinite;
  transform-origin: center;
}

.hero-art .stone-back {
  animation: elvoraStoneFloat 8s ease-in-out infinite;
}

.hero-art .stone-front {
  animation: elvoraStoneFloat 8s ease-in-out infinite reverse;
}

.hero-art .art-plant {
  animation: elvoraPlantSway 6s ease-in-out infinite;
  transform-origin: bottom center;
}

.hero-art .art-plinth {
  animation: elvoraPlinthReveal 1.1s var(--elvora-ease) both;
}

@keyframes elvoraOrbFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(5deg);
  }
}

@keyframes elvoraStoneFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

@keyframes elvoraPlantSway {
  0%,
  100% {
    rotate: 0deg;
  }

  50% {
    rotate: 2deg;
  }
}

@keyframes elvoraPlinthReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.project-card {
  position: relative;
  cursor: pointer;
  transform: translateY(0);
  transition:
    transform 500ms var(--elvora-ease),
    box-shadow 500ms ease;
  will-change: transform;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
}

.project-visual {
  position: relative;
  transition:
    border-color 350ms ease,
    box-shadow 350ms ease;
}

.project-card:hover .project-visual {
  border-color: rgba(181, 138, 80, 0.75);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.project-card .mock-browser {
  transition: transform 700ms var(--elvora-ease);
  transform-origin: center;
}

.project-card:hover .mock-browser {
  transform: scale(1.025);
}

.project-card h3 {
  transition:
    color 300ms ease,
    transform 350ms var(--elvora-ease);
}

.project-card:hover h3 {
  color: #936d3e;
  transform: translateX(3px);
}

.project-card .text-link {
  transition:
    color 300ms ease,
    gap 300ms ease;
}

.project-card .text-link span {
  display: inline-block;
  transition: transform 300ms var(--elvora-ease);
}

.project-card:hover .text-link span {
  transform: translateX(5px);
}

/* =========================================
   SERVICE CARDS
========================================= */

.service-card {
  position: relative;
  padding-top: 12px;
  padding-bottom: 12px;
  transition:
    transform 450ms var(--elvora-ease),
    background-color 350ms ease,
    border-color 350ms ease;
}

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

.service-icon {
  display: inline-block;
  transform-origin: center;
  transition:
    transform 500ms var(--elvora-ease),
    color 350ms ease;
}

.service-card:hover .service-icon {
  color: #c09a64;
  transform: translateY(-5px) rotate(-8deg) scale(1.12);
}

.service-card h3 {
  transition: color 300ms ease;
}

.service-card:hover h3 {
  color: #936d3e;
}

.service-card > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    gap 300ms var(--elvora-ease),
    color 300ms ease;
}

.service-card:hover > a {
  gap: 11px;
  color: #936d3e;
}

/* =========================================
   BUTTONS AND CLICKABLE LINKS
========================================= */

.button,
.header-cta,
.carousel-controls button,
.testimonial button {
  position: relative;
  overflow: hidden;
  transition:
    transform 280ms var(--elvora-ease),
    box-shadow 280ms ease,
    background-color 280ms ease,
    color 280ms ease;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-3px);
}

.button:active,
.header-cta:active,
.button.is-pressed,
.header-cta.is-pressed {
  transform: scale(0.97);
}

.button span,
.header-cta span {
  display: inline-block;
  transition: transform 300ms var(--elvora-ease);
}

.button:hover span,
.header-cta:hover span {
  transform: translateX(4px);
}

.button-dark:hover {
  background: #174234;
  box-shadow: 0 12px 28px rgba(7, 30, 25, 0.2);
}

.button-outline:hover {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.button-gold:hover {
  box-shadow: 0 12px 28px rgba(181, 138, 80, 0.2);
  filter: brightness(1.08);
}

/* =========================================
   NAVIGATION LINKS
========================================= */

.main-nav a,
.site-footer nav a {
  transition:
    color 250ms ease,
    opacity 250ms ease,
    transform 250ms var(--elvora-ease);
}

.site-footer nav a:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: #d9bb8b;
}

/* =========================================
   PROCESS STEPS
========================================= */

.process-step {
  transition: transform 450ms var(--elvora-ease);
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-step > span {
  display: inline-block;
  transition:
    color 300ms ease,
    transform 400ms var(--elvora-ease);
}

.process-step:hover > span {
  color: #f0d5a7;
  transform: scale(1.08);
}

.process-step > b {
  display: inline-block;
  transition: transform 350ms var(--elvora-ease);
}

.process-step:hover > b {
  transform: translateX(6px);
}

/* =========================================
   CAROUSEL CONTROLS
========================================= */

.carousel-controls button,
.testimonial button {
  transition:
    transform 250ms var(--elvora-ease),
    background-color 250ms ease,
    color 250ms ease,
    border-color 250ms ease;
}

.carousel-controls button:hover,
.testimonial button:hover {
  transform: scale(1.08);
}

.carousel-controls button:active,
.testimonial button:active {
  transform: scale(0.94);
}

/* =========================================
   TESTIMONIAL
========================================= */

.testimonial blockquote {
  transition: opacity 350ms ease;
}

.client-avatar {
  transition:
    transform 350ms var(--elvora-ease),
    box-shadow 350ms ease;
}

.client-info:hover .client-avatar {
  transform: scale(1.08);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-section::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -120px;
  top: -160px;
  border: 1px solid rgba(213, 185, 133, 0.13);
  border-radius: 50%;
  pointer-events: none;
  animation: elvoraContactOrb 12s linear infinite;
}

@keyframes elvoraContactOrb {
  from {
    transform: rotate(0deg) scale(1);
  }

  to {
    transform: rotate(360deg) scale(1.08);
  }
}

.contact-plant {
  animation: elvoraPlantSway 8s ease-in-out infinite;
  transform-origin: bottom center;
}

/* =========================================
   SOCIAL LINKS
========================================= */

.social-links a {
  transition:
    transform 300ms var(--elvora-ease),
    background-color 300ms ease,
    border-color 300ms ease,
    color 300ms ease;
}

.social-links a:hover {
  transform: translateY(-4px);
  background: #c5a16d;
  border-color: #c5a16d;
  color: #071e19;
}

/* =========================================
   ACCESSIBILITY — KEYBOARD FOCUS
========================================= */

a:focus-visible,
button:focus-visible {
  outline: 2px solid #c5a16d;
  outline-offset: 4px;
}

/* =========================================
   MOBILE MENU ANIMATION
========================================= */

@media (max-width: 680px) {
  .main-nav {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 250ms ease,
      transform 250ms var(--elvora-ease);
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
  }

  .menu-toggle span {
    transition:
      transform 250ms var(--elvora-ease),
      opacity 200ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .project-card:hover {
    transform: none;
  }

  .service-card:hover {
    transform: translateY(-3px);
  }
}

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

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

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

/* =========================================
   ELVORA — PREMIUM FOOTER
========================================= */

footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 7% 28px;
  background: #173b32;
  color: #f5f0e6;
  border-radius: 28px 28px 0 0;
}

/* Soft decorative glow */
footer::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -130px;
  top: -230px;
  border-radius: 50%;
  background: rgba(210, 174, 112, 0.12);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

footer::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -150px;
  bottom: -180px;
  border: 1px solid rgba(245, 240, 230, 0.12);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

footer a:hover {
  color: #d6b77e;
}

/* Footer headings and brand */
footer h2,
footer h3 {
  color: #f5f0e6;
  letter-spacing: -0.03em;
}

footer h3 {
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #d6b77e;
}

/* Main footer content */
.footer-content,
.footer-main,
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 58px;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand h2,
.footer-brand .logo {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.07em;
}

.footer-brand p,
footer p {
  max-width: 340px;
  color: rgba(245, 240, 230, 0.68);
  line-height: 1.8;
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-links a {
  position: relative;
  width: fit-content;
  color: rgba(245, 240, 230, 0.78);
  font-size: 0.94rem;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: #d6b77e;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.footer-links a:hover {
  color: #f5f0e6;
}

.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Contact / CTA link */
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: #d6b77e;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-contact-link span {
  transition: transform 0.3s ease;
}

.footer-contact-link:hover span {
  transform: translate(4px, -4px);
}

/* Social links */
footer .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 240, 230, 0.22);
  border-radius: 50%;
  color: #f5f0e6;
  font-size: 0.8rem;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

footer .social-links a:hover {
  background: #d6b77e;
  border-color: #d6b77e;
  color: #173b32;
  transform: translateY(-4px);
}

/* Bottom copyright strip */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 240, 230, 0.18);
  color: rgba(245, 240, 230, 0.55);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
  font-size: inherit;
}

.footer-bottom a {
  color: rgba(245, 240, 230, 0.7);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-content,
  .footer-main,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 54px 6% 22px;
    border-radius: 22px 22px 0 0;
  }

  .footer-content,
  .footer-main,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 20px;
    padding-bottom: 38px;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .footer-content,
  .footer-main,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   PROJECT IMAGE — FIT INSIDE CARD
========================================= */
.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
/* =========================================================
   ELVORA — MOBILE + RESPONSIVE VISUAL ENHANCEMENT
   Original stylesheet preserved. These rules are appended
   so desktop styling remains intact while mobile receives
   the same visual language and interaction effects.
========================================================= */

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, svg, video, canvas {
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid #d5b47f;
  outline-offset: 4px;
}

.reveal {
  will-change: opacity, transform;
}

/* ---------- large tablet ---------- */
@media (max-width: 1100px) {
  .section-shell {
    width: min(100% - 48px, 1100px);
  }

  .site-header {
    width: calc(100% - 28px);
    padding-inline: 28px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr .9fr;
    column-gap: 15px;
  }

  .hero-copy {
    padding-left: 1%;
  }

  .hero h1 {
    font-size: clamp(48px, 6.3vw, 72px);
  }

  .hero-art {
    transform: scale(.9);
  }

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

  .services-heading > .text-link {
    grid-column: 2;
    justify-self: end;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 35px;
  }

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

  .contact-inner {
    padding-left: 6%;
  }
}

/* ---------- tablet ---------- */
@media (max-width: 820px) {
  .section-shell {
    width: calc(100% - 40px);
  }

  .site-header {
    width: calc(100% - 20px);
    padding-inline: 20px;
  }

  .hero {
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 45px;
  }

  .hero h1 {
    font-size: clamp(44px, 7.8vw, 62px);
  }

  .hero-art {
    height: 420px;
    transform: scale(.82);
  }

  .work-section,
  .contact-section {
    border-radius: 40px 40px 0 0;
  }

  .process-section {
    margin-inline: 10px;
    border-radius: 40px;
  }

  .testimonial blockquote {
    padding: 23px 26px;
  }
}

/* =========================================================
   MOBILE — KEEP DESKTOP EFFECTS
========================================================= */
@media (max-width: 680px) {

  .section-shell {
    width: calc(100% - 32px);
    max-width: none;
  }

  /* HEADER */
  .site-header {
    width: calc(100% - 16px);
    margin-top: 8px;
    height: 64px;
    padding-inline: 16px;
    border-radius: 18px;
  }

  .site-header .wordmark {
    font-size: 20px;
    letter-spacing: .23em;
  }

  .site-header .header-cta {
    padding: 7px 8px 7px 10px;
    font-size: 10px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background .25s ease, transform .25s ease;
  }

  .menu-toggle:active,
  .menu-toggle:focus-visible {
    background: rgba(213,180,127,.14);
    transform: scale(.96);
  }

  .menu-toggle span {
    transition: transform .25s ease, opacity .2s ease;
  }

  .site-header .main-nav {
    top: 72px;
    left: 8px;
    right: 8px;
    width: auto;
    padding: 8px 18px 14px;
    border: 1px solid rgba(213,180,127,.22);
    border-radius: 18px;
    overflow: hidden;
  }

  .site-header .main-nav a {
    padding: 13px 4px;
    transition: color .25s ease, padding-left .25s ease, background .25s ease;
  }

  .site-header .main-nav a::before {
    opacity: .8;
    transform: none;
    transition: transform .25s ease, color .25s ease;
  }

  .site-header .main-nav a:hover,
  .site-header .main-nav a:active,
  .site-header .main-nav a:focus-visible {
    color: #fff;
    padding-left: 8px;
    background: rgba(255,255,255,.025);
  }

  .site-header .main-nav a:hover::before,
  .site-header .main-nav a:active::before,
  .site-header .main-nav a:focus-visible::before {
    transform: rotate(45deg) scale(1.1);
    color: #e1c38e;
  }

  .site-header .main-nav a:hover::after,
  .site-header .main-nav a:active::after,
  .site-header .main-nav a:focus-visible::after {
    right: 0;
  }

  /* HERO */
  .hero {
    padding-top: 42px;
    padding-bottom: 20px;
    gap: 0;
  }

  .hero-copy {
    padding: 0;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 8px;
    letter-spacing: .22em;
  }

  .eyebrow::before {
    width: 18px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(43px, 13vw, 66px);
    line-height: .98;
    letter-spacing: -.055em;
    margin-bottom: 17px;
  }

  .hero h1 em {
    display: inline-block;
    transition: transform .35s ease, text-shadow .35s ease;
  }

  .hero h1 em:active {
    transform: translateY(-2px) skewX(-2deg);
    text-shadow: 0 10px 28px rgba(151,111,59,.22);
  }

  .hero-intro {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 21px;
  }

  .hero-actions {
    width: 100%;
    gap: 9px;
  }

  .hero-actions .button {
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 14px;
    gap: 10px;
    font-size: 11px;
  }

  .button,
  .button-dark,
  .button-gold,
  .button-outline {
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  }

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

  .button-dark:active,
  .button-dark:focus-visible {
    box-shadow: 0 12px 24px rgba(5,24,18,.22);
  }

  .button-gold:active,
  .button-gold:focus-visible {
    box-shadow: 0 10px 25px rgba(181,138,80,.25);
  }

  .hero-tags {
    gap: 13px;
    margin-top: 20px;
    font-size: 9px;
    flex-wrap: wrap;
  }

  /* HERO ART */
  .hero-art {
    height: 315px;
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-top: 20px;
    margin-bottom: -25px;
    transform: none;
  }

  .art-orb {
    width: 155px;
    height: 155px;
    right: 22%;
    top: 16px;
    border-width: 22px;
    transition: transform .5s ease, filter .5s ease;
  }

  .hero-art:active .art-orb {
    transform: rotate(-13deg) scale(1.025);
    filter: drop-shadow(0 10px 20px rgba(164,123,66,.18));
  }

  .stone-back {
    width: 150px;
    height: 155px;
    right: 28%;
    bottom: 53px;
    transition: transform .4s ease;
  }

  .stone-front {
    width: 190px;
    height: 82px;
    right: 39%;
    bottom: 0;
    transition: transform .4s ease;
  }

  .hero-art:active .stone-back {
    transform: rotate(-2deg) translateY(-3px);
  }

  .hero-art:active .stone-front {
    transform: translateY(-2px);
  }

  .art-plinth {
    width: 150px;
    height: 25px;
    right: 12%;
  }

  .art-plant {
    right: 13%;
    height: 215px;
    bottom: 23px;
    transition: transform .5s ease;
  }

  .hero-art:active .art-plant {
    transform: rotate(7deg) translateX(-2px);
  }

  .art-plant b {
    transition: transform .35s ease;
  }

  .art-note {
    font-size: 6px;
    padding: 7px 10px;
    letter-spacing: .18em;
  }

  .note-top {
    top: 37px;
    right: 0;
  }

  .note-bottom {
    right: 0;
    bottom: 16px;
  }

  /* WORK */
  .work-section {
    border-radius: 32px 32px 0 0;
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .work-heading h2,
  .services-heading h2,
  .process-section h2 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.05;
  }

  .work-intro {
    padding-top: 13px;
  }

  .work-intro p {
    max-width: 235px;
    font-size: 10px;
  }

  .project-grid {
    display: flex;
    width: calc(100% + 16px);
    margin-top: 21px;
    margin-right: -16px;
    padding: 0 16px 12px 0;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .project-grid::-webkit-scrollbar {
    display: none;
  }

  .project-card {
    flex: 0 0 min(84vw, 330px);
    padding: 11px 11px 16px;
    border-radius: 17px;
    transition: transform .35s ease, box-shadow .35s ease;
  }

  .project-card:hover,
  .project-card:active {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0,0,0,.16);
  }

  .project-visual {
    height: 190px;
    transition: transform .4s ease, box-shadow .4s ease;
  }

  .project-card:active .project-visual {
    transform: scale(.985);
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
  }

  .project-card h3 {
    font-size: 21px;
  }

  .project-card > p {
    font-size: 11px;
  }

  .text-link span {
    transition: transform .25s ease;
  }

  .text-link:active span {
    transform: translateX(4px);
  }

  /* SERVICES */
  .services-section {
    padding-top: 55px;
    padding-bottom: 54px;
  }

  .services-heading {
    display: block;
  }

  .services-heading > p {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.6;
    margin: 14px 0;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 28px;
  }

  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    padding: 16px 13px 20px;
    min-height: 180px;
  }

  .service-card:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
    border-right: 1px solid var(--line);
  }

  .service-card:nth-child(even) {
    padding-right: 0;
    border-left: 0;
  }

  .service-card:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .service-icon {
    width: 45px;
    height: 45px;
    border-radius: 15px 15px 15px 5px;
    font-size: 22px;
    transition: transform .3s ease, border-radius .3s ease, background .3s ease;
  }

  .service-card:hover .service-icon,
  .service-card:active .service-icon,
  .service-card:focus-within .service-icon {
    transform: translateY(-4px) rotate(-5deg);
    border-radius: 50%;
    background: #ddd2c0;
  }

  .service-card h3 {
    font-size: 17px;
  }

  .service-card p {
    font-size: 10px;
    line-height: 1.5;
  }

  /* PROCESS */
  .process-section {
    margin-inline: 8px;
    border-radius: 32px;
    padding: 38px 0 42px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 23px;
  }

  .process-step {
    min-height: 0;
    padding: 17px 15px;
    gap: 11px;
    border-radius: 17px 17px 17px 5px;
    transition: background .3s ease, border-radius .3s ease, transform .3s ease, border-color .3s ease;
  }

  .process-step:hover,
  .process-step:active,
  .process-step:focus-within {
    background: rgba(255,255,255,.055);
    border-radius: 17px 5px 17px 17px;
    transform: translateY(-2px);
    border-color: rgba(245,241,232,.24);
  }

  .process-step > span {
    font-size: 23px;
  }

  .process-step h3 {
    font-size: 15px;
  }

  .process-step p {
    max-width: none;
    font-size: 10px;
  }

  .process-step > b {
    display: block;
    font-size: 20px;
  }

  /* TESTIMONIAL */
  .testimonial-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .testimonial {
    grid-template-columns: 25px 1fr 25px;
    gap: 7px;
  }

  .testimonial blockquote {
    font-size: clamp(19px, 5.7vw, 25px);
    padding: 20px 17px;
    border-radius: 7px 24px 7px 24px;
  }

  .testimonial button {
    width: 25px;
    height: 25px;
    font-size: 11px;
    transition: transform .25s ease, background .25s ease;
  }

  .testimonial button:active,
  .testimonial button:focus-visible {
    transform: scale(.9);
    background: rgba(133,102,61,.1);
  }

  .client-info {
    margin-left: 32px;
    margin-top: 12px;
    gap: 8px;
    font-size: 10px;
  }

  .client-avatar {
    width: 31px;
    height: 31px;
  }

  .client-info span {
    font-size: 9px;
  }

  .quote-aside {
    display: none;
  }

  /* CONTACT */
  .contact-section {
    border-radius: 32px 32px 0 0;
    padding: 45px 0 50px;
  }

  .contact-inner {
    display: block;
    padding-left: 0;
  }

  .contact-inner h2 {
    font-size: clamp(35px, 11vw, 48px);
    line-height: 1.02;
  }

  .contact-copy {
    max-width: 100%;
    margin-top: 18px;
  }

  .contact-copy p {
    font-size: 11px;
    line-height: 1.6;
  }

  .contact-plant {
    font-size: 145px;
    right: -35px;
    bottom: -70px;
  }

  /* FOOTER */
  .site-footer {
    padding: 20px 16px 15px;
  }

  .footer-top {
    align-items: center;
    gap: 15px;
  }

  .wordmark-footer {
    font-size: 19px;
  }

  .site-footer nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    font-size: 10px;
  }

  .site-footer nav a {
    padding: 6px 0;
  }

  .social-links {
    gap: 7px;
  }

  .social-links a {
    width: 28px;
    height: 28px;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
  }

  .social-links a:active,
  .social-links a:focus-visible {
    transform: translateY(-3px);
    background: rgba(255,255,255,.08);
    border-color: #d5b47f;
  }

  .footer-bottom {
    font-size: 9px;
    line-height: 1.5;
  }
}

/* SMALL PHONES */
@media (max-width: 430px) {
  .section-shell {
    width: calc(100% - 26px);
  }

  .site-header {
    width: calc(100% - 12px);
    padding-inline: 12px;
  }

  .site-header .wordmark {
    font-size: 18px;
    letter-spacing: .19em;
  }

  .hero h1 {
    font-size: clamp(40px, 13.4vw, 57px);
  }

  .hero-art {
    height: 285px;
  }

  .art-orb {
    width: 135px;
    height: 135px;
    border-width: 19px;
  }

  .stone-back {
    width: 132px;
    height: 140px;
  }

  .stone-front {
    width: 165px;
    height: 72px;
  }

  .art-plant {
    height: 195px;
  }

  .project-card {
    flex-basis: 88vw;
  }

  .project-visual {
    height: 180px;
  }

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

  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even),
  .service-card:nth-child(n+3) {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
    min-height: 0;
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .testimonial {
    grid-template-columns: 22px 1fr 22px;
    gap: 5px;
  }

  .testimonial blockquote {
    padding: 18px 14px;
    font-size: 18px;
  }

  .contact-inner h2 {
    font-size: 39px;
  }

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

/* TOUCH DEVICES */
@media (hover: none) and (pointer: coarse) {
  .project-card:active {
    transform: translateY(-5px) scale(.995);
  }

  .service-card:active .service-icon {
    transform: translateY(-4px) rotate(-5deg);
    border-radius: 50%;
  }

  .process-step:active {
    transform: translateY(-2px);
  }

  .button:active,
  .header-cta:active,
  .social-links a:active {
    transform: translateY(-2px) scale(.98);
  }
}

/* LANDSCAPE PHONES */
@media (max-width: 820px) and (orientation: landscape) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 28px;
  }

  .hero-art {
    height: 300px;
    margin: 0;
  }

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

/* SHORT MOBILE SCREENS */
@media (max-width: 680px) and (max-height: 700px) {
  .hero {
    padding-top: 28px;
  }

  .hero-art {
    height: 255px;
    margin-top: 8px;
    margin-bottom: -18px;
  }
}


/* =========================================================
   ELVORA — RESPONSIVE ANIMATION LAYER
   Adds motion on tablet/mobile without requiring hover.
   Existing desktop animation declarations remain untouched.
========================================================= */

/* Reusable entrance keyframes */
@keyframes elvoraRiseIn {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes elvoraFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes elvoraSoftScale {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes elvoraFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@keyframes elvoraOrbDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(0, -8px, 0) rotate(4deg); }
}

@keyframes elvoraLeafSway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(4deg); }
}

@keyframes elvoraShimmer {
  0%   { background-position: -180% 0; }
  100% { background-position: 180% 0; }
}

@keyframes elvoraPulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(213,180,127,0); }
  50%      { box-shadow: 0 0 0 7px rgba(213,180,127,.10); }
}

/* Scroll-reveal classes: animate when already marked visible by site JS.
   Supports common reveal-visible class names without changing HTML. */
.reveal.is-visible,
.reveal.visible,
.reveal.active,
.reveal.in-view,
[data-reveal].is-visible,
[data-reveal].visible,
[data-reveal].active,
[data-reveal].in-view {
  animation: elvoraRiseIn .75s cubic-bezier(.2,.7,.2,1) both;
}

@media (max-width: 1100px) {
  .hero-copy,
  .hero-art,
  .work-heading,
  .services-heading,
  .process-section h2,
  .contact-inner {
    animation: elvoraRiseIn .8s cubic-bezier(.2,.7,.2,1) both;
  }

  .hero-art { animation-delay: .12s; }
}

@media (max-width: 820px) {
  .project-card,
  .service-card,
  .process-step,
  .testimonial,
  .contact-copy {
    animation: elvoraRiseIn .65s cubic-bezier(.2,.7,.2,1) both;
  }

  .project-card:nth-child(2),
  .service-card:nth-child(2),
  .process-step:nth-child(2) { animation-delay: .08s; }

  .project-card:nth-child(3),
  .service-card:nth-child(3),
  .process-step:nth-child(3) { animation-delay: .16s; }

  .project-card:nth-child(4),
  .service-card:nth-child(4),
  .process-step:nth-child(4) { animation-delay: .24s; }
}

@media (max-width: 680px) {
  /* Entrance motion remains enabled on mobile */
  .hero-copy { animation: elvoraRiseIn .72s cubic-bezier(.2,.7,.2,1) both; }
  .hero-art { animation: elvoraSoftScale .9s cubic-bezier(.2,.7,.2,1) .12s both; }
  .work-heading,
  .services-heading,
  .process-section h2,
  .contact-inner h2 {
    animation: elvoraRiseIn .7s cubic-bezier(.2,.7,.2,1) both;
  }

  /* Gentle ambient movement for decorative hero elements */
  .art-orb { animation: elvoraOrbDrift 5.5s ease-in-out infinite; }
  .art-plant { transform-origin: bottom center; animation: elvoraLeafSway 4.8s ease-in-out infinite; }
  .art-note { animation: elvoraFloat 4s ease-in-out infinite; }
  .note-bottom { animation-delay: .45s; }

  /* Mobile cards animate in and retain touch feedback */
  .project-card,
  .service-card,
  .process-step {
    animation: elvoraRiseIn .62s cubic-bezier(.2,.7,.2,1) both;
  }

  .project-card:nth-child(2),
  .service-card:nth-child(2),
  .process-step:nth-child(2) { animation-delay: .08s; }

  .project-card:nth-child(3),
  .service-card:nth-child(3),
  .process-step:nth-child(3) { animation-delay: .16s; }

  .project-card:nth-child(4),
  .service-card:nth-child(4),
  .process-step:nth-child(4) { animation-delay: .24s; }

  .service-icon { transition: transform .35s cubic-bezier(.2,.7,.2,1), background .35s ease, border-radius .35s ease; }
  .service-card:active .service-icon { transform: translateY(-5px) rotate(-7deg) scale(1.04); }

  .project-card:active,
  .process-step:active {
    transition: transform .25s ease, box-shadow .25s ease;
  }

  .button:active,
  .header-cta:active {
    transition: transform .2s ease, box-shadow .2s ease;
    transform: translateY(-2px) scale(.97);
  }

  .contact-plant { animation: elvoraLeafSway 5s ease-in-out infinite; transform-origin: bottom center; }
}

/* Small-screen animation tuning */
@media (max-width: 430px) {
  .art-orb { animation-duration: 6.2s; }
  .art-plant { animation-duration: 5.4s; }
  .art-note { animation-duration: 4.6s; }

  .project-card,
  .service-card,
  .process-step {
    animation-duration: .55s;
  }
}

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