/* ============================
   HEDVION — Brand Tokens
   ============================ */
:root {
  --bg: #fbf8f3;
  --bg-alt: #f3ede2;
  --bg-dark: #1d1815;
  --ink: #2d2422;
  --ink-soft: #5a4f4a;
  --line: #e6dfd2;
  --accent: #a87340;
  --accent-2: #c08654;
  --accent-glow: rgba(168, 115, 64, 0.18);
  --shadow-sm: 0 1px 2px rgba(45, 36, 34, 0.06);
  --shadow-md: 0 6px 24px rgba(45, 36, 34, 0.08);
  --shadow-lg: 0 24px 60px rgba(45, 36, 34, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 124px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-feature-settings: 'ss01', 'tnum';
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .18s ease; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* ===== Layout ===== */
.container {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 9999; }

/* ===== Accent helpers ===== */
.accent { color: var(--accent); }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block; vertical-align: middle;
  width: 22px; height: 1px; background: var(--accent);
  margin-right: 10px;
}

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, 0.78);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 248, 243, 0.92);
}
.nav__inner {
  display: flex; align-items: center; gap: 28px;
  height: 116px;
}
.nav__logo {
  display: flex; align-items: center;
}
.nav__logo--icon img {
  width: 96px;
  height: 96px;
  display: block;
  transition: transform .22s ease;
}
.nav__logo--icon:hover img { transform: rotate(-6deg) scale(1.06); }

/* nav variants — 워드마크 SVG (margin clip 으로 내부 여백 제거) */
.nav__logo--wordmark img {
  width: auto; height: 78px;
  margin: -22px -18px;
  transition: transform .22s ease;
}
/* nav variants — 풀로고 (고슴도치+텍스트) */
.nav__logo--full img {
  width: auto; height: 96px;
  margin: -16px -10px;
  transition: transform .22s ease;
}
/* nav variants — trim PNG (흰여백 제거된 풀로고, 진짜 빵빵) */
.nav__logo--trim img {
  width: auto; height: 110px;
  margin: 0;
  transition: transform .22s ease;
  image-rendering: -webkit-optimize-contrast;
}
.nav__logo--trim:hover img { transform: rotate(-3deg) scale(1.04); }

