/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #f7f3ed;
  --cream-dark: #ede8e0;
  --white:      #faf9f7;
  --black:      #1c1a17;
  --black-soft: #2e2b26;
  --gold:       #a8845a;
  --gold-light: #e8d9c8;
  --gray:       #7a7570;
  --gray-light: #c8c3bc;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 112px 0; }

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-label.center { text-align: center; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.section-title.center { text-align: center; }
.section-title em { font-style: italic; }

.section-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto 64px;
  text-align: center;
  line-height: 1.8;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-primary:hover {
  background: var(--black-soft);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  padding: 18px 0;
  background: rgba(250,249,247,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(237,232,224,0.76);
  transition: all 0.35s ease;
}
.navbar.scrolled {
  background: rgba(247,243,237,0.95);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--black);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
}
.nav-menu a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--black); }
.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em;
}
.nav-cta:hover { background: var(--black-soft) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-toggle:focus { outline: none; }
.nav-toggle:focus-visible {
  outline: 1px solid rgba(168,132,90,0.65);
  outline-offset: 8px;
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--black);
  transition: all 0.3s ease;
}

/* ===================== HERO ===================== */
.hero {
  height: 100vh;
  min-height: 700px;
  display: grid;
  grid-template-columns: 46fr 54fr;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 140px 56px 52px 40px;
  position: relative;
  z-index: 1;
}

.hero-content-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 400;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
.hero-eyebrow-dash {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transform-origin: left;
  transform: scaleX(0);
  animation: dashGrow 0.55s cubic-bezier(0.16,1,0.3,1) 0.48s forwards;
}
@keyframes dashGrow {
  to { transform: scaleX(1); }
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 5.5vw, 5.6rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--black);
}
.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(48px);
  animation: heroLineReveal 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-title-line:nth-child(1) { animation-delay: 0.35s; }
.hero-title-line:nth-child(2) { animation-delay: 0.50s; }
.hero-title-line:nth-child(3) { animation-delay: 0.65s; }
.hero-title em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 0.92rem;
  color: var(--gray);
  max-width: 400px;
  margin-bottom: 48px;
  line-height: 1.85;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.78s forwards;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.90s forwards;
}

/* Stats row */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 1.05s forwards;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--black);
  line-height: 1;
}
.hero-meta-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}
.hero-meta-divider {
  width: 1px;
  height: 32px;
  background: var(--cream-dark);
  flex-shrink: 0;
}

/* Image panel */
.hero-image-panel {
  position: relative;
  overflow: hidden;
  background: var(--black-soft);
}
.hero-image-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  animation: heroImgReveal 1.4s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}

/* "Available" pill */
.hero-available {
  position: absolute;
  bottom: 40px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(28,26,23,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 1.1s forwards;
}
.hero-available-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5cd47a;
  flex-shrink: 0;
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(92,212,122,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(92,212,122,0); }
}

/* Giant MR watermark */
.hero-img-number {
  position: absolute;
  bottom: -0.1em;
  right: -0.04em;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 300;
  color: rgba(255,255,255,0.06);
  line-height: 0.85;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-size: 0.65rem;
  color: var(--gray-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: heroFadeUp 0.6s ease 1.3s forwards;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gray-light);
  animation: scrollline 1.8s ease-in-out infinite;
}
@keyframes scrollline { 0%,100%{opacity:0.3;width:20px} 50%{opacity:1;width:40px} }

/* Hero entrance keyframes */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroLineReveal {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroImgReveal {
  to { opacity: 0.84; transform: scale(1); }
}

/* ===================== ABOUT ===================== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-light);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}
.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 28px;
  line-height: 1.15;
}
.about-text h2 em { font-style: italic; }
.about-text p { color: var(--gray); margin-bottom: 20px; font-size: 0.95rem; line-height: 1.85; }
.about-text .btn { margin-top: 20px; }

/* ===================== SERVICES ===================== */
.services { background: var(--black); color: var(--white); }
.services .section-label { color: var(--gold); }
.services .section-title { color: var(--white); }
.services .section-subtitle { color: rgba(255,255,255,0.5); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  margin-top: 64px;
}
.service-card {
  background: var(--black);
  padding: 48px 36px;
  transition: background 0.3s;
}
.service-card:hover { background: var(--black-soft); }
.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255,255,255,0.15);
  margin-bottom: 24px;
  line-height: 1;
}
.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--gold);
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--white);
}
.service-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.75; }

