/*--------------------------------------------------------------
# Modern layer — transitions, motion and multi-page chrome
# Loaded after style.css; overrides the template where needed.
--------------------------------------------------------------*/
:root {
  --gold: #cfa845;
  --gold-soft: #f0dea0;
  --gold-deep: #a07c28;
  --ink: #1d1b18;
  --ink-2: #2a2723;
  --text: #575149;
  --muted: #8a8580;
  --line: #ece8e1;
  --surface: #ffffff;
  --surface-2: #f6f4f0;
  --radius: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

h1, h2, h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

/*--------------------------------------------------------------
# Cross-page view transitions (Chrome / Edge / Safari 18+)
--------------------------------------------------------------*/
@view-transition {
  navigation: auto;
}

#header {
  view-transition-name: site-header;
}

.page-title,
.hero-heading {
  view-transition-name: page-title;
}

::view-transition-old(root) {
  animation: vt-out 0.28s var(--ease-out) both;
}

::view-transition-new(root) {
  animation: vt-in 0.5s var(--ease-out) both;
}

::view-transition-group(page-title) {
  animation-duration: 0.5s;
  animation-timing-function: var(--ease-out);
}

@keyframes vt-out {
  to { opacity: 0; transform: translateY(-12px) scale(0.99); filter: blur(4px); }
}

@keyframes vt-in {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
}

/*--------------------------------------------------------------
# Scroll progress bar (scroll-driven animation)
--------------------------------------------------------------*/
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1000;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: grow-x linear both;
    animation-timeline: scroll(root block);
  }
}

@keyframes grow-x {
  to { transform: scaleX(1); }
}

/*--------------------------------------------------------------
# Header — transparent over hero, glass once scrolled
--------------------------------------------------------------*/
#header {
  top: 0;
  padding: 22px 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease-out), background-color 0.4s, box-shadow 0.4s, border-color 0.4s;
}

#header.header-scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

#header .brand {
  display: inline-flex;
  align-items: center;
}

.nav-title {
  display: inline-block;
  margin: 0;
  line-height: 1;
  background: linear-gradient(90deg, #fff 0%, var(--gold) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

#header.header-scrolled .nav-title {
  background-image: linear-gradient(90deg, #7c7c7c 0%, var(--gold) 50%, #7c7c7c 100%);
}

@keyframes shimmer {
  to { background-position: -200% center; }
}

.navbar a,
.navbar a:focus {
  position: relative;
  padding: 8px 0;
  margin-left: 30px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  font-size: 13px;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-out);
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #fff;
}

.navbar a:hover::after,
.navbar .active::after {
  transform: scaleX(1);
}

#header.header-scrolled .navbar a {
  color: #6b6560;
}

#header.header-scrolled .navbar a:hover,
#header.header-scrolled .navbar .active {
  color: var(--ink);
}

.mobile-nav-toggle {
  background: none;
  border: 0;
  padding: 4px;
  color: #fff;
}

#header.header-scrolled .mobile-nav-toggle {
  color: var(--ink);
}

/* Mobile menu: animated sheet */
.navbar-mobile {
  background: rgba(20, 18, 16, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fade-in 0.3s ease both;
}

.navbar-mobile ul {
  top: 70px;
  bottom: auto;
  padding: 12px 0;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  animation: sheet-in 0.45s var(--ease-spring) both;
}

.navbar-mobile li {
  opacity: 0;
  animation: rise-in 0.45s var(--ease-out) forwards;
}

.navbar-mobile li:nth-child(1) { animation-delay: 0.05s; }
.navbar-mobile li:nth-child(2) { animation-delay: 0.1s; }
.navbar-mobile li:nth-child(3) { animation-delay: 0.15s; }
.navbar-mobile li:nth-child(4) { animation-delay: 0.2s; }
.navbar-mobile li:nth-child(5) { animation-delay: 0.25s; }

.navbar-mobile a,
.navbar-mobile a:focus,
#header.header-scrolled .navbar-mobile a {
  margin: 0;
  padding: 14px 24px;
  font-size: 15px;
  color: var(--ink);
}

.navbar-mobile a::after {
  display: none;
}

.navbar-mobile .active,
#header.header-scrolled .navbar-mobile .active {
  color: var(--gold-deep);
}

.navbar-mobile .mobile-nav-toggle,
#header.header-scrolled .navbar-mobile .mobile-nav-toggle {
  color: #fff;
  top: 22px;
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
}

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

