:root {
  --bg: #f7f2ea;
  --bg-deep: #efe6d8;
  --ink: #1b1b1b;
  --ink-soft: rgba(27, 27, 27, 0.7);
  --line: rgba(27, 27, 27, 0.12);
  --accent: #bf5b38;
  --accent-2: #2f5f5d;
  --accent-3: #6b4e2f;
  --paper: #fffdf8;
  --shadow: 0 20px 50px rgba(27, 27, 27, 0.12);
}

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

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, #fff3e1 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, #e6f0f0 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
  line-height: 1.6;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='160' height='160' fill='none'/%3E%3Cpath d='M0 40h160M0 120h160M40 0v160M120 0v160' stroke='%231b1b1b' stroke-opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  display: block;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 95, 93, 0.6);
  outline-offset: 3px;
}

.page {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--accent-2);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  left: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(12px);
  background: rgba(247, 242, 234, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand .sigil {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-family: "Fraunces", "Times New Roman", serif;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-bottom-color: var(--accent);
}

.hero {
  padding: 110px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 60px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 50px;
  height: 1px;
  background: var(--accent-2);
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  letter-spacing: -0.03em;
}

.lead {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.button {
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: var(--paper);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

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

.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card img {
  border-radius: 18px;
  height: 260px;
  object-fit: cover;
  width: 100%;
  filter: sepia(10%);
}

.hero-card .caption {
  margin-top: 18px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-3);
}

.section {
  padding: 80px 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.section-title p {
  max-width: 380px;
  color: var(--ink-soft);
}

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

.card {
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--ink-soft);
}

.highlight {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(191, 91, 56, 0.12);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.work-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow);
}

.work-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.work-card .content {
  padding: 24px;
}

.work-card .meta {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.work-card h3 {
  margin-bottom: 14px;
}

.work-card p {
  color: var(--ink-soft);
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.credential {
  padding: 20px;
  border-radius: 18px;
  border: 1px dashed var(--line);
  background: rgba(255, 253, 248, 0.7);
  display: flex;
  gap: 14px;
  align-items: center;
}

.credential span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--accent-2);
}

.page-header {
  padding: 80px 0 40px;
}

.page-header h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
}

.page-header p {
  margin-top: 18px;
  max-width: 560px;
  color: var(--ink-soft);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 20px;
  border-radius: 18px;
  border-left: 4px solid var(--accent);
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

.contact-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: left;
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .work-grid,
  .contact-panel,
  .credential-list {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 80px;
  }
}

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

  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