.nav__menu {
  display: flex; gap: 28px; margin-left: auto;
  font-size: 15px; color: var(--ink-soft); font-weight: 500;
}
.nav__menu a { position: relative; padding: 6px 0; text-decoration: none; }
.nav__menu a::after {
  content:''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a:hover::after { transform: scaleX(1); }

.nav__cta { padding: 9px 18px; font-size: 14px; }

.nav__burger {
  display: none; width: 36px; height: 36px; border-radius: 8px;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav__burger span:nth-child(1) { top: 12px; }
.nav__burger span:nth-child(2) { top: 17px; }
.nav__burger span:nth-child(3) { top: 22px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 6px 20px rgba(45, 36, 34, 0.18);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--accent); }
.btn--ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--text {
  padding: 14px 4px; color: var(--ink-soft);
}
.btn--text:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(60px, 11vw, 130px) 0 clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -10% -5% 0 -5%; z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, var(--accent-glow), transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 30%, rgba(168,115,64,0.08), transparent 60%);
}
.hero__inner {
  display: flex; flex-direction: column; gap: 32px;
  position: relative;
}
.hero__title {
  font-size: clamp(56px, 12vw, 168px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--ink);
}
.hero__line { display: block; }
.hero__line .accent {
  position: relative;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__line .accent::after { display: none; }

.hero__sub {
  display: block;
  margin-top: 22px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.32;
}

.hero__desc {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.7;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

.hero__meta {
  display: flex; gap: clamp(28px, 5vw, 56px);
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero__meta div {
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.hero__meta div::before {
  content: ''; position: absolute; left: -14px; top: 8px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}
.hero__meta strong {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero__meta span {
  font-size: 12px; color: var(--ink-soft); letter-spacing: 0.06em;
}

.hero__mascot {
  position: absolute;
  right: clamp(-20px, -1vw, 20px);
  top: 8%;
  width: clamp(200px, 32vw, 420px);
  opacity: 0.22;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: -1;
}
.hero__mascot img { width: 100%; }

/* ===== Sections ===== */
.section {
  padding: clamp(72px, 10vw, 130px) 0;
  position: relative;
}
.section--alt { background: var(--bg-alt); }

.section__head { margin-bottom: 56px; max-width: 720px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
}
.section__lede {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
}

.section__grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.section__body p + p { margin-top: 16px; }
.section__body p { color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.section__body strong { color: var(--ink); font-weight: 600; }

.values {
  list-style: none;
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.values li {
  position: relative;
  padding: 24px 24px 24px 80px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.values li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(168,115,64,0.4);
}
.values__num {
  position: absolute; left: 22px; top: 22px;
  font-size: 13px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.1em;
}
.values h3 { font-size: 18px; margin-bottom: 6px; letter-spacing: -0.02em; }
.values p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ===== Team ===== */
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.team__grid--full {
  max-width: 1080px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
}
.team-card__bio + .team-card__bio {
  margin-top: 10px;
}
@media (max-width: 860px) {
  .team__grid--full { grid-template-columns: 1fr; }
}
.team-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 24px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  text-decoration: none;
  color: var(--ink);
  min-height: 92px;
}
.team-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 115, 64, 0.45);
  box-shadow: var(--shadow-sm);
}
.team-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fbf8f3;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.team-card__info {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.team-card__info strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.team-card__info span {
  font-size: 13px;
  color: var(--ink-soft);
}
.team-card__icon {
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: color .22s ease, transform .22s ease;
}
.team-card:hover .team-card__icon {
  color: var(--accent);
  transform: translateX(2px);
}

/* ===== mings 전용 화려 효과 (놀리는 용) ===== */
.team-card--shine {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,
    rgba(168, 115, 64, 0.18) 0%,
    rgba(255, 215, 130, 0.10) 35%,
    rgba(192, 134, 84, 0.16) 65%,
    rgba(168, 115, 64, 0.18) 100%) !important;
  border: 1.5px solid rgba(192, 134, 84, 0.55) !important;
  box-shadow:
    0 0 0 1px rgba(192, 134, 84, 0.15),
    0 8px 28px rgba(168, 115, 64, 0.18),
    0 0 60px -10px rgba(255, 215, 130, 0.4) !important;
  animation: shine-float 3.2s ease-in-out infinite alternate;
}
.team-card--shine::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 235, 180, 0.55) 50%,
    transparent 65%,
    transparent 100%);
  background-size: 250% 100%;
  animation: shine-sweep 2.6s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.team-card--shine > * { position: relative; z-index: 2; }
.team-card--shine:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow:
    0 0 0 2px rgba(192, 134, 84, 0.4),
    0 16px 40px rgba(168, 115, 64, 0.3),
    0 0 80px -10px rgba(255, 215, 130, 0.6) !important;
}

@keyframes shine-sweep {
  0% { background-position: -120% 0; }
  100% { background-position: 220% 0; }
}
@keyframes shine-float {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}

.team-card__avatar--shine {
  background: conic-gradient(from 0deg,
    #a87340, #c08654, #ffe082, #d49866,
    #c08654, #ffd966, #a87340) !important;
  background-size: 200% 200% !important;
  animation: avatar-shine 3s linear infinite;
  box-shadow:
    0 0 0 2px rgba(255, 235, 180, 0.5),
    0 0 20px rgba(255, 215, 130, 0.6) !important;
  position: relative;
}
@keyframes avatar-shine {
  0% { background-position: 0% 0%; filter: hue-rotate(0deg); }
  100% { background-position: 100% 100%; filter: hue-rotate(20deg); }
}

.team-card__crown {
  position: absolute;
  top: -10px; right: 16px;
  font-size: 18px;
  z-index: 3;
  animation: crown-bounce 1.6s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(255, 215, 130, 0.6));
}
@keyframes crown-bounce {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-3px); }
}

.team-card__sparkle {
  position: absolute;
  font-size: 14px;
  color: var(--accent-2);
  pointer-events: none;
  z-index: 2;
  animation: sparkle-twinkle 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 215, 130, 0.8));
}
.team-card__sparkle--1 { top: 8px; left: 14%; animation-delay: 0s; font-size: 12px; }
.team-card__sparkle--2 { bottom: 8px; right: 30%; animation-delay: 0.6s; font-size: 16px; }
.team-card__sparkle--3 { top: 50%; left: 6%; animation-delay: 1.2s; font-size: 10px; }
@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.8) rotate(0); }
  50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

