:root {
  --bg: #090907;
  --surface: #12120f;
  --surface-soft: #171711;
  --gold: #c8a65d;
  --gold-light: #e4cb91;
  --gold-metal: linear-gradient(
    110deg,
    #765016 0%,
    #b77c24 13%,
    #f2d477 27%,
    #fff6c8 38%,
    #d39a31 50%,
    #8a5918 63%,
    #efd176 78%,
    #fff2b4 86%,
    #9b681d 100%
  );
  --text: #f2efe7;
  --muted: #97948b;
  --line: rgba(228, 203, 145, 0.16);
  --shell: min(1180px, calc(100vw - 48px));
  font-family: "DM Sans", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 3%, rgba(200, 166, 93, 0.08), transparent 22%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(228, 203, 145, 0.38);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
}
.brand strong { font-size: 12px; letter-spacing: 0.04em; }
.header-link {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  transition: border-color 180ms ease, background 180ms ease;
}
.header-link:hover { border-color: var(--gold); background: rgba(200, 166, 93, 0.07); }
.header-link span { margin-left: 10px; color: var(--gold-light); }

.label,
.project-info p,
.proof strong,
.hero-copy a,
.header-link span,
.brand > span {
  background: var(--gold-metal);
  background-position: 42% 50%;
  background-size: 180% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero { padding: 130px 0 100px; }
.label {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 1050px;
  margin: 30px 0 55px;
  font-size: clamp(64px, 8.5vw, 122px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.07em;
}
.hero h1 span {
  display: inline-block;
  color: var(--gold-light);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.08em;
  font-style: italic;
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.055em;
  background: var(--gold-metal);
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 14px rgba(217, 171, 73, 0.14));
  will-change: background-position;
  animation: gold-text-reflection 4.8s linear infinite alternate;
}
.hero-copy {
  display: flex;
  max-width: 780px;
  margin-left: auto;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}
.hero-copy p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.hero-copy a { flex: 0 0 auto; color: var(--gold-light); font-size: 12px; }
.hero-copy a span { margin-left: 9px; }

.proof {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1.25fr;
  align-items: center;
  border-block: 1px solid var(--line);
}
.proof > * { min-height: 118px; margin: 0; padding: 28px 34px; border-right: 1px solid var(--line); }
.proof > *:first-child { padding-left: 0; }
.proof > *:last-child { border-right: 0; }
.proof div { display: flex; align-items: center; gap: 16px; }
.proof strong { color: var(--gold-light); font-size: 36px; }
.proof span, .proof p { color: var(--muted); font-size: 13px; line-height: 1.6; }

.work { padding: 130px 0; }
.section-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 54px; }
.section-header h2, .contact h2 {
  margin: 10px 0 0;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.06em;
}
.section-header > p { max-width: 360px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 68px 22px; }
.project-wide { grid-column: 1 / -1; }
.site-shot {
  position: relative;
  height: 400px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  transition: transform 260ms ease, border-color 260ms ease;
}
.project-wide .site-shot { height: 590px; }
.project:hover .site-shot { transform: translateY(-6px); border-color: rgba(228, 203, 145, 0.4); }
.browser-bar {
  position: relative;
  z-index: 2;
  display: flex;
  height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #151511;
}
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #4c4a43; }
.browser-bar span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #77736a;
  font-size: 9px;
  white-space: nowrap;
}
.site-shot img {
  display: block;
  width: 100%;
  height: calc(100% - 38px);
  object-fit: cover;
  object-position: top center;
}
.project-info { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 21px 5px 0; }
.project-info p { margin: 0; color: var(--gold); font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; }
.project-info h3 { margin: 7px 0 0; font-size: 25px; letter-spacing: -0.035em; }
.project-info > span { color: var(--muted); font-size: 11px; white-space: nowrap; }

.contact {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 90px;
  align-items: end;
  padding: 90px;
  margin-bottom: 100px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(135deg, #15140f, #0d0d0a);
}
.contact-copy p { margin: 0 0 30px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.contact-actions { display: grid; justify-items: start; gap: 18px; }
.contact-copy a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  gap: 24px;
  padding: 15px 21px;
  border-radius: 999px;
  color: #17140d;
  border: 1px solid rgba(255, 243, 190, 0.42);
  background: var(--gold-metal);
  background-size: 170% 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(91, 55, 10, 0.5),
    0 8px 28px rgba(185, 126, 36, 0.14);
  font-size: 12px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.contact-copy a::before {
  position: absolute;
  z-index: -1;
  top: -90%;
  left: -45%;
  width: 25%;
  height: 280%;
  content: "";
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  filter: blur(1px);
  will-change: left;
  animation: gold-button-reflection 2.8s linear infinite;
}
.contact-copy a:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(91, 55, 10, 0.5),
    0 12px 34px rgba(211, 160, 57, 0.24);
}
.contact-copy .portfolio-button {
  color: var(--text);
  border: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}
.contact-copy .portfolio-button::before { display: none; }
.contact-copy .portfolio-button:hover { border-color: var(--gold); background: rgba(200, 166, 93, 0.07); }

@keyframes gold-text-reflection {
  from { background-position: 100% 50%; }
  to { background-position: 0% 50%; }
}

@keyframes gold-button-reflection {
  from { left: -45%; opacity: 0.7; }
  to { left: 125%; opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 span,
  .contact-copy a::before { animation: none; }
}

.site-footer {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.site-footer .brand { color: var(--text); }
.site-footer a:hover { color: var(--gold-light); }

@media (max-width: 900px) {
  .hero { padding-top: 100px; }
  .hero-copy { margin-left: 0; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > *:nth-child(2) { border-right: 0; }
  .proof > *:last-child { display: none; }
  .projects-grid { gap: 55px 16px; }
  .site-shot { height: 340px; }
  .project-wide .site-shot { height: 470px; }
  .contact { grid-template-columns: 1fr; gap: 45px; padding: 65px 45px; }
  .contact-copy { max-width: 520px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100vw - 28px); }
  .site-header { min-height: 76px; }
  .header-link { padding: 10px 13px; font-size: 0; }
  .header-link span { margin: 0; font-size: 17px; }
  .hero { padding: 88px 0 75px; }
  .hero h1 { margin: 24px 0 38px; font-size: clamp(51px, 15.5vw, 72px); }
  .hero-copy { display: block; }
  .hero-copy p { font-size: 15px; }
  .hero-copy a { display: inline-block; margin-top: 28px; }
  .proof { grid-template-columns: 1fr; }
  .proof > * { min-height: auto; padding: 22px 0; border-right: 0; }
  .proof > *:nth-child(2) { border-top: 1px solid var(--line); }
  .work { padding: 90px 0; }
  .section-header { display: block; margin-bottom: 38px; }
  .section-header > p { margin-top: 18px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-wide { grid-column: auto; }
  .site-shot, .project-wide .site-shot { height: 300px; border-radius: 20px; }
  .project-info h3 { font-size: 22px; }
  .contact { padding: 46px 24px; margin-bottom: 70px; border-radius: 26px; }
  .contact h2 { font-size: 43px; }
  .site-footer { padding: 28px 0; }
  .site-footer > p { display: none; }
}
