:root {
  --ink: #111820;
  --bronze: #a68157;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #f1efea;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100svh;
}

.alan-page,
.alan-page * {
  font-style: normal;
}

.alan-page em {
  font-family: inherit;
  font-size: inherit;
  font-style: italic;
  font-weight: inherit;
}

a { color: inherit; text-decoration: none; }

::selection { color: #111820; background: rgba(166, 129, 87, .32); }

.grain {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: max(24px, env(safe-area-inset-top)) max(38px, env(safe-area-inset-right)) 0 max(38px, env(safe-area-inset-left));
}

.brand img {
  display: block;
  width: clamp(210px, 18vw, 300px);
  height: auto;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 38px;
  margin-top: 4px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(248, 247, 242, .84);
  border: 1px solid rgba(17, 24, 32, .13);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 26px rgba(17, 24, 32, .08);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  transition: background 250ms ease, border-color 250ms ease;
}

.language-switch:hover {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(166, 129, 87, .58);
}

.city-strip {
  position: relative;
  z-index: 2;
  margin: clamp(28px, 4.2vh, 52px) 0 0;
  height: clamp(168px, 26vh, 280px);
  overflow: hidden;
  background: #d9d7d1;
}

.city-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 1100ms var(--ease);
}

.city-strip:hover img {
  transform: scale(1.045);
}

.sheet {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
  padding: clamp(36px, 5vh, 64px) 0 clamp(72px, 10vh, 120px);
}

.layout {
  display: grid;
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}

.area-nav__label {
  margin: 0 0 26px;
  color: rgba(17, 24, 32, .46);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.area-list {
  width: min(100%, 340px);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(17, 24, 32, .14);
}

.area-link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(17, 24, 32, .14);
  color: rgba(17, 24, 32, .54);
  transition: color 300ms ease, transform 380ms var(--ease);
}

.area-link__number {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .16em;
  color: rgba(17, 24, 32, .32);
  transition: color 280ms ease;
}

.area-link__text {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 1.7vw, 30px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.015em;
}

.makale-page .area-link__text {
  display: block;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.area-link--solo {
  grid-template-columns: max-content auto;
  justify-content: start;
  width: fit-content;
}

.area-link--solo .area-link__text {
  display: inline;
  text-align: start;
  text-justify: auto;
  hyphens: manual;
  white-space: nowrap;
}

.area-link__line {
  display: block;
  width: 18px;
  height: 1px;
  background: rgba(17, 24, 32, .26);
  transform-origin: right center;
  transition: width 360ms var(--ease), height 220ms ease, background 260ms ease;
}

.area-link:hover,
.area-link.is-active {
  color: var(--ink);
  transform: translateX(4px);
}

.area-link:hover .area-link__number,
.area-link.is-active .area-link__number {
  color: var(--bronze);
}

.area-link:hover .area-link__line,
.area-link.is-active .area-link__line {
  width: 34px;
  height: 2px;
  background: var(--bronze);
}

h1 {
  margin: 0 0 clamp(24px, 3.5vh, 42px);
  color: #111820;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 5.8vw, 82px);
  font-weight: 400;
  font-style: normal;
  line-height: .92;
  letter-spacing: -.038em;
}

.makale-page h1 {
  font-size: clamp(32px, 3.1vw, 46px);
  line-height: 1.08;
  letter-spacing: -.028em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.copy {
  display: grid;
  gap: clamp(14px, 2.3vh, 24px);
  max-width: 820px;
}

.copy p {
  margin: 0;
  color: #4a5157;
  font-size: clamp(14.5px, calc(.98vw + 2px), 16px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
}

.site-footer {
  position: relative;
  z-index: 3;
  color: #fff;
  background: #111820;
}

.site-footer__inner {
  width: min(1500px, calc(100% - 96px));
  margin: 0 auto;
  padding: clamp(64px, 8vh, 84px) 0 32px;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.site-footer__brand img {
  display: block;
  width: 230px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.site-footer__meta {
  display: grid;
  gap: 9px;
  max-width: 360px;
  margin-top: 28px;
}

.site-footer__meta a,
.site-footer__meta span {
  color: rgba(226, 228, 226, .82);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.65;
}

.site-footer__meta a:hover { color: #c0a27c; }

.site-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.site-footer__kicker {
  margin-bottom: 20px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.site-footer__cols a {
  display: block;
  margin-bottom: 12px;
  color: #cbd5e1;
  font-size: 12px;
  transition: color 220ms ease;
}

.site-footer__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 6px;
  color: rgba(226, 228, 226, .82);
}

.site-footer__linkedin svg { display: block; }

.site-footer__linkedin:hover { color: #c0a27c; }

.copy table {
  width: 100%;
  border-collapse: collapse;
  color: #4a5157;
  font-size: clamp(14.5px, calc(.98vw + 2px), 16px);
  line-height: 1.55;
}

.copy th,
.copy td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(17, 24, 32, .12);
  text-align: left;
  vertical-align: top;
}

.copy th {
  color: #111820;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

.site-footer__cols a:hover { color: #fff; }

.site-footer__legal {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.site-footer__legal span {
  color: rgba(244, 241, 234, .78);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.site-footer__legal p {
  margin: 0;
  color: rgba(232, 230, 223, .88);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.8;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  color: rgba(226, 228, 226, .78);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
}

.site-footer__bottom i {
  margin: 0 .55em;
  color: #c0a27c;
  font-style: normal;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(7px);
  transition:
    opacity 900ms var(--ease),
    transform 1100ms var(--ease),
    filter 1000ms var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 900px) {
  .top { padding-left: 22px; padding-right: 22px; }
  .city-strip { height: min(210px, 42vw); margin-top: 22px; }
  .sheet { width: min(100% - 44px, 1280px); }
  .layout { grid-template-columns: 1fr; gap: 28px; }
  .area-list { width: 100%; }
  h1 { font-size: clamp(44px, 13vw, 64px); }
  .makale-page h1 { font-size: clamp(28px, 7.4vw, 36px); }
  .copy p { font-size: 15px; }
  .site-footer__inner { width: min(100% - 44px, 1500px); }
  .site-footer__main,
  .site-footer__legal,
  .site-footer__bottom { grid-template-columns: 1fr; display: grid; }
  .site-footer__bottom { gap: 12px; }
  .subpage-drawer-trigger { left: 9px; width: 27px; height: 50px; }
  .subpage-drawer {
    width: min(340px, calc(100vw - 44px));
    padding: max(18px, env(safe-area-inset-top)) 20px max(22px, env(safe-area-inset-bottom));
  }
  .subpage-drawer-label { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .city-strip img {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .subpage-drawer,
  .subpage-drawer-trigger,
  .subpage-drawer-backdrop {
    transition: none;
  }
}

.subpage-drawer-trigger {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  top: 50%;
  z-index: 140;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 28px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(17, 24, 32, .16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(246, 245, 240, .68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(17, 24, 32, .08);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-10px, -50%);
  transition: opacity 280ms ease, visibility 280ms ease, transform 420ms var(--ease), background 240ms ease, border-color 240ms ease;
}

body.is-subpage .subpage-drawer-trigger {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%);
}

body.drawer-open .subpage-drawer-trigger {
  opacity: 0;
  pointer-events: none;
  transform: translate(-8px, -50%);
}

.subpage-drawer-trigger:hover {
  border-color: rgba(166, 129, 87, .54);
  background: rgba(255, 255, 255, .84);
}

.subpage-drawer-trigger__line {
  display: block;
  width: 10px;
  height: 1px;
  background: currentColor;
  transition: width 220ms ease;
}

.subpage-drawer-trigger__line:nth-child(2) { width: 14px; }
.subpage-drawer-trigger:hover .subpage-drawer-trigger__line { width: 15px; }

.subpage-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(9, 13, 22, .12);
  backdrop-filter: blur(16px) saturate(82%);
  -webkit-backdrop-filter: blur(16px) saturate(82%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 340ms ease, visibility 340ms ease;
}

body.drawer-open .subpage-drawer-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.subpage-drawer {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 160;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 44px));
  height: 100svh;
  padding: max(22px, env(safe-area-inset-top)) 26px max(28px, env(safe-area-inset-bottom));
  color: var(--ink);
  background: rgba(243, 242, 237, .72);
  border-right: 1px solid rgba(255, 255, 255, .56);
  backdrop-filter: blur(28px) saturate(112%);
  -webkit-backdrop-filter: blur(28px) saturate(112%);
  box-shadow: 24px 0 70px rgba(6, 10, 16, .16), inset -1px 0 0 rgba(17, 24, 32, .05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-102%);
  transition: opacity 260ms ease, visibility 260ms ease, transform 480ms var(--ease);
}

body.drawer-open .subpage-drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.subpage-drawer__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  padding-bottom: 8px;
}

.subpage-drawer__close {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(17, 24, 32, .12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .24);
  cursor: pointer;
}

.subpage-drawer__close:hover {
  border-color: rgba(166, 129, 87, .55);
  background: rgba(255, 255, 255, .58);
}

.subpage-drawer nav {
  display: flex;
  align-items: center;
  flex: 1;
}

.subpage-drawer-list {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subpage-drawer-link {
  display: grid;
  grid-template-columns: 34px 31px auto;
  align-items: center;
  width: fit-content;
  min-height: 48px;
  color: rgba(17, 24, 32, .60);
  transition: color 260ms ease, transform 360ms var(--ease);
}

.subpage-drawer-index {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .17em;
  color: rgba(17, 24, 32, .33);
}

.subpage-drawer-line {
  display: block;
  width: 17px;
  height: 1px;
  background: rgba(17, 24, 32, .26);
  transition: width 360ms var(--ease), height 220ms ease, background 260ms ease;
}

.subpage-drawer-label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .095em;
  white-space: nowrap;
}

.subpage-drawer-link:hover,
.subpage-drawer-link.is-current {
  color: var(--ink);
  transform: translateX(6px);
}

.subpage-drawer-link:hover .subpage-drawer-line,
.subpage-drawer-link.is-current .subpage-drawer-line {
  width: 30px;
  height: 2px;
  background: var(--bronze);
}

.subpage-drawer-link:hover .subpage-drawer-index,
.subpage-drawer-link.is-current .subpage-drawer-index {
  color: var(--bronze);
}

.copy h2 {
  margin: clamp(6px, 1vh, 12px) 0 0;
  color: #111820;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.copy a {
  color: var(--bronze);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: .16em;
  overflow-wrap: anywhere;
}

.copy .question {
  color: #111820;
  font-weight: 600;
}

.copy .note strong {
  color: #111820;
  font-weight: 700;
}

.copy .points {
  margin: 0;
  padding: 0 0 0 1.15em;
  display: grid;
  gap: 10px;
}

.copy .points li {
  color: #4a5157;
  font-size: clamp(14.5px, calc(.98vw + 2px), 16px);
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
}

.copy .points li::marker {
  color: var(--bronze);
}

.ref-mark {
  color: var(--bronze);
  font-size: 1em;
  font-weight: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}

.refs {
  list-style: none;
  margin: 6px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid rgba(17, 24, 32, .14);
}

.refs li {
  display: grid;
  grid-template-columns: 3.6em minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 24, 32, .08);
  color: #4a5157;
  font-size: clamp(14.5px, calc(.98vw + 2px), 16px);
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.refs li > span:last-child {
  display: block;
  text-align: justify;
  text-justify: inter-word;
}

.refs .ref-no {
  color: var(--bronze);
  font-size: 1em;
  font-weight: 600;
  letter-spacing: inherit;
}