.team-card--shine .team-card__info strong {
  background: linear-gradient(110deg, var(--accent), #d4a060, var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-shine 2.5s linear infinite;
  font-weight: 800;
}
@keyframes text-shine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.team-card--shine .team-card__info span {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.team-card--shine .team-card__icon {
  color: var(--accent);
  filter: drop-shadow(0 0 4px rgba(255, 215, 130, 0.6));
}

/* Contact 섹션 팀 링크 */
.contact__team {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact__team-label {
  display: block;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.contact__team-list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.contact__team-list a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: rgba(243, 237, 226, 0.85);
  transition: background .22s ease, border-color .22s ease, transform .22s ease, color .22s ease;
}
.contact__team-list a:hover {
  background: rgba(168, 115, 64, 0.18);
  border-color: var(--accent-2);
  color: #fbf8f3;
  transform: translateY(-2px);
}
.contact__team-shine {
  background: linear-gradient(110deg,
    rgba(168, 115, 64, 0.18),
    rgba(255, 215, 130, 0.18),
    rgba(168, 115, 64, 0.18)) !important;
  background-size: 200% auto !important;
  border-color: rgba(192, 134, 84, 0.5) !important;
  color: #fbf8f3 !important;
  font-weight: 600 !important;
  animation: text-shine 3s linear infinite;
  box-shadow: 0 0 18px rgba(255, 215, 130, 0.3);
}

/* ===== Services ===== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.service-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(168,115,64,0.4);
}
.service-card__icon {
  font-size: 32px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--bg-alt);
  border-radius: 14px;
  margin-bottom: 20px;
  filter: saturate(0.9);
}
.service-card h3 {
  font-size: 21px; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.service-card > p {
  font-size: 14px; color: var(--ink-soft); line-height: 1.7;
  margin-bottom: 18px;
}
.service-card ul {
  list-style: none;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.service-card ul li {
  font-size: 13px; color: var(--ink-soft); padding-left: 18px; position: relative;
}
.service-card ul li::before {
  content: '◆'; position: absolute; left: 0; color: var(--accent);
  font-size: 8px; top: 6px;
}

/* ===== Tech Stack ===== */
.stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.stack-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
  padding: 22px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.stack-row:hover {
  border-color: rgba(168, 115, 64, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.stack-row__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 6px;
}
.stack-row__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: var(--bg-alt);
  color: var(--ink-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
  cursor: default;
}
.chip:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--bg);
}
.chip--primary {
  background: rgba(168, 115, 64, 0.12);
  color: var(--accent);
  font-weight: 600;
  border-color: rgba(168, 115, 64, 0.2);
}
.chip--primary:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
@media (max-width: 720px) {
  .stack-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 22px;
  }
  .stack-row__label {
    font-size: 12px;
    padding-top: 0;
  }
}

/* ===== Portfolio ===== */
.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.port-card {
  padding: 36px 30px;
  background: linear-gradient(140deg, var(--bg-alt), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
}
.port-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.port-card__tag {
  display: inline-flex; align-self: flex-start;
  padding: 5px 12px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(168, 115, 64, 0.12); color: var(--accent);
  border-radius: var(--radius-pill);
}
.port-card h3 { font-size: 21px; letter-spacing: -0.02em; }
.port-card > p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.port-card__meta { font-size: 12px; color: var(--ink-soft); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.port-card--soon { opacity: 0.65; border-style: dashed; }

/* ===== Contact ===== */
.section--contact {
  background: var(--bg-dark);
  color: #f3ede2;
}
.section--contact .eyebrow { color: var(--accent-2); }
.section--contact h2 { color: #fbf8f3; }
.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact__lede {
  color: rgba(243, 237, 226, 0.72);
  margin: 22px 0 36px;
  font-size: 17px;
  line-height: 1.7;
}
.contact__mail {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 115, 64, 0.3);
  border-radius: var(--radius-lg);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.contact__mail:hover {
  background: rgba(168, 115, 64, 0.12);
  border-color: var(--accent-2);
  transform: translateY(-2px);
}
.contact__mail-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2);
}
.contact__mail-addr {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fbf8f3;
  word-break: break-all;
}
.contact__mail-arrow {
  font-size: 28px; color: var(--accent-2);
  transition: transform .22s ease;
}
.contact__mail:hover .contact__mail-arrow { transform: translateX(6px); }

.contact__right { display: flex; flex-direction: column; gap: 18px; }
.contact__card {
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}
.contact__card h3 {
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  color: #fbf8f3; margin-bottom: 14px;
}
.contact__card ul {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.contact__card li {
  font-size: 14px; color: rgba(243, 237, 226, 0.7);
  padding-left: 22px; position: relative; line-height: 1.6;
}
.contact__card li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--accent-2); font-weight: 700;
}
.contact__card--mini li::before { content: '✕'; color: rgba(255,255,255,0.3); }

.contact__card--highlight {
  background: linear-gradient(135deg, rgba(168, 115, 64, 0.18), rgba(168, 115, 64, 0.06));
  border: 1px solid rgba(192, 134, 84, 0.4);
  position: relative;
  overflow: hidden;
}
.contact__card--highlight::before {
  content: '';
  position: absolute; top: -50%; right: -30%;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 134, 84, 0.18), transparent 70%);
  pointer-events: none;
}
.contact__badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(192, 134, 84, 0.15);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.contact__card-lede {
  font-size: 14px; color: rgba(243, 237, 226, 0.82);
  line-height: 1.7;
  margin-bottom: 16px;
}
.contact__card--highlight h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.contact__card--highlight ul li::before {
  color: var(--accent-2);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(243, 237, 226, 0.6);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__inner { display: flex; flex-direction: column; gap: 36px; }
.footer__brand {
  display: flex; align-items: center;
}
.footer__brand img {
  width: auto;
  height: 110px;
  filter: brightness(0) invert(0.95);
  opacity: 0.92;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}
.footer__cols h4 {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 14px; font-weight: 700;
}
.footer__cols a, .footer__cols p {
  display: block; font-size: 14px; color: rgba(243, 237, 226, 0.7);
  line-height: 2;
}
.footer__cols a:hover { color: var(--accent-2); }
.footer__copy {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(243, 237, 226, 0.4);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.3,1);
}
.reveal.is-visible {
  opacity: 1; transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  html { scroll-padding-top: 84px; }
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.is-open .nav__menu {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg);
    padding: 24px var(--pad);
    gap: 18px; border-top: 1px solid var(--line);
  }
  .section__grid { grid-template-columns: 1fr; gap: 36px; }
  .contact { grid-template-columns: 1fr; }
  .hero__mascot { opacity: 0.06; right: -10%; }
}

