:root {
  --bg: #111010;
  --bg-2: #181614;
  --bg-3: #1E1B19;
  --ink: #FFFFFF;
  --ink-2: #E4DED6;
  --ink-3: #CFC7BE;
  --ink-4: #A79E94;
  --accent: #C4693A;
  --accent-lo: rgba(196, 105, 58, 0.12);
  --rule: #252220;
  --nav-h: 68px;
  --max: 1160px;
  --pad: clamp(1.5rem, 5vw, 4rem);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background: #080706;
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.032;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(4, 3, 2, 0.7) 100%);
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: -2;
  will-change: transform;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(196, 105, 58, 0.12), transparent 65%);
  top: -20%;
  left: -15%;
  animation: orb-drift-1 26s ease-in-out infinite;
}

.orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(160, 75, 30, 0.09), transparent 65%);
  bottom: -15%;
  right: -12%;
  animation: orb-drift-2 32s ease-in-out infinite;
}

@keyframes orb-drift-1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(60px, -50px);
  }
}

@keyframes orb-drift-2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-70px, 40px);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--ink-4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  z-index: 9999;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 8vw, 7rem);
  position: relative;
  z-index: 1;
}

section {
  scroll-margin-top: 120px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2.2rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}

.btn-solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 1.6rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule);
}

.sec-num {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.5rem;
}

.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: 52px;
  width: auto;
  max-width: 720px;
  min-width: 520px;
  z-index: 100;
  background: rgba(17, 16, 16, 0.65);
  backdrop-filter: blur(24px);
  border-radius: 100px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
  transition: background 0.35s, box-shadow 0.35s;
  isolation: isolate;
}

.navbar.scrolled {
  background: rgba(17, 16, 16, 0.88);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.5);
}

/* ── Rotating border ring ── */
.nav-border-ring {
  position: absolute;
  inset: -1.5px;
  border-radius: 100px;
  z-index: -1;
  padding: 1.5px;
  background: conic-gradient(
    from var(--angle, 0deg),
    #C4693A   0deg,
    #E8A882   45deg,
    #EDE8E2   90deg,
    #E8A882  135deg,
    #C4693A  180deg,
    #7a3518  225deg,
    #3d1a0b  270deg,
    #7a3518  315deg,
    #C4693A  360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: spin-border 4s linear infinite;
  opacity: 0.8;
  transition: opacity 0.35s;
}

.navbar:hover .nav-border-ring {
  opacity: 1;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin-border {
  from { --angle: 0deg; }
  to   { --angle: 360deg; }
}

.nav-inner {
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.22s;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--ink);
  background: var(--accent-lo);
  border-color: rgba(196, 105, 58, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 22px;
  height: 1px;
  background: var(--ink-2);
  transition: 0.3s;
}

/* Hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 72px var(--pad) 10rem; position: relative; overflow: hidden; }
.hero-inner { max-width: 1400px; margin: 0 auto; width: 100%; padding: 0 var(--pad); z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 4rem; }
.hero-content { flex: 1; max-width: 700px; display: flex; flex-direction: column; justify-content: center; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.8rem;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: breathe 2.6s infinite;
}

@keyframes breathe {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.65);
  }
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 10vw, 9.5rem);
  font-weight: 300;
  line-height: 0.92;
  color: var(--ink);
  margin-bottom: 2.2rem;
}

.hero-name em {
  font-style: italic;
  color: var(--accent);
}

.hero-mid {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 2rem;
  max-width: 680px;
}

.hero-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.hero-role {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  min-width: 220px;
  text-align: center;
}

.caret {
  display: inline-block;
  width: 1px;
  height: 0.9em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-desc {
  font-size: 0.96rem;
  color: var(--ink-2);
  max-width: 460px;
  margin-bottom: 2.6rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-quote {
  max-width: 440px;
  border-left: 1px solid var(--accent);
  padding-left: 1.4rem;
}

.quote-mark {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 0.6rem;
  line-height: 0;
}

.hero-quote blockquote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-2);
  margin-bottom: 0.5rem;
}

.hero-quote cite {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.scroll-hint {
  position: absolute;
  bottom: 2.8rem;
  right: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-bar {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollAnim 2.2s infinite;
}

@keyframes scrollAnim {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.25);
  }
}

.scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-4);
  writing-mode: vertical-rl;
}

/* Hero Visual Effects */
.hero-visual {
  display: flex;
  justify-content: flex-end; /* Push to the absolute right side of the flex container */
  align-items: center;
  position: relative;
  flex: 1;
}

.hero-image-wrapper {
  position: relative;
  width: clamp(320px, 42vw, 550px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 24px;
  z-index: 1;
  animation: heroFloat 8s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 105, 58, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -2;
  animation: heroPulse 5s ease-in-out infinite alternate;
}

.hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(196, 105, 58, 0.4);
  animation: heroSpin 35s linear infinite;
  z-index: -1;
}

.hero-ring-2 {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(196, 105, 58, 0.1);
  border-left-color: rgba(196, 105, 58, 0.6);
  border-right-color: rgba(196, 105, 58, 0.6);
  animation: heroSpin 20s linear infinite reverse;
  z-index: -1;
}

.hero-glass {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-mini-orb {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(2px);
  z-index: 2;
}
.orb-a { top: 10%; left: 15%; animation: floatOrbA 6s ease-in-out infinite alternate; }
.orb-b { bottom: 12%; right: 18%; animation: floatOrbB 7s ease-in-out infinite alternate; background: #E8A882; filter: blur(3px); width: 16px; height: 16px; }

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;  
  border-radius: 60%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), filter 0.6s var(--ease);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  filter: grayscale(20%) contrast(1.05);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.04);
  border-color: rgba(196, 105, 58, 0.5);
  filter: grayscale(0%) contrast(1.1);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-60px) rotate(1deg); }
}

