/* Old City House — Ohrid old town.
   ==========================================================================================
   The house is new and well finished, standing inside a UNESCO old town with a garden. So the
   surfaces are crisp rather than distressed: this is not a pastiche of an ancient konak.

   Ground: lime-washed plaster, which is genuinely a COOL white — faintly green-grey, not the
   warm cream every hotel site defaults to. Deep garden green grounds the page and marks every
   action; it comes from the property's own green surroundings, not from decoration. Terracotta
   is rationed to exactly one job: the nights already taken on the availability board, where it
   reads as a roof tile laid over that night.

   Mobile-first: laid out at 360px, widened at 768px and 1140px. */

:root {
    /* plaster */
    --lime: #f3f5f1;
    --lime-deep: #e8ebe5;
    --stone: #d6d9d1;
    --hair: #c9cdc3;
    --white: #ffffff;

    /* ink */
    --ink: #14171a;
    --ink-soft: #55605a;
    --ink-faint: #687069;   /* 5.1:1 on white, 4.7:1 on lime — AA on both */

    /* garden */
    --forest: #1c352a;      /* deep ground: footer, contrast sections */
    --forest-2: #274c3a;
    --vine: #2f6b4c;        /* actions */
    --vine-deep: #23543b;

    /* roof — the board and nothing else */
    --tile: #a8492a;
    --tile-lit: #bc5733;

    --display: "Alegreya", "Iowan Old Style", Georgia, serif;
    --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --tap: 44px;
    --radius: 4px;
    --gutter: 1.25rem;
    --measure: 36rem;
    --shadow: 0 1px 2px rgba(20, 23, 26, 0.04), 0 8px 24px -12px rgba(20, 23, 26, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--lime);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.6;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--vine-deep); text-underline-offset: 0.2em; }
a:hover { color: var(--vine); }

:focus-visible { outline: 3px solid var(--vine); outline-offset: 2px; border-radius: 2px; }

.skip {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: var(--lime);
    padding: 0.75rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ------------------------------------------------------------------ typography */

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 0 0 0.5rem;
    text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 9vw, 4.25rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; max-width: var(--measure); }

/* Marks a section and says where you are. It is a label, not an ornament. */
.eyebrow {
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0 0 0.6rem;
}

.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: var(--measure); }

/* ------------------------------------------------------------------ layout */

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 700px; }

section { padding: 3.5rem 0; }
@media (min-width: 768px) { section { padding: 5.5rem 0; } }

/* Rhythm comes from changing the ground, not from stacking hairlines between every block. */
.section--deep {
    background: var(--forest);
    color: rgba(243, 245, 241, 0.86);
}
.section--deep h2, .section--deep h3 { color: var(--lime); }
.section--deep .eyebrow { color: rgba(243, 245, 241, 0.62); }
.section--deep .lead { color: rgba(243, 245, 241, 0.8); }
.section--deep a { color: var(--lime); }

.section--tint { background: var(--lime-deep); }

/* ------------------------------------------------------------------ masthead */

.masthead {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem var(--gutter);
    background: rgba(243, 245, 241, 0.92);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--hair);
    position: sticky;
    top: 0;
    z-index: 30;
}

.wordmark {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none;
    margin-right: auto;
    line-height: 1.1;
}
.wordmark small {
    display: block;
    font-family: var(--body);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 0.1rem;
}

.masthead nav { display: none; gap: 0.15rem; }
@media (min-width: 768px) { .masthead nav { display: flex; } }

.masthead-call {
    display: inline-flex; align-items: center; gap: 0.4rem;
    min-height: 36px; padding: 0 0.7rem;
    border: 1px solid var(--ink); border-radius: var(--radius);
    background: var(--ink); color: var(--lime);
    font-size: 0.8rem; font-weight: 600; text-decoration: none;
}
.masthead-call:hover { background: var(--forest); border-color: var(--forest); color: var(--lime); }
.masthead-call svg { width: 14px; height: 14px; fill: currentColor; }
@media (min-width: 768px) { .masthead-call { display: none; } }

.masthead nav a {
    display: inline-flex; align-items: center;
    min-height: var(--tap); padding: 0 0.8rem;
    color: var(--ink-soft); text-decoration: none;
    font-size: 0.95rem; border-radius: var(--radius);
}
.masthead nav a:hover { color: var(--ink); background: var(--lime-deep); }
.masthead nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--vine); }

