:root {
  --bg: #101315;
  --bg-soft: #15191c;
  --bg-elevated: #1a1f22;
  --bg-elevated-2: #20272b;
  --text: #f4f1eb;
  --text-soft: #cfc7bb;
  --muted: #9d958b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #c46e34;
  --accent-strong: #d77c3f;
  --taupe: #726055;
  --success: #90d2a2;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  --header-bg: rgba(16, 19, 21, 0.72);
  --header-border: rgba(255, 255, 255, 0.08);
  --pattern-stroke: rgba(255, 255, 255, 0.02);
  --cursor-border: rgba(255, 255, 255, 0.2);
  --cursor-fill: rgba(196, 110, 52, 0.18);
  --selection: rgba(196, 110, 52, 0.28);
}

html[data-theme="light"] {
  --bg: #f5f1eb;
  --bg-soft: #f0ebe4;
  --bg-elevated: #ffffff;
  --bg-elevated-2: #faf6f0;
  --text: #171b1d;
  --text-soft: #3f4345;
  --muted: #73685e;
  --line: rgba(18, 24, 28, 0.08);
  --line-strong: rgba(18, 24, 28, 0.14);
  --accent: #c46e34;
  --accent-strong: #b45f29;
  --taupe: #6a594f;
  --success: #2e8d49;
  --shadow: 0 18px 60px rgba(25, 24, 22, 0.08);
  --header-bg: rgba(245, 241, 235, 0.75);
  --header-border: rgba(18, 24, 28, 0.08);
  --pattern-stroke: rgba(16, 19, 21, 0.025);
  --cursor-border: rgba(18, 24, 28, 0.16);
  --cursor-fill: rgba(196, 110, 52, 0.16);
  --selection: rgba(196, 110, 52, 0.2);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top right, rgba(196, 110, 52, 0.08), transparent 22%),
    linear-gradient(180deg, var(--bg), var(--bg));
  color: var(--text);
  overflow-x: hidden;
}

@media (hover: hover) and (pointer: fine) {
  html,
  body,
  a,
  button,
  input,
  select,
  textarea,
  label,
  summary,
  [role="button"] {
    cursor: none !important;
  }
}

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

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

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

button {
  cursor: pointer;
}

::selection {
  background: var(--selection);
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 20px;
  z-index: 1000;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 20px;
}

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

.container-shell {
  width: min(1320px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  padding-top: 1rem;
}

.header-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--header-border);
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--bg-elevated);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.brand-sub {
  margin-top: 0.28rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--text-soft);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.45rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.theme-toggle {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.theme-icon {
  position: absolute;
  width: 22px;
  height: 22px;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.theme-icon svg {
  width: 100%;
  height: 100%;
}

html[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: translateY(8px) scale(0.75);
}

html[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

html[data-theme="light"] .theme-icon-sun {
  opacity: 1;
  transform: translateY(0) scale(1);
}

html[data-theme="light"] .theme-icon-moon {
  opacity: 0;
  transform: translateY(-8px) scale(0.75);
}

.header-cta,
.btn-primary,
.btn-secondary,
.mobile-nav-cta {
  min-height: 50px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.header-cta,
.btn-primary,
.mobile-nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 40px rgba(196, 110, 52, 0.25);
}

.header-cta:hover,
.btn-primary:hover,
.mobile-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(196, 110, 52, 0.34);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu-btn {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elevated);
  position: relative;
  place-items: center;
}

.mobile-menu-btn span {
  position: absolute;
  width: 18px;
  height: 1.8px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-btn span:first-child {
  transform: translateY(-4px);
}

.mobile-menu-btn span:last-child {
  transform: translateY(4px);
}

.mobile-menu-btn.is-open span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-btn.is-open span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav-panel {
  display: none;
  margin-top: 0.8rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  gap: 0.45rem;
}

.mobile-nav-panel.is-open {
  display: grid;
}

.mobile-nav-link,
.mobile-nav-cta {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}

.mobile-nav-link {
  min-height: 48px;
  border-radius: 999px;
  color: var(--text-soft);
  background: transparent;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-section {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 5.6rem 0 2.2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--pattern-stroke) 1px, transparent 1px),
    linear-gradient(90deg, var(--pattern-stroke) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.65), transparent 88%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='190' viewBox='0 0 220 190'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.035)' stroke-width='1'%3E%3Cpath d='M55 15 15 40v50l40 25 40-25V40L55 15Z'/%3E%3Cpath d='M165 15 125 40v50l40 25 40-25V40l-40-25Z'/%3E%3Cpath d='M110 85 70 110v50l40 25 40-25v-50l-40-25Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px auto;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.9), transparent 78%);
}

