@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --paper: #F4F4F6;
  --paper-dim: #E8E8EC;
  --ink: #14161B;
  --deep: #0D0E12;
  --brass: #E6007A;             /* Electric hot pink */
  --brass-dim: #FF2E93;
  --slate: #5C6270;
  --line: rgba(20, 22, 27, 0.08);
  --line-on-deep: #252833;
  --max-w: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brass);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  line-height: 1.15;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 24px;
}

h3 {
  font-size: 1.15rem;
}

/* ---- Nav (Left-Aligned + Hamburger Shell) ---- */

nav {
  position: relative;
  padding: 22px 32px;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin: 0;
  z-index: 50;
}

nav .brand {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--slate);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav-links .nav-cta {
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.nav-links .nav-cta:hover {
  border-color: var(--brass);
  color: var(--brass);
}

/* Hamburger Toggle Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Content Shell (Left-Aligned) ---- */

#content {
  flex: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 64px 32px 96px;
}

.page-header {
  margin-bottom: 32px;
}

.lede {
  color: var(--slate);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 60ch;
}

/* ---- Hero ---- */

.hero {
  animation: rise 0.5s ease both;
  max-width: 780px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-kicker {
  color: var(--brass);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-lede {
  color: var(--slate);
  font-size: 1.15rem;
  max-width: 48ch;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 12px 26px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary:hover {
  background-color: #2b334a;
  border-color: #2b334a;
  color: #fff;
  text-decoration: none;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-text {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: all 0.15s ease;
}

.btn-text:hover {
  color: var(--brass);
  text-decoration: none;
  border-color: var(--brass);
}

.highlight {
  color: var(--brass);
  font-style: italic;
}

.accent {
  color: var(--slate);
  font-style: italic;
}

/* ---- Approach Band ---- */

.approach-band {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 780px;
}

.approach-step {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--slate);
}

.approach-sep {
  width: 32px;
  height: 1px;
  background-color: var(--line);
}

/* ---- Services ---- */

.services-section {
  margin-top: 72px;
  max-width: 860px;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: baseline;
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  text-transform: capitalize;
  color: var(--ink);
  font-size: 1.25rem;
}

.service-row p {
  color: var(--slate);
}

/* ---- Notice ---- */

.notice {
  margin-top: 48px;
  padding: 16px 20px;
  background-color: var(--paper-dim);
  border-left: 3px solid var(--brass);
  color: var(--ink);
  font-size: 0.95rem;
  border-radius: 0 4px 4px 0;
  max-width: 780px;
}

/* ---- About / Skills ---- */

.section-label {
  color: var(--slate);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 600px;
}

.pill-list li {
  border: 1px solid var(--line);
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.9rem;
  color: var(--ink);
}

/* ---- Contact ---- */

.contact-line {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--slate);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.is-open {
  background-color: #3b7c46;
}

.status-dot.is-closed {
  background-color: #a3382e;
}

/* ---- FAQ ---- */

.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 780px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+';
  color: var(--brass);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  margin-right: 14px;
}

.faq-item[open] summary::before {
  content: '\2212';
}

.faq-item p {
  margin-top: 14px;
  padding-left: 26px;
  color: var(--slate);
  line-height: 1.6;
}

/* ---- Auth (Login / Register) ---- */

.auth-card {
  max-width: 400px;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 32px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.auth-card h1 {
  font-size: 1.7rem;
  margin-bottom: 24px;
}

.auth-card form {
  display: flex;
  flex-direction: column;
}

.auth-card label {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 16px;
  margin-bottom: 6px;
  font-weight: 500;
}

.auth-card input {
  font-family: 'Inter', Arial, sans-serif;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background-color: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}

.auth-card input:focus {
  border-color: var(--brass);
  outline: none;
}

.auth-card .btn-primary {
  margin-top: 26px;
  width: 100%;
}

.auth-switch {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--slate);
  text-align: center;
}

/* ---- Error / 404 ---- */

.error-msg {
  color: #a3382e;
}

/* ---- Footer (Centered Layout) ---- */

.site-footer {
  background-color: var(--deep);
  color: var(--paper);
  margin-top: auto;
  padding-top: 64px;
  font-size: 0.9rem;
}

.footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 32px;
}

.brand-col .logo-text {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--paper);
}

.brand-desc {
  margin: 16px 0;
  line-height: 1.6;
  color: #9BA0AE;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-on-deep);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.social-links a:hover {
  border-color: var(--brass-dim);
  color: var(--brass-dim);
  text-decoration: none;
}

.footer-col h4 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 11px;
}

.footer-col a {
  color: #9BA0AE;
}

.footer-col a:hover {
  color: var(--paper);
  text-decoration: none;
}

.contact-item {
  margin-bottom: 10px;
  color: #9BA0AE;
}

.footer-bottom {
  border-top: 1px solid var(--line-on-deep);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #9BA0AE;
}

.bottom-links {
  display: flex;
  gap: 20px;
}

.bottom-links a {
  color: #9BA0AE;
}

.bottom-links a:hover {
  color: var(--paper);
}

/* ---- Animations & Media Queries ---- */

@keyframes menuSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  nav {
    padding: 16px 20px;
  }
  
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 18px;
    box-shadow: 0 10px 25px rgba(27, 33, 48, 0.05);
  }

  .nav-links.is-active {
    display: flex;
    animation: menuSlide 0.2s ease forwards;
  }

  .nav-links a {
    font-size: 1.1rem;
    width: 100%;
    padding: 4px 0;
  }

  .nav-links .nav-cta {
    display: inline-block;
    width: fit-content;
    margin-top: 8px;
    padding: 8px 18px;
  }

  #content {
    padding: 40px 20px 64px;
  }

  .approach-band {
    gap: 12px 16px;
  }

  .approach-sep {
    display: none;
  }

  .approach-step {
    flex: 1 1 40%;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 0 20px 40px;
  }

  .brand-col {
    grid-column: span 1;
  }

  .footer-bottom {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}