:root {
  --ivory: #f7f1e5;
  --paper: #fffaf1;
  --navy: #203642;
  --blue: #1b5265;
  --terracotta: #a7442e;
  --yellow: #efd58d;
  --muted: #5b625e;
  --line: #cfc5b4;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--ivory); color: var(--navy); font: 16px/1.65 Arial, Helvetica, sans-serif; }
body, h1, h2, h3, nav, p, a, button, label, address, td, th, code { overflow-wrap: anywhere; }
div, section, article, aside, nav, header, footer, main, form, a, span { min-width: 0; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(44px, 5.8vw, 80px); letter-spacing: -.055em; }
h2 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.035em; }
h3 { font-size: 29px; letter-spacing: -.025em; }
em { color: var(--terracotta); font-weight: 400; }
.container { width: min(100% - 80px, 1200px); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 16px; padding: 16px; z-index: 200; transform: translateY(-160%); background: var(--navy); color: var(--ivory); }
.skip-link:focus { transform: translateY(0); }
.site-header { height: 64px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: 40px; position: relative; z-index: 20; background: var(--ivory); color: var(--navy); }
.brand { display: flex; gap: 8px; align-items: center; text-decoration: none; color: var(--navy); font: 600 17px/1.1 Georgia, serif; letter-spacing: -.5px; max-width: 340px; }
.brand svg { width: 32px; height: 32px; flex: 0 0 32px; color: var(--blue); }
.brand-caption { display: block; font: 8px/1.5 Arial, sans-serif; letter-spacing: 1.4px; margin-top: 4px; }
.navigation { display: flex; align-items: center; gap: 24px; }
.navigation a { text-decoration: none; font-size: 13px; font-weight: 600; color: var(--navy); }
.navigation a:hover, .navigation a[aria-current="page"] { color: var(--terracotta); text-decoration: underline; text-underline-offset: 8px; }
.header-cta { padding: 8px 16px; font-size: 12px; line-height: 1.5; font-weight: 700; text-decoration: none; background: var(--blue); color: var(--ivory); border-radius: 4px; text-align: center; }
.header-cta:hover { background: var(--navy); color: var(--ivory); }
.menu-button { display: none; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; padding-block: 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 11px; line-height: 1.6; font-weight: 700; text-transform: uppercase; letter-spacing: 1.8px; color: var(--blue); }
.small-tile { display: inline-block; margin-right: 8px; font-size: 20px; color: var(--terracotta); vertical-align: middle; }
.lede { font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 680px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; padding: 16px 24px; border: 1px solid var(--terracotta); border-radius: 4px; background: var(--terracotta); color: var(--paper); text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: center; transition: background .2s ease, color .2s ease; }
.button:hover { background: #843321; color: var(--paper); border-color: #843321; }
.button-secondary { background: var(--paper); color: var(--navy); border-color: var(--line); }
.button-secondary:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.text-link { font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hero-note { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 16px; }
.hero-note p { font-size: 12px; color: var(--muted); }
.sun-mark { color: var(--terracotta); font-size: 44px; line-height: 1; }
.hero-art { position: relative; padding: 16px 16px 0 0; }
.art-frame { border-radius: 160px 160px 8px 8px; padding: 8px; background: var(--blue); color: var(--ivory); position: relative; }
.art-frame::before { content: ""; position: absolute; inset: 16px 0 0 16px; border: 1px solid var(--blue); border-radius: inherit; transform: translate(8px, 8px); z-index: -1; }
.lisbon-city-hero-photograph { border-radius: 150px 150px 4px 4px; width: 100%; height: auto; aspect-ratio: 24 / 25; object-fit: cover; object-position: center; background: #d6b585; color: var(--navy); }
.art-label { position: absolute; bottom: 64px; right: 0; width: 184px; padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--yellow); color: var(--navy); border: 1px solid #cbb475; transform: rotate(5deg); box-shadow: 4px 8px 0 rgb(32 54 66 / 12%); }
.art-label span { font-size: 9px; line-height: 1.4; letter-spacing: 1.5px; font-weight: 700; }
.art-label strong { font: 28px/1.1 Georgia, serif; }
.image-caption { font-size: 10px; margin-top: 16px; color: var(--muted); text-align: center; }
.guide-section { padding-block: 64px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading > p { max-width: 330px; color: var(--muted); font-size: 14px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.framed-card { position: relative; padding: 0 8px 8px 0; isolation: isolate; }
.framed-card::before { content: ""; position: absolute; inset: 8px 0 0 8px; background: #e1d5bc; color: var(--navy); border: 1px solid var(--line); border-radius: 24px 24px 8px 8px; z-index: -1; }
.card-surface { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px 24px 8px 8px; background: var(--paper); color: var(--navy); transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
  .guide-grid .framed-card:hover .card-surface { transform: translateY(-4px); box-shadow: 0 8px 24px rgb(32 54 66 / 6%); }
}
.card-art { position: relative; padding: 24px; border-radius: 23px 23px 0 0; min-height: 240px; display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.card-art svg { width: 100%; height: 190px; }
.market-art { background: #e6d4b6; color: var(--navy); }
.budget-art { background: #d9e2da; color: var(--navy); }
.painting-art { background: #d7dfe0; color: var(--navy); }
.ceramic-art { background: #ead4c6; color: var(--navy); }
.route-art { background: #e3dfc9; color: var(--navy); }
.art-index { font-size: 9px; font-weight: 700; letter-spacing: 1.6px; }
.card-art.card-photograph { display: block; padding: 0; min-height: 0; overflow: hidden; aspect-ratio: 8 / 5; }
.second-hand-shopping-photograph,
.books-and-paper-finds-photograph,
.colourful-painting-detail-photograph,
.handcrafted-pottery-photograph,
.lisbon-rooftops-route-photograph { display: block; width: 100%; height: 100%; object-fit: cover; color: var(--navy); font-size: 14px; }
.second-hand-shopping-photograph { object-position: center; }
.books-and-paper-finds-photograph { object-position: center; }
.colourful-painting-detail-photograph { object-position: center; }
.handcrafted-pottery-photograph { object-position: center; }
.lisbon-rooftops-route-photograph { object-position: center; }
.card-photograph .art-index { position: absolute; left: 24px; bottom: 24px; max-width: calc(100% - 48px); padding: 8px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--navy); box-shadow: 0 2px 12px rgb(32 54 66 / 12%); }
.wide-card .card-art.card-photograph { aspect-ratio: 5 / 2; }
.photography-note { margin-top: 24px; max-width: 800px; font-size: 12px; color: var(--muted); }
.card-copy { padding: 24px; display: flex; flex: 1; flex-direction: column; align-items: start; gap: 24px; }
.card-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.card-copy .text-link { margin-top: auto; }
.wide-card { grid-column: 1 / -1; }
.wide-card .card-art svg { height: 240px; }
.wide-card .card-copy { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.wide-card .card-copy .eyebrow { grid-column: 1 / -1; }
.wide-card .card-copy .text-link { grid-column: 1 / -1; }
.featured-section { margin-top: 64px; padding-block: 64px; background: var(--blue); color: var(--ivory); position: relative; }
.featured-section::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: repeating-linear-gradient(135deg, var(--yellow) 0 8px, var(--blue) 8px 16px); color: var(--ivory); }
.featured-section .eyebrow { color: var(--yellow); }
.featured-section .section-heading > p { color: #e0e8e6; }
.editorial-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.editorial-columns > div { border-top: 1px solid #6e919b; padding-top: 24px; display: flex; flex-direction: column; gap: 24px; }
.feature-number { font: italic 32px/1 Georgia, serif; color: var(--yellow); margin-bottom: 12px; }
.editorial-columns h3 { font-size: 26px; }
.editorial-columns p { color: #e0e8e6; font-size: 14px; }
.featured-section a { color: var(--yellow); font-size: 13px; font-weight: 700; }
.featured-section a:hover { color: #fff; }
.featured-section :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
.editorial-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid #6e919b; font-size: 12px; color: #e0e8e6; }
.site-footer { background: var(--navy); color: var(--ivory); padding-block: 64px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr 1.2fr; gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.site-footer h2 { font: 700 11px/1.5 Arial, sans-serif; letter-spacing: 1.3px; text-transform: uppercase; color: var(--yellow); }
.site-footer a, .footer-preferences { color: var(--ivory); font-size: 12px; text-decoration: none; }
.site-footer a:hover, .footer-preferences:hover { color: var(--yellow); text-decoration: underline; }
.site-footer .footer-brand { font: 22px/1.2 Georgia, serif; }
.site-footer p { font-size: 12px; color: #d9e0dd; }
.footer-preferences { border: 0; padding: 0; background: transparent; color: var(--ivory); text-align: left; line-height: 1.65; }
.site-footer .fine-print { font-size: 10px; }
.footer-bottom { display: flex; gap: 24px; justify-content: space-between; margin-top: 40px; border-top: 1px solid #52646b; padding-top: 24px; }
.footer-bottom p { font-size: 11px; }
.article-main, .legal-main, .contact-main { padding-block: 64px; }
.article-heading { display: flex; flex-direction: column; gap: 24px; max-width: 900px; margin-bottom: 64px; }
.article-heading h1 { font-size: clamp(42px, 5.4vw, 72px); }
.breadcrumb { font-size: 12px; text-decoration: none; }
.breadcrumb:hover { text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.prose section + section { margin-top: 64px; }
.prose h2 { font-size: 32px; margin-bottom: 24px; }
.prose p + p { margin-top: 24px; }
.prose p, .prose li { color: #39494f; }
.prose ul, .prose ol { padding-left: 24px; margin: 24px 0; }
.prose li + li { margin-top: 16px; }
.prose strong { color: var(--navy); }
.prose .button { margin-top: 24px; }
.sidebar-copy { padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-copy h2 { font-size: 30px; }
.sidebar-copy p:not(.eyebrow), .sidebar-copy li, .sidebar-copy a { font-size: 14px; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li + li { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.sidebar-note { margin-top: 24px; font-size: 12px; color: var(--muted); }
.sidebar-route-map { width: 100%; height: auto; }
.next-guide { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.legal-prose { max-width: 800px; }
.table-wrapper { overflow-x: auto; margin-block: 24px; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
caption { padding: 16px; text-align: left; font-weight: 700; background: var(--blue); color: var(--ivory); }
th, td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead { background: #e5dfcf; color: var(--navy); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
code { font-size: 12px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact-form-surface { padding: 40px; gap: 24px; }
.contact-form-surface h2 { font-size: 32px; }
.contact-form-surface > p { font-size: 14px; color: var(--muted); }
form { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group > label { font-size: 13px; font-weight: 700; }
input:not([type="checkbox"]), select, textarea { width: 100%; min-width: 0; max-width: 100%; border: 1px solid #8d958f; border-radius: 4px; padding: 16px; background: #fffdf8; color: var(--navy); }
textarea { resize: vertical; }
input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--blue); }
.field-hint { color: var(--muted); font-size: 12px; }
.field-error { color: #982e25; font-size: 12px; font-weight: 700; }
.is-invalid { border-color: #982e25 !important; box-shadow: 0 0 0 1px #982e25; }
.checkbox-label { display: flex; align-items: start; gap: 16px; font-weight: 400 !important; }
.checkbox-label input { margin: 4px 0 0; }
form > .button { align-self: flex-start; }
.form-status { font-size: 13px; color: var(--blue); }
.form-status:empty { display: none; }
.email-ready { padding: 24px; border: 1px solid #9cb5ae; border-radius: 8px; background: #e9eee4; color: var(--navy); }
.email-ready h3 { font-size: 26px; }
.email-ready p { margin-block: 24px; font-size: 14px; }
.contact-details { display: flex; flex-direction: column; gap: 64px; }
.contact-details > div:not(.framed-card) { display: flex; flex-direction: column; gap: 24px; }
.contact-details h2 { font-size: 36px; }
.contact-details a { font-size: 14px; }
address { font-style: normal; font-size: 14px; }
.fine-print { font-size: 12px; color: var(--muted); }
.lisbon-static-location-map { width: 100%; height: auto; border-radius: 23px 23px 0 0; }
.map-copy { padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.map-copy p { font-size: 13px; color: var(--muted); }
.cookie-banner { position: fixed; inset: auto 24px 24px; z-index: 80; max-width: 1200px; margin-inline: auto; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--navy); box-shadow: 0 8px 40px rgb(32 54 66 / 18%); max-height: 70dvh; overflow-y: auto; }
.cookie-banner > div:first-child { max-width: 480px; }
.cookie-banner strong { font: 23px/1.2 Georgia, serif; }
.cookie-banner p { font-size: 12px; margin-top: 8px; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px; }
.cookie-actions .button { font-size: 11px; padding: 16px; }
.text-button { border: 0; padding: 8px 0; background: transparent; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.text-button:hover { color: var(--terracotta); }
.preferences-dialog { max-width: 560px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); padding: 40px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--navy); overflow-y: auto; }
.preferences-dialog::backdrop { background: rgb(15 32 41 / 65%); color: var(--ivory); }
.preferences-dialog h2 { font-size: 32px; }
.preferences-dialog > p { font-size: 14px; margin-top: 24px; }
.preference-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line); font-size: 13px; }
.preferences-dialog .button-row { margin-top: 24px; }
.screen-reader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); white-space: nowrap; overflow: clip; border: 0; }
.animated-route { animation: route-dash 16s linear infinite; }
@keyframes route-dash { to { stroke-dashoffset: -160; } }
@media (max-width: 1100px) {
  .site-header { padding-inline: 24px; gap: 16px; }
  .brand { font-size: 15px; }
  .navigation { gap: 16px; }
  .navigation a { font-size: 12px; }
  .hero { gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout, .contact-layout { gap: 40px; }
  .cookie-banner { align-items: start; }
  .cookie-actions { max-width: 390px; }
}
@media (max-width: 900px) and (min-width: 768px) {
  .brand-caption { font-size: 7px; letter-spacing: .8px; }
  .brand svg { width: 24px; height: 24px; flex-basis: 24px; }
  .header-cta { padding: 8px; font-size: 10px; }
  .hero h1 { font-size: 52px; }
  .hero .button-row { gap: 16px; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 40px); }
  .site-header { height: 52px; padding-inline: 20px; gap: 8px; }
  .brand { flex: 1; font-size: 14px; line-height: 1.05; max-width: 320px; }
  .brand svg { width: 24px; height: 24px; flex-basis: 24px; }
  .brand-caption { font-size: 6px; letter-spacing: .6px; }
  .header-cta { max-width: 96px; font-size: 10px; padding: 4px 8px; }
  .menu-button { display: flex; flex-direction: column; justify-content: center; gap: 6px; flex: 0 0 32px; width: 32px; height: 40px; padding: 8px 4px; border: 0; background: transparent; color: var(--navy); }
  .menu-button span { display: block; height: 2px; width: 24px; background: var(--navy); color: var(--ivory); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .navigation { display: none; position: fixed; inset: 52px 0 0; padding: 40px 24px; background: var(--ivory); color: var(--navy); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; overflow-y: auto; border-top: 1px solid var(--line); }
  .navigation.is-open { display: flex; }
  .navigation a { font: 32px/1.2 Georgia, serif; padding-block: 16px; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero h1 { font-size: clamp(48px, 9vw, 72px); }
  .hero-art { max-width: 540px; justify-self: center; padding: 0; width: 100%; }
  .art-frame::before { inset: 0; transform: translate(0, 0); }
  .art-label { right: 16px; bottom: 64px; transform: rotate(3deg); }
  .lede { font-size: 17px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section-heading > p { max-width: 100%; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .framed-card { padding: 0; }
  .framed-card::before { inset: 0; }
  .wide-card { grid-column: auto; }
  .wide-card .card-copy { display: flex; }
  .wide-card .card-art svg { height: 190px; }
  .wide-card .card-art.card-photograph { aspect-ratio: 8 / 5; }
  .editorial-columns { grid-template-columns: minmax(0, 1fr); }
  .article-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .article-heading h1 { font-size: clamp(42px, 8.5vw, 64px); }
  .article-sidebar { max-width: 100%; }
  .sidebar-route-map { max-height: 320px; }
  .contact-form-surface { padding: 24px; }
  .footer-grid { gap: 40px 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .cookie-banner { inset: auto 16px 16px; flex-direction: column; padding: 16px; gap: 16px; max-height: 65dvh; }
  .cookie-actions { max-width: 100%; width: 100%; justify-content: flex-start; gap: 8px 16px; }
  .cookie-actions .button { padding: 8px 16px; min-height: 40px; }
  .preferences-dialog { padding: 24px; }
}
@media (max-width: 399px) {
  .site-header { padding-inline: 16px; }
  .brand { font-size: 12px; gap: 4px; }
  .brand-caption { font-size: 5px; letter-spacing: .3px; }
  .brand svg { width: 20px; height: 20px; flex-basis: 20px; }
  .header-cta { max-width: 68px; font-size: 9px; padding: 4px; }
  .container { width: calc(100% - 32px); }
  h1, .hero h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .article-heading h1 { font-size: 40px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.3px; }
  .art-label { width: 144px; padding: 16px; gap: 16px; right: 16px; }
  .art-label strong { font-size: 24px; }
  .card-art { min-height: 208px; padding: 24px; }
  .card-art svg, .wide-card .card-art svg { height: 140px; }
  .card-photograph .art-index { left: 16px; bottom: 16px; max-width: calc(100% - 32px); }
  .card-copy h3 { font-size: 27px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-form-surface, .sidebar-copy { padding: 24px; }
  .preferences-dialog { padding: 24px 16px; }
  .preferences-dialog .button-row { gap: 16px; }
  .preferences-dialog .button { width: 100%; }
  .cookie-banner strong { font-size: 21px; }
  .cookie-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .cookie-actions .text-button { justify-self: start; }
  th, td { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .cookie-banner, .preferences-dialog, .skip-link, .next-guide { display: none !important; }
  body { background: #fff; color: #000; }
  .container { width: 100%; }
  .article-layout { display: block; }
  .article-sidebar { margin-top: 40px; }
  a { color: #000; }
  .prose section { break-inside: avoid; }
}