/* ===================== PROCESS ===================== */
.process { background: var(--white); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cream-dark);
  border: 1px solid var(--cream-dark);
  margin-top: 64px;
}
.process-card {
  background: var(--white);
  padding: 44px 36px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
}
.process-number {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 44px;
}
.process-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 300;
  margin-bottom: 14px;
}
.process-card p {
  font-size: 0.86rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ===================== MOTION SHOWCASE ===================== */
.motion-showcase {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.motion-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.motion-copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--white);
}
.motion-copy h2 em {
  color: var(--gold);
  font-style: italic;
}
.motion-copy p {
  color: rgba(255,255,255,0.58);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 28px;
}
.motion-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.motion-points span {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  color: rgba(255,255,255,0.68);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
}
.motion-stage {
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}
.motion-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.52;
  pointer-events: none;
}
.motion-orb-one {
  width: 180px;
  height: 180px;
  top: 44px;
  right: 36px;
  background: rgba(168,132,90,0.38);
  animation: orbFloatOne 8s ease-in-out infinite;
}
.motion-orb-two {
  width: 130px;
  height: 130px;
  left: 22px;
  bottom: 80px;
  background: rgba(232,217,200,0.16);
  animation: orbFloatTwo 9s ease-in-out infinite;
}
.motion-browser {
  width: min(100%, 520px);
  min-height: 380px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
    radial-gradient(circle at 70% 18%, rgba(168,132,90,0.18), transparent 34%);
  box-shadow: 0 40px 120px rgba(0,0,0,0.4);
  padding: 22px;
  transform: rotateX(8deg) rotateY(-10deg);
  transition: transform 0.2s ease;
  animation: browserFloat 7s ease-in-out infinite;
}
.motion-browser-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.motion-browser-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.26);
}
.motion-hero-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(250,249,247,0.08);
  padding: 28px;
  min-height: 180px;
}
.motion-kicker {
  display: block;
  color: var(--gold-light);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.motion-hero-card strong {
  display: block;
  max-width: 320px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 18px;
}
.motion-hero-card small {
  display: block;
  max-width: 300px;
  color: rgba(255,255,255,0.52);
  font-size: 0.82rem;
  line-height: 1.7;
}
.motion-row {
  height: 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.14);
  margin-top: 18px;
  transform-origin: left;
  animation: rowPulse 3s ease-in-out infinite;
}
.motion-row-one { width: 78%; }
.motion-row-two {
  width: 52%;
  animation-delay: 0.5s;
}
.motion-floating-card {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  background: rgba(28,26,23,0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.34);
  padding: 18px 20px;
  min-width: 160px;
}
.motion-floating-card span {
  display: block;
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 8px;
}
.motion-floating-card small {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  line-height: 1.5;
}
.card-a {
  right: -28px;
  top: 128px;
  animation: cardFloatA 5.8s ease-in-out infinite;
}
.card-b {
  left: -36px;
  bottom: 54px;
  animation: cardFloatB 6.4s ease-in-out infinite;
}
@keyframes browserFloat {
  0%,100% { transform: rotateX(8deg) rotateY(-10deg) translateY(0); }
  50% { transform: rotateX(6deg) rotateY(-7deg) translateY(-10px); }
}
@keyframes cardFloatA {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes cardFloatB {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(14px); }
}
@keyframes orbFloatOne {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-28px,24px) scale(1.08); }
}
@keyframes orbFloatTwo {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-18px) scale(0.92); }
}
@keyframes rowPulse {
  0%,100% { transform: scaleX(0.86); opacity: 0.45; }
  50% { transform: scaleX(1); opacity: 0.82; }
}

/* ===================== PRICING ===================== */
.pricing { background: var(--cream); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--cream-dark);
  border: 1px solid var(--cream-dark);
  margin-top: 64px;
}
.pricing-card {
  background: var(--cream);
  padding: 52px 44px;
  position: relative;
  transition: background 0.25s;
}
.pricing-card:hover { background: var(--white); }
.pricing-card.featured {
  background: var(--black);
  color: var(--white);
}
.pricing-badge {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.pricing-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 16px;
}
.pricing-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 12px;
}
.pricing-amount span {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.6;
}
.pricing-header p {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 36px;
  line-height: 1.7;
}
.pricing-card.featured .pricing-header p { color: rgba(255,255,255,0.5); }
.pricing-divider {
  height: 1px;
  background: var(--cream-dark);
  margin-bottom: 32px;
}
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.15); }
.pricing-list {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-list li {
  font-size: 0.85rem;
  color: var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pricing-card.featured .pricing-list li { color: rgba(255,255,255,0.6); }
.pricing-list li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
}
.pricing-addon {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 16px 28px;
  background: var(--white);
}
.pricing-addon-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  border: 1px solid var(--gold-light);
  border-radius: 100px;
  padding: 3px 10px;
}
.pricing-addon-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--black);
  flex: 1;
}
.pricing-addon-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.hosting-note {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 0.9fr 2fr;
  gap: 32px;
  align-items: start;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  padding: 28px;
}
.hosting-note-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.hosting-note h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1.2;
}
.hosting-note p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.8;
}
.hosting-note strong {
  color: var(--black);
  font-weight: 500;
}

