:root {
  color-scheme: light;
  --ink: #17231c;
  --muted: #5e675f;
  --paper: #f8f7f1;
  --linen: #ebe5d6;
  --moss: #2f5d45;
  --cedar: #8a5d3b;
  --sky: #cbd9d2;
  --white: #fffdf8;
  --shadow: 0 18px 60px rgba(20, 29, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: clamp(620px, 86vh, 820px);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 24, 18, 0.84), rgba(15, 24, 18, 0.48) 52%, rgba(15, 24, 18, 0.2)),
    linear-gradient(0deg, rgba(15, 24, 18, 0.54), rgba(15, 24, 18, 0.08) 42%);
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
}

.site-logo {
  width: min(330px, 58vw);
  height: auto;
  border-radius: 6px;
  padding: 10px 12px;
  background: rgba(255, 253, 248, 0.78);
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.18));
}

.site-header__note {
  max-width: 270px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.84rem;
  font-weight: 650;
  text-align: right;
}

.hero__content {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 13vh, 150px) 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cedar);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e6d0ae;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.email-link,
.contact-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(255, 253, 248, 0.5);
  border-radius: 6px;
  padding: 13px 18px;
  background: rgba(255, 253, 248, 0.1);
  color: var(--white);
  font-size: 1rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.email-link:hover,
.contact-panel a:hover {
  transform: translateY(-1px);
  background: rgba(255, 253, 248, 0.18);
  border-color: rgba(255, 253, 248, 0.8);
}

.notice {
  background: var(--paper);
}

.notice__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(30px, 6vw, 86px);
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 108px) 0;
}

.notice__copy p {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-panel {
  align-self: center;
  border-left: 4px solid var(--moss);
  padding: 10px 0 10px 26px;
}

.contact-panel__label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

.contact-panel a {
  border-color: rgba(47, 93, 69, 0.28);
  background: var(--moss);
  color: var(--white);
}

.contact-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.work {
  padding: clamp(54px, 8vw, 94px) 0 clamp(68px, 9vw, 116px);
  background: var(--linen);
}

.work__intro,
.work__grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.work__intro {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.work__intro h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 3.2rem);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--sky);
  box-shadow: var(--shadow);
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 240ms ease;
}

figure:hover img {
  transform: scale(1.025);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px max(20px, calc((100% - 1160px) / 2));
  background: var(--ink);
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .hero {
    min-height: 690px;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(15, 24, 18, 0.78), rgba(15, 24, 18, 0.5)),
      linear-gradient(0deg, rgba(15, 24, 18, 0.68), rgba(15, 24, 18, 0.2));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-logo {
    width: min(300px, 74vw);
  }

  .site-header__note {
    max-width: 320px;
    text-align: left;
  }

  .hero__content {
    padding-top: 86px;
  }

  .notice__inner,
  .work__intro,
  .work__grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding-left: 20px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero__content,
  .notice__inner,
  .work__intro,
  .work__grid {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: clamp(2.8rem, 13.2vw, 3.55rem);
  }

  .email-link,
  .contact-panel a {
    width: 100%;
    justify-content: center;
    padding-right: 12px;
    padding-left: 12px;
    font-size: clamp(0.88rem, 4vw, 1rem);
    text-align: center;
  }

  .footer {
    flex-direction: column;
  }
}