html[data-theme="light"] .hero-pattern {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='190' viewBox='0 0 220 190'%3E%3Cg fill='none' stroke='rgba(16,19,21,0.04)' stroke-width='1'%3E%3Cpath d='M55 15 15 40v50l40 25 40-25V40L55 15Z'/%3E%3Cpath d='M165 15 125 40v50l40 25 40-25V40l-40-25Z'/%3E%3Cpath d='M110 85 70 110v50l40 25 40-25v-50l-40-25Z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-glow-1 {
  top: 8%;
  right: 8%;
  width: 340px;
  height: 340px;
  background: rgba(196, 110, 52, 0.14);
}

.hero-glow-2 {
  left: -6%;
  bottom: 10%;
  width: 260px;
  height: 260px;
  background: rgba(114, 96, 85, 0.14);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow-line {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.hero-title,
.section-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  line-height: 0.98;
  letter-spacing: 0.05em;
}

.hero-title {
  margin-top: 1rem;
  font-size: clamp(3rem, 7vw, 6.2rem);
  max-width: 11ch;
}

.hero-text,
.section-text,
.footer-text,
.trust-item p,
.service-content p,
.about-panel p,
.form-note {
  color: var(--text-soft);
  line-height: 1.75;
}

.hero-text {
  max-width: 62ch;
  margin: 1.5rem 0 0;
  font-size: 1.06rem;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.metric-card,
.service-card,
.about-panel,
.contact-info-card,
.contact-form,
.map-card,
.cta-panel,
.about-card-main,
.project-tile,
.hero-card,
.trust-item {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    var(--bg-elevated);
  box-shadow: var(--shadow);
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1rem 1rem;
  border-radius: 1.4rem;
  min-height: 115px;
}

.metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1;
}

.metric-label {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-bento {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 1rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  min-height: 230px;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.hero-card:hover img,
.project-tile:hover img,
.about-card-main:hover img {
  transform: scale(1.045);
}

.hero-card-main {
  grid-row: 1 / span 2;
}

.hero-card-overlay,
.project-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.2rem 1.2rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
}

.hero-card-overlay span,
.project-overlay span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-card-overlay strong,
.project-overlay h3 {
  display: block;
  margin-top: 0.32rem;
  font-size: 1.1rem;
  line-height: 1.25;
}

.trust-band {
  padding: 0 0 2rem;
}

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

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 1.5rem;
}

.trust-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.trust-icon,
.service-icon,
.contact-info-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(196, 110, 52, 0.1);
  border: 1px solid rgba(196, 110, 52, 0.18);
}

.trust-icon svg,
.service-icon svg,
.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.content-section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 800px;
  margin-bottom: 2rem;
}

.section-title {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
}

.section-text {
  margin-top: 1rem;
  font-size: 1.02rem;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.45rem;
  border-radius: 1.8rem;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 110, 52, 0.25);
  box-shadow: 0 24px 60px rgba(196, 110, 52, 0.08), var(--shadow);
}

.service-content h3,
.about-panel h3,
.footer-col h3 {
  margin: 0;
  font-size: 1.12rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.service-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-soft);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 2rem;
  align-items: center;
}

.about-panels {
  display: grid;
  gap: 1rem;
  margin-top: 1.7rem;
}

.about-panel {
  padding: 1.4rem;
  border-radius: 1.5rem;
}

.about-visual {
  position: relative;
}

.about-card-main {
  overflow: hidden;
  border-radius: 2rem;
}

.about-card-main img {
  width: 100%;
  height: clamp(420px, 60vw, 720px);
  object-fit: cover;
  transition: transform 0.9s ease;
}