.pricing-note {
  text-align: center;
  margin-top: 48px;
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

/* ===================== TESTIMONIAL ===================== */
.testimonial { background: var(--black); }
.testimonial-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0;
}
.testimonial-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  line-height: 0.5;
  color: var(--gold);
  margin-bottom: 40px;
  opacity: 0.6;
}
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 40px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}
.testimonial-title {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* ===================== PORTFOLIO ===================== */
.portfolio { background: var(--white); }
.portfolio-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2px;
  background: var(--cream-dark);
  margin-top: 64px;
}
.portfolio-card {
  background: var(--white);
  overflow: hidden;
  transition: opacity 0.3s;
}
.portfolio-card:hover { opacity: 0.92; }
.portfolio-img {
  aspect-ratio: 4/3;
  background: var(--cream);
  overflow: hidden;
}
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.03); }
.portfolio-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray-light);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.portfolio-info { padding: 36px; }
.portfolio-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.portfolio-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 10px;
}
.portfolio-info p { font-size: 0.85rem; color: var(--gray); margin-bottom: 24px; line-height: 1.75; }
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: gap 0.2s, color 0.2s;
}
.portfolio-link:hover { gap: 16px; color: var(--gold); border-color: var(--gold); }
.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  min-height: 300px;
}
.portfolio-cta-inner { text-align: center; padding: 48px 40px; }
.portfolio-cta-inner p {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.portfolio-cta-inner h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 32px;
  line-height: 1.2;
}

/* ===================== CONTACT ===================== */
.contact { background: var(--black); color: var(--white); }
.contact .section-label { color: var(--gold); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.15;
  color: var(--white);
}
.contact-info h2 em { font-style: italic; }
.contact-info p { color: rgba(255,255,255,0.5); margin-bottom: 48px; font-size: 0.9rem; line-height: 1.85; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}
.contact-detail svg { color: var(--gold); flex-shrink: 0; }
.contact-detail a {
  color: rgba(255,255,255,0.64);
  border-bottom: 1px solid rgba(168,132,90,0.35);
  transition: color 0.2s, border-color 0.2s;
}
.contact-detail a:hover {
  color: var(--white);
  border-color: var(--gold);
}

/* ===================== FORM ===================== */
.contact-form-wrap { padding-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.4);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  transition: border-color 0.2s;
  outline: none;
  border-radius: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group select option { background: var(--black-soft); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: none; }
.form-success { display: none; text-align: center; padding: 60px 0; }
.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 12px;
  color: var(--white);
}
.form-success p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.footer-tagline { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 6px; }
.footer-location { font-size: 0.8rem; color: rgba(255,255,255,0.25); margin-bottom: 32px; }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.2); letter-spacing: 0.05em; }

/* ===================== CUSTOM CURSOR ===================== */
*, *::before, *::after { cursor: none !important; }
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform;
  opacity: 0;
}
.cursor-active .cursor-dot,
.cursor-active .cursor-ring { opacity: 1; }
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  margin: -3px 0 0 -3px;
  transition: width 0.2s, height 0.2s, background 0.2s, margin 0.2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(168,132,90,0.5);
  margin: -18px 0 0 -18px;
  transition: width 0.25s, height 0.25s, border-color 0.25s, margin 0.25s, opacity 0.25s;
}
.cursor-dot.cursor-hover {
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  background: var(--gold);
}
.cursor-ring.cursor-hover {
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-color: var(--gold);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  * { cursor: auto !important; }
}

@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
  * { cursor: auto !important; }
}

/* ===================== HERO — ingen skjulte animationer ===================== */
/* Alt vises med det samme — ingen fill-mode delays */

/* ===================== SCROLL REVEAL ===================== */
.sr-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr-up.sr-visible,
.sr-left.sr-visible,
.sr-right.sr-visible,
.sr-scale.sr-visible {
  opacity: 1;
  transform: none;
}