/*--------------------------------------------------------------
# Home hero — slow zoom, intro choreography, scroll cue
--------------------------------------------------------------*/
#hero {
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute !important;
  inset: 0;
  z-index: 0 !important;
  background: url("../img/my-pictures/hero-img1.jpeg") no-repeat center center / cover;
  animation: ken-burns 22s ease-out both;
}

@media (max-width: 600px) {
  .hero-bg {
    background-image: url("../img/my-pictures/sooraj-cover-img.jpeg");
  }
}

#hero::before {
  background:
    radial-gradient(60% 60% at 15% 70%, rgba(207, 168, 69, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.75) 100%);
}

@keyframes ken-burns {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}

#hero .hero-content {
  height: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-heading {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 14px;
  text-transform: uppercase;
  color: #fff;
  min-height: 1.05em;
}

.hero-heading .typed {
  color: var(--gold);
}

.hero-content .hero-role {
  font-size: clamp(16px, 2.2vw, 24px);
  letter-spacing: 0.3em;
}

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

.hero-intro > * {
  opacity: 0;
  animation: hero-rise 0.9s var(--ease-out) forwards;
}

.hero-intro > *:nth-child(1) { animation-delay: 0.15s; }
.hero-intro > *:nth-child(2) { animation-delay: 0.3s; }
.hero-intro > *:nth-child(3) { animation-delay: 0.45s; }
.hero-intro > *:nth-child(4) { animation-delay: 0.6s; }
.hero-intro > *:nth-child(5) { animation-delay: 0.75s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.hero-content .list-social a i {
  display: inline-block;
  transition: transform 0.35s var(--ease-spring), color 0.3s;
}

.hero-content .list-social a:hover i {
  color: var(--gold);
  transform: translateY(-4px) scale(1.1);
}

.scroll-cue {
  position: absolute !important;
  left: 50%;
  bottom: 32px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: scroll-cue 1.8s var(--ease-out) infinite;
}

@keyframes scroll-cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-modern {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  isolation: isolate;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.btn-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
}

.btn-modern:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(207, 168, 69, 0.7);
}

.btn-modern:hover::before {
  transform: translateX(120%);
}

.btn-modern i {
  transition: transform 0.35s var(--ease-out);
}

.btn-modern:hover i.bi-arrow-right,
.btn-modern:hover i.bi-arrow-up-right {
  transform: translateX(4px);
}

.btn-modern.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.btn-modern.btn-ghost:hover {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.4);
}

.btn-modern.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-modern.btn-dark:hover {
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
}

.link-arrow i {
  transition: transform 0.35s var(--ease-out);
}

.link-arrow:hover {
  color: var(--ink);
}

.link-arrow:hover i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# Inner page header
--------------------------------------------------------------*/
.page-header {
  position: relative;
  overflow: hidden;
  padding: 170px 0 90px;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.page-header::before,
.page-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.page-header::before {
  width: 520px;
  height: 520px;
  top: -200px;
  right: -120px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}

.page-header::after {
  width: 420px;
  height: 420px;
  bottom: -220px;
  left: -100px;
  background: radial-gradient(circle, #6d5a3a 0%, transparent 65%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

.page-header .grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}

@keyframes drift {
  to { transform: translate(-60px, 40px) scale(1.12); }
}

.page-header nav,
nav.footer-nav {
  padding: 0;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.crumbs a {
  color: rgba(255, 255, 255, 0.75);
}

.crumbs a:hover {
  color: var(--gold);
}

.page-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
}

.page-title em {
  font-style: italic;
  color: var(--gold);
}

.page-lead {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.page-header .container > * {
  opacity: 0;
  animation: hero-rise 0.8s var(--ease-out) forwards;
}

.page-header .container > *:nth-child(2) { animation-delay: 0.1s; }
.page-header .container > *:nth-child(3) { animation-delay: 0.2s; }

/*--------------------------------------------------------------
# Section scaffolding
--------------------------------------------------------------*/
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--surface-2);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.section-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

/*--------------------------------------------------------------
# Reveal on scroll (only hides content when JS is running)
--------------------------------------------------------------*/
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js .reveal.reveal-left {
  transform: translateX(-40px);
}

.js .reveal.reveal-scale {
  transform: scale(0.94);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/*--------------------------------------------------------------
# Cards with cursor spotlight
--------------------------------------------------------------*/
.spotlight {
  position: relative;
  isolation: isolate;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(207, 168, 69, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.spotlight:hover::before {
  opacity: 1;
}

.project-card {
  border-color: var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out), border-color 0.45s;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-soft);
  box-shadow: 0 24px 50px -20px rgba(60, 45, 10, 0.25);
}

.project-card .project-name {
  font-size: 1.15rem;
  color: var(--ink);
}

.tech-tag {
  border-radius: 999px;
  transition: transform 0.3s var(--ease-spring), background-color 0.3s;
}

.project-card:hover .tech-tag {
  background: #fbefcb;
}

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

.project-link i {
  transition: transform 0.3s var(--ease-out);
}

.project-link:hover i {
  transform: rotate(-8deg) scale(1.15);
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  height: 100%;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-soft);
  box-shadow: 0 28px 50px -24px rgba(60, 45, 10, 0.3);
}

.service-card .service-art {
  display: grid;
  place-items: center;
  height: 160px;
  margin: -6px -4px 18px;
  border-radius: 10px;
  background: var(--surface-2);
  overflow: hidden;
}

.service-card .service-art img {
  max-height: 150px;
  width: auto;
  transition: transform 0.7s var(--ease-out);
}

.service-card:hover .service-art img {
  transform: scale(1.07) rotate(-1deg);
}

.service-card .service-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

.service-card h3 {
  margin: 6px 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.service-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.service-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service-card ul li {
  position: relative;
  padding: 4px 0 4px 20px;
  font-size: 13.5px;
  color: var(--text);
}

.service-card ul li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--gold);
}

/*--------------------------------------------------------------
# Tech marquee
--------------------------------------------------------------*/
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 6px 0;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.marquee-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 9px)); }
}