.lang { display: flex; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.lang button {
    min-height: 36px; padding: 0 0.65rem;
    border: 0; background: transparent; cursor: pointer;
    font: inherit; font-size: 0.78rem; font-weight: 600;
    color: var(--ink-faint); letter-spacing: 0.06em;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--lime); }

/* ------------------------------------------------------------------ hero
   Photos are the product, so the hero is one big picture and very little else. The board is
   the designed moment; this just states the house and where it stands. */

.hero { position: relative; background: var(--forest); color: var(--lime); }

.hero-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
@media (min-width: 640px) { .hero-media { aspect-ratio: 16 / 10; } }
@media (min-width: 1140px) { .hero-media { aspect-ratio: 21 / 9; max-height: 76vh; } }

.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(16, 22, 19, 0.82) 0%,
        rgba(16, 22, 19, 0.30) 42%,
        rgba(16, 22, 19, 0.05) 70%);
}

.hero-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: 4.5rem; }
.hero h1 { color: var(--lime); margin-bottom: 0.5rem; }
.hero .eyebrow { color: rgba(243, 245, 241, 0.86); }
.hero .tagline {
    color: rgba(243, 245, 241, 0.9);
    font-size: clamp(1.02rem, 2.4vw, 1.25rem);
    margin: 0; max-width: 30rem;
}

/* No photo yet: a typographic panel rather than a broken frame. */
.hero--bare { padding: 5rem 0 4rem; }
.hero--bare .hero-body { position: static; padding-bottom: 0; }

/* ------------------------------------------------------------------ search */

.search {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow);
}

.search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.search-grid > * { min-width: 0; }
.search-grid .full { grid-column: 1 / -1; }

@media (min-width: 900px) {
    .search-grid { grid-template-columns: 1.2fr 1.2fr 0.7fr 0.7fr 0.7fr auto; align-items: end; }
    .search-grid .full { grid-column: auto; }
    .search-grid .full .btn { width: auto; padding: 0 1.6rem; }
}

.search--floating { margin-top: -3rem; position: relative; z-index: 10; }
@media (min-width: 768px) { .search--floating { margin-top: -3.5rem; } }
@media (min-width: 768px) { .hero-body { padding-bottom: 5.5rem; } }

label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 0.3rem; letter-spacing: 0.01em; }

input[type=text], input[type=email], input[type=tel], input[type=date],
input[type=number], select, textarea {
    width: 100%;
    min-height: var(--tap);
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

textarea { min-height: 7.5rem; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--vine); }
input::placeholder, textarea::placeholder { color: var(--ink-faint); }

/* ------------------------------------------------------------------ buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: var(--tap); padding: 0 1.35rem;
    border: 1px solid var(--vine); border-radius: var(--radius);
    background: var(--vine); color: var(--white);
    font: inherit; font-weight: 600; text-decoration: none;
    cursor: pointer; text-align: center;
}
.btn:hover { background: var(--vine-deep); border-color: var(--vine-deep); color: var(--white); }

.btn-quiet { background: transparent; color: var(--ink); border-color: var(--hair); }
.btn-quiet:hover { background: var(--lime-deep); color: var(--ink); border-color: var(--ink-faint); }

.btn-call { background: var(--ink); border-color: var(--ink); }
.btn-call:hover { background: var(--forest); border-color: var(--forest); }

.section--deep .btn-quiet { color: var(--lime); border-color: rgba(243, 245, 241, 0.35); }
.section--deep .btn-quiet:hover { background: rgba(243, 245, 241, 0.12); color: var(--lime); }

.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

/* ------------------------------------------------------------------ apartment cards
   No box and no border: the photograph is the card. A hairline under the type keeps the
   column edges legible without drawing a frame around the picture. */

.cards { display: grid; gap: 2.25rem 1.75rem; }
.cards > * { min-width: 0; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card { display: flex; flex-direction: column; }

.card-media {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--stone);
    border-radius: var(--radius);
    overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: no-preference) {
    .card-media img { transition: transform 400ms cubic-bezier(0.2, 0, 0.2, 1); }
    .card:hover .card-media img { transform: scale(1.03); }
}

.card-body { padding: 0.9rem 0 0; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-body h2, .card-body h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.45rem; }
.card-body h2 a, .card-body h3 a { text-decoration: none; color: inherit; }
.card-body h2 a:hover, .card-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

