﻿:root {
  --theme-color: #f2eee5;
  --background: #f2eee5;
  --surface: #e8e1d5;
  --text: #181713;
  --soft: #6c675f;
  --border: #c8c0b2;
  --accent: #e9502e;
  --header: rgba(242, 238, 229, 0.92);
}

html[data-theme="dark"] {
  --theme-color: #171713;
  --background: #171713;
  --surface: #22221c;
  --text: #f2eee5;
  --soft: #aaa599;
  --border: #424137;
  --accent: #ff7454;
  --header: rgba(23, 23, 19, 0.92);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  transition: color 0.25s ease, background 0.25s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: var(--header);
  backdrop-filter: blur(14px);
}

.header-content {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--accent);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navigation a {
  color: var(--soft);
  font-size: 0.82rem;
}

.navigation a:hover {
  color: var(--accent);
}

.theme-button,
.menu-button {
  min-height: 40px;
  padding: 0 13px;
  color: var(--text);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.menu-button {
  display: none;
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
}

.hero-layout {
  padding: 90px 0 70px;
  display: grid;
  grid-template-columns: 1fr 4fr 1.5fr;
  align-items: start;
  gap: 30px;
}

.hero-index {
  min-height: 470px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  color: var(--soft);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.hero-index strong {
  color: var(--accent);
  font-size: 1rem;
}

.hero-title > p {
  margin: 0 0 25px;
  color: var(--soft);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 9.6rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

h1 em {
  display: block;
  color: var(--accent);
  font-weight: 400;
}

.hero-description {
  padding-top: 90px;
}

.hero-description p {
  color: var(--soft);
  font-size: 0.94rem;
}

.hero-description a,
.featured-content a {
  padding-bottom: 4px;
  display: inline-block;
  border-bottom: 1px solid var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

.services,
.featured,
.manifesto {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 30px;
}

.section-header > span,
.featured-label,
.manifesto-grid > span,
.contact span {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.service-list {
  margin-left: 25%;
}

.service {
  padding: 34px 0;
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 28px;
  border-top: 1px solid var(--border);
}

.service:last-child {
  border-bottom: 1px solid var(--border);
}

.service > span {
  color: var(--accent);
  font-size: 0.78rem;
}

.service h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.service p {
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.featured {
  background: var(--surface);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.7fr;
  gap: 35px;
}

.featured-content {
  padding-top: 70px;
}

.category {
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.featured-content h2 {
  margin: 20px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.featured-content > p:not(.category) {
  color: var(--soft);
}

.artwork {
  min-height: 540px;
  position: relative;
  overflow: hidden;
  color: var(--accent);
  border: 1px solid var(--border);
  background: var(--background);
}

.art-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 50px 50px;
}

.art-curve {
  width: 65%;
  height: 75%;
  position: absolute;
  bottom: 8%;
  left: 50%;
  border: 10px solid var(--accent);
  border-top: 0;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
}

.artwork > span {
  position: absolute;
  z-index: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-style: italic;
}

.artwork > span:nth-of-type(1) {
  top: 7%;
  left: 7%;
}

.artwork > span:nth-of-type(2) {
  top: 7%;
  right: 7%;
}

.artwork > span:nth-of-type(3) {
  right: 7%;
  bottom: 4%;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 3fr 1.3fr;
  gap: 35px;
}

blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.manifesto-copy {
  padding-top: 100px;
  color: var(--soft);
  font-size: 0.9rem;
}

.contact {
  padding: 100px 0;
  color: #171713;
  background: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: end;
  gap: 40px;
}

.contact span {
  color: #171713;
}

.contact h2 {
  max-width: 800px;
  margin: 25px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.contact a {
  padding-bottom: 8px;
  border-bottom: 2px solid #171713;
  font-weight: 800;
}

footer {
  border-top: 1px solid var(--border);
}

.footer-content {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--soft);
  font-size: 0.78rem;
}

.footer-content p {
  margin: 0;
}

.footer-content div {
  display: flex;
  gap: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 22px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    background: var(--background);
    border-bottom: 1px solid var(--border);
  }

  .navigation.is-open {
    display: flex;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-index {
    min-height: auto;
    flex-direction: row;
  }

  .hero-description {
    max-width: 600px;
    padding-top: 20px;
  }

  .section-header,
  .featured-grid,
  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .service-list {
    margin-left: 0;
  }

  .featured-content,
  .manifesto-copy {
    padding-top: 20px;
  }

  .artwork {
    min-height: 450px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .hero-layout {
    padding: 60px 0;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 6.5rem);
  }

  .services,
  .featured,
  .manifesto {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .service {
    grid-template-columns: 42px 1fr;
  }

  .service p {
    grid-column: 2;
  }

  .artwork {
    min-height: 350px;
  }

  .contact {
    padding: 75px 0;
  }

  .footer-content {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}