.about-float-card {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  min-width: 220px;
  padding: 1rem 1.1rem;
  border-radius: 1.3rem;
  background: rgba(16, 19, 21, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: var(--shadow);
}

html[data-theme="light"] .about-float-card {
  background: rgba(255,255,255,0.86);
  color: var(--text);
  border-color: rgba(18, 24, 28, 0.08);
}

.about-float-kicker {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.projects-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.project-tile {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  min-height: 250px;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.project-large {
  grid-column: span 7;
  min-height: 520px;
}

.project-wide {
  grid-column: span 8;
  min-height: 320px;
}

.projects-bento > .project-tile:not(.project-large):not(.project-wide) {
  grid-column: span 5;
}

.cta-section {
  padding-top: 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(196,110,52,0.16), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)),
    var(--bg-elevated);
}

.cta-copy .section-title {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
}

.cta-copy .section-text {
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  flex-shrink: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.contact-infos {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 1.4rem;
}

.contact-info-card strong {
  display: block;
  margin-bottom: 0.3rem;
}

.contact-info-card a,
.contact-info-card p {
  color: var(--text-soft);
  margin: 0;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-form {
  padding: 1.5rem;
  border-radius: 2rem;
}

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

.field {
  display: flex;
  flex-direction: column;
}

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

.field label {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(196, 110, 52, 0.52);
  box-shadow: 0 0 0 4px rgba(196, 110, 52, 0.12);
}

.field-error {
  min-height: 1.1rem;
  margin-top: 0.4rem;
  color: #e77f7f;
  font-size: 0.85rem;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
  max-width: 52ch;
}

.form-success {
  margin: 1rem 0 0;
  color: var(--success);
  font-weight: 600;
  min-height: 1.5rem;
}

.map-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  min-height: 320px;
}

.map-card img,
.map-embed {
  width: 100%;
  height: 100%;
  display: block;
}

.map-embed {
  border: 0;
  filter: grayscale(0.12) contrast(1.02) saturate(0.9);
}

.map-card-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(16, 19, 21, 0.8);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .map-card-badge {
  background: rgba(255,255,255,0.86);
  color: var(--text);
  border-color: rgba(18, 24, 28, 0.08);
}

.site-footer {
  padding: 2rem 0 1.6rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at bottom left, rgba(196, 110, 52, 0.06), transparent 22%),
    var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.8fr 0.9fr;
  gap: 1.4rem;
  padding-top: 1rem;
}

.footer-brand-link {
  margin-bottom: 1rem;
}

.footer-logo-wrap {
  width: 54px;
  height: 54px;
}

.footer-text {
  max-width: 42ch;
  margin: 0;
}

.footer-col h3 {
  margin-bottom: 0.95rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-list a,
.footer-list span {
  color: var(--text-soft);
  transition: color 0.25s ease;
}

.footer-list a:hover,
.back-to-top:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.back-to-top {
  color: var(--text-soft);
}

.section-anchor {
  scroll-margin-top: 120px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s cubic-bezier(.2,.65,.2,1),
    transform 0.8s cubic-bezier(.2,.65,.2,1),
    filter 0.8s cubic-bezier(.2,.65,.2,1);
  filter: blur(6px);
}

.reveal-scale {
  transform: translateY(28px) scale(0.96);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

#custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  pointer-events: none;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  background: rgba(196, 110, 52, 0.34);
  box-shadow:
    0 0 0 1px rgba(196, 110, 52, 0.12),
    0 8px 30px rgba(196, 110, 52, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 120;
  transform: translate(-50%, -50%);
  transition:
    width 0.22s ease,
    height 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    opacity 0.22s ease,
    box-shadow 0.22s ease;
  opacity: 0;
}

body.cursor-ready #custom-cursor {
  opacity: 1;
}

body.cursor-hover #custom-cursor {
  width: 42px;
  height: 42px;
  background: rgba(196, 110, 52, 0.24);
  border-color: rgba(196, 110, 52, 0.5);
  box-shadow:
    0 0 0 1px rgba(196, 110, 52, 0.18),
    0 12px 34px rgba(196, 110, 52, 0.28);
}

@media (max-width: 1200px) {
  .hero-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: none;
  }

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

  .project-large,
  .project-wide,
  .projects-bento > .project-tile:not(.project-large):not(.project-wide) {
    grid-column: span 6;
  }
}

@media (max-width: 980px) {
  .header-bar {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    justify-content: flex-end;
  }

  .nav-links,
  .header-actions .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: grid;
  }

  .header-actions {
    gap: 0.6rem;
  }

  .hero-section {
    padding-top: 7rem;
  }

  .hero-metrics,
  .trust-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-card-main {
    grid-row: auto;
    min-height: 420px;
  }

  .cta-panel,
  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .project-large,
  .project-wide,
  .projects-bento > .project-tile:not(.project-large):not(.project-wide) {
    grid-column: span 12;
  }
}

@media (max-width: 720px) {
  .container-shell {
    width: min(100% - 1rem, 1320px);
  }

  .site-header {
    padding-top: 0.65rem;
  }

  .header-bar {
    padding: 0.75rem;
    border-radius: 1.2rem;
  }

  .brand-logo-wrap {
    width: 50px;
    height: 50px;
  }

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

  .brand-sub {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .section-title {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .content-section {
    padding: 4.4rem 0;
  }

  .metric-card,
  .service-card,
  .contact-form,
  .cta-panel {
    border-radius: 1.4rem;
  }

  .hero-card,
  .map-card,
  .about-card-main,
  .project-tile {
    border-radius: 1.5rem;
  }

  #custom-cursor {
    display: none;
  }
}

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

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  #custom-cursor {
    display: none !important;
  }
}