:root {
  --teal: #36a9a8;
  --teal-dark: #2d6e6d;
  --gold: #e1b02a;
  --gold-soft: #f5e6b8;
  --text: #1a1f1e;
  --text-muted: #5f6b69;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --border: #e8eceb;
  --max-width: 1160px;
  --radius: 16px;
  --shadow: 0 8px 40px rgba(26, 46, 44, 0.06);
  --transition: 0.25s ease;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--teal); }

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Typography – light & large */
h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.page-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 38rem;
  line-height: 1.65;
  margin-bottom: 3rem;
}

.section-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--teal-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__list {
  display: flex;
  list-style: none;
  gap: 0.15rem 1.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
  white-space: nowrap;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--text);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Main */
.page-main {
  padding: 3.5rem 0 5rem;
}

.page-main--home {
  padding-top: 0;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  text-align: center;
}

.hero__logo {
  max-width: min(560px, 90%);
  margin: 0 auto 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.hero__intro {
  max-width: 34rem;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Teaser grid (home) */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.teaser-card {
  display: block;
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.teaser-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  color: inherit;
}

.teaser-card__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.teaser-card h2 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.teaser-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.teaser-card__arrow {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 1.25rem;
  color: var(--teal);
  transition: transform var(--transition);
}

.teaser-card:hover .teaser-card__arrow {
  transform: translateX(4px);
}

/* Layout blocks */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.split__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split__image img { width: 100%; object-fit: cover; }

.split__caption {
  text-align: center;
  padding: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.image-duo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.image-duo__item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg);
}

.image-duo__item img {
  width: 100%;
  height: auto;
  display: block;
}

.image-duo__caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--teal-dark);
  letter-spacing: 0.01em;
}

.text-block p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.text-block p:last-child { margin-bottom: 0; }

.source-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-style: italic;
  color: #9aa5a3;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.about-card {
  padding: 2rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.about-card p,
.about-card li {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-card ul {
  list-style: none;
  padding: 0;
}

.about-card li {
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.about-card li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* Skills */
.skills-orbit {
  position: relative;
  max-width: 820px;
  height: min(92vw, 720px);
  margin: 2rem auto 0;
}

.skills-orbit__figure {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52%;
  margin: 0;
  z-index: 1;
}

.skills-orbit__figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(26, 46, 44, 0.1));
}

.skills-orbit__tag {
  position: absolute;
  z-index: 2;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  font-weight: 400;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.skills-orbit__tag--top {
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
}

.skills-orbit__tag--top-right {
  top: 14%;
  right: 2%;
}

.skills-orbit__tag--right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.skills-orbit__tag--bottom-right {
  bottom: 14%;
  right: 2%;
}

.skills-orbit__tag--bottom {
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
}

.skills-orbit__tag--bottom-left {
  bottom: 14%;
  left: 0;
}

.skills-orbit__tag--left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.skills-orbit__tag--top-left {
  top: 14%;
  left: 0;
}

@media (max-width: 900px) {
  .skills-orbit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1rem;
    height: auto;
    padding: 1rem 0;
  }

  .skills-orbit__figure {
    position: static;
    transform: none;
    width: min(100%, 380px);
    flex: 0 0 100%;
    margin-bottom: 0.5rem;
  }

  .skills-orbit__tag {
    position: static;
    transform: none !important;
    font-size: 0.9rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--bg-soft);
  }
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.project-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card__img:not(.project-slideshow) img,
.project-card:hover .project-slideshow img.is-active {
  transform: scale(1.04);
}

.project-slideshow img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.4s ease;
}

.project-slideshow img.is-active {
  opacity: 1;
  z-index: 1;
}

.project-card__body { padding: 1.25rem 1.5rem 1.5rem; }

.project-card__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.project-card h3 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.services-list h4 {
  grid-column: 1 / -1;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.services-list li {
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.services-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  padding: 2.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-card h3 {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--teal-dark);
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-details strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.15rem;
}

.contact-details span {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table th {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--bg-soft);
  color: var(--text-muted);
}

.pricing-table td:last-child {
  font-weight: 500;
  color: var(--teal-dark);
  text-align: right;
  white-space: nowrap;
}

.pricing-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Legal pages */
.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--teal-dark);
  margin: 2.5rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.info-block {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 1rem 0;
}

.info-block p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer__tagline {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.site-footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.site-footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__links a:hover { color: #fff; }

.site-footer__copy {
  width: 100%;
  font-size: 0.85rem;
  opacity: 0.5;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 960px) {
  .split,
  .about-grid,
  .about-columns,
  .contact-grid,
  .project-grid,
  .teaser-grid { grid-template-columns: 1fr; }

  .services-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 0.5rem;
  }

  .site-nav__list.is-open { display: flex; }
  .site-nav { position: relative; }
  .nav-toggle { display: block; }

  .page-main { padding: 2.5rem 0 4rem; }
  .hero { padding: 2.5rem 0 3.5rem; }
}
