:root {
  color-scheme: light;
  --paper: #f7f2e9;
  --paper-light: #fffcf6;
  --sand: #eae0d0;
  --ink: #302e26;
  --muted: #686357;
  --terracotta: #97422e;
  --terracotta-dark: #783323;
  --olive: #596344;
  --blue: #315e70;
  --line: #d8cebe;
  --error: #a12d24;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(3.5rem, 7vw, 7rem);
  --shadow: 0 16px 55px rgb(48 46 38 / 12%);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--ink);
  background: #e4c3a7;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.8rem, 6.8vw, 5.5rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.5rem, 2.3vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

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

p + p {
  margin-top: 1rem;
}

p,
li {
  text-wrap: pretty;
}

a {
  color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

button,
input,
select,
textarea {
  border-radius: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
}

button:disabled {
  opacity: 0.55;
}

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

img {
  height: auto;
}

ul,
ol {
  padding-inline-start: 1.35rem;
}

li + li {
  margin-top: 0.55rem;
}

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

address {
  font-style: normal;
}

code {
  padding: 0.1em 0.25em;
  background: var(--sand);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.875em;
  overflow-wrap: anywhere;
}

.shell,
.header-inner {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.small {
  font-size: 0.8125rem;
  line-height: 1.7;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 1.2rem;
  color: var(--terracotta);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.7;
  color: var(--muted);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1.2rem;
  transform: translateY(calc(-100% - 2rem));
  background: var(--ink);
  color: var(--paper-light);
}

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

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

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1rem;
  padding-block: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand svg {
  flex: 0 0 1.8rem;
  width: 1.8rem;
  height: 1.8rem;
  color: var(--terracotta);
}

.brand span {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.main-nav {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  order: 3;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.875rem;
  text-decoration: none;
}

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

.header-cta {
  display: none;
  align-items: center;
  gap: 1.25rem;
  min-height: 44px;
  border-bottom: 1px solid var(--terracotta);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.3rem;
}

@supports selector(:has(*)) {
  @media (max-width: 59.999rem) {
    .menu-toggle {
      display: inline-flex;
    }

    .header-inner:has(.menu-toggle[aria-expanded="false"]) .main-nav {
      display: none;
    }

    .header-inner:has(.menu-toggle[aria-expanded="true"]) .main-nav {
      display: flex;
      padding-top: 0.75rem;
      border-top: 1px solid var(--line);
    }
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 48px;
  max-width: 100%;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--terracotta);
  background: var(--terracotta);
  color: var(--paper-light);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

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

.button span,
.text-link span,
.header-cta span {
  flex-shrink: 0;
  font-size: 1.2em;
}

.button-secondary {
  background: transparent;
  color: var(--terracotta);
}

.button-secondary:hover:not(:disabled) {
  background: var(--sand);
  color: var(--terracotta-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.text-button,
.footer-preferences {
  min-height: 44px;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  color: var(--terracotta);
  font-size: 0.875rem;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 5rem) var(--section-space);
}

.hero-copy .lead {
  max-width: 32rem;
  margin-block: 1.7rem 2rem;
}

.hero-copy .small {
  max-width: 29rem;
  margin-top: 1.2rem;
}

.hero-figure {
  min-width: 0;
}

.mediterranean-room-illustration {
  width: 100%;
  height: auto;
  border-radius: 46% 46% 0 0;
  background: var(--sand);
}

figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.hero-figure figcaption {
  text-align: right;
}

#guides {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.section-heading > p {
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.guide-grid {
  display: grid;
  gap: 2.75rem 1.75rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.card-art {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  margin-bottom: 1.1rem;
  background: var(--sand);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-card h3 {
  margin-bottom: 0.8rem;
}

.guide-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.guide-card h3 a:hover {
  color: var(--terracotta);
}

.guide-card > p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.guide-card > .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.approach-section {
  background: var(--sand);
}

.approach-grid {
  display: grid;
  gap: 2rem;
}

.approach-grid .lead {
  color: var(--ink);
}

.approach-grid > div > p:not(.eyebrow):not(.lead) {
  color: var(--muted);
  font-size: 0.9375rem;
}

.approach-grid .text-link {
  margin-top: 1.25rem;
}

.article-page,
.contact-page {
  padding-top: clamp(2.5rem, 6vw, 5.5rem);
}

.article-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 0.8125rem;
  text-decoration: none;
}

.breadcrumb:hover {
  text-decoration: underline;
}

.article-header .lead {
  max-width: 43rem;
  margin-top: 1.75rem;
}

.material-strip {
  position: relative;
  height: clamp(8rem, 20vw, 15rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  background-color: var(--sand);
}

.terracotta-stone-surface {
  background-image: linear-gradient(
    110deg,
    #974b34 0% 25%,
    #b96c48 25% 48%,
    #d7bb94 48% 64%,
    #bdb29a 64% 83%,
    #e8dcc5 83% 100%
  );
}

.rustic-timber-grain-surface {
  background-color: #966a47;
  background-image:
    repeating-radial-gradient(
      ellipse at 25% 130%,
      transparent 0 13px,
      rgb(61 38 25 / 24%) 14px 16px,
      transparent 17px 29px,
      rgb(230 181 120 / 25%) 30px 33px
    ),
    linear-gradient(100deg, #694933, #b28a5c 48%, #805539);
  background-size: 140% 190%, 100% 100%;
}

.mediterranean-earthy-palette-surface {
  background-image: linear-gradient(
    90deg,
    #a45338 0% 20%,
    #cfb48e 20% 40%,
    #faf4e8 40% 60%,
    #64704c 60% 80%,
    #356378 80% 100%
  );
}

.handmade-ceramic-glaze-surface {
  background-image:
    radial-gradient(ellipse at 19% 110%, #a3563c 0 30%, transparent 30.3%),
    radial-gradient(ellipse at 58% 0%, #f6efdf 0 38%, transparent 38.3%),
    linear-gradient(110deg, #d1ad85 0% 62%, #315e70 62% 100%);
}

.arched-light-surface {
  background: #d7bd99;
}

.arched-light-surface::before {
  content: "";
  position: absolute;
  inset: 12% auto -2px 24%;
  width: 35%;
  border: clamp(15px, 3vw, 35px) solid #f3e8d4;
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 75% 75% 0 0;
  background: #386374;
}

.arched-light-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(250 227 181 / 64%);
  clip-path: polygon(59% 42%, 95% 100%, 44% 100%);
}

.article-body {
  max-width: 46rem;
  margin-inline: auto;
}

.article-body > section {
  margin-bottom: 2.75rem;
}

.article-body h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.article-body p,
.article-body li {
  color: #504d43;
}

.article-body strong {
  color: var(--ink);
}

.note {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-inline-start: 3px solid var(--terracotta);
  background: var(--sand);
}

.note h2 {
  margin-bottom: 0.9rem;
  font-size: 1.6rem;
}

.note p,
.note li {
  font-size: 0.9375rem;
}

.note ul {
  margin-block: 1rem 0;
}

.note > :last-child {
  margin-bottom: 0;
}

.next-guide {
  margin-top: var(--section-space);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
  text-align: center;
}

.next-guide h2 {
  margin-bottom: 1.75rem;
}

.legal-page {
  max-width: 58rem;
  padding-bottom: var(--section-space);
}

.legal-page .article-header,
.legal-page .article-body {
  max-width: 46rem;
  margin-inline: auto;
}

.legal-page h1 {
  font-size: clamp(2.8rem, 6vw, 4.7rem);
}

.legal-page .article-body > section:last-child {
  margin-bottom: 0;
}

.table-wrap {
  max-width: 100%;
  margin-block: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper-light);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.65;
  text-align: left;
}

caption {
  padding: 1rem;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: left;
}

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

thead th {
  background: var(--sand);
  color: var(--ink);
}

tbody th {
  color: var(--terracotta);
}

tbody tr:nth-child(even) {
  background: rgb(234 224 208 / 30%);
}

.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.contact-grid > *,
.contact-details,
.footer-grid > * {
  min-width: 0;
}

.contact-grid h2 {
  margin-bottom: 1rem;
}

.contact-grid > div > p {
  color: var(--muted);
}

form {
  margin-top: 1.75rem;
}

fieldset {
  min-width: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 1.25rem;
  padding: 0;
  color: var(--terracotta);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-field + .form-field {
  margin-top: 1.25rem;
}

.form-field label,
.email-draft > label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-field label .muted {
  font-weight: 400;
}

input:not([type="checkbox"]),
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border: 1px solid #aaa08f;
  background: var(--paper-light);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

textarea {
  resize: vertical;
  min-height: 10rem;
}

input:not([type="checkbox"]):focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
}

[aria-invalid="true"] {
  border-color: var(--error) !important;
  background-color: #fff5ef !important;
}

.field-help,
.field-error {
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.field-help {
  color: var(--muted);
}

.field-error {
  color: var(--error);
  font-weight: 600;
}

form > .button {
  margin-top: 1.25rem;
}

.form-status,
.email-draft {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--sand);
}

.form-status {
  border-inline-start: 3px solid var(--olive);
}

.email-draft h3 {
  margin-bottom: 0.75rem;
}

.email-draft .button {
  margin-block: 1.2rem;
}

.email-draft textarea {
  background: var(--paper-light);
  font-size: 0.875rem;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.contact-details .note h2 {
  font-size: 1.55rem;
}

.contact-details address {
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.contact-details .note .small {
  font-size: 0.8125rem;
}

.map-block {
  margin-top: 0.5rem;
}

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

.map-block figcaption {
  font-size: 0.8125rem;
}

.map-block figcaption strong {
  color: var(--ink);
}

.map-block .text-link {
  margin-top: 0.75rem;
}

.contact-note {
  margin-top: var(--section-space);
  border-top: 1px solid var(--line);
}

.contact-note h2 {
  margin-bottom: 1.25rem;
}

.contact-note > p:last-child {
  max-width: 48rem;
  color: var(--muted);
}

.site-footer {
  padding-top: clamp(2.75rem, 5vw, 4.5rem);
  background: #302f27;
  color: #e8dfcf;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand {
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.footer-grid p {
  margin-top: 1rem;
  color: #c8bfae;
  font-size: 0.875rem;
}

.footer-grid p.small {
  font-size: 0.75rem;
}

.footer-grid > div > a:last-child {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8125rem;
}

.site-footer a,
.site-footer button {
  color: #e8dfcf;
}

.site-footer a:hover,
.site-footer button:hover {
  color: #ffffff;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid nav h2 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-grid nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-block: 0.3rem;
  font-size: 0.875rem;
  text-decoration: none;
}

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

.copyright {
  padding-block: 1.3rem;
  border-top: 1px solid #575449;
  color: #c8bfae;
  font-size: 0.75rem;
}

.cookie-banner {
  position: fixed;
  z-index: 30;
  inset: auto 0 0;
  display: grid;
  gap: 1.25rem;
  max-height: 80vh;
  max-height: 80dvh;
  padding: 1.5rem max(var(--gutter), calc((100vw - var(--shell)) / 2));
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  border-top: 1px solid var(--line);
  background: var(--paper-light);
  box-shadow: 0 -8px 40px rgb(48 46 38 / 12%);
}

.cookie-banner h2 {
  margin-bottom: 0.5rem;
  font-size: 1.45rem;
}

.cookie-banner p {
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.cookie-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.cookie-actions .button {
  flex: 1 1 auto;
  font-size: 0.8125rem;
}

.cookie-actions .text-button {
  padding-inline: 0.5rem;
}

.cookie-dialog {
  width: min(36rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow-y: auto;
  border: 1px solid var(--line);
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.cookie-dialog::backdrop {
  background: rgb(35 32 25 / 58%);
  backdrop-filter: blur(3px);
}

.cookie-dialog h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 4vw, 2.2rem);
}

.cookie-dialog > p {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 48px;
  padding-block: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.5;
  cursor: pointer;
}

.check-row input {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.12rem 0 0;
  accent-color: var(--terracotta);
}

.dialog-actions {
  margin-block: 1.5rem 1rem;
}

.cookie-dialog > p:last-child {
  margin-bottom: 0;
}

.storage-notice {
  position: fixed;
  z-index: 40;
  top: 1rem;
  left: 50%;
  width: min(36rem, calc(100% - 2rem));
  margin: 0;
  padding: 1rem 1.25rem;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--terracotta);
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
}

@media (min-width: 40rem) {
  .header-cta {
    display: inline-flex;
    margin-left: auto;
  }

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

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 48rem) {
  .hero {
    grid-template-columns: 1.08fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
  }

  .hero h1 {
    font-size: clamp(3rem, 5.5vw, 4.6rem);
  }

  .hero-figure {
    padding-left: 0.5rem;
  }

  .section-heading {
    grid-template-columns: 1.5fr 1fr;
    align-items: end;
  }

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

  .approach-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(3rem, 7vw, 7rem);
  }

  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3rem;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

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

@media (min-width: 60rem) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 2rem;
    min-height: 92px;
  }

  .main-nav {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    order: initial;
    gap: 1.75rem;
    margin-left: auto;
  }

  .header-cta {
    margin-left: 1rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 5.4vw, 4.8rem);
  }

  .guide-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 3.25rem;
  }

  .guide-card {
    grid-column: span 2;
  }

  .guide-card:nth-child(4),
  .guide-card:nth-child(5) {
    grid-column: span 3;
  }

  .guide-card:nth-child(4) .card-art,
  .guide-card:nth-child(5) .card-art {
    aspect-ratio: 2 / 1;
  }
}

@media (min-width: 75rem) {
  .cookie-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
  }

  .cookie-actions {
    max-width: 31rem;
    justify-content: flex-end;
  }
}

@media (max-width: 24rem) {
  .brand {
    max-width: calc(100% - 3.5rem);
  }

  .brand span {
    font-size: 1rem;
  }

  .brand svg {
    flex-basis: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
  }

  .hero h1,
  .article-header h1 {
    font-size: 2.6rem;
  }

  .cookie-actions,
  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions .text-button {
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .button,
  .note,
  .cookie-banner,
  .cookie-dialog,
  .storage-notice {
    border: 1px solid CanvasText;
  }

  .material-strip {
    forced-color-adjust: none;
  }

  .cookie-dialog::backdrop {
    backdrop-filter: none;
  }
}

@media print {
  @page {
    margin: 18mm;
  }

  :root {
    --ink: #000;
    --muted: #333;
    --paper: #fff;
    --line: #bbb;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.6;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .cookie-banner,
  .cookie-dialog,
  .storage-notice,
  .next-guide,
  .menu-toggle,
  .breadcrumb,
  form {
    display: none !important;
  }

  .shell {
    width: 100%;
    max-width: none;
  }

  .article-page,
  .contact-page,
  .section,
  .hero {
    padding-block: 1rem;
  }

  .article-body,
  .legal-page .article-header,
  .legal-page .article-body {
    max-width: none;
  }

  h1,
  .hero h1,
  .legal-page h1 {
    font-size: 32pt;
  }

  h2 {
    font-size: 22pt;
  }

  h3 {
    font-size: 17pt;
  }

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

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

  a {
    color: #000;
  }

  .hero,
  .approach-grid,
  .contact-grid {
    display: block;
  }

  .hero-figure {
    width: 55%;
    margin: 1.5rem auto;
  }

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

  .guide-card,
  .guide-card:nth-child(4),
  .guide-card:nth-child(5) {
    grid-column: auto;
  }

  figure,
  .guide-card,
  .note,
  tr {
    break-inside: avoid;
  }

  .material-strip {
    height: 6rem;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .note,
  .approach-section {
    background: #fff;
  }

  .table-wrap {
    overflow: visible;
  }

  table {
    min-width: 0;
    font-size: 9pt;
  }

  th,
  td {
    padding: 0.5rem;
  }
}