:root {
  color-scheme: light;
  --paper: #f7f4ef;
  --bone: #efeae2;
  --ink: #2c2825;
  --body: #4a4440;
  --muted: #8a7f74;
  --rule: #c9bfb0;
  --field: #f1ede6;
  --error: #9c4e38;
  --success: #4f6457;
  --max: 1140px;
  --side: 48px;
  --heading-font: "Cormorant Garamond", Georgia, serif;
  --body-font: "DM Sans", "Segoe UI", system-ui, sans-serif;
  font-family: var(--body-font);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(84px, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 72px;
  padding: 0 max(var(--side), calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background: transparent;
  transition: background 240ms ease, border-color 240ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(247, 244, 239, 0.96);
  border-bottom: 1px solid rgba(201, 191, 176, 0.72);
}

.wordmark,
.site-nav a,
.inquire-link,
.text-cta,
.site-footer a {
  text-decoration: none;
}

.wordmark {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a,
.inquire-link,
.text-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-nav a::after,
.inquire-link::after,
.text-cta::after,
.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.34);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.inquire-link:hover,
.text-cta:hover,
.site-footer a:hover {
  opacity: 0.72;
}

.site-nav a:hover::after,
.inquire-link:hover::after,
.text-cta:hover::after,
.site-footer a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.inquire-link {
  justify-self: end;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  min-height: 696px;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 58fr) 1px minmax(360px, 42fr);
  background: var(--paper);
}

.hero-media {
  min-height: 100%;
  overflow: hidden;
  background: var(--bone);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% center;
}

.hero-rule {
  width: 1px;
  height: 100%;
  background: var(--rule);
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 96px max(56px, calc((100vw - var(--max)) / 2)) 72px 64px;
}

.label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-weight: 300;
}

h1 {
  max-width: 560px;
  margin-top: 32px;
  font-size: clamp(64px, 5.55vw, 88px);
  font-style: italic;
  letter-spacing: 0;
  line-height: 0.94;
}

h2 {
  max-width: 700px;
  font-size: clamp(34px, 3vw, 48px);
  letter-spacing: 0;
  line-height: 1.08;
}

h3 {
  font-size: 26px;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero-note {
  max-width: 390px;
  margin: 40px 0 16px;
  color: var(--body);
  font-size: 15px;
}

.text-cta {
  align-self: flex-start;
  margin-top: 22px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-cta::after {
  bottom: 7px;
}

.provenance-section,
.process-section,
.works-section,
.stones-section,
.inquiry-section {
  padding: 160px max(var(--side), calc((100vw - var(--max)) / 2));
}

.provenance-section {
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bone);
}

.provenance-section p {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(26px, 2.6vw, 38px);
  font-style: italic;
  line-height: 1.16;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-heading .label,
.stones-copy .label,
.inquiry-copy .label {
  margin-bottom: 32px;
}

.process-section {
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.process-grid article {
  min-height: 328px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.process-grid span {
  display: block;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.process-grid p {
  margin: 24px 0 0;
  max-width: 240px;
  color: var(--body);
}

.works-section {
  background: var(--bone);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 56px;
}

.work-item {
  margin: 0;
}

.work-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper);
}

.work-item:nth-child(1) img {
  object-position: 47% center;
}

.work-item:nth-child(2) img {
  object-position: 36% 72%;
}

.work-item:nth-child(3) img {
  object-position: 58% 46%;
}

figcaption {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

figcaption strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

figcaption span {
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 18px;
  font-style: italic;
  line-height: 1.25;
}

.stones-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 0.52fr);
  gap: 80px;
  align-items: center;
  background: var(--paper);
}

.stones-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 30% 74%;
  background: var(--bone);
}

.stones-copy {
  max-width: 560px;
}

.stones-copy p:not(.label) {
  margin: 40px 0 0;
  color: var(--body);
}

.stones-copy p + p:not(.label) {
  margin-top: 24px;
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.43fr) minmax(0, 0.57fr);
  gap: 88px;
  align-items: start;
  border-top: 1px solid var(--rule);
  background: var(--bone);
}

.inquiry-copy {
  position: sticky;
  top: 112px;
}

.inquiry-copy h2 {
  max-width: 440px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.form-row {
  display: grid;
  gap: 10px;
}

.form-row-full,
.policy-line,
.inquiry-form button,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  transition: border-color 180ms ease, opacity 180ms ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(138, 127, 116, 0.72);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.policy-line {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.inquiry-form button {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  padding: 16px 24px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 180ms ease;
}

.inquiry-form button:hover {
  opacity: 0.76;
}

.inquiry-form button:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.form-status[data-kind="error"] {
  color: var(--error);
  font-weight: 400;
}

.form-status[data-kind="success"] {
  color: var(--success);
}

.success-note {
  grid-column: 1 / -1;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.success-note p {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(26px, 3vw, 38px);
  font-style: italic;
  line-height: 1.18;
}

.success-note small {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px max(var(--side), calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--rule);
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-footer span:nth-child(2) {
  text-align: center;
}

.site-footer a {
  position: relative;
  justify-self: end;
}

.site-footer a::after {
  bottom: -4px;
}

@media (max-width: 1020px) {
  :root {
    --side: 28px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 68px;
    padding: 0 24px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media img {
    height: 52svh;
    min-height: 360px;
    object-position: 42% center;
  }

  .hero-rule {
    width: 100%;
    height: 1px;
  }

  .hero-copy {
    padding: 56px 24px 72px;
  }

  h1 {
    max-width: 620px;
    font-size: clamp(54px, 10.8vw, 76px);
  }

  .provenance-section,
  .process-section,
  .works-section,
  .stones-section,
  .inquiry-section {
    padding: 88px 24px;
  }

  .provenance-section p {
    text-align: left;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid article {
    min-height: 260px;
  }

  .works-grid,
  .stones-section,
  .inquiry-section {
    grid-template-columns: 1fr;
  }

  .stones-section,
  .inquiry-section {
    gap: 56px;
  }

  .inquiry-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .wordmark {
    max-width: 190px;
    font-size: 16px;
  }

  .hero-media img {
    height: 44svh;
    min-height: 300px;
  }

  .hero-copy {
    padding-bottom: 64px;
  }

  .label,
  .site-footer,
  .inquire-link,
  .text-cta,
  figcaption strong,
  label {
    letter-spacing: 0.11em;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .process-grid,
  .inquiry-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .process-grid article {
    min-height: auto;
  }

  .process-grid span {
    margin-bottom: 24px;
  }

  .site-footer,
  .site-footer span:nth-child(2),
  .site-footer a {
    text-align: left;
    justify-self: start;
  }
}
