:root {
  /* Change these variables to adjust the overall color palette quickly. */
  --bg: #f8f6f1;
  --surface: #ffffff;
  --surface-soft: #f0ece4;
  --text: #262421;
  --muted: #6d675f;
  --line: #ddd6cc;
  --accent: #bd5b45;
  --accent-dark: #8f3f30;
  --green: #607466;
  --shadow: 0 18px 45px rgba(42, 37, 31, 0.1);
  --radius: 8px;
  --max-width: 1120px;
  --font-body: "Inter", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --electric: #ff7a59;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(189, 91, 69, 0.09), transparent 26rem),
    radial-gradient(circle at 92% 40%, rgba(96, 116, 102, 0.09), transparent 30rem);
}

::selection {
  color: #fff;
  background: var(--accent);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #d99570, var(--green));
  box-shadow: 0 1px 8px rgba(189, 91, 69, 0.35);
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 91, 69, 0.09), transparent 66%);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}

body.has-pointer .cursor-glow { opacity: 1; }

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(248, 246, 241, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 214, 204, 0.7);
}

.brand,
.site-nav,
.hero-actions,
.filters,
.contact-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(42, 37, 31, 0.14);
}

.site-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent-dark);
}

.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.section-shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.78fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
  min-height: calc(100vh - 75px);
  padding-top: 44px;
  padding-bottom: 70px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 2% -8% 1%;
  z-index: -2;
  border-radius: 46px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.68), rgba(255,255,255,.2)),
    radial-gradient(circle at var(--hero-x, 72%) var(--hero-y, 28%), rgba(255,122,89,.22), transparent 28%),
    radial-gradient(circle at 18% 86%, rgba(96,116,102,.16), transparent 30%);
  border: 1px solid rgba(255,255,255,.75);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-one {
  top: 8%;
  left: -15%;
  width: 330px;
  height: 330px;
  background: rgba(189, 91, 69, 0.1);
  animation: orbDriftOne 8s ease-in-out infinite alternate;
}

.hero-orb-two {
  right: -11%;
  bottom: 4%;
  width: 250px;
  height: 250px;
  background: rgba(96, 116, 102, 0.11);
  animation: orbDriftTwo 7s ease-in-out infinite alternate;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(4.1rem, 8.2vw, 7.7rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0;
}

.interactive-name {
  position: relative;
  display: inline-grid;
  gap: 14px;
  padding: 8px 18px 22px 0;
  isolation: isolate;
  cursor: default;
}

.interactive-name::before {
  content: "";
  position: absolute;
  inset: auto 0 4px 10px;
  z-index: -1;
  height: 0.13em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(189, 91, 69, 0.34), rgba(96, 116, 102, 0.16));
  transform: scaleX(0.72);
  transform-origin: left;
  transition: transform 240ms ease, height 240ms ease;
}

.interactive-name::after {
  content: "";
  position: absolute;
  left: var(--name-x, 50%);
  top: var(--name-y, 50%);
  z-index: -2;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 91, 69, 0.16), transparent 64%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
  pointer-events: none;
}

.interactive-name:hover::before {
  height: 0.16em;
  transform: scaleX(0.96);
}

.interactive-name:hover::after {
  opacity: 1;
}

.name-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.006em;
}

.name-line span {
  display: inline-block;
  text-shadow: 0 18px 34px rgba(42, 37, 31, 0.08);
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
  animation: nameEntrance 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 28ms);
}