.facts {
    display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem;
    font-size: 0.86rem; color: var(--ink-soft);
    margin: 0; padding: 0; list-style: none;
}
.facts li { display: inline-flex; align-items: center; }
.facts li + li::before { content: "·"; margin-right: 0.6rem; color: var(--hair); }

.price { font-family: var(--display); font-size: 1.3rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--body); font-size: 0.8rem; font-weight: 400; color: var(--ink-soft); }

.card-actions { margin-top: auto; padding-top: 0.7rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Taken apartments stay on the page — the guest should still see the whole house. */
.card--unavailable .card-media { position: relative; }
.card--unavailable .card-media img { filter: grayscale(0.9); opacity: 0.5; }
.card--unavailable .card-body h2, .card--unavailable .card-body h3 { color: var(--ink-soft); }
.card--unavailable:hover .card-media img { transform: none; }

.note-taken {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.86rem; font-weight: 600; color: var(--tile);
}

/* ================================================================== THE BOARD
   The signature. One cell per night, so the page answers "what is free" at a glance without
   the guest typing anything.

   Free nights are open plaster. Taken nights carry a terracotta tile. A changeover day is
   split on the diagonal — the departing guest holds the morning, the arriving guest takes the
   evening — which is the half-open [check-in, check-out) rule drawn rather than described.
   Booking sites normally hide changeover days, and every hidden one is a night nobody books. */

.board {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}
@media (min-width: 768px) { .board { padding: 1.75rem; } }

.board-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.board-head h2 { margin: 0; margin-right: auto; font-family: var(--display); font-size: 1.5rem; font-weight: 500; }

.board-nav { display: flex; gap: 0.35rem; }
.board-nav a, .board-nav span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; min-height: 42px;
    border: 1px solid var(--hair); border-radius: var(--radius);
    text-decoration: none; color: var(--ink); font-size: 1rem;
}
.board-nav a:hover { background: var(--lime-deep); border-color: var(--ink-faint); }
.board-nav span { opacity: 0.3; }

.months { display: grid; gap: 1.75rem; }
.months > * { min-width: 0; }
@media (min-width: 700px) { .months { grid-template-columns: 1fr 1fr; gap: 2.25rem; } }

.month-name {
    font-family: var(--display); font-size: 1.15rem; font-weight: 600;
    margin: 0 0 0.7rem; text-align: center; letter-spacing: -0.01em;
}

.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }

.dow {
    text-align: center; font-size: 0.65rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-faint); padding-bottom: 0.45rem;
}

.night {
    position: relative;
    aspect-ratio: 1;
    min-height: 42px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--hair);
    border-radius: 3px;
    background: var(--white);
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    text-decoration: none;
    font-family: inherit;
    padding: 0;
}

.night.is-empty { border: 0; background: transparent; }
.night.is-past { background: var(--lime-deep); color: #5f6761; border-color: transparent; } /* 4.9:1 on the fill */

.night.is-free { cursor: pointer; }
.night.is-free:hover { background: var(--lime-deep); border-color: var(--vine); }

/* A laid tile: solid terracotta with a lighter top edge so it sits rather than prints flat. */
.night.is-taken {
    background: linear-gradient(to bottom, var(--tile-lit) 0 3px, var(--tile) 3px 100%);
    border-color: var(--tile);
    color: rgba(255, 255, 255, 0.94);
}

/* The diagonal. Terracotta fills the morning half; the evening half stays open. */
.night.is-changeover {
    cursor: pointer;
    background: linear-gradient(to bottom right, var(--tile) 0 47%, var(--white) 53% 100%);
    border-color: var(--tile);
}
.night.is-changeover:hover { border-color: var(--vine); }

.night.is-selected {
    background: var(--vine); border-color: var(--vine);
    color: var(--white); font-weight: 700;
}
.night.is-inrange { background: rgba(47, 107, 76, 0.13); border-color: rgba(47, 107, 76, 0.28); }

.board-legend {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
    margin-top: 1.25rem; padding-top: 1.1rem;
    border-top: 1px solid var(--hair);
    font-size: 0.82rem; color: var(--ink-soft);
}
.board-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.key { width: 16px; height: 16px; border: 1px solid var(--hair); border-radius: 3px; flex: 0 0 auto; }
.key-free { background: var(--white); }
.key-taken { background: linear-gradient(to bottom, var(--tile-lit) 0 2px, var(--tile) 2px 100%); border-color: var(--tile); }
.key-change { background: linear-gradient(to bottom right, var(--tile) 0 47%, var(--white) 53% 100%); border-color: var(--tile); }

.board-status { margin: 1rem 0 0; font-size: 0.9rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ gallery */

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; } }

