.detail-item-link {
  color: inherit;
  text-decoration: none;
  transition: background-color .25s ease, transform .25s ease;
}

footer {
  grid-template-columns: 1fr auto;
}

.detail-item-link:hover {
  background: var(--paper);
  transform: translateY(-3px);
}

.detail-item-link:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: -3px;
}

.detail-item-link strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--copper);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.detail-item-wide {
  grid-column: 1 / -1;
}

.detail-item-visual {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  padding: clamp(38px, 5vw, 70px);
}

.service-image {
  display: block;
  width: min(100%, 340px);
  aspect-ratio: 1;
  justify-self: center;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 50%;
}

.service-image-pair {
  display: grid;
  width: min(100%, 440px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  justify-self: center;
}

.service-image-pair .service-image {
  width: 100%;
}

.service-content {
  display: flex;
  min-width: 0;
  max-width: 620px;
  flex-direction: column;
  justify-content: center;
}

.detail-item-visual-reverse > .service-image,
.detail-item-visual-reverse > .service-image-pair {
  grid-column: 1;
  grid-row: 1;
}

.detail-item-visual-reverse .service-content {
  grid-column: 2;
}

.service-content .service-kicker {
  margin-bottom: 18px;
}

.service-content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 2.1vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.service-content p {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.service-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--copper);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 850px) {
  footer {
    grid-template-columns: 1fr;
  }

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

  .service-content {
    max-width: none;
  }

  .detail-item-visual {
    grid-template-columns: 1fr;
    padding: 34px 24px;
  }

  .service-image {
    width: min(100%, 280px);
    grid-row: 1;
  }

  .service-content h2 {
    font-size: clamp(1.25rem, 6vw, 2rem);
  }

  .detail-item-visual-reverse > .service-image,
  .detail-item-visual-reverse > .service-image-pair,
  .detail-item-visual-reverse .service-content {
    grid-column: 1;
  }

  .service-image-pair {
    width: min(100%, 430px);
  }
}

.industrial-statement {
  display: grid;
  grid-template-columns: minmax(180px, .65fr) 2fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
  background: var(--ivory);
}

.industrial-statement h2 {
  max-width: 950px;
  margin: 0;
  font: 400 clamp(3rem, 6vw, 6.7rem)/.94 var(--serif);
  letter-spacing: -.04em;
}

.industrial-statement h2 em {
  color: var(--copper);
  font-weight: 400;
}

.industrial-copy {
  max-width: 720px;
  margin: 42px 0 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.industrial-copy p {
  margin: 0 0 20px;
}

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

.project-entry {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr;
  gap: 38px;
  align-items: end;
  margin-top: 60px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-entry + .project-entry {
  margin-top: 0;
  border-top: 0;
}

.project-entry h3 {
  margin: 0;
  font: 400 clamp(2.5rem, 4.6vw, 5rem)/1 var(--serif);
  letter-spacing: -.035em;
}

.project-entry small,
.project-entry strong {
  display: block;
}

.project-entry small {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-entry strong {
  font-size: 1rem;
}

.project-entry p {
  margin: 0;
  color: var(--muted);
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 16px;
  margin-top: 30px;
}

.project-gallery a {
  min-height: 460px;
  overflow: hidden;
  background: var(--ink);
}

.project-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.project-gallery a:hover img {
  transform: scale(1.015);
}

.project-gallery-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

.project-gallery-compact a {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.project-floors ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.project-floors .floor-label {
  margin-top: 20px;
}

.project-floors li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.project-floors li span {
  min-width: 28px;
  color: var(--copper);
  font: italic .9rem var(--serif);
}

.project-floors li strong {
  display: inline;
  font-size: .9rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
  margin-top: 34px;
  font-style: normal;
}

.contact-details a,
.contact-details div {
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.contact-details a {
  transition: color .2s ease;
}

.contact-details a:hover {
  color: var(--copper);
}

.contact-details small,
.contact-details strong {
  display: block;
}

.location {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) 1.5fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  background: var(--deep);
  color: white;
}

.location h2 {
  margin: .35em 0;
  font: 400 clamp(3rem, 5.7vw, 6.2rem)/.91 var(--serif);
  letter-spacing: -.04em;
}

.location h2 em {
  color: var(--copper);
  font-weight: 400;
}

.location address {
  margin: 28px 0;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  font-style: normal;
  line-height: 1.8;
}

.location-note {
  margin: -12px 0 28px;
  color: rgba(255,255,255,.64);
  font-size: .9rem;
}

.location .text-link {
  color: white;
}

.map-frame {
  min-height: 460px;
  border: 1px solid rgba(255,255,255,.16);
  background: #151a17;
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: saturate(.82) contrast(1.04);
}

.contact-details small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-details a:hover small {
  color: var(--copper);
}

.contact-details strong {
  overflow-wrap: anywhere;
  font-size: .9rem;
  font-weight: 600;
}

@media (max-width: 850px) {
  .industrial-statement {
    grid-template-columns: 1fr;
  }

  .industrial-copy {
    margin: 0;
  }

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

  .project-entry {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery a {
    min-height: 0;
  }

  .project-gallery img {
    height: auto;
  }
}

@media (max-width: 560px) {
  .contact-details {
    grid-template-columns: 1fr;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
    height: 360px;
  }
}

.site-header nav {
  margin-left: auto;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-left: 28px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .28);
  white-space: nowrap;
}

.header-contact a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: baseline;
  color: rgba(255, 255, 255, .9);
  font-size: .75rem;
  letter-spacing: .025em;
  text-decoration: none;
  transition: color .2s ease;
}

.header-contact a::before {
  color: #e0a361;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.header-contact a:first-child::before {
  content: "Tel.";
}

.header-contact a:last-child::before {
  content: "Email";
}

.header-contact a:hover,
.header-contact a:focus-visible {
  color: #fff;
}

@media (max-width: 1050px) {
  .header-contact {
    margin-left: 18px;
    padding-left: 16px;
  }

  .header-contact a {
    grid-template-columns: 40px 1fr;
    gap: 7px;
    font-size: .66rem;
  }
}

@media (max-width: 850px) {
  .header-contact {
    display: none;
  }
}

.privacy-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: .82rem !important;
  line-height: 1.5;
}

.privacy-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--copper);
}

