/* dublehotels.com — split-duotone panel system */
:root {
  --white: #FFFFFF;
  --ink: #1F1D1B;
  --ink-soft: #4A4642;
  --rule: #E6E3DF;
  --indigo: #2B3568;  --periwinkle: #A9B4E8;
  --forest: #2C4A33;  --sage: #B7CBA6;
  --maroon: #6E2C3C;  --blush: #E8B6C0;
  --umber: #6E4A2C;   --sand: #E8CFA0;
  --offwhite: #F7F5F1;
  --d: var(--indigo);
  --l: var(--periwinkle);
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --gut: 16px;
}
.p-art     { --d: var(--maroon); --l: var(--blush); }
.p-capsule { --d: var(--forest); --l: var(--sage); }
.p-casino  { --d: var(--umber);  --l: var(--sand); }
.p-ice     { --d: var(--indigo); --l: var(--periwinkle); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.7 var(--serif);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.dh-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 760px) { :root { --gut: 32px; } }
.dh-skip { position: absolute; left: -999px; top: 8px; background: var(--indigo); color: var(--white); padding: 8px 14px; font-family: var(--sans); z-index: 50; }
.dh-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }

/* ---------- two-tone square (logo + markers) ---------- */
.dh-sq { display: inline-grid; grid-template-columns: 1fr 1fr; width: 22px; height: 22px; flex: none; border-radius: 3px; overflow: hidden; }
.dh-sq::before { content: ""; background: var(--d); }
.dh-sq::after  { content: ""; background: var(--l); }

/* ---------- header ---------- */
.dh-head { background: var(--white); border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.dh-head .dh-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.dh-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 19px/1 var(--sans); letter-spacing: -0.02em; }
.dh-logo .dh-sq { width: 26px; height: 26px; }
.dh-logo > span { font-weight: 400; color: var(--ink); }
.dh-logo b { font-weight: 600; color: var(--indigo); }
.dh-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.dh-nav a {
  position: relative; display: inline-block; padding: 8px 0;
  font: 500 15px/1.2 var(--sans); text-decoration: none; color: var(--ink);
}
/* two-tone underline: left half dark, right half light, drawn with two pseudo bars */
.dh-nav a::before, .dh-nav a::after {
  content: ""; position: absolute; bottom: 0; height: 4px; width: 50%;
  transform: scaleX(0); transition: transform .22s ease;
}
.dh-nav a::before { left: 0; background: var(--d); transform-origin: right; }
.dh-nav a::after { right: 0; background: var(--l); transform-origin: left; }
.dh-nav a:hover::before, .dh-nav a:hover::after,
.dh-nav a[aria-current="page"]::before, .dh-nav a[aria-current="page"]::after { transform: scaleX(1); }
.dh-burger { display: none; }

@media (max-width: 860px) {
  .js .dh-burger {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer;
    font: 500 14px/1 var(--sans); color: var(--ink); padding: 10px 0;
  }
  .dh-burger i { display: grid; gap: 4px; }
  .dh-burger i span { display: grid; grid-template-columns: 11px 11px; height: 3px; }
  .dh-burger i span::before { content: ""; background: var(--indigo); }
  .dh-burger i span::after { content: ""; background: var(--periwinkle); }
  .dh-head .dh-wrap { flex-wrap: wrap; }
  .dh-nav { width: 100%; }
  .dh-nav ul { flex-direction: column; gap: 0; padding-bottom: 12px; }
  .dh-nav li { border-top: 1px solid var(--rule); }
  .dh-nav a { display: block; padding: 14px 0; }
  .dh-nav a::before, .dh-nav a::after { width: 34px; }
  .dh-nav a::after { left: 34px; right: auto; }
  .js .dh-nav { display: none; }
  .js .dh-head.is-open .dh-nav { display: block; }
}

/* ---------- home hero ---------- */
.dh-hero { padding: 64px 0 72px; }
.dh-hero .dh-wrap { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 980px) { .dh-hero .dh-wrap { grid-template-columns: 5fr 6fr; gap: 64px; } }
.dh-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.dh-eyebrow .dh-sq { width: 14px; height: 14px; border-radius: 2px; }
.dh-hero h1 { font-size: clamp(36px, 6vw, 60px); letter-spacing: -0.03em; }
.dh-hi { box-shadow: inset 0 -0.36em 0 var(--periwinkle); padding: 0 .06em; }
.dh-stand { font-size: 19px; color: var(--ink-soft); margin: 22px 0 30px; max-width: 34em; }
.dh-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.dh-legend a { display: inline-flex; align-items: center; gap: 9px; font: 500 14px/1 var(--sans); text-decoration: none; padding: 6px 0; }
.dh-legend a:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }

/* frame split in two halves, photo sits inside untouched */
.dh-frame { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.dh-frame::before, .dh-frame::after { content: ""; grid-row: 1; }
.dh-frame::before { background: var(--d); grid-column: 1; }
.dh-frame::after  { background: var(--l); grid-column: 2; }
.dh-frame > .dh-ph { grid-row: 1; grid-column: 1 / 3; position: relative; z-index: 1; margin: 22px; width: calc(100% - 44px); max-width: none; }
@media (max-width: 560px) { .dh-frame > .dh-ph { margin: 14px; width: calc(100% - 28px); } }
img.dh-ph {
  display: block; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; object-position: center; background: var(--white);
}

/* ---------- section headings ---------- */
.dh-sec { padding: 0 0 80px; }
.dh-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-top: 28px; border-top: 1px solid var(--rule); }
.dh-sec-head h2 { font-size: clamp(24px, 3.2vw, 32px); }
.dh-sec-head p { margin: 0; font-size: 15px; color: var(--ink-soft); max-width: 30em; }
@media (max-width: 700px) { .dh-sec-head { flex-direction: column; align-items: start; } }

/* ---------- category cards (home) ---------- */
.dh-cats { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .dh-cats { grid-template-columns: 1fr 1fr; } }
.dh-cat { display: grid; grid-template-columns: 42% 58%; min-height: 280px; transition: grid-template-columns .3s ease; }
.dh-cat:hover { grid-template-columns: 46% 54%; }
.dh-cat-d { background: var(--d); color: var(--white); padding: 28px 26px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.dh-cat-d .num { font: 500 13px/1 var(--sans); letter-spacing: .12em; color: var(--l); }
.dh-cat-d h3 { font-size: clamp(24px, 2.6vw, 30px); margin: 18px 0; }
.dh-count { display: flex; align-items: baseline; gap: 10px; font-family: var(--sans); }
.dh-count b { font-size: 64px; font-weight: 600; line-height: .9; color: var(--l); }
.dh-count span { font-size: 13px; letter-spacing: .04em; color: var(--white); opacity: .9; }
.dh-cat-l { background: var(--l); color: var(--ink); padding: 28px 28px; display: flex; flex-direction: column; justify-content: space-between; }
.dh-cat-l p { font-size: 16px; line-height: 1.65; }
.dh-link { font: 600 14px/1.3 var(--sans); color: var(--d); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; align-self: start; padding: 4px 0; border-bottom: 2px solid var(--d); }
.dh-link:hover { border-bottom-color: transparent; }
@media (max-width: 520px) {
  .dh-cat, .dh-cat:hover { grid-template-columns: 1fr; }
  .dh-count b { font-size: 48px; }
}

/* ---------- how the index works ---------- */
.dh-notes { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 820px) { .dh-notes { grid-template-columns: repeat(3, 1fr); } }
.dh-note { padding: 28px 28px 8px 0; }
@media (min-width: 820px) { .dh-note + .dh-note { padding-left: 28px; border-left: 1px solid var(--rule); } }
@media (max-width: 819px) { .dh-note + .dh-note { border-top: 1px solid var(--rule); } }
.dh-note h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; margin-bottom: 12px; }
.dh-note .dh-sq { width: 16px; height: 16px; border-radius: 2px; }
.dh-note p { font-size: 16px; color: var(--ink-soft); }

