:root {
  --bg: #f5f0e7;
  --bg-strong: #ebe3d5;
  --surface: #fcfaf6;
  --surface-alt: #efe7da;
  --text: #111111;
  --muted: #625b53;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.24);
  --accent: #c88957;
  --accent-deep: #9f6942;
  --shadow: 0 24px 80px rgba(51, 39, 28, 0.1);
  --content-width: min(1380px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(200, 137, 87, 0.12), transparent 20%),
    linear-gradient(180deg, #f8f4ec 0%, #f4eee4 52%, #eee5d8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 95%);
}

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

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

.page {
  position: relative;
  overflow: clip;
}

.site-header,
.hero,
.about,
.strengths,
.work,
.contact {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 240, 231, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  box-shadow: 0 12px 32px rgba(51, 39, 28, 0.08);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
.site-nav a,
.button,
.work-link {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-copy strong {
  font-size: 0.88rem;
}

.brand-copy span,
.site-nav a {
  font-size: 0.75rem;
  color: var(--muted);
}

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

.site-nav a {
  position: relative;
  padding-bottom: 5px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 40px;
  align-items: end;
  min-height: calc(100svh - 102px);
  padding: 48px 0 72px;
}

.hero-media {
  display: grid;
  gap: 16px;
}

.hero-frame,
.work-main-media,
.work-side-media,
.contact-visual {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-frame {
  aspect-ratio: 1.1 / 1;
}

.hero-frame img,
.work-main-media img,
.work-side-media img,
.contact-visual img {
  height: 100%;
  object-fit: cover;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero h1,
.section-lead h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(4.8rem, 11vw, 10rem);
  max-width: 8ch;
}

.hero h2 {
  max-width: 11ch;
  margin: 18px 0 0;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  line-height: 1.08;
  text-wrap: balance;
}

.hero-line {
  width: min(520px, 100%);
  height: 1px;
  margin: 28px 0 24px;
  background: var(--line-strong);
}

.hero-text,
.about-grid p,
.strength-item p,
.work-copy p,
.contact-text,
.contact-list span {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-text {
  max-width: 34rem;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.work-link:hover,
.work-link:focus-visible {
  transform: translateY(-2px);
}

.button-dark {
  color: #f7f2eb;
  background: #121212;
}

.button-light {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.58);
}

.hero-note {
  max-width: 32rem;
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.about,
.strengths,
.work,
.contact {
  padding: 34px 0 72px;
}

.section-lead {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-lead h2,
.contact-copy h2 {
  font-size: clamp(3.4rem, 8vw, 8rem);
  max-width: 8ch;
}

.about {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(360px, 0.88fr);
  gap: 32px 64px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.about .section-lead {
  margin-bottom: 0;
}

.about .section-lead h2 {
  max-width: 5.3ch;
  font-size: clamp(4.2rem, 7vw, 7.4rem);
  line-height: 0.9;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 0;
  align-self: end;
}

.about-grid p {
  max-width: 32rem;
  font-size: 1.02rem;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--line);
}

.strength-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.strength-item span,
.work-index {
  font-family: "Oswald", sans-serif;
  line-height: 0.9;
}

.strength-item span {
  font-size: clamp(3.1rem, 6vw, 4.8rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.32);
}

.strength-item-accent span {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.strength-item h3,
.work-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1;
}

.work {
  padding-top: 22px;
}

.work-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.82fr) minmax(240px, 0.6fr);
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

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

.work-row-reverse {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.08fr) minmax(240px, 0.6fr);
}

.work-row-reverse .work-main-media {
  order: 2;
}

.work-row-reverse .work-copy {
  order: 1;
}

.work-row-reverse .work-side {
  order: 3;
}

.work-main-media {
  aspect-ratio: 1.14 / 1;
}

.work-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.work-index {
  font-size: 2.2rem;
  color: var(--accent-deep);
}

.work-copy p {
  max-width: 26rem;
  font-size: 1rem;
}

.work-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.work-link::after {
  content: "→";
  font-size: 1rem;
}

.work-side {
  display: grid;
  gap: 14px;
}

.work-side-media {
  aspect-ratio: 1 / 1;
}

.work-side-note {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.work-side-note strong,
.contact-list strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.45;
}

.work-side-note p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 32px;
  align-items: stretch;
}

.contact-visual {
  min-height: 640px;
}

.contact-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-top: 24px;
}

.contact-text {
  max-width: 28rem;
  font-size: 1.04rem;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.contact-list a,
.contact-list div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-list a:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media,
  .hero-copy,
  .about-grid,
  .strength-item,
  .work-row,
  .contact-visual,
  .contact-copy {
    animation: fade-up 700ms ease both;
  }

  .hero-copy,
  .strength-item:nth-child(2),
  .work-row:nth-child(3) {
    animation-delay: 90ms;
  }

  .strength-item:nth-child(3),
  .work-row:nth-child(4),
  .contact-copy {
    animation-delay: 150ms;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .contact,
  .work-row,
  .work-row-reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  .work-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .hero-copy,
  .work-row-reverse .work-main-media,
  .work-row-reverse .work-copy,
  .work-row-reverse .work-side {
    order: initial;
  }

  .about-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .about {
    display: block;
  }

  .contact-visual {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --content-width: min(100vw - 28px, 1380px);
  }

  .site-header {
    padding: 16px 0 14px;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 0 48px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
  }

  .hero-frame {
    aspect-ratio: 4 / 5;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 22vw, 6rem);
  }

  .hero h2 {
    max-width: 12ch;
    font-size: clamp(1.15rem, 5.4vw, 1.6rem);
  }

  .hero-line {
    margin: 22px 0 18px;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-note {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .hero-tags span {
    padding: 9px 12px;
    font-size: 0.74rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .section-lead h2,
  .contact-copy h2 {
    font-size: clamp(2.8rem, 16vw, 4.8rem);
  }

  .about,
  .strengths,
  .work,
  .contact {
    padding: 22px 0 48px;
  }

  .section-lead {
    gap: 8px;
    margin-bottom: 18px;
  }

  .about-grid {
    gap: 16px;
    padding-top: 0;
  }

  .about .section-lead {
    margin-bottom: 18px;
  }

  .about-grid p {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .strength-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0;
  }

  .strength-item span {
    font-size: 3.4rem;
  }

  .strength-item h3,
  .work-copy h3 {
    margin-bottom: 8px;
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .strength-item p,
  .work-copy p,
  .contact-text {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .work {
    padding-top: 10px;
  }

  .work-row {
    gap: 18px;
    padding: 22px 0;
  }

  .work-main-media {
    aspect-ratio: 1 / 1.02;
  }

  .work-copy {
    gap: 10px;
  }

  .work-index {
    font-size: 1.8rem;
  }

  .work-side {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .work-side-note {
    padding: 14px;
  }

  .contact {
    gap: 18px;
  }

  .contact-copy {
    order: 1;
    padding-top: 0;
  }

  .contact-visual {
    order: 2;
    min-height: 360px;
  }

  .contact-list {
    gap: 8px;
  }

  .contact-list a,
  .contact-list div {
    padding: 14px 0;
  }
}

@media (max-width: 560px) {
  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 0.82rem;
  }

  .site-nav a {
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .hero {
    gap: 20px;
    padding-top: 14px;
  }

  .hero h1 {
    max-width: 6ch;
    font-size: clamp(3.2rem, 21vw, 4.8rem);
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-tags span {
    width: calc(50% - 4px);
    text-align: center;
  }

  .section-lead h2,
  .contact-copy h2 {
    max-width: 100%;
    font-size: clamp(2.35rem, 15vw, 3.6rem);
  }

  .about .section-lead {
    margin-bottom: 16px;
  }

  .strength-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .strength-item span {
    font-size: 2.8rem;
  }

  .work-side {
    grid-template-columns: 1fr;
  }

  .work-side-media {
    aspect-ratio: 4 / 3;
  }

  .contact-visual {
    min-height: 280px;
  }
}

@media (max-width: 420px) {
  :root {
    --content-width: min(100vw - 22px, 1380px);
  }

  .site-header {
    padding-top: 12px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 1.05rem;
  }

  .hero-tags span {
    width: 100%;
  }
}