/* Preserve old fade-in for anything not converted */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* Clip-path reveal for section titles */
.sr-clip {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translateY(10px);
  transition:
    opacity 0.5s cubic-bezier(0.16,1,0.3,1),
    clip-path 0.85s cubic-bezier(0.16,1,0.3,1),
    transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
.sr-clip.sr-visible {
  opacity: 1;
  clip-path: inset(0 0 0% 0);
  transform: translateY(0);
}

/* About image parallax — needs overflow hidden on parent */
.about-img { overflow: hidden; }
.about-img img { will-change: transform; transition: transform 0.1s linear; }

/* ===================== COUNT UP ===================== */
.service-number {
  transition: color 0.4s ease;
}
.service-number.count-up {
  animation: numberReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes numberReveal {
  from { opacity: 0.1; transform: translateY(10px); }
  to   { opacity: 1;   transform: translateY(0); }
}

/* ===================== NAVBAR HIDE/SHOW ===================== */
.navbar { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, padding 0.35s ease; }
.navbar-hidden  { transform: translateY(-100%); }
.navbar-visible { transform: translateY(0); }

/* ===================== PRICING TILT ===================== */
.pricing-card {
  transition: transform 0.15s ease, background 0.25s ease;
  transform-origin: center;
  will-change: transform;
}

/* ===================== PAKKE VÆLGER ===================== */
.pakke-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.pakke-option {
  cursor: pointer;
}
.pakke-option input[type="radio"] {
  display: none;
}
.pakke-label {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  gap: 2px;
}
.pakke-label:hover {
  border-color: var(--gold);
}
.pakke-option input[type="radio"]:checked + .pakke-label {
  border-color: var(--gold);
  background: rgba(168,132,90,0.12);
}
.pakke-label strong {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
}
.pakke-label em {
  font-style: normal;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* ===================== FORM SUCCESS ===================== */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.form-success.visible { opacity: 1; transform: none; }
.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300;
  margin-bottom: 12px; color: var(--white);
}
.form-success p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* ===================== FOOTER DECORATION ===================== */
.footer-mr {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 300;
  color: rgba(255,255,255,0.04);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: -0.15em;
  margin-top: 24px;
  user-select: none;
  will-change: transform;
  overflow: hidden;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    min-height: unset;
  }
  .hero-content { grid-row: 1; padding: 120px 40px 56px; justify-content: flex-start; }
  .hero-content-inner { justify-content: flex-start; }
  .hero-image-panel { grid-row: 2; min-height: 360px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: auto; }
  .motion-grid { grid-template-columns: 1fr; gap: 52px; }
  .motion-stage { min-height: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-img { max-width: 400px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .container { padding: 0 24px; }
  .nav-container { padding: 0 24px; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: #1c1a17;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 200;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    isolation: isolate;
    margin-left: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { font-size: 1rem; color: rgba(255,255,255,0.6); }
  .nav-menu a:hover { color: var(--white); }
  .nav-cta { background: transparent !important; color: var(--white) !important; }
  .nav-toggle { display: flex; }
  .nav-toggle.open { z-index: 350; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--white); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--white); }
  .navbar:has(.nav-menu.open) .nav-logo { color: var(--white); }
  .pricing-grid { grid-template-columns: 1fr; }
  .hosting-note { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 56px; }
  .form-row { grid-template-columns: 1fr; }
  .motion-stage { min-height: 420px; }
  .motion-browser {
    min-height: 340px;
    transform: none;
    animation: browserFloatMobile 7s ease-in-out infinite;
  }
  .motion-floating-card { min-width: 138px; padding: 14px 16px; }
  .card-a { right: -8px; top: 122px; }
  .card-b { left: -8px; bottom: 44px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-card { padding: 36px 28px; }
  .process-number { margin-bottom: 32px; }
  .motion-showcase { padding: 88px 0; }
  .motion-points { flex-direction: column; align-items: flex-start; }
  .motion-stage { min-height: 390px; }
  .motion-browser { padding: 18px; }
  .motion-hero-card { padding: 22px; min-height: 168px; }
  .motion-hero-card strong { font-size: 1.9rem; }
  .motion-floating-card span { font-size: 1.3rem; }
  .motion-orb-one { right: -30px; }
  .motion-orb-two { left: -34px; }
  .navbar { padding: 22px 0; }
  .hero-content { padding: 104px 24px 48px; }
  .hero-image-panel { min-height: 280px; }
  .hero-available { bottom: 24px; right: 16px; font-size: 0.6rem; padding: 8px 14px; }
  .hero-meta { gap: 16px; flex-wrap: wrap; }
  .hero-title { font-size: 3.25rem; }
  .pricing-addon {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .pakke-grid { grid-template-columns: 1fr; }
}

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

@media (prefers-reduced-motion: reduce) {
  .motion-browser,
  .motion-floating-card,
  .motion-orb,
  .motion-row {
    animation: none;
  }
}
