.cv-contact {
  --cv-night: #303932;
  --cv-ink: #282d24;
  --cv-secondary: #575c50;
  --cv-line: #cbc8ba;
  --cv-paper: #f8f5ed;
  background: var(--cv-paper);
  color: var(--cv-ink);
}
.cv-contact figure,
.cv-contact h1,
.cv-contact h2,
.cv-contact p { margin: 0; }
.cv-container { width: min(100%, 1680px); margin-inline: auto; padding-inline: var(--gutter); }
.cv-kicker { font: 600 .69rem/1.45 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.cv-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr);
  background: var(--cv-night);
  color: #fffbef;
}
.cv-hero-copy {
  align-self: center;
  width: min(100%, 780px);
  justify-self: end;
  padding: clamp(2rem, 5vw, 6rem) clamp(1.9rem, 4.2vw, 5rem) clamp(2.2rem, 5vw, 6rem) var(--gutter);
}
.cv-hero .cv-kicker { color: #e0ceaf; display: flex; align-items: center; gap: .8rem; }
.cv-hero .cv-kicker::before { content: ''; width: 26px; border-top: 1px solid currentColor; }
.cv-contact h1,
.cv-contact h2 { font-family: var(--serif); font-weight: 400; line-height: .97; }
.cv-contact em { font-weight: inherit; }
.cv-contact h1 {
  font-size: clamp(3.3rem, 6.6vw, 8rem);
  letter-spacing: -.055em;
  margin-block: clamp(.9rem, 1.6vw, 2rem);
}
.cv-contact h1 em { display: block; color: #ecddc4; }
.cv-lead { font: 500 clamp(.95rem, 1.24vw, 1.15rem)/1.55 var(--sans); max-width: 37ch; color: #efece2; }
.cv-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.25rem; align-items: center; margin-top: clamp(1.25rem, 2.4vw, 2.5rem); }
.cv-button,
.cv-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 45px;
  border-radius: 99px;
  text-decoration: none;
  font-size: .89rem;
  font-weight: 600;
}
.cv-button { border: 1px solid transparent; padding: .77rem 1.12rem; }
.cv-light { color: #252b24; background: #fbf4e5; }
.cv-dark { color: #fffaf0; background: var(--cv-night); }
.cv-button:hover { box-shadow: inset 0 0 0 1px currentColor; }
.cv-outline { color: #faf4e9; border-bottom: 1px solid #abaf9e; border-radius: 0; }
.cv-outline:hover { border-color: white; }
.cv-project-photo,
.cv-order-visual { position: relative; isolation: isolate; overflow: hidden; background: #a4947d; }
.cv-project-photo { min-height: clamp(385px, 36vw, 630px); }
.cv-project-photo img,
.cv-order-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.cv-project-photo img { object-position: 50% 58%; }
.cv-project-photo figcaption,
.cv-order-visual > a { position: absolute; z-index: 1; bottom: 1.1rem; left: 1.1rem; max-width: calc(100% - 2.2rem); }
.cv-project-photo figcaption a,
.cv-order-visual > a {
  display: inline-flex; align-items: center; justify-content: space-between; gap: .8rem;
  color: #fff; background: #252b24eb; padding: .75rem .95rem; font-size: .78rem; line-height: 1.3; text-decoration: none;
}
.cv-project-photo figcaption a:hover,
.cv-order-visual > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cv-location {
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.8rem, 4.3vw, 5.4rem); align-items: center;
  padding-block: clamp(3rem, 6.2vw, 7rem); scroll-margin-top: 1.1rem;
}
.cv-location .cv-kicker,
.cv-form-col .cv-kicker { color: #705338; }
.cv-contact h2 { font-size: clamp(2.4rem, 4.5vw, 5.4rem); letter-spacing: -.052em; line-height: 1.02; }
.cv-location h2 { margin: .85rem 0 1.15rem; max-width: 10ch; }
.cv-location h2 em { color: #6b705f; }
.cv-location address { max-width: 33ch; font: 500 1.04rem/1.5 var(--sans); margin-bottom: 1rem; }
.cv-contacts { display: grid; justify-items: start; gap: .45rem; padding-top: 1.05rem; }
.cv-contacts a { text-decoration: underline; text-decoration-color: #a9ab9a; text-underline-offset: 4px; overflow-wrap: anywhere; }
.cv-contacts a:first-child { font-size: 1.12rem; }
.cv-contacts a:last-child { font-size: .9rem; color: var(--cv-secondary); }
.cv-map { overflow: hidden; background: #ece9df; border: 1px solid #c4c4b5; }
.cv-map-view { display: block; position: relative; height: clamp(260px, 24.5vw, 420px); }
.cv-map-view img { width: 100%; height: 100%; object-fit: cover; }
.cv-map-view:focus-visible { outline-offset: -4px; }
.cv-marker {
  position: absolute; top: 50%; left: 50%; display: grid; justify-items: center;
  transform: translate(-50%, -100%); pointer-events: none;
}
.cv-marker b { padding: .45rem .72rem; background: #303b32; color: #fff9e9; font: 500 1.05rem/1.1 var(--serif); }
.cv-marker i { width: 0; height: 0; border: .46rem solid transparent; border-bottom: 0; border-top-color: #303b32; }
.cv-map figcaption {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .8rem;
  background: #f5f2e9; border-top: 1px solid #cccdbe; padding: .3rem .85rem;
}
.cv-map figcaption a { display: inline-flex; align-items: center; min-height: 36px; color: #3c4337; }
.cv-map figcaption a:first-child { font-size: .82rem; font-weight: 600; text-decoration: none; gap: .55rem; }
.cv-map figcaption a:last-child { font-size: .7rem; text-underline-offset: 3px; }
.cv-order { background: #eae7dc; border-top: 1px solid #d2cebf; }
.cv-order-inner {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: stretch;
  gap: clamp(2rem, 6.9vw, 8rem); padding-block: clamp(2.7rem, 5.6vw, 6rem);
}
.cv-order-visual { min-height: 440px; }
.cv-order-visual img { object-position: 55% 64%; }
.cv-form-col { align-self: center; width: min(100%, 600px); }
.cv-form { scroll-margin-top: 1.5rem; }
.cv-form h2 { margin-block: .65rem .75rem; }
.cv-form p { color: #53574a; line-height: 1.5; margin-bottom: 1.3rem; max-width: 42ch; }
.cv-form label { display: grid; gap: .42rem; margin-block: .9rem; font-size: .86rem; font-weight: 600; }
.cv-form input {
  width: 100%; min-width: 0; min-height: 46px; font-size: 1rem; font-weight: 500; color: var(--cv-ink);
  background: #faf8f2; border: 1px solid #a9ac9b; border-radius: 0; padding: .65rem .78rem;
}
.cv-form input::placeholder { color: #686c61; opacity: 1; }
.cv-form button { margin-top: .35rem; }
.cv-guide { border-top: 1px solid #bdbdae; margin-top: 1.6rem; }
.cv-guide summary { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; font-size: .87rem; cursor: pointer; list-style: none; }
.cv-guide summary::-webkit-details-marker { display: none; }
.cv-guide summary::after { content: '+'; font-size: 1.1rem; line-height: 1; }
.cv-guide[open] summary::after { content: '−'; }
.cv-guide dl { margin: 0; }
.cv-guide dl div { border-top: 1px solid var(--cv-line); padding: .7rem 0; }
.cv-guide dt { font-size: .9rem; margin-bottom: .3rem; font-weight: 600; }
.cv-guide dd { font-size: .86rem; line-height: 1.45; margin: 0; color: #4d5447; }
@media(max-width: 740px) {
  .cv-hero { display: flex; flex-direction: column; }
  .cv-hero-copy { padding: 1.65rem var(--gutter) 1.85rem; order: 2; }
  .cv-contact h1 { font-size: clamp(2.65rem, 9.4vw, 4.3rem); margin: .7rem 0; line-height: 1.02; }
  .cv-contact h1 em { display: inline; }
  .cv-project-photo { min-height: 0; height: clamp(205px, 51vw, 330px); }
  .cv-project-photo img { object-position: 50% 56%; }
  .cv-project-photo figcaption { left: var(--gutter); bottom: .75rem; }
  .cv-project-photo figcaption a { padding: .56rem .72rem; }
  .cv-hero .cv-actions { margin-top: 1rem; }
  .cv-location { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 2.6rem; }
  .cv-location h2 { max-width: none; }
  .cv-map-view { height: clamp(210px, 58vw, 310px); }
  .cv-order-inner { display: flex; flex-direction: column; gap: 1.6rem; }
  .cv-order-visual { min-height: 0; height: clamp(160px, 35vw, 260px); }
  .cv-order-visual img { object-position: center 55%; }
  .cv-form-col { width: 100%; }
}
