@font-face {
  font-family: "Shippori Mincho";
  src: url(fonts/shippori-mincho-400.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url(fonts/zen-kaku-gothic-new-400.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0b0806;
  --bone: #ece4d8;
  --ash: #a89d90;
  --line: rgba(236, 228, 216, 0.18);
  --rust: #7a3524;
  --indigo: #1f2942;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 3.4vw, 48px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--bone);
  -webkit-text-size-adjust: 100%;
  font-synthesis: none;
}

body {
  margin: 0;
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
  font-weight: 400;
}

ol,
ul {
  list-style: none;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 1px solid var(--bone);
  outline-offset: 4px;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Header */

.testa {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 4px 24px;
  padding: clamp(18px, 2.6vw, 32px) var(--gutter) 0;
}

.marchio {
  font: 400 1.125rem/1 var(--serif);
  letter-spacing: 0.46em;
  text-transform: uppercase;
}

.dove {
  font-size: 0.875rem;
  color: var(--ash);
}

.regalo {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: -14px 0;
  font-size: 0.875rem;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 6px;
}
.regalo:hover {
  text-decoration-color: var(--bone);
}
.regalo:active {
  color: var(--ash);
}

@media (max-width: 899px) {
  .testa {
    grid-template-columns: 1fr auto;
  }
  .dove {
    grid-row: 2;
    grid-column: 1 / -1;
    font-size: 0.8125rem;
  }
}

/* The two doors */

.porte {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 31rem);
  border: 1px solid var(--line);
}

.porta {
  position: relative;
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 84px;
  padding: 14px 20px 16px;
  text-decoration: none;
}
.porta + .porta {
  border-left: 1px solid var(--line);
}
.porta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bone);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.porta:hover::before {
  opacity: 0.07;
}
.porta:active::before {
  opacity: 0.14;
}
.porta:focus-visible {
  outline-offset: -5px;
}
.porta-nome {
  font: 400 1.5rem/1.2 var(--serif);
}
.porta-cosa {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--ash);
}

@media (max-width: 899px) {
  .porte {
    width: 100%;
  }
  .porta {
    min-height: 76px;
    padding: 12px 14px 14px;
  }
  .porta-nome {
    font-size: 1.3125rem;
  }
}

/* Start of the section after the hero */

.banco {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(96px, 16vh, 176px) var(--gutter) clamp(72px, 10vh, 128px);
}

.banco h2 {
  max-width: 14ch;
  font: 400 clamp(2.25rem, 4.4vw, 3.75rem)/1.12 var(--serif);
  letter-spacing: -0.01em;
}

.banco-testo > p {
  max-width: 34ch;
  margin-top: 1.75rem;
  font-size: 1.0625rem;
  color: var(--ash);
}

.fatti {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 2rem;
  max-width: 30rem;
  margin-top: 3rem;
}
.fatti div {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  padding: 0.875rem 0;
  border-top: 1px solid var(--line);
}
.fatti dt {
  font: 400 1.0625rem/1.5 var(--serif);
}
.fatti dd {
  font-size: 0.9375rem;
  color: var(--ash);
}

.banco figure img {
  width: 100%;
  height: auto;
}
.banco figcaption {
  max-width: 30ch;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--ash);
}

@media (max-width: 899px) {
  .banco {
    grid-template-columns: 1fr;
  }
}
