/* Shared mechanics; each example has its own composition and visual language. */
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: #202b26; background: #f6f4ec; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; cursor: pointer; }
img { display: block; width: 100%; height: auto; }
figure, h1, p { margin: 0; }
:focus-visible { outline: 3px solid #087d89; outline-offset: 5px; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 14px; background: white; color: #172e29; }
.skip:focus { top: 8px; }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 4vw; background: #f9fbfa; color: #234251; border-bottom: 1px solid #d7ded9; font-size: 12px; }
.demo-bar > span { font-size: 10px; letter-spacing: .1em; }
.demo-footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 4vw; font-size: 11px; line-height: 1.6; color: #44565e; background: #f9fbfa; }
.eyebrow, .small-label { font-size: 10px; font-weight: 600; letter-spacing: .16em; line-height: 1.6; }
.description { font-size: 17px; line-height: 1.7; }
.action { display: inline-flex; gap: 22px; align-items: center; justify-content: space-between; min-height: 52px; padding: 16px 23px; text-decoration: none; font-size: 14px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.action-note { font-size: 11px; line-height: 1.6; margin-top: 14px; }
.contact-line { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 13px; }
.small-label { display: block; margin-bottom: 9px; }
.social-sample { background: transparent; color: inherit; border: 0; border-bottom: 1px solid currentColor; padding: 12px 0; text-align: left; }
.social-sample span { font-size: 11px; }
[hidden] { display: none !important; }
dialog { width: min(440px, calc(100% - 32px)); padding: 30px; color: #202b26; background: #fafbf9; border: 1px solid #71817a; border-radius: 8px; }
dialog h2 { font-size: 23px; margin-top: 0; } dialog p { font-size: 15px; line-height: 1.7; }
dialog::backdrop { background: #061611b8; }
.dialog-close { border: 0; background: #203e32; color: white; padding: 14px 18px; margin-top: 24px; }
/* Bruma: warm editorial typography and an arched photograph. */
.cafe { background: #f3eee3; color: #244636; }
.cafe-page { max-width: 1440px; padding: 32px 6vw 0; margin: auto; }
.brand-row { display: flex; justify-content: space-between; align-items: center; }
.cafe-brand { font: 56px/.9 Georgia, serif; letter-spacing: -.06em; text-decoration: none; }
.cafe-brand span { display: block; font: 9px/1.8 Arial, sans-serif; letter-spacing: .16em; margin-top: 12px; }
.brand-aside { font: italic 16px/1.5 Georgia, serif; text-align: right; }
.cafe-composition { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; padding: 42px 0 48px; }
.cafe-copy h1 { font: clamp(60px, 6.8vw, 96px)/1.03 Georgia, serif; letter-spacing: -.045em; margin: 20px 0 22px; }
.cafe-copy h1 em { color: #975332; font-weight: 400; }
.cafe-copy .description { max-width: 350px; margin-bottom: 26px; }
.cafe .action { background: #244636; color: #fff9eb; border-radius: 30px; }
.cafe .action:hover { background: #3c614c; }
.cafe-photo img { height: 530px; object-fit: cover; object-position: 65% center; border-radius: 46% 46% 3px 3px; }
.cafe-photo figcaption { text-align: center; margin-top: 15px; font: italic 16px/1.5 Georgia, serif; }
.cafe-contact { border-top: 1px solid #b9beaa; padding: 24px 0; }
.cafe-signature { font: italic 23px Georgia, serif; }
/* Línea: architectural grid, white space and a wide photograph. */
.architecture { background: #f5f5f1; color: #272d2a; }
.architecture-page { max-width: 1600px; padding: 28px 5vw 0; margin: auto; }
.architecture-brand { display: flex; gap: 25px; align-items: center; border-bottom: 1px solid #c3c7be; padding-bottom: 24px; font-size: 10px; line-height: 1.6; letter-spacing: .13em; }
.linea-logo { font-size: 46px; font-weight: 700; letter-spacing: -.09em; line-height: 1; text-decoration: none; display: flex; align-items: center; gap: 18px; }
.logo-square { width: 24px; height: 24px; border: 1px solid; display: inline-block; }
.architecture-index { margin-left: auto; }
.architecture-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 7vw; align-items: end; padding: 38px 0 32px; }
.architecture h1 { font-size: clamp(44px, 5.4vw, 77px); font-weight: 400; line-height: 1.06; letter-spacing: -.065em; margin-top: 17px; }
.architecture h1 em { font: italic 1.06em Georgia, serif; letter-spacing: -.05em; }
.architecture-description .description { max-width: 370px; font-size: 15px; margin-bottom: 12px; }
.architecture .action { padding: 13px 0; border-bottom: 1px solid #272d2a; }
.architecture .action:hover { color: #485b31; }
.architecture-photo img { height: 330px; object-fit: cover; object-position: center 60%; }
.architecture-photo figcaption { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; font-size: 11px; }
.architecture-photo figcaption span:last-child { font-size: 9px; letter-spacing: .1em; }
.architecture-contact { border-top: 1px solid #c3c7be; padding: 18px 0; }
.architecture-contact .small-label { margin: 0; max-width: 210px; }
/* Navaja: immersive photo, bold stacked typography and copper accents. */
.barber { background: #171613; color: #f7f0e4; }
.barber-page { position: relative; isolation: isolate; padding: 32px 6vw 0; min-height: 820px; }
.barber-backdrop { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 65% center; z-index: -2; }
.barber-page::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #131410f2 0%, #131410d9 39%, #13141035 100%); z-index: -1; }
.barber-brand { display: flex; justify-content: space-between; align-items: center; }
.barber-brand a { text-decoration: none; font-weight: 900; letter-spacing: .07em; font-size: 23px; }
.barber-brand a span { display: block; font-size: 8px; letter-spacing: .2em; font-weight: 400; margin-top: 7px; }
.barber-seal { font-size: 29px; font-weight: 900; border: 1px solid #ac9d82; padding: 14px; }
.barber-copy { padding: 54px 0 45px; max-width: 650px; }
.barber .eyebrow { color: #efb58b; }
.barber h1 { font-family: Impact, 'Arial Narrow', Arial, sans-serif; font-size: clamp(64px, 7.2vw, 100px); font-weight: 900; letter-spacing: -.015em; line-height: .98; margin: 22px 0; }
.barber h1 span { color: #efb58b; }
.barber .description { max-width: 380px; font-size: 15px; color: #eee6db; margin-bottom: 24px; }
.barber .action { background: #efb58b; color: #211a14; }
.barber .action:hover { background: #ffcea9; }
.barber .action-note { color: #e0d4c4; }
.barber-contact { padding: 22px 0; border-top: 1px solid #8a8171; }
.barber-contact a { display: inline-block; }
.barber-detail { font-size: 11px; letter-spacing: .12em; }
.barber-detail span { color: #efb58b; padding: 0 12px; }
.barber :focus-visible { outline-color: #ffd9b8; }
.barber .demo-bar :focus-visible, .barber dialog :focus-visible { outline-color: #087d89; }
/* Gallery */
.gallery-page { max-width: 1280px; margin: auto; padding: 60px 32px; }
.gallery-intro { max-width: 740px; margin-bottom: 38px; }
.gallery-intro h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -.045em; line-height: 1.08; margin: 18px 0 22px; }
.gallery-intro .description { color: #44565e; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.gallery-card { min-width: 0; }
.gallery-image { display: block; border: 1px solid #becdc7; border-radius: 6px; overflow: hidden; }
.gallery-image img { aspect-ratio: 1.5; object-fit: cover; object-position: top; }
.gallery-card h2 { font-size: 25px; margin: 20px 0 10px; }
.gallery-card p { font-size: 14px; line-height: 1.7; color: #44565e; }
.gallery-card .action { padding-left: 0; padding-right: 0; }
.gallery-note { border-top: 1px solid #bdcac2; margin-top: 35px; padding-top: 25px; font-size: 13px; line-height: 1.8; }
@media(min-width: 1600px) { .barber-page { padding-inline: max(6vw, calc((100vw - 1400px)/2)); } }
@media(max-width: 900px) {
 .cafe-composition { gap: 32px; } .cafe-photo img { height: 480px; }
 .cafe-signature, .barber-detail { display: none; }
 .architecture-intro { gap: 30px; grid-template-columns: 1.1fr 1fr; }
 .gallery-grid { gap: 18px; }
}
@media(max-width: 640px) {
 .demo-bar { flex-wrap: wrap; padding: 12px 20px; font-size: 11px; } .demo-bar > span { order: -1; width: 100%; font-size: 9px; }
 .demo-footer { flex-direction: column; gap: 6px; padding: 18px 20px; }
 .contact-line { flex-wrap: wrap; gap: 18px; }
 .action { font-size: 13px; max-width: 100%; gap: 12px; }
 .cafe-page { padding: 25px 24px 0; } .cafe-brand { font-size: 45px; } .brand-aside { font-size: 13px; }
 .cafe-composition { grid-template-columns: 1fr; padding: 32px 0; gap: 32px; }
 .cafe-copy h1 { font-size: clamp(58px, 14vw, 80px); } .cafe-copy .description { font-size: 16px; }
 .cafe-photo img { height: 360px; } .cafe-contact { padding: 22px 0; }
 .architecture-page { padding: 25px 20px 0; } .architecture-brand { gap: 18px; } .architecture-index { display: none; }
 .architecture-intro { grid-template-columns: 1fr; padding: 30px 0; gap: 25px; }
 .architecture h1 { font-size: clamp(46px, 12vw, 67px); }
 .architecture-photo img { height: 300px; } .architecture-photo figcaption { flex-direction: column; gap: 6px; }
 .architecture-contact { align-items: flex-start; flex-direction: column; }
 .architecture-contact .small-label { max-width: none; }
 .barber-page { padding: 24px 22px 0; min-height: 0; }
 .barber-page::before { background: linear-gradient(90deg, #131410ec, #131410ac); }
 .barber-brand a { font-size: 21px; } .barber-seal { font-size: 22px; padding: 10px; }
 .barber-copy { padding: 48px 0 34px; }
 .barber h1 { font-size: clamp(57px, 14vw, 85px); }
 .barber-contact { flex-direction: column; align-items: flex-start; }
 .gallery-page { padding: 36px 20px; } .gallery-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media(prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