.interactive-name .accent-name span {
  background: linear-gradient(110deg, #8f3f30 5%, #dc7057 45%, #8f3f30 80%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: nameEntrance 620ms cubic-bezier(0.2,0.8,0.2,1) both, textShimmer 4s linear infinite;
  animation-delay: calc(var(--i) * 28ms), 0ms;
}

.accent-name span {
  color: var(--accent-dark);
}

.interactive-name:hover .name-line span {
  color: var(--text);
}

.interactive-name .name-line span:hover {
  color: var(--accent);
  text-shadow: 0 16px 30px rgba(189, 91, 69, 0.18);
  transform: translateY(-0.055em);
}

h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-signature {
  max-width: 520px;
  margin: 8px 0 22px;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
}

.hero-title {
  margin-bottom: 18px;
  color: var(--green);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
}

.hero-rotation {
  min-height: 32px;
  margin: -8px 0 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.rotating-text {
  color: var(--accent-dark);
  font-weight: 800;
}

.typing-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -0.1em;
  background: var(--accent);
  animation: caretBlink 800ms steps(1) infinite;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #69a375;
  box-shadow: 0 0 0 5px rgba(105, 163, 117, 0.13);
  animation: availabilityPulse 2.2s ease-out infinite;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 610px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  display: grid;
  gap: 1px;
  padding-right: 16px;
}

.hero-stats strong {
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.marquee {
  width: 100%;
  overflow: hidden;
  padding: 17px 0;
  color: #fff;
  background: var(--text);
  transform: rotate(-1.2deg) scale(1.02);
  box-shadow: 0 14px 34px rgba(38,36,33,.15);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 24px;
  animation: marqueeMove 22s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  white-space: nowrap;
}

.marquee i { color: var(--electric); font-style: normal; }

.hero-text,
.text-block p,
.contact-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(189, 91, 69, 0.24);
}

.animated-cta { gap: 10px; overflow: hidden; }
.animated-cta b {
  font-size: 1.12rem;
  transition: transform 220ms ease;
  animation: arrowNudge 1.5s ease-in-out infinite;
}
.animated-cta:hover b { transform: translate(4px, -4px); }

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.creative-panel {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 236, 228, 0.7)),
    var(--surface);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.portrait-panel {
  min-height: 460px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(240, 236, 228, 0.5)),
    var(--surface);
}

.portrait-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(38, 36, 33, 0.08)),
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.48), transparent 25%);
  pointer-events: none;
}

.portrait-photo {
  position: absolute;
  right: 11%;
  bottom: 44px;
  z-index: 1;
  width: min(62%, 310px);
  height: 76%;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  filter: saturate(0.92) contrast(0.96);
  box-shadow: 0 18px 44px rgba(42, 37, 31, 0.14);
  animation: portraitBreath 5s ease-in-out infinite;
}

.design-grid {
  position: absolute;
  inset: 30px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.65;
}

.portrait-panel .design-grid {
  z-index: 0;
  opacity: 0.38;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 5px;
  width: min(250px, 72%);
  padding: 18px;
  border: 1px solid rgba(221, 214, 204, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 32px rgba(42, 37, 31, 0.12);
  animation: floatCard 5s ease-in-out infinite;
}

.floating-card small {
  color: var(--muted);
}

.card-one {
  top: 54px;
  left: 34px;
}

.card-two {
  right: 28px;
  bottom: 54px;
  animation-delay: -2s;
}

.card-one { animation: floatCardOne 3.2s ease-in-out infinite; }
.card-two { animation: floatCardTwo 3.7s ease-in-out infinite; }

.dot,
.cursor-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.cursor-dot {
  position: relative;
  background: var(--green);
}

.cursor-dot::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  width: 34px;
  height: 2px;
  background: var(--green);
  transform: rotate(42deg);
  transform-origin: left;
}

.shape {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
}

.shape-a {
  right: 60px;
  top: 58px;
  width: 92px;
  height: 92px;
  background: rgba(96, 116, 102, 0.22);
  animation: shapeOrbit 6s ease-in-out infinite alternate;
}

.shape-b {
  left: 72px;
  bottom: 52px;
  width: 132px;
  height: 132px;
  border: 24px solid rgba(189, 91, 69, 0.18);
  animation: shapeOrbit 7s ease-in-out -2s infinite alternate-reverse;
}

.two-column {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 72px;
  align-items: start;
}

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

.inline-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.project-card,
.detail-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(42, 37, 31, 0.06);
}

.service-card,
.project-card {
  min-height: 250px;
  padding: 24px;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 180ms ease, opacity 220ms ease;
}

.service-card { position: relative; overflow: hidden; }
.service-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 91, 69, 0.13), transparent 68%);
  transition: transform 320ms ease;
}
.service-card:hover::after { transform: scale(1.45); }

