@font-face {
  font-family: 'Tiempos Text';
  src: url('/fonts/TiemposText-Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: 'Tiempos Text', Georgia, serif;
  font-synthesis: none;
  background: #f8f5f0;
  color: #2f2923;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea { font: inherit; }
a { color: inherit; text-underline-offset: 0.22em; }
:focus-visible { outline: 3px solid #9c604d; outline-offset: 4px; }

.site { min-height: 100dvh; display: flex; flex-direction: column; }
.shell { width: min(100% - 3rem, 940px); margin-inline: auto; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; padding-block: 2rem; }
.brand { font: 600 0.95rem/1.3 system-ui, sans-serif; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.6rem; padding: 0.45rem 0.75rem; border: 1px solid #796752; border-radius: 999px; font: 600 0.82rem/1.2 system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.contact-button:hover { background: #e9dccb; }
.language-toggle { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 999px; background: #796752; font: 600 0.82rem/1.2 system-ui, sans-serif; }
.language-toggle a { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.52rem 0.7rem; border-radius: 999px; color: #fffaf4; text-decoration: none; white-space: nowrap; }
.language-toggle a:hover { background: #62513f; }
.language-toggle a[aria-current="page"], .language-toggle a[aria-current="page"]:hover { background: #e9dccb; color: #2f2923; }
.language-toggle a span { font-size: 1rem; line-height: 1; }
.main-content { flex: 1; padding-block: clamp(4rem, 12vh, 8rem) 6rem; }
.intro { max-width: 730px; }
h1, h2, p { margin-block: 0; }
h1 { font-size: clamp(3.5rem, 9vw, 7rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.025em; }
.intro p { margin-top: 1.75rem; max-width: 34rem; font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.5; }
h2 { font-size: 1.45rem; font-weight: 400; line-height: 1.3; }
#portfolio-title { font-family: 'Tiempos Text', Georgia, serif; font-size: 1rem; }
.portfolio { margin-top: clamp(4.5rem, 9vw, 7rem); }
.domain-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.domain-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-top: 1px solid #d8d0c6; }
.domain-link { font-size: clamp(1.25rem, 3vw, 1.6rem); text-decoration: none; overflow-wrap: anywhere; }
.domain-link span { display: inline-block; margin-left: 0.35rem; color: #985b49; font: 0.85rem system-ui, sans-serif; transition: transform 180ms ease; }
.domain-link:hover span { transform: translate(2px, -2px); }
.domain-link:hover, .contact a:hover { color: #985b49; }
.domain-row--sold { align-items: center; }
.sold-domain-link { font-size: clamp(1.25rem, 3vw, 1.6rem); text-decoration: none; overflow-wrap: anywhere; }
.sold-domain-link:hover { color: #985b49; }
.sold-badge { display: inline-block; flex: none; padding: 0.3rem 0.55rem; border-radius: 999px; background: #796752; color: #fffaf4; font: 600 0.7rem/1 system-ui, sans-serif; letter-spacing: 0.02em; }
.domain-price, .optional, .site-footer { font: 0.9rem/1.5 system-ui, sans-serif; color: #625951; }
.domain-price { text-align: right; white-space: nowrap; }
.contact { margin-top: 4.5rem; }
.contact a { display: inline-block; margin-top: 0.85rem; font-size: 1.2rem; overflow-wrap: anywhere; }
.site-footer { display: grid; gap: 0.45rem; padding-block: 1.5rem 2rem; border-top: 1px solid #d8d0c6; }
.footer-details { display: flex; flex-wrap: wrap; column-gap: 1.5rem; row-gap: 0.25rem; }
.site-footer address { font-style: normal; }
.site-footer a:hover { color: #985b49; }

.sale-content { flex: 1; padding-block: clamp(3.5rem, 10vh, 7rem) 5rem; }
.sale-domain { overflow-wrap: anywhere; }
.sale-state { margin-top: 1.25rem; font-size: clamp(1.3rem, 2.5vw, 1.65rem); line-height: 1.45; }
.asking-price { margin-top: 1.2rem; font: 500 1rem/1.5 system-ui, sans-serif; color: #985b49; }
.domain-note { max-width: 42rem; margin-top: 1.5rem; line-height: 1.55; }
.inquiry { max-width: 620px; margin-top: clamp(4rem, 8vw, 6rem); }
.inquiry h2 { margin-bottom: 1.5rem; }
.inquiry form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font: 0.9rem/1.5 system-ui, sans-serif; }
input, textarea {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 0.6rem;
  background: #ede7de;
  color: #2f2923;
  box-shadow: none;
}
textarea { resize: vertical; min-height: 7rem; }
input:focus-visible, textarea:focus-visible { outline: 2px solid #9c604d; outline-offset: 2px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
button {
  padding: 0.85rem 1.3rem;
  border: 0;
  border-radius: 0.6rem;
  background: #2f2923;
  color: #f8f5f0;
  font: 500 0.95rem/1.4 system-ui, sans-serif;
  cursor: pointer;
}
button:hover { background: #514438; }
button:disabled { opacity: 0.6; cursor: wait; }
#form-result { max-width: 27rem; font: 0.9rem/1.5 system-ui, sans-serif; overflow-wrap: anywhere; }
#form-result.error { color: #8d382c; }
#form-result.success { color: #386043; }
#form-result:empty { display: none; }
@media (max-width: 600px) {
  .shell { width: min(100% - 2rem, 940px); }
  .main-content { padding-block: 4rem 5rem; }
  .domain-row { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
  .domain-row--sold { align-items: center; flex-direction: row; }
  .domain-price { text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .domain-link span { transition: none; }
}