@media (max-width: 520px) {
  .hero__title { font-size: clamp(48px, 16vw, 84px); }
  .hero__sub { font-size: 18px; }
  .hero__meta { gap: 24px; }
  .hero__meta strong { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Rich team cards (richer layout for sparkly cards) ===== */
.team-card--rich {
  align-items: stretch;
  padding: 24px 26px;
  min-height: 132px;
}
.team-card--rich .team-card__info {
  gap: 8px;
}
.team-card__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.team-card__role {
  font-size: 12.5px;
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(168, 115, 64, 0.10);
  border: 1px solid rgba(168, 115, 64, 0.22);
}
.team-card--shine .team-card__role {
  background: rgba(255, 235, 180, 0.35);
  border-color: rgba(192, 134, 84, 0.45);
  color: #8a5a2c;
}
.team-card__bio {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 60ch;
}
.team-card--shine .team-card__bio {
  color: #5a4a3a;
}
.team-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.chip--mini {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.team-card--shine .chip--mini {
  background: rgba(255, 251, 240, 0.65);
  border-color: rgba(192, 134, 84, 0.35);
  color: #6a4a28;
}
.team-card__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
}
.team-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink-soft);
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.team-card__link:hover {
  color: var(--accent);
  background: rgba(168, 115, 64, 0.10);
  transform: translateY(-1px);
}
.team-card__link--portfolio {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(168, 115, 64, 0.35);
  background: rgba(255, 251, 240, 0.4);
  color: var(--accent);
}
.team-card__link--portfolio svg { width: 14px; height: 14px; }
.team-card__link--portfolio:hover {
  background: rgba(168, 115, 64, 0.18);
  border-color: rgba(168, 115, 64, 0.6);
  color: #6a4a28;
}
.team-card--shine .team-card__link {
  color: var(--accent);
}

@media (max-width: 720px) {
  .team-card--rich {
    grid-template-columns: auto 1fr;
    padding: 20px 18px;
  }
  .team-card--rich .team-card__avatar { grid-row: 1 / 2; }
  .team-card--rich .team-card__info { grid-column: 2 / 3; }
  .team-card--rich .team-card__links {
    grid-column: 1 / 3;
    flex-direction: row;
    align-items: center;
    margin-top: 8px;
  }
  .team-card__bio { font-size: 12.5px; }
}

/* ======================
   AdSense slot
   ====================== */
.ad-slot {
  margin: 48px auto;
  padding: 0 var(--container-pad, 24px);
}
.ad-slot__label {
  display: block;
  font-size: 11px;
  color: rgba(45, 36, 34, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