.project-card {
  position: relative;
  display: flex;
  min-height: 430px;
  overflow: hidden;
  padding: 0;
  flex-direction: column;
  transform-style: preserve-3d;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-12px) rotate(-.6deg);
  border-color: rgba(189, 91, 69, 0.45);
  box-shadow: var(--shadow);
}

.service-card p,
.project-card p,
.timeline-item p,
.detail-item p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-dark);
  background: rgba(189, 91, 69, 0.12);
  font-size: 0.76rem;
  font-weight: 800;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 14px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0 28px 18px;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border: 8px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--line);
}

.period,
.role {
  margin-bottom: 6px;
  font-weight: 700;
}

.period {
  color: var(--accent-dark);
  font-size: 0.86rem;
}

.role {
  color: var(--green);
}

.filters {
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.filter-button {
  min-width: 70px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: #ffffff;
  border-color: var(--accent);
  background: var(--accent);
}

.project-visual {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border-bottom: 1px solid rgba(221, 214, 204, 0.8);
  background:
    linear-gradient(135deg, rgba(189, 91, 69, 0.12), rgba(96, 116, 102, 0.12)),
    var(--surface-soft);
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(38, 36, 33, 0.18), transparent 42%),
    linear-gradient(0deg, rgba(248, 246, 241, 0.08), rgba(248, 246, 241, 0.08));
  pointer-events: none;
}

.project-visual img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.96) contrast(0.96);
  transform: scale(1.01);
  transition: transform 360ms ease, filter 360ms ease;
}

.project-card:hover .project-visual img {
  filter: saturate(1.04) contrast(1);
  transform: scale(1.055);
}

.browser-bar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 14px;
}

.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 1px 5px rgba(38, 36, 33, 0.18);
}

.project-content {
  display: flex;
  min-height: 250px;
  padding: 24px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.project-tag {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(189, 91, 69, 0.22);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(189, 91, 69, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: 1.35rem;
}

.project-card p {
  margin-bottom: 0;
}

.project-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--accent-dark);
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.project-link::after {
  content: "";
  width: 22px;
  height: 1px;
  margin-left: 9px;
  background: currentColor;
  transition: width 180ms ease;
}

.project-link:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.project-link:hover::after {
  width: 34px;
}

.project-card-muted {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(240, 236, 228, 0.72));
}

.tourism-preview {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.42) 0 14%, transparent 15%),
    linear-gradient(135deg, #607466, #c8b37e);
}

.resort-preview {
  background:
    radial-gradient(circle at 20% 72%, rgba(255, 255, 255, 0.3) 0 18%, transparent 19%),
    linear-gradient(135deg, #bd5b45, #e8cfc1);
}

.routes-preview {
  background:
    linear-gradient(135deg, rgba(38, 36, 33, 0.14), transparent),
    linear-gradient(135deg, #4f6b58, #d7c394);
}

.residence-preview {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 54%),
    linear-gradient(135deg, #b7ada0, #6d675f);
}

.business-preview {
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 255, 255, 0.3) 0 12%, transparent 13%),
    linear-gradient(135deg, #607466, #bd5b45);
}

.more-preview {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(189, 91, 69, 0.16), rgba(96, 116, 102, 0.18)),
    var(--surface-soft);
}

.preview-lines,
.preview-split,
.preview-map,
.preview-blocks,
.preview-dashboard {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
}