.privacy-consent a,
.footer-legal a {
  text-underline-offset: 4px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: .74rem;
  color: rgba(255,255,255,.72);
}

.footer-legal button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.map-frame {
  position: relative;
}

.map-consent {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
  background: #e7e2d8;
}

.map-consent p {
  max-width: 420px;
  margin: 0;
  color: #4f5552;
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1080px;
  margin: auto;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.14);
  background: #0c100e;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.cookie-banner strong {
  font: 400 1.35rem var(--serif);
}

.cookie-banner p {
  margin: 4px 0 2px;
  color: rgba(255,255,255,.72);
  font-size: .84rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: #d69a63;
  font-size: .76rem;
}

.cookie-copy {
  flex: 1 1 520px;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 10px;
  flex: 0 1 420px;
}

.cookie-actions button,
.cookie-action-link,
.cookie-settings button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid #d69a63;
  background: transparent;
  color: #fff;
  font: 700 .72rem/1.2 var(--sans);
  letter-spacing: .035em;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.cookie-actions [data-cookie-accept],
.cookie-settings button {
  background: #bd7d45;
}

.cookie-settings[hidden] {
  display: none;
}

.cookie-settings {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.cookie-settings h2 {
  margin: 0;
  color: #fff;
  font: 400 1.1rem var(--serif);
}

.cookie-settings label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-settings b,
.cookie-settings small {
  display: block;
}

.cookie-settings small {
  margin-top: 2px;
  color: rgba(255,255,255,.65);
}

.cookie-settings input {
  width: 20px;
  height: 20px;
  accent-color: #bd7d45;
}

.cookie-settings button {
  justify-self: start;
  margin-top: 4px;
}

.legal-button {
  display: inline-flex;
  margin: 18px 0;
  min-height: 50px;
}

@media (max-width: 700px) {
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .cookie-actions button {
    flex: 1;
  }

  .cookie-copy,
  .cookie-actions {
    flex-basis: auto;
  }

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

footer {
  grid-template-columns: minmax(190px, 1fr) minmax(220px, 1fr) auto auto;
  align-items: center;
}

.adapted-badge {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: rgba(255,255,255,.7);
  font-size: .65rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.adapted-badge img {
  display: block;
  width: 94px;
  height: 94px;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  transition: transform .2s ease;
}

.adapted-badge:hover img,
.adapted-badge:focus-visible img {
  transform: scale(1.04);
}

@media (max-width: 980px) {
  footer {
    grid-template-columns: 1fr auto;
  }

  .footer-legal {
    grid-column: 1;
  }

  .adapted-badge {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 560px) {
  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .adapted-badge {
    grid-column: 1;
    grid-row: auto;
    justify-items: start;
  }
}

.legal-page {
  padding: 150px clamp(24px, 8vw, 130px) 100px;
  background: var(--ivory);
}

.legal-page article {
  max-width: 920px;
  margin: 0 auto;
}

.legal-page h1 {
  margin: 0 0 24px;
  font: 400 clamp(3rem, 6vw, 6rem)/.95 var(--serif);
  letter-spacing: -.035em;
}

.legal-page h2 {
  margin: 54px 0 14px;
  font: 400 clamp(1.65rem, 2.8vw, 2.45rem)/1.15 var(--serif);
}

.legal-page h3 {
  margin: 32px 0 10px;
  font-size: 1rem;
}

.legal-page p,
.legal-page li {
  color: #535956;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-summary {
  margin: 42px 0 56px;
  border-top: 1px solid var(--line);
}

.legal-summary div {
  display: grid;
  grid-template-columns: minmax(150px, .35fr) 1fr;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.legal-summary dt {
  font-weight: 700;
}

.legal-summary dd {
  margin: 0;
  color: #535956;
}

@media (max-width: 700px) {
  .legal-page {
    padding-top: 115px;
  }

  .legal-summary div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