/*--------------------------------------------------------------
# Stats / facts
--------------------------------------------------------------*/
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}

.fact {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.fact strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.fact span {
  font-size: 13px;
  color: var(--muted);
}

/*--------------------------------------------------------------
# CTA band
--------------------------------------------------------------*/
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 56px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(207, 168, 69, 0.35) 75%, transparent 90%);
  animation: spin 14s linear infinite;
}

.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: 23px;
  background: var(--ink);
}

@keyframes spin {
  to { transform: rotate(1turn); }
}

.cta-band h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: #fff;
}

.cta-band p {
  max-width: 520px;
  margin: 14px 0 28px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 600px) {
  .cta-band {
    padding: 44px 24px;
  }
}

/*--------------------------------------------------------------
# Contact page
--------------------------------------------------------------*/
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

a.contact-card:hover {
  color: var(--ink);
  transform: translateX(6px);
  border-color: var(--gold-soft);
  box-shadow: 0 16px 34px -20px rgba(60, 45, 10, 0.35);
}

.contact-card .icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fbf3dc;
  color: var(--gold-deep);
  font-size: 20px;
}

.contact-card small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card span {
  font-weight: 500;
}

.form-modern .form-control {
  height: auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-modern .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(207, 168, 69, 0.18);
}

.form-modern textarea.form-control {
  min-height: 170px;
}

/*--------------------------------------------------------------
# About page
--------------------------------------------------------------*/
.portrait {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.45);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.portrait:hover img {
  transform: scale(1.05);
}

.portrait-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.lead-quote {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  color: var(--ink);
}

.cta-band .eyebrow {
  color: var(--gold);
}

/*--------------------------------------------------------------
# Timeline (about) and process steps (services)
--------------------------------------------------------------*/
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 34px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 7px;
  width: 2px;
  background: linear-gradient(var(--gold), var(--line));
}

.timeline li {
  position: relative;
  padding: 0 0 34px;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -34px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--surface);
  transition: background-color 0.3s, transform 0.4s var(--ease-spring);
}

.timeline li:hover::before {
  background: var(--gold);
  transform: scale(1.25);
}

.timeline time {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.timeline h3 {
  margin: 4px 0 2px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.timeline p {
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 28px 24px;
  border-top: 2px solid var(--line);
  transition: border-color 0.4s;
}

.steps li:hover {
  border-top-color: var(--gold);
}

.step-num {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}

.steps h3 {
  margin: 14px 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.steps p {
  margin: 0;
}

/*--------------------------------------------------------------
# Portfolio filter chips
--------------------------------------------------------------*/
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-spring);
}

.chip:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--surface-2);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-bottom: 26px;
}

.footer-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6560;
}

.footer-nav a:hover {
  color: var(--gold-deep);
}

.back-to-top {
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s var(--ease-spring), visibility 0.4s, background-color 0.3s;
}

.back-to-top.active {
  transform: none;
}

.back-to-top:hover {
  background: var(--gold);
}

/*--------------------------------------------------------------
# Reduced motion — keep it calm
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after,
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

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