.preview-lines b,
.preview-lines span,
.preview-split b,
.preview-split span,
.preview-map b,
.preview-map span,
.preview-map em,
.preview-blocks b,
.preview-blocks span,
.preview-dashboard b,
.preview-dashboard span {
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.preview-lines b {
  width: 58%;
  height: 18px;
  margin-bottom: 14px;
}

.preview-lines span {
  width: 76%;
  height: 9px;
  margin-top: 8px;
}

.preview-lines span:last-child {
  width: 44%;
}

.preview-split {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12px;
  align-items: end;
}

.preview-split b,
.preview-split span {
  height: 92px;
  border-radius: 14px;
}

.preview-split span {
  height: 62px;
}

.preview-map b {
  width: 64%;
  height: 12px;
  margin: 0 auto 18px;
}

.preview-map span {
  width: 72%;
  height: 2px;
  margin: 0 auto;
  transform: rotate(-9deg);
}

.preview-map em {
  width: 22px;
  height: 22px;
  margin: -12px 0 0 56%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

.preview-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.preview-blocks b {
  grid-column: 1 / -1;
  width: 68%;
  height: 12px;
}

.preview-blocks span {
  height: 58px;
  border-radius: 12px;
}

.preview-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.preview-dashboard b {
  grid-column: 1 / -1;
  width: 52%;
  height: 12px;
}

.preview-dashboard span {
  height: 50px;
  border-radius: 12px;
}

.preview-plus {
  position: relative;
  z-index: 1;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(189, 91, 69, 0.22);
  border-radius: 50%;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 2.25rem;
  font-weight: 500;
}

.project-card.is-hidden {
  display: none;
}

.project-card.is-filtering-out {
  opacity: 0;
  transform: translateY(12px) scale(0.97);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-list span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.skills-list span:hover {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
  transform: translateY(-3px) rotate(-1deg);
}

.details-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 18px;
}

.detail-panel {
  padding: 28px;
}

.detail-item + .detail-item {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.detail-item span,
.language-row strong {
  color: var(--green);
}

.language-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.language-row:last-child {
  border-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-top: 30px;
}

.contact-links a {
  color: var(--accent-dark);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: #fbfaf7;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(189, 91, 69, 0.16);
  border-color: var(--accent);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

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

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

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

@keyframes shapeOrbit {
  from { transform: translate(0, 0) rotate(0); }
  to { transform: translate(18px, -14px) rotate(18deg); }
}

@keyframes orbDriftOne {
  from { transform: translate3d(0, 0, 0) scale(0.9); }
  to { transform: translate3d(100px, 55px, 0) scale(1.16); }
}

@keyframes orbDriftTwo {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-75px, -45px, 0) scale(1.18); }
}

@keyframes arrowNudge {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, -4px); }
}

@keyframes textShimmer {
  to { background-position: -220% center; }
}

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

@keyframes portraitBreath {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-9px) scale(1.015); }
}

@keyframes nameEntrance {
  from {
    opacity: 0;
    transform: translateY(0.28em);
  }

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

@keyframes caretBlink { 50% { opacity: 0; } }

@keyframes availabilityPulse {
  70% { box-shadow: 0 0 0 8px rgba(105, 163, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(105, 163, 117, 0); }
}

@media (max-width: 980px) {
  .hero,
  .two-column,
  .contact-section,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 48px;
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .creative-panel {
    min-height: 390px;
  }

  .portrait-panel {
    min-height: 440px;
  }

  .portrait-photo {
    right: 10%;
    bottom: 38px;
    width: min(58%, 300px);
    height: 74%;
  }

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

  .inline-heading {
    display: grid;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav a::after { display: none; }

  .section-shell {
    width: min(100% - 28px, var(--max-width));
    padding: 62px 0;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 4.75rem);
    line-height: 0.86;
  }

  .interactive-name {
    gap: 8px;
    padding-right: 0;
    padding-bottom: 18px;
  }

  .name-line {
    gap: 0;
  }

  .hero-signature {
    margin-top: 4px;
    margin-bottom: 18px;
    font-size: 1.12rem;
  }

  .hero-title {
    margin-bottom: 14px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-stats { gap: 8px; }
  .hero-stats strong { font-size: 1.45rem; }
  .hero-stats span { font-size: .6rem; }

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

  .service-card,
  .project-card {
    min-height: 210px;
  }

  .creative-panel {
    min-height: 340px;
    border-radius: 18px;
  }

  .portrait-panel {
    min-height: 390px;
  }

  .portrait-photo {
    right: 24px;
    bottom: 38px;
    width: min(58%, 240px);
    height: 72%;
    object-position: center 18%;
    border-radius: 20px;
  }

  .card-one {
    top: 52px;
    left: 24px;
  }

  .card-two {
    right: 22px;
    bottom: 28px;
  }

  .shape-a {
    right: 32px;
    top: 32px;
  }

  .shape-b {
    left: 28px;
    bottom: 28px;
  }

  .filters {
    align-self: start;
  }
}

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

@media (pointer: coarse) {
  .cursor-glow { display: none; }
}