@keyframes heroSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heroPulse {
  0% { opacity: 0.4; transform: scale(0.9); }
  100% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes floatOrbA {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  100% { transform: translate(20px, -15px) scale(1.3); opacity: 1; }
}

@keyframes floatOrbB {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  100% { transform: translate(-25px, 20px) scale(1.2); opacity: 0.9; }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.about-copy .lede {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
.about-copy p {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.side-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 2.8rem;
}

.chips span {
  font-size: 0.73rem;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  padding: 5px 13px;
  transition: 0.2s;
}

.chips span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 8px;
}

.bar-label {
  font-size: 0.78rem;
  color: var(--ink-2);
}

.pct {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-3);
}

.track {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--rule);
  position: relative;
}

.fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 1.4s var(--ease);
}

/* Services */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.svc-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(12, 11, 10, 0.9);
  padding: 1.8rem 1.9rem 1.6rem;
  transition: 0.22s;
}

.svc-card:hover {
  background: var(--bg-2);
}

.svc-card:hover .svc-num {
  color: var(--accent);
}

.svc-num {
  display: block;
  font-family: var(--serif);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-4);
  margin-bottom: 1.1rem;
  transition: 0.2s;
}

.svc-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.svc-card p {
  font-size: 0.87rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.svc-card footer {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.contact-intro {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contact-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}

.contact-list li:first-child {
  border-top: 1px solid var(--rule);
}

.cl-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.contact-list a {
  font-size: 0.88rem;
  color: var(--ink-2);
  transition: 0.2s;
}

.contact-list a:hover {
  color: var(--ink);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 0.7rem 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  resize: none;
  transition: 0.2s;
  caret-color: var(--accent);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.btn-submit {
  width: 100%;
  justify-content: center;
}

.form-ok {
  display: none;
  text-align: center;
  font-size: 0.82rem;
  color: var(--accent);
  padding: 0.8rem;
  border: 1px solid var(--accent);
  background: var(--accent-lo);
}

.form-ok.show {
  display: block;
}

/* Footer */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
}

.footer p {
  font-size: 0.75rem;
  color: var(--ink-3);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-mid {
    justify-content: center;
  }

  .hero-quote {
    border-left: none;
    padding-left: 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar {
    min-width: 90%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 84px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    flex-direction: column;
    background: rgba(17, 16, 16, 0.96);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: 0.28s;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    display: block;
    padding: 13px var(--pad);
    font-size: 0.85rem;
  }

  .hamburger {
    display: flex;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .row-2 {
    grid-template-columns: 1fr;
  }

  .hero-name {
    font-size: clamp(3.4rem, 14vw, 5.5rem);
  }

  .scroll-hint {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 425px){
  .hero-visual-reveal {
  display: none;
}

.hero-eyebrow-reveal{
  padding-top: 30px;
  padding-bottom: 20px;
}

.sec-head-reveal h2{
  font-size: x-large;
}
}