/* ---------- category page ---------- */
.dh-phead { padding: 56px 0 40px; }
.dh-crumb { font: 500 13px/1 var(--sans); color: var(--ink-soft); margin-bottom: 26px; }
.dh-crumb a { text-decoration: none; }
.dh-crumb a:hover { text-decoration: underline; }
.dh-phead h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -0.03em; }
.dh-phead .dh-stand { margin: 16px 0 26px; }
.dh-key { display: inline-grid; grid-template-columns: auto auto; font: 500 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.dh-key span { padding: 10px 14px; }
.dh-key span:first-child { background: var(--d); color: var(--white); }
.dh-key span:last-child { background: var(--l); color: var(--ink); }
.dh-phero { margin-bottom: 56px; }
.dh-phero img.dh-ph { aspect-ratio: 21 / 9; }

.dh-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 80px; }
@media (min-width: 900px) { .dh-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .dh-grid.is-solo { grid-template-columns: minmax(0, 860px); } }
.dh-hotel { display: grid; grid-template-columns: minmax(150px, 33%) 1fr; }
.dh-hotel-d { background: var(--d); color: var(--white); padding: 26px 20px; display: flex; flex-direction: column; gap: 14px; }
.dh-hotel-d .no { font: 600 46px/.9 var(--sans); color: var(--l); }
.dh-hotel-d h2 { font-size: 20px; line-height: 1.22; overflow-wrap: break-word; }
.dh-hotel-d .loc { font: 400 13px/1.45 var(--sans); color: var(--l); margin-top: auto; }
.dh-hotel-l { background: var(--l); padding: 26px 28px 24px; display: flex; flex-direction: column; }
.dh-hotel-l p { font-size: 16px; line-height: 1.68; }
.dh-tags { list-style: none; margin: auto 0 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dh-tags li { font: 500 12px/1 var(--sans); letter-spacing: .02em; color: var(--d); border: 1.5px solid var(--d); padding: 7px 10px; border-radius: 2px; }
@media (max-width: 520px) {
  .dh-hotel { grid-template-columns: 1fr; }
  .dh-hotel-d { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 20px; }
  .dh-hotel-d .no { font-size: 34px; }
  .dh-hotel-d h2 { flex: 1 1 60%; }
  .dh-hotel-d .loc { flex-basis: 100%; margin-top: 0; }
  .dh-hotel-l { padding: 22px 20px; }
}

/* other categories strip */
.dh-others { display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: 88px; }
@media (min-width: 700px) { .dh-others { grid-template-columns: repeat(3, 1fr); } }
.dh-other { display: grid; grid-template-columns: 58px 1fr; text-decoration: none; min-height: 64px; }
.dh-other span:first-child { background: var(--d); color: var(--l); font: 600 15px/1 var(--sans); display: grid; place-items: center; }
.dh-other span:last-child { background: var(--l); font: 600 15px/1.2 var(--sans); display: flex; align-items: center; padding: 0 18px; }
.dh-other:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- plain pages ---------- */
.dh-plain { padding: 56px 0 88px; }
.dh-plain h1 { font-size: clamp(34px, 5vw, 50px); letter-spacing: -0.025em; margin-bottom: 14px; }
.dh-plain .dh-updated { font: 400 14px/1.4 var(--sans); color: var(--ink-soft); margin-bottom: 36px; }
.dh-prose { max-width: 68ch; }
.dh-prose h2 { font-size: 21px; margin: 40px 0 12px; }
.dh-prose a { color: var(--indigo); text-underline-offset: 3px; }
.dh-prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.dh-prose li { margin-bottom: .4em; }

/* ---------- footer: two bands ---------- */
.dh-foot-a { background: var(--indigo); color: var(--offwhite); padding: 56px 0 44px; }
.dh-foot-a .dh-wrap { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 760px) { .dh-foot-a .dh-wrap { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
.dh-foot-a .dh-logo b { color: var(--periwinkle); }
.dh-foot-a .dh-logo > span { color: var(--offwhite); }
.dh-foot-a .dh-logo .dh-sq::before { background: var(--offwhite); }
.dh-foot-a p { font-size: 15px; line-height: 1.65; margin-top: 18px; max-width: 30em; color: #DCDFF2; }
.dh-foot-a h2 { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--periwinkle); margin-bottom: 16px; }
.dh-foot-a ul { list-style: none; margin: 0; padding: 0; }
.dh-foot-a li a { display: inline-block; padding: 5px 0; font: 400 15px/1.4 var(--sans); text-decoration: none; color: var(--offwhite); }
.dh-foot-a li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dh-foot-b { background: var(--periwinkle); color: var(--ink); padding: 18px 0; }
.dh-foot-b .dh-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font: 400 14px/1.5 var(--sans); }
.dh-foot-b .pairs { display: flex; gap: 6px; }
.dh-foot-b .dh-sq { width: 14px; height: 14px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.dh-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
