:root {
  color-scheme: light;
  --cream: #f5f0e7;
  --paper: #fcf9f3;
  --espresso: #32251f;
  --muted: #695a4e;
  --terracotta: #884a35;
  --terracotta-dark: #6d3929;
  --gold: #806635;
  --line: #cfc1ad;
  --soft: #e9dfce;
  --error: #9b2c20;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --page-width: 1248px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-space: clamp(56px, 8vw, 112px);
  --transition: 180ms ease;
  --shadow: 0 16px 48px rgb(50 37 31 / 12%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(44px, 7vw, 88px);
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
}

h3 {
  font-size: clamp(28px, 3vw, 36px);
}

h1 em,
h2 em {
  color: var(--terracotta);
  font-weight: 400;
}

p {
  text-wrap: pretty;
}

p + p {
  margin-top: 22px;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color var(--transition);
}

a:hover {
  color: var(--terracotta);
}

a,
p,
li,
address,
label,
td,
th,
code {
  overflow-wrap: anywhere;
}

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 5px;
}

::selection {
  background: #dac0a9;
  color: var(--espresso);
}

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

img {
  height: auto;
}

address {
  font-style: normal;
}

ul,
ol {
  margin-block: 24px;
  padding-left: 24px;
}

li + li {
  margin-top: 12px;
}

li::marker {
  color: var(--terracotta);
}

