:root {
  --bg: #f7f1e8;
  --bg-soft: #fbf7ef;
  --text: #171614;
  --muted: #625c53;
  --faint: #92877b;
  --line: rgba(23, 22, 20, 0.14);
  --accent: #bd6a35;
  --accent-soft: rgba(189, 106, 53, 0.14);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 255, 255, 0.72), transparent 25rem),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 48%, #f3eadf 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-shell {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.brand,
.site-header nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.brand {
  color: var(--text);
  font-weight: 520;
}

.brand-mark {
  width: 23px;
  height: 23px;
  border: 1.5px solid var(--accent);
  position: relative;
  display: inline-block;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
}

.brand-mark::before {
  width: 10px;
  height: 1.5px;
  left: 5px;
  top: 8px;
}

.brand-mark::after {
  width: 1.5px;
  height: 11px;
  right: 6px;
  bottom: 5px;
}

.site-header nav a {
  transition: color 180ms ease;
}

.site-header nav a:hover {
  color: var(--text);
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 1.06fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(3.2rem, 6vw, 5.2rem) 0 clamp(3rem, 5vw, 4.6rem);
}

h1,
h2,
h3,
p {
  margin: 0;
}

.studio-label {
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.studio-label::before {
  content: "";
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 0.72rem;
  border: 1.5px solid var(--accent);
  transform: rotate(45deg);
}

h1 {
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 4.8vw, 5rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-body {
  max-width: 560px;
  margin-top: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.button-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 0 1.35rem;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  border-radius: 3px;
  font-size: 0.98rem;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button-link::after {
  content: "\2192";
  margin-left: 1.1rem;
}

.button-link:hover {
  background: transparent;
  color: var(--text);
  transform: translateY(-1px);
}

.sketch-panel {
  min-height: 390px;
  position: relative;
  overflow: hidden;
}

.sketch-panel::before {
  content: "";
  position: absolute;
  inset: 12% 0 8% 14%;
  border-left: 1px solid var(--accent-soft);
  border-bottom: 1px solid var(--accent-soft);
}

.sketch-window {
  position: absolute;
  right: 4%;
  top: 15%;
  width: min(300px, 58%);
  height: 170px;
  border: 1.5px solid rgba(23, 22, 20, 0.34);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 30px 0 rgba(23, 22, 20, 0.025);
}

.sketch-window span {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin: 12px 0 0 12px;
  border: 1px solid var(--faint);
  border-radius: 50%;
}

.sketch-window::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 58px;
  height: 54px;
  border: 1px solid rgba(23, 22, 20, 0.18);
}

.sketch-line {
  position: absolute;
  height: 2px;
  background: rgba(189, 106, 53, 0.55);
  transform-origin: left center;
}

.sketch-line-one {
  width: 74%;
  left: 8%;
  top: 55%;
  transform: rotate(-12deg);
}

.sketch-line-two {
  width: 62%;
  left: 24%;
  top: 66%;
  transform: rotate(16deg);
  opacity: 0.72;
}

.sketch-block,
.forge-line,
.spark {
  position: absolute;
}

.forge-line {
  left: 7%;
  bottom: 30%;
  width: min(420px, 74%);
  height: 58px;
  border-top: 8px solid rgba(23, 22, 20, 0.42);
  border-bottom: 8px solid rgba(23, 22, 20, 0.18);
  transform: skewX(-7deg);
}

.forge-line::before,
.forge-line::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 20%;
  height: 48px;
  background: var(--bg);
  border-left: 1px solid rgba(23, 22, 20, 0.26);
  border-right: 1px solid rgba(23, 22, 20, 0.26);
  border-radius: 0 0 46% 46%;
}

.forge-line::before {
  left: 22%;
}

.forge-line::after {
  right: 18%;
}

.spark {
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--accent);
  transform: rotate(45deg);
}

.spark-one {
  left: 20%;
  bottom: 39%;
}

.spark-two {
  left: 48%;
  bottom: 30%;
  opacity: 0.7;
}

.sketch-block {
  border: 1.5px solid rgba(23, 22, 20, 0.32);
  background:
    repeating-linear-gradient(-12deg, rgba(23, 22, 20, 0.04) 0 1px, transparent 1px 7px),
    rgba(255, 255, 255, 0.08);
}

.sketch-block-two {
  right: 9%;
  bottom: 5%;
  width: 148px;
  height: 74px;
}

.focus-section,
.work-section,
.contact-section {
  border-top: 1px solid var(--line);
  padding: clamp(3.2rem, 6vw, 5.2rem) 0;
}

.section-heading {
  max-width: 600px;
  margin-bottom: 2.6rem;
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  line-height: 1.12;
  font-weight: 520;
  letter-spacing: 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.focus-grid article {
  min-height: 236px;
  padding: clamp(1.45rem, 3vw, 2.25rem);
  border-right: 1px solid var(--line);
}

.focus-grid article:last-child {
  border-right: 0;
}

.focus-index {
  color: var(--accent);
  font-size: 0.86rem;
}

h3 {
  margin-top: 2.8rem;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 520;
}

.focus-grid p {
  max-width: 300px;
  margin-top: 1rem;
  color: var(--muted);
}

.work-section {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 0.68fr);
  gap: 2rem;
}

.work-list {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(260px, 0.34fr);
  gap: 2rem;
  align-items: end;
}

.contact-section h2 {
  max-width: 680px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.25vw, 3.25rem);
  line-height: 1.05;
  font-weight: 500;
}

.contact-section p {
  margin-top: 1.1rem;
  color: var(--text);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
}

.contact-aside {
  justify-self: end;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  max-width: 310px;
}

.profile-image {
  width: 172px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.08);
}

.profile-note {
  max-width: 220px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.contact-link {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.24rem;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.contact-link:hover {
  color: var(--accent);
  border-color: currentColor;
}

footer {
  min-height: 88px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--faint);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 30px, var(--max));
  }

  .hero,
  .work-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .sketch-panel {
    min-height: 260px;
  }

  .sketch-window {
    width: 220px;
    height: 128px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-grid article {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .focus-grid article:last-child {
    border-bottom: 0;
  }

  h3 {
    margin-top: 2.2rem;
  }

  .contact-aside {
    justify-self: start;
    justify-items: center;
  }

  .profile-image {
    width: 144px;
  }

  .profile-note {
    text-align: center;
  }

  footer {
    min-height: auto;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 74px;
  }

  h1 {
    font-size: clamp(2.2rem, 10.5vw, 3.15rem);
  }

  .hero-body {
    margin-top: 1.45rem;
  }

  .focus-section,
  .work-section,
  .contact-section {
    padding: 2.8rem 0;
  }

  .forge-line {
    max-width: 78%;
  }
}