.gallery a {
    display: block; aspect-ratio: 4 / 3; overflow: hidden;
    background: var(--stone); border-radius: var(--radius);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* The first photo leads: full width on a phone, a tall block on a wide screen. */
.gallery a:first-child { grid-column: span 2; }
@media (min-width: 768px) {
    .gallery a:first-child { grid-row: span 2; aspect-ratio: auto; }
}

/* One or two photos cannot fill a mosaic, so they lay out as equal tiles instead of
   leaving a hole beside an oversized lead image. */
.gallery--few { grid-template-columns: repeat(2, 1fr); }
.gallery--few a, .gallery--few a:first-child {
    grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3;
}
.gallery--few:has(a:only-child) { grid-template-columns: 1fr; }
.gallery--few:has(a:only-child) a { aspect-ratio: 16 / 9; }

@media (prefers-reduced-motion: no-preference) {
    .gallery img { transition: transform 400ms cubic-bezier(0.2, 0, 0.2, 1); }
    .gallery a:hover img { transform: scale(1.04); }
}

.lightbox {
    position: fixed; inset: 0; z-index: 60;
    background: rgba(14, 18, 16, 0.96);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem; border: 0; max-width: 100%; max-height: 100%; width: 100%; height: 100%;
}
.lightbox::backdrop { background: rgba(14, 18, 16, 0.96); }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 2px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; min-width: var(--tap); min-height: var(--tap);
    background: rgba(255, 255, 255, 0.1); color: var(--lime);
    border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius);
    font: inherit; font-size: 1.15rem; cursor: pointer;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------------ booking panel */

.panel { background: var(--white); border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow); }
.panel dl { display: grid; grid-template-columns: 1fr auto; gap: 0.45rem 1rem; margin: 0 0 1.1rem; }
.panel dt { color: var(--ink-soft); font-size: 0.9rem; }
.panel dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.panel .total { font-weight: 600; border-top: 1px solid var(--hair); padding-top: 0.6rem; margin-top: 0.2rem; }
.panel .total dt, .panel .total dd { font-size: 1.08rem; }

@media (min-width: 1080px) {
    .detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 3.5rem; align-items: start; }
    .panel--sticky { position: sticky; top: 5.5rem; }
}

.stickybar {
    position: sticky; bottom: 0; z-index: 15;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--hair);
    padding: 0.75rem var(--gutter);
    display: flex; align-items: center; gap: 0.75rem;
}
.stickybar .price { margin-right: auto; font-size: 1.05rem; }
@media (min-width: 1080px) { .stickybar { display: none; } }

/* ------------------------------------------------------------------ amenities */

.amenities {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.6rem 1.25rem; list-style: none; padding: 0; margin: 0;
}
.amenities li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.96rem; }
.amenities li::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%;
    background: var(--vine); flex: 0 0 auto;
}

/* ------------------------------------------------------------------ notices */

.notice { border-left: 3px solid var(--vine); background: var(--white); padding: 1.1rem 1.35rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.notice h2, .notice h3 { margin-top: 0; }
.notice p:last-child { margin-bottom: 0; }
.notice--warn { border-left-color: var(--tile); }

.errors { border-left: 3px solid var(--tile); background: var(--white); padding: 1.1rem 1.35rem; border-radius: var(--radius); margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.errors ul { margin: 0; padding-left: 1.1rem; }
.field-error { color: var(--tile); font-size: 0.85rem; display: block; margin-top: 0.3rem; }

/* ------------------------------------------------------------------ contact + footer */

.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact-actions .btn { flex: 1 1 13rem; }

.footer { background: var(--forest); color: rgba(243, 245, 241, 0.75); padding: 3rem 0 2.5rem; font-size: 0.92rem; }
.footer a { color: var(--lime); }
.footer h2 { color: var(--lime); font-size: 1.35rem; margin-bottom: 0.6rem; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer p { max-width: 26rem; }

/* ------------------------------------------------------------------ prose */

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.25rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose > p:first-child { font-size: 1.12rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ motion */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .btn, .night, .masthead nav a, .board-nav a { transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
}