.shell {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header-inner > *,
.hero > *,
.section-heading > *,
.guide-grid > *,
.card-top > *,
.philosophy-grid > *,
.footer-grid > *,
.contact-layout > *,
.form-row > *,
.check-field > *,
.cookie-banner > *,
.cookie-actions > *,
.dialog-actions > * {
  min-width: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  max-width: calc(100% - 24px);
  padding: 12px 20px;
  background: var(--espresso);
  color: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  color: var(--paper);
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-family: var(--serif);
  font-size: clamp(17px, 2.4vw, 23px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand svg {
  flex: 0 0 25px;
  width: 25px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.brand span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.header-cta {
  display: none;
  justify-self: end;
  padding-block: 9px;
  border-bottom: 1px solid var(--gold);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}

.header-cta span {
  margin-left: 14px;
}

.menu-toggle {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--espresso);
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: currentColor;
  transition: transform var(--transition), top var(--transition);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 26px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.primary-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.primary-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.primary-nav a {
  display: inline-block;
  padding-block: 12px;
  font-size: 18px;
  text-decoration: none;
}

.primary-nav a[aria-current="page"] {
  color: var(--terracotta);
  text-decoration: underline;
}

.eyebrow,
.small-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 22px;
}

.intro {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 50px;
  max-width: 100%;
  padding: 15px 23px;
  border: 1px solid var(--espresso);
  border-radius: 0;
  background: var(--espresso);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition);
}

.button:hover:not(:disabled) {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: var(--paper);
}

.button-secondary {
  border-color: var(--muted);
  background: transparent;
  color: var(--espresso);
}

.button-secondary:hover:not(:disabled) {
  border-color: var(--espresso);
  background: var(--soft);
  color: var(--espresso);
}

.button > span[aria-hidden],
.text-link > span[aria-hidden] {
  flex-shrink: 0;
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: fit-content;
  max-width: 100%;
  padding-block: 7px;
  font-size: 13px;
  font-weight: 600;
}

.text-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: var(--espresso);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.text-button:hover {
  color: var(--terracotta);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-block: var(--section-space);
}

.hero-copy .intro {
  max-width: 450px;
  margin-top: 26px;
}

.hero-copy > .button {
  margin-top: 32px;
}

.hero-caption {
  max-width: 450px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-caption p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.hero-art {
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
}

.italian-living-room-illustration {
  width: 100%;
  height: auto;
  background: var(--soft);
}

.hero-art figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guides-section {
  padding-block: clamp(32px, 5vw, 64px) var(--section-space);
}

.section-heading {
  display: grid;
  gap: 28px;
  margin-bottom: 44px;
}

.section-heading > p {
  max-width: 420px;
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 28px 18px;
  border-top: 2px solid var(--terracotta);
  transition: background-color var(--transition);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.card-top .small-label {
  text-align: right;
}

.entry-number {
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 34px;
  font-style: italic;
  line-height: 1;
}

.guide-card p {
  max-width: 650px;
  color: var(--muted);
  font-size: 15px;
}

.guide-card .text-link {
  margin-top: auto;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.philosophy-section {
  padding-block: var(--section-space);
  background: var(--soft);
}

.philosophy-grid {
  display: grid;
  gap: 32px;
}

.philosophy-grid > div > p:not(.eyebrow) {
  color: var(--muted);
}

.philosophy-grid .text-link {
  margin-top: 28px;
}

.site-footer {
  margin-top: var(--section-space);
  padding-block: 56px;
  border-top: 1px solid var(--line);
}

.philosophy-section + .site-footer {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.footer-brand {
  display: inline-block;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.footer-heading {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-grid p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.footer-grid > div > a:not(.footer-brand) {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding-block: 4px;
  font-size: 12px;
  text-decoration: none;
}

.footer-grid > div > a:hover {
  text-decoration: underline;
}

.footer-preferences {
  display: block;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--espresso);
  font-size: 12px;
  line-height: 1.75;
  text-align: left;
}

.footer-preferences:hover {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fine-print,
.footer-grid .fine-print {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.article-header {
  padding-block: var(--section-space) clamp(44px, 6vw, 80px);
}

.breadcrumb {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 12px;
}

.article-header h1 {
  max-width: 1000px;
}

.article-header .intro {
  max-width: 690px;
  margin-top: 28px;
}

.material-landscape {
  position: relative;
  height: clamp(160px, 23vw, 290px);
  margin-top: clamp(36px, 6vw, 72px);
  overflow: hidden;
}

.stone-landscape {
  background:
    linear-gradient(119deg, transparent 22%, #b7a992 22.4%, transparent 23.4%,
      transparent 39%, #c4b6a1 40%, transparent 42%),
    linear-gradient(90deg, #e9e1d2 0 50%, #c4b293 50% 78%, #503b2c 78%);
}

.wood-landscape {
  background:
    repeating-linear-gradient(92deg, transparent 0 8px,
      rgb(33 22 13 / 15%) 9px 11px, transparent 12px 24px),
    linear-gradient(90deg, #ad8054 0 30%, #67412a 30% 72%, #3d281e 72%);
}

.furniture-landscape {
  background:
    radial-gradient(ellipse at 25% 100%, #e9ddc8 0 29%, transparent 29.5%),
    radial-gradient(ellipse at 75% 75%, #ad7155 0 25%, transparent 25.5%),
    #473126;
}

.lighting-landscape {
  background:
    radial-gradient(ellipse at 30% 0%, #f1d59a 0, #bc9963 9%, transparent 47%),
    radial-gradient(ellipse at 76% 0%, #edcc8c 0, #97764c 5%, transparent 37%),
    #382a22;
}

.architecture-landscape {
  background: linear-gradient(90deg, #e2d5be 0 25%, #a66349 25% 29%,
    #eddfc8 29% 68%, #563a2a 68% 85%, #b29b79 85%);
}

.article-body {
  width: min(100%, 824px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.article-body > section + section {
  margin-top: clamp(36px, 5vw, 60px);
}

.article-body h2 {
  margin-bottom: 22px;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.2;
}

.article-body h3 {
  margin-block: 28px 16px;
  font-size: 25px;
}

.article-body p,
.article-body li {
  color: #51453b;
}

.article-body li {
  padding-left: 4px;
}

.article-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 64px;
  padding: clamp(24px, 4vw, 40px);
  border-top: 2px solid var(--terracotta);
  background: var(--soft);
}

.article-note .eyebrow,
.article-note h2,
.article-note p {
  margin: 0;
}

.article-note h2 {
  font-size: clamp(28px, 3vw, 34px);
}

.legal-header {
  max-width: 1000px;
}

.legal-body {
  width: min(100%, 900px);
}

.legal-body code {
  padding: 2px 4px;
  background: var(--soft);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.85em;
}

.legal-body section > .button {
  margin-top: 26px;
}

.table-wrap {
  max-width: 100%;
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.65;
}

caption {
  padding: 18px 20px;
  background: var(--paper);
  font-weight: 600;
  text-align: left;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead {
  background: var(--soft);
}

th {
  font-weight: 600;
}

tbody tr:last-child > * {
  border-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
}

.contact-layout h2 {
  margin-bottom: 22px;
  font-size: 32px;
}

.contact-layout > div > p {
  color: var(--muted);
  font-size: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 34px;
}

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

.field {
  min-width: 0;
}

.field > label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 600;
}

.field > label span {
  font-weight: 400;
}

input:not([type="checkbox"], [type="radio"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #9a8975;
  border-radius: 0;
  background: var(--paper);
  color: var(--espresso);
  font-size: 16px;
  line-height: 1.6;
  transition: border-color var(--transition), background-color var(--transition);
}

select {
  padding-right: 32px;
}

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

input::placeholder,
textarea::placeholder {
  color: #7b6b5c;
  opacity: 1;
}

input:not([type="checkbox"], [type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: var(--terracotta);
  background: #fffdf8;
}

input[type="checkbox"],
input[type="radio"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: var(--terracotta);
  cursor: pointer;
}

input:disabled {
  cursor: not-allowed;
}

.check-field,
.field > .check-field {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
}

.field-help {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.field-error,
p.field-error {
  margin-top: 8px;
  color: var(--error);
  font-size: 12px;
  line-height: 1.6;
}

.is-invalid,
[aria-invalid="true"] {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 1px var(--error);
}

input[type="checkbox"].is-invalid,
input[type="checkbox"][aria-invalid="true"] {
  box-shadow: none;
  outline: 2px solid var(--error);
  outline-offset: 3px;
}

input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 5px;
}

.contact-form > .button {
  align-self: flex-start;
}

.form-status {
  margin-top: 0;
  padding: 16px 20px;
  border-left: 3px solid var(--terracotta);
  background: var(--soft);
  color: var(--espresso);
  font-size: 13px;
}

noscript .form-status {
  margin-top: 24px;
}

.detail-section {
  padding: 26px 18px;
  border-top: 2px solid var(--terracotta);
}

.detail-section + .detail-section {
  margin-top: 30px;
}

.detail-section p {
  color: var(--muted);
}

.detail-section .eyebrow {
  margin-bottom: 18px;
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  font-size: 16px;
}

.static-map {
  margin-top: 30px;
}

.milan-concept-map-illustration {
  width: 100%;
  height: auto;
  background: var(--soft);
}

.static-map figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.static-map figcaption strong {
  color: var(--espresso);
  font-weight: 600;
}

.contact-followup {
  margin-top: var(--section-space);
  padding-top: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.contact-followup h2 {
  margin-bottom: 22px;
}

.contact-followup p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.contact-followup .text-link {
  margin-top: 24px;
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  max-height: 75vh;
  max-height: 75dvh;
  padding: 20px var(--gutter);
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid #a38b70;
  background: var(--paper);
  color: var(--espresso);
  box-shadow: 0 -8px 36px rgb(50 37 31 / 10%);
}

.cookie-banner h2 {
  margin-bottom: 8px;
  font-size: 25px;
}

.cookie-banner p {
  max-width: 680px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

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

.cookie-actions .button {
  min-height: 48px;
  padding: 12px;
  font-size: 12px;
}

.cookie-actions .text-button {
  grid-column: 1 / -1;
}

.cookie-banner > .fine-print {
  grid-column: 1 / -1;
  margin: 0;
}

.cookie-banner > .fine-print:empty {
  display: none;
}

.preferences-dialog {
  width: min(570px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(24px, 4vw, 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--espresso);
  box-shadow: var(--shadow);
}

.preferences-dialog:not([open]) {
  display: none;
}

.preferences-dialog::backdrop {
  background: rgb(35 27 22 / 65%);
  backdrop-filter: blur(3px);
}

.preferences-dialog h2 {
  margin-bottom: 22px;
  font-size: 32px;
}

.preferences-dialog > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.preferences-dialog .check-field {
  margin-top: 20px;
  font-size: 14px;
}

.dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

@media (hover: hover) {
  .guide-card:hover {
    background: rgb(252 249 243 / 70%);
  }
}

@media (min-width: 480px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .header-cta {
    display: inline-block;
  }

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

  .dialog-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cookie-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .cookie-actions .button {
    flex: 1 1 auto;
  }
}

@media (min-width: 600px) {
  .eyebrow,
  .small-label {
    font-size: 11px;
  }

  .guide-card {
    padding: 30px 26px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 32px;
  }

  .hero-art figcaption {
    font-size: 10px;
  }
}

@media (min-width: 768px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 24px;
    min-height: 80px;
  }

  .brand {
    font-size: 20px;
  }

  .brand svg {
    flex-basis: 28px;
    width: 28px;
    height: 35px;
  }

  .primary-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    font-size: 13px;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
  }

  .hero h1 {
    font-size: clamp(47px, 5.9vw, 78px);
  }

  .hero-copy .eyebrow {
    max-width: 380px;
  }

  .hero-art {
    max-width: none;
  }

  .hero-caption {
    margin-top: 48px;
  }

  .section-heading {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 48px;
    margin-bottom: 56px;
  }

  .section-heading > p {
    justify-self: end;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .guide-card-wide {
    grid-column: 1 / -1;
  }

  .philosophy-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
  }

  .contact-layout .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-actions .button {
    flex: 0 1 auto;
  }
}

@media (min-width: 1050px) {
  .hero {
    padding-top: 64px;
  }

  .hero-copy > .button {
    margin-top: 38px;
  }

  .hero-caption {
    margin-top: 60px;
  }

  .guide-card {
    padding: 32px;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.75fr 0.8fr 1.25fr;
    gap: 36px;
  }

  .site-footer {
    padding-block: 64px;
  }

  .contact-layout {
    gap: 72px;
  }

  .contact-layout .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-section {
    padding-inline: 26px;
  }

  .cookie-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 32px;
  }

  .cookie-actions {
    flex-wrap: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .button,
  .tags span,
  .cookie-banner,
  .preferences-dialog {
    border: 1px solid ButtonText;
  }

  .menu-toggle span {
    background: ButtonText;
  }

  .is-invalid,
  [aria-invalid="true"] {
    outline: 2px solid Highlight;
  }
}

@media print {
  :root {
    --cream: #fff;
    --paper: #fff;
    --espresso: #000;
    --muted: #333;
    --line: #bbb;
    --soft: #f5f5f5;
  }

  @page {
    margin: 18mm;
  }

  body {
    font-size: 11pt;
    line-height: 1.6;
  }

  .site-header,
  .skip-link,
  .site-footer,
  .cookie-banner,
  .preferences-dialog,
  .contact-form {
    display: none !important;
  }

  .shell,
  .article-body {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }

  .hero,
  .philosophy-grid,
  .contact-layout,
  .section-heading {
    display: block;
  }

  .hero,
  .article-header,
  .guides-section,
  .philosophy-section {
    padding-block: 24px;
  }

  h1 {
    font-size: 36pt;
  }

  h2 {
    font-size: 24pt;
  }

  h3,
  .article-body h2 {
    font-size: 19pt;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
  }

  p,
  li {
    orphans: 3;
    widows: 3;
  }

  .hero-art,
  .static-map,
  .guide-card,
  .article-note,
  tr {
    break-inside: avoid;
  }

  .hero-art {
    max-width: 100mm;
    margin-block: 24px;
  }

  .material-landscape {
    height: 40mm;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .table-wrap {
    overflow: visible;
  }

  table {
    min-width: 0;
  }

  a {
    color: inherit;